]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Allow sys/auxv.h to be used from the testsuite on powerpc and sparc.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
105fa381
AC
12014-02-21 Adam Conrad <adconrad@0c3.net>
2
3 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4 synonym for _SYS_AUXV_H to allow direct inclusion.
5 * sysdeps/sparc/bits/hwcap.h: Likewise.
6 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8 * sysdeps/sparc/sysdep.h: Likewise.
9
b8cd1c4e
SP
102014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11
12 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13
bd939d23
RS
142014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15
16 * benchtests/bench-strrchr.c: Print length instead of position.
17
5d7b57ca
JM
182014-02-20 Joseph Myers <joseph@codesourcery.com>
19
bc688c10
JM
20 [BZ #16611]
21 * sysdeps/unix/sysv/linux/kernel-features.h
22 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26 Likewise.
27 [__i386__ || __powerpc__ || __sh__ || __sparc__]
28 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30 (__ASSUME_SENDMMSG): Define instead of using previous
31 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33 (__ASSUME_SENDMMSG_SYSCALL): Define.
34 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36 Likewise.
37 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39 Likewise.
40 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42 Likewise.
43 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
44 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46 [__ASSUME_SENDMMSG]: Change conditionals to
47 [__ASSUME_SENDMMSG_SOCKETCALL].
48 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50 Define.
51 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53 Likewise.
54 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
57 [!__ASSUME_SENDMMSG]: Change conditional to
58 [!__ASSUME_SENDMMSG_SOCKETCALL].
59 * sysdeps/unix/sysv/linux/tile/kernel-features.h
60 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
61 Define.
62
0e31b18c
JM
63 [BZ #16610]
64 * sysdeps/unix/sysv/linux/kernel-features.h
65 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
66 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
67 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
68 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
69 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
70 [__i386__ || __sparc__]
71 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
72 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
73 (__ASSUME_RECVMMSG): Define instead of using previous
74 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
75 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
76 (__ASSUME_RECVMMSG_SYSCALL): Define.
77 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
78 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
79 Likewise.
80 * sysdeps/unix/sysv/linux/arm/kernel-features.h
81 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
82 Likewise.
83 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
84 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
85 Likewise.
86 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
87 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
88 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
89 [__ASSUME_RECVMMSG]: Change condition to
90 [__ASSUME_RECVMMSG_SOCKETCALL].
91 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
92 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
93 Define.
94 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
95 * sysdeps/unix/sysv/linux/mips/kernel-features.h
96 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
97 Likewise.
98 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
99 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
100 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
101 [!__ASSUME_RECVMMSG]: Change condition to
102 [!__ASSUME_RECVMMSG_SOCKETCALL].
103 * sysdeps/unix/sysv/linux/tile/kernel-features.h
104 (__ASSUME_RECVMMSG_SYSCALL): Define.
105
dd481ccf
JM
106 [BZ #16609]
107 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
108 __powerpc__ || __s390__ || __sh__ || __sparc__]
109 (__ASSUME_SOCKETCALL): Define.
110 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
111 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
112 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
113 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
114 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
115 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
116 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
117 (__ASSUME_ACCEPT4): Define instead of using previous
118 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
119 __powerpc__ || __sparc__ || __s390__)] condition.
120 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
121 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
122 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
123 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
124 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
125 [!__ASSUME_ACCEPT4]: Change condition to
126 [!__ASSUME_ACCEPT4_SOCKETCALL].
127 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
128 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
129 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
130 * sysdeps/unix/sysv/linux/arm/kernel-features.h
131 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
132 __ASSUME_ACCEPT4_SYSCALL.
133 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
134 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
135 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
136 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
137 __ASSUME_ACCEPT4_SYSCALL.
138 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
139 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
140 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
141 [__ASSUME_ACCEPT4]: Change condition to
142 [__ASSUME_ACCEPT4_SOCKETCALL].
143 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
144 (__ASSUME_SOCKETCALL): Define.
145 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
147 (__ASSUME_SOCKETCALL): Define.
148 (__ASSUME_ACCEPT4): Remove.
149 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
150 Define.
151 * sysdeps/unix/sysv/linux/mips/kernel-features.h
152 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
153 Likewise.
154 * sysdeps/unix/sysv/linux/tile/kernel-features.h
155 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
156
5d7b57ca
JM
157 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
158 macro.
159 (HWCAP_ARM_LPAE): Likewise.
160 (HWCAP_ARM_EVTSTRM): Likewise.
161 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
162 Add vpfd32, lpae and evtstrm.
163 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
164 Increase to 22.
165
63689d61
JM
1662014-02-19 Joseph Myers <joseph@codesourcery.com>
167
168 * math/auto-libm-test-in: Add tests of clog10.
169 * math/auto-libm-test-out: Regenerated.
170 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
171 * sysdeps/i386/fpu/libm-test-ulps: Update.
172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
173
ab09bf61
AS
1742014-02-18 Andreas Schwab <schwab@suse.de>
175
176 [BZ #16574]
177 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
178 Store non-zero if the second buffer was newly allocated.
179 (send_dg): Likewise.
180 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
181 to send_vc and send_dg.
182 (res_nsend): Pass NULL for ansp2_malloced.
183 * resolv/res_query.c (__libc_res_nquery): Add parameter
184 answerp2_malloced and pass it down to __libc_res_nsend.
185 (res_nquery): Pass additional NULL to __libc_res_nquery.
186 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
187 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
188 second answer buffer if answerp2_malloced was set.
189 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
190 (__libc_res_nquerydomain): Add parameter
191 answerp2_malloced and pass it down to __libc_res_nquery.
192 (res_nquerydomain): Pass additional NULL to
193 __libc_res_nquerydomain.
194 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
195 additional NULL to __libc_res_nsend and __libc_res_nquery.
196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
197 additional NULL to __libc_res_nsearch.
198 (_nss_dns_gethostbyname4_r): Revert last change. Use new
199 parameter of __libc_res_nsearch to check for separately allocated
200 second buffer.
201 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
202 __libc_res_nquery.
203 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
204 additional NULL to __libc_res_nquery.
205 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
206 __libc_res_nsearch.
207 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
208 * include/resolv.h: Update prototypes of __libc_res_nquery,
209 __libc_res_nsearch, __libc_res_nsend.
210
a4fb7861
JM
2112014-02-18 Joseph Myers <joseph@codesourcery.com>
212
c6af2d89
JM
213 * math/auto-libm-test-in: Add tests of fma.
214 * math/auto-libm-test-out: Regenerated.
215 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
216 (fma_towardzero_test_data): Likewise.
217 (fma_downward_test_data): Likewise.
218 (fma_upward_test_data): Likewise.
219 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
220 mpc_mode.
221 (rounding_modes): Add values for new field.
222 (func_calc_method): Add value mpfr_fff_f.
223 (func_calc_desc): Add mpfr_fff_f union field.
224 (test_function): Add field exact_args.
225 (FUNC): Add macro argument EXACT_ARGS.
226 (FUNC_mpfr_f_f): Update call to FUNC.
227 (FUNC_mpfr_f_f): Likewise.
228 (FUNC_mpfr_ff_f): Likewise.
229 (FUNC_mpfr_if_f): Likewise.
230 (FUNC_mpc_c_f): Likewise.
231 (FUNC_mpc_c_c): Likewise.
232 (test_functions): Add fma. Update calls to FUNC.
233 (handle_input_arg): Add argument exact_args.
234 (add_test): Update call to handle_input_arg.
235 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
236 (output_for_one_input_case): Update call to calc_generic_results.
237 Recalculate exact zero results in each rounding mode.
238
a4fb7861
JM
239 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
240 non-negative before setting low bit.
241 * math/auto-libm-test-in: Mark one asin test possibly having
242 spurious underflow.
243 * math/auto-libm-test-out: Regenerated.
244 * sysdeps/i386/fpu/libm-test-ulps: Update.
245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
246
ef114eaf
DH
2472014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
248
249 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
250 * sysdeps/unix/sysv/linux/microblaze: Move directory from
251 ports/sysdeps/unix/sysv/linux/microblaze.
252 * README: Add missing listing for microblaze*-*-linux-gnu.
253
c70a4b1d
MF
2542014-02-16 Mike Frysinger <vapier@gentoo.org>
255
256 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
257 * sysdeps/unix/sysv/linux/ia64: Move directory from
258 ports/sysdeps/unix/sysv/linux/ia64.
259 * README: Update listing for ia64-*-linux-gnu.
260
591aeaf7
TD
2612014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
262 Joseph Myers <joseph@codesourcery.com>
263
264 * Makeconfig (test-name): New variable.
265 (evaluate-test): Likewise.
266 * Makerules (do-test-clean): Remove .test-result files.
267 (common-mostlyclean): Likewise.
268 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
269 * scripts/evaluate-test.sh: New file.
270
6e89caf1
JM
2712014-02-14 Joseph Myers <joseph@codesourcery.com>
272
7f98f180
JM
273 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
274 separate $(objpfx)tst-fopenloc-cmp.out and
275 $(objpfx)tst-fopenloc-mem.out targets.
276 (tests): Update dependencies.
277 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
278 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
279 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
280 (tst-rxspencer-no-utf8-ARGS): New variable.
281 (tst-rxspencer-no-utf8-ENV): Likewise.
282 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
283 instead of $(objpfx)tst-rxspencer-mem.
284 ($(objpfx)tst-rxspencer-mem): Change target to
285 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
286 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
287 * posix/tst-rxspencer-no-utf8.c: New file.
288
6e89caf1
JM
289 * elf/Makefile ($(objpfx)order.out): Remove rule.
290 [$(run-built-tests) = yes] (tests): Depend on
291 $(objpfx)order-cmp.out.
292 ($(objpfx)order-cmp.out): New rule.
293 [$(run-built-tests) = yes] (tests): Depend on
294 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
295 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
296 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
297 $(objpfx)tst-array5-static-cmp.out.
298 ($(objpfx)tst-array1.out): Remove rule.
299 ($(objpfx)tst-array1-cmp.out): New rule.
300 ($(objpfx)tst-array1-static.out): Remove rule.
301 ($(objpfx)tst-array1-static-cmp.out): New rule.
302 ($(objpfx)tst-array2.out): Remove rule.
303 ($(objpfx)tst-array2-cmp.out): New rule.
304 ($(objpfx)tst-array3.out): Remove rule.
305 ($(objpfx)tst-array3-cmp.out): New rule.
306 ($(objpfx)tst-array4.out): Remove rule.
307 ($(objpfx)tst-array4-cmp.out): New rule.
308 ($(objpfx)tst-array5.out): Remove rule.
309 ($(objpfx)tst-array5-cmp.out): New rule.
310 ($(objpfx)tst-array5-static.out): Remove rule.
311 ($(objpfx)tst-array5-static-cmp.out): New rule.
312 [$(run-built-tests) = yes] (tests): Depend on
313 $(objpfx)order2-cmp.out.
314 ($(objpfx)order2.out): Remove rule.
315 ($(objpfx)order2-cmp.out): New rule.
316 ($(objpfx)tst-initorder.out): Remove rule.
317 [$(run-built-tests) = yes] (tests): Depend on
318 $(objpfx)tst-initorder-cmp.out.
319 ($(objpfx)tst-initorder-cmp.out): New rule.
320 ($(objpfx)tst-initorder2.out): Remove rule.
321 [$(run-built-tests) = yes] (tests): Depend on
322 $(objpfx)tst-initorder2-cmp.out.
323 ($(objpfx)tst-initorder2-cmp.out): New rule.
324 [$(run-built-tests) = yes] (tests): Depend on
325 $(objpfx)tst-unused-dep-cmp.out.
326 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
327 ($(objpfx)tst-unused-dep-cmp.out): New rule.
328 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
329 on $(objpfx)tst-setvbuf1-cmp.out.
330 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
331 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
332 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
333 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
334 ($(objpfx)tst-svc.out): Remove rule.
335 ($(objpfx)tst-svc-cmp.out): New rule.
336
ed9a38e2
JM
3372014-02-13 Joseph Myers <joseph@codesourcery.com>
338
339 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
340 * ctype/ctype.h [__USE_MISC]: Likewise.
341 * dirent/dirent.h [__USE_MISC]: Likewise.
342 * grp/grp.h [__USE_MISC]: Likewise.
343 * io/fcntl.h [__USE_MISC]: Likewise.
344 * io/sys/stat.h [__USE_MISC]: Likewise.
345 * libio/stdio.h [__USE_MISC]: Likewise.
346 * posix/unistd.h [__USE_MISC]: Likewise.
347 * pwd/pwd.h [__USE_MISC]: Likewise.
348 * stdlib.h [__USE_MISC]: Likewise.
349 * string/bits/string2.h [__USE_MISC]: Likewise.
350 * string/string.h [__USE_MISC]: Likewise.
351 * time/time.h [__USE_MISC]: Likewise.
352
d6680619
AS
3532014-02-13 Andreas Schwab <schwab@suse.de>
354
355 [BZ #16574]
356 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
357 second answer buffer if it was separately allocated.
358
ace614b8
JM
3592014-02-12 Joseph Myers <joseph@codesourcery.com>
360
743151ae
JM
361 * sysdeps/mips/math-tests.h: Include <features.h>.
362 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
363 (ROUNDING_TESTS_long_double): Do not define.
364 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
365 (EXCEPTION_TESTS_long_double): Likewise.
366 * sysdeps/mips/mips64/libm-test-ulps: Update.
367
498afc54
JM
368 * include/features.h (__USE_BSD): Remove macro definitions.
369 (__USE_SVID): Likewise.
370 (_BSD_SOURCE): Likewise.
371 (_SVID_SOURCE): Likewise.
372 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
373 from definition of _DEFAULT_SOURCE.
374 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
375 [_DEFAULT_SOURCE].
376 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
377 * bits/mman.h [__USE_BSD]: Likewise.
378 * bits/termios.h [__USE_BSD]: Likewise.
379 * bits/waitstatus.h [__USE_BSD]: Likewise.
380 * ctype/ctype.h [__USE_SVID]: Likewise.
381 * dirent/dirent.h [__USE_BSD]: Likewise.
382 * grp/grp.h [__USE_SVID]: Likewise.
383 [__USE_BSD]: Likewise.
384 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
385 * io/fcntl.h [__USE_BSD]: Likewise.
386 * io/ftw.h [__USE_BSD]: Likewise.
387 * io/sys/stat.h [__USE_BSD]: Likewise.
388 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
389 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
390 * libio/stdio.h [__USE_SVID]: Likewise.
391 [__USE_BSD]: Likewise.
392 * math/math.h [__USE_SVID]: Likewise.
393 [__USE_BSD]: Likewise.
394 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
395 * misc/bits/syslog.h [__USE_BSD]: Likewise.
396 * misc/search.h [__USE_SVID]: Likewise.
397 * misc/sys/mman.h [__USE_BSD]: Likewise.
398 * misc/sys/syslog.h [__USE_BSD]: Likewise.
399 * misc/sys/uio.h [__USE_BSD]: Likewise.
400 * posix/bits/unistd.h [__USE_BSD]: Likewise.
401 * posix/glob.h [__USE_BSD]: Likewise.
402 * posix/regex.h [__USE_BSD]: Likewise.
403 * posix/sys/types.h [__USE_BSD]: Likewise.
404 [__USE_SVID]: Likewise.
405 * posix/sys/utsname.h [__USE_SVID]: Likewise.
406 * posix/sys/wait.h [__USE_BSD]: Likewise.
407 [__USE_SVID]: Likewise.
408 * posix/unistd.h [__USE_BSD]: Likewise.
409 [__USE_SVID]: Likewise.
410 * pwd/pwd.h [__USE_SVID]: Likewise.
411 * resolv/netdb.h [__USE_BSD]: Likewise.
412 * setjmp/setjmp.h [__USE_BSD]: Likewise.
413 * signal/signal.h [__USE_BSD]: Likewise.
414 [__USE_SVID]: Likewise.
415 * socket/sys/socket.h [__USE_BSD]: Likewise.
416 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
417 * stdlib/stdlib.h [__USE_BSD]: Likewise.
418 [__USE_SVID]: Likewise.
419 * string/bits/string2.h [__USE_BSD]: Likewise.
420 [__USE_SVID]: Likewise.
421 * string/bits/string3.h [__USE_BSD]: Likewise.
422 * string/endian.h [__USE_BSD]: Likewise.
423 * string/string.h [__USE_SVID]: Likewise.
424 [__USE_BSD]: Likewise.
425 * string/strings.h [__USE_BSD]: Likewise.
426 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
427 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
428 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
429 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
430 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
431 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
432 Likewise.
433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
434 Likewise.
435 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
436 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
437 Likewise.
438 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
439 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
440 Likewise.
441 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
442 Likewise.
443 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
444 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
446 Likewise.
447 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
448 Likewise.
449 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
450 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
451 * termios/termios.h [__USE_BSD]: Likewise.
452 * time/sys/time.h [__USE_BSD]: Likewise.
453 * time/time.h [__USE_BSD]: Likewise.
454 [__USE_SVID]: Likewise.
455
dd7b064c
JM
456 * Makefile (subdir_targets): Remove subdir_lint.out.
457
a2c4c199
JM
458 * stdio-common/Makefile (do-tst-unbputc): Remove target.
459 (do-tst-printf): Likewise.
460 (tests): Depend directly on $(objpfx)tst-unbputc.out and
461 $(objpfx)tst-printf.out.
462
8756f740
JM
463 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
464
1b6dd3f1
JM
465 * Makerules (check-abi-%): Change target to
466 $(objpfx)check-abi-%.out.
467 (check-abi target): Update dependencies.
468 (check-abi-pattern variable): Redirect output of diff to $@.
469 (check-abi variable): Likewise.
470 * elf/Makefile (check-abi): Update dependencies.
471
ace614b8
JM
472 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
473 unused.
474 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
475 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
476 subnormal range.
477 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
478 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
479 value has largest subnormal exponent.
480 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
481 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
482 * sysdeps/aarch64/soft-fp/sfp-machine.h
483 (_FP_TININESS_AFTER_ROUNDING): New macro.
484 * sysdeps/alpha/soft-fp/sfp-machine.h
485 (_FP_TININESS_AFTER_ROUNDING): Likewise.
486 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
487 Likewise.
488 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
489 (_FP_TININESS_AFTER_ROUNDING): Likewise.
490 * sysdeps/mips/soft-fp/sfp-machine.h
491 (_FP_TININESS_AFTER_ROUNDING): Likewise.
492 * sysdeps/powerpc/soft-fp/sfp-machine.h
493 (_FP_TININESS_AFTER_ROUNDING): Likewise.
494 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
495 Likewise.
496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
497 (_FP_TININESS_AFTER_ROUNDING): Likewise.
498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
500 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
501 Likewise.
502
fbfdf9cb
DAS
5032014-02-12 Dylan Alex Simon <dylan@dylex.net>
504
505 [BZ #16545]
506 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
507 model 1.
508
68b7efaa
RH
5092014-02-12 Richard Henderson <rth@redhat.com>
510
c70a4b1d 511 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
512 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
513 * sysdeps/unix/sysv/linux/alpha: Move directory from
514 ports/sysdeps/unix/sysv/linux/alpha.
515 * README: Update listing for alpha-*-linux-gnu.
516
cb4a2928
JM
5172014-02-11 Joseph Myers <joseph@codesourcery.com>
518
c941736c
JM
519 * include/features.h: Update comment documenting feature test
520 macros.
521 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
522 _DEFAULT_SOURCE.
523 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
524 (_SVID_SOURCE): Likewise.
525 (_DEFAULT_SOURCE): Update description of default features.
526 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
527 with _GNU_SOURCE.
528 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
529 (S_ISVTX): Likewise.
530 * manual/math.texi (Mathematical Constants): Likewise.
531 * manual/signal.texi (Interrupted Primitives): Likewise.
532 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
533 * math/test-matherr.c (_SVID_SOURCE): Do not define.
534 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
535 Don't refer to _SVID_SOURCE in warning text.
536
e8d8d7ec
JM
537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
538
cb4a2928
JM
539 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
540 already defined.
541 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
542 * sysdeps/mips/dl-lookup.c: Remove.
543 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
544
7e6424e3
AK
5452014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
546
547 [BZ #16447]
548 * math/auto-libm-test-in: Add testcase for expl.
549 * math/auto-libm-test-out: Regenerate.
550 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
551 calculation of unsafe.
552 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
553
75eff3fe
MS
5542014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
555
556 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
557 * sysdeps/unix/sysv/linux/aarch64: Move directory from
558 ports/sysdeps/unix/sysv/linux/aarch64.
559 * README: Update listing for aarch64*-*-linux-gnu.
560
d35f1e80
WN
5612014-02-11 Will Newton <will.newton@linaro.org>
562
563 * manual/probes.texi (Mathematical Function Probes): Use
564 "triggered" instead of "hit".
565
7b3436d4
WN
5662014-02-11 Will Newton <will.newton@linaro.org>
567
568 * manual/probes.texi (Internal Probes): Add documentation
569 of setjmp, longjmp and longjmp_target probes.
570
b4f12ca3
WN
5712014-02-11 Will Newton <will.newton@linaro.org>
572
573 * include/stap-probe.h: Add comment about probe argument
574 format.
575
c13a72b7
WN
5762014-02-11 Will Newton <will.newton@linaro.org>
577
578 * malloc/mtrace.c (attribute_hidden): Remove unused macro
579 definition. (tr_where, tr_freehook, tr_mallochook,
580 tr_reallochook, tr_memalignhook): Use ANSI protoype.
581
195b8165
DM
5822014-02-11 David S. Miller <davem@davemloft.net>
583
584 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
585 processing int_tests.
586
2ad7600b
JM
5872014-02-10 Joseph Myers <joseph@codesourcery.com>
588
589 * sysdeps/mips: Move directory from ports/sysdeps/mips.
590 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
591 * sysdeps/unix/sysv/linux/mips: Move directory from
592 ports/sysdeps/unix/sysv/linux/mips.
593 * README: Update listing for mips-*-linux-gnu and
594 mips64-*-linux-gnu.
595
73588a72
AS
5962014-02-10 Andreas Schwab <schwab@linux-m68k.org>
597
598 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
599 * sysdeps/unix/sysv/linux/m68k: Move directory from
600 ports/sysdeps/unix/sysv/linux/m68k.
601 * README: Update listing for m68k-*-linux-gnu.
602
4372980f
CM
6032014-02-10 Chris Metcalf <cmetcalf@tilera.com>
604
605 * sysdeps/tile: Move directory from ports/sysdeps/tile.
606 * sysdeps/unix/sysv/linux/generic: Move directory from
607 ports/sysdeps/unix/sysv/linux/generic.
608 * sysdeps/unix/sysv/linux/tile: Move directory from
609 ports/sysdeps/unix/sysv/linux/tile.
610 * README: Update listing for tile*-*-linux-gnu.
611
a1ffb40e
OB
6122014-02-10 Ondřej Bílka <neleai@seznam.cz>
613
614 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
615 * benchtests/bench-memmem.c (simple_memmem): Likewise.
616 * catgets/open_catalog.c (__open_catalog): Likewise.
617 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
618 * debug/confstr_chk.c: Likewise.
619 * debug/fread_chk.c (__fread_chk): Likewise.
620 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
621 * debug/getgroups_chk.c: Likewise.
622 * debug/mbsnrtowcs_chk.c: Likewise.
623 * debug/mbsrtowcs_chk.c: Likewise.
624 * debug/mbstowcs_chk.c: Likewise.
625 * debug/memcpy_chk.c: Likewise.
626 * debug/memmove_chk.c: Likewise.
627 * debug/mempcpy_chk.c: Likewise.
628 * debug/memset_chk.c: Likewise.
629 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
630 * debug/strcat_chk.c (__strcat_chk): Likewise.
631 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
632 * debug/strncat_chk.c (__strncat_chk): Likewise.
633 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
634 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
635 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
636 * debug/wcpncpy_chk.c: Likewise.
637 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
638 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
639 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
640 * debug/wcsncpy_chk.c: Likewise.
641 * debug/wcsnrtombs_chk.c: Likewise.
642 * debug/wcsrtombs_chk.c: Likewise.
643 * debug/wcstombs_chk.c: Likewise.
644 * debug/wmemcpy_chk.c: Likewise.
645 * debug/wmemmove_chk.c: Likewise.
646 * debug/wmempcpy_chk.c: Likewise.
647 * debug/wmemset_chk.c: Likewise.
648 * dirent/scandirat.c (SCANDIRAT): Likewise.
649 * dlfcn/dladdr1.c (dladdr1): Likewise.
650 * dlfcn/dladdr.c (dladdr): Likewise.
651 * dlfcn/dlclose.c (dlclose_doit): Likewise.
652 * dlfcn/dlerror.c (__dlerror): Likewise.
653 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
654 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
655 * dlfcn/dlopen.c (dlopen_doit): Likewise.
656 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
657 * dlfcn/dlsym.c (dlsym_doit): Likewise.
658 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
659 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
660 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
661 Likewise.
662 * elf/dl-conflict.c: Likewise.
663 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
664 * elf/dl-dst.h: Likewise.
665 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
666 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
667 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
668 * elf/dl-init.c (call_init, _dl_init): Likewise.
669 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
670 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
671 _dl_map_object_from_fd, open_verify, open_path,
672 _dl_map_object): Likewise.
673 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
674 Likewise.
675 * elf/dl-minimal.c (__libc_memalign): Likewise.
676 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
677 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
678 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
679 * elf/dl-sym.c (do_sym): Likewise.
680 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
681 _dl_tls_get_addr_soft): Likewise.
682 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
683 * elf/dl-writev.h (_dl_writev): Likewise.
684 * elf/ldconfig.c (search_dir): Likewise.
685 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
686 dl_main): Likewise.
687 * elf/setup-vdso.h (setup_vdso): Likewise.
688 * grp/compat-initgroups.c (compat_call): Likewise.
689 * grp/fgetgrent.c (fgetgrent): Likewise.
690 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
691 * grp/putgrent.c (putgrent): Likewise.
692 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
693 Likewise.
694 * hurd/hurdinit.c: Likewise.
695 * iconvdata/8bit-gap.c (struct): Likewise.
696 * iconvdata/ansi_x3.110.c : Likewise.
697 * iconvdata/big5.c : Likewise.
698 * iconvdata/big5hkscs.c : Likewise.
699 * iconvdata/cp1255.c: Likewise.
700 * iconvdata/cp1258.c : Likewise.
701 * iconvdata/cp932.c : Likewise.
702 * iconvdata/euc-cn.c: Likewise.
703 * iconvdata/euc-jisx0213.c : Likewise.
704 * iconvdata/euc-jp.c: Likewise.
705 * iconvdata/euc-jp-ms.c : Likewise.
706 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
707 * iconvdata/gb18030.c : Likewise.
708 * iconvdata/gbbig5.c (const): Likewise.
709 * iconvdata/gbgbk.c: Likewise.
710 * iconvdata/gbk.c : Likewise.
711 * iconvdata/ibm1364.c : Likewise.
712 * iconvdata/ibm930.c : Likewise.
713 * iconvdata/ibm932.c: Likewise.
714 * iconvdata/ibm933.c : Likewise.
715 * iconvdata/ibm935.c : Likewise.
716 * iconvdata/ibm937.c : Likewise.
717 * iconvdata/ibm939.c : Likewise.
718 * iconvdata/ibm943.c: Likewise.
719 * iconvdata/iso_11548-1.c: Likewise.
720 * iconvdata/iso-2022-cn.c : Likewise.
721 * iconvdata/iso-2022-cn-ext.c : Likewise.
722 * iconvdata/iso-2022-jp-3.c: Likewise.
723 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
724 * iconvdata/iso-2022-kr.c : Likewise.
725 * iconvdata/iso646.c (gconv_end): Likewise.
726 * iconvdata/iso_6937-2.c : Likewise.
727 * iconvdata/iso_6937.c : Likewise.
728 * iconvdata/iso8859-1.c: Likewise.
729 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
730 * iconvdata/shift_jisx0213.c : Likewise.
731 * iconvdata/sjis.c : Likewise.
732 * iconvdata/t.61.c : Likewise.
733 * iconvdata/tcvn5712-1.c : Likewise.
734 * iconvdata/tscii.c: Likewise.
735 * iconvdata/uhc.c : Likewise.
736 * iconvdata/unicode.c (gconv_end): Likewise.
737 * iconvdata/utf-16.c (gconv_end): Likewise.
738 * iconvdata/utf-32.c (gconv_end): Likewise.
739 * iconvdata/utf-7.c (base64): Likewise.
740 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
741 * iconv/gconv_close.c (__gconv_close): Likewise.
742 * iconv/gconv_open.c (__gconv_open): Likewise.
743 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
744 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
745 internal_ucs4le_loop_single, ucs4le_internal_loop,
746 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
747 * iconv/iconv.c (iconv): Likewise.
748 * iconv/iconv_close.c: Likewise.
749 * iconv/loop.c (SINGLE): Likewise.
750 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
751 * include/atomic.h: Likewise.
752 * inet/inet6_option.c (option_alloc): Likewise.
753 * intl/bindtextdom.c (set_binding_values): Likewise.
754 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
755 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
756 * intl/localealias.c (read_alias_file): Likewise.
757 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
758 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
759 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
760 * libio/fmemopen.c (fmemopen): Likewise.
761 * libio/iofgets.c (_IO_fgets): Likewise.
762 * libio/iofgets_u.c (fgets_unlocked): Likewise.
763 * libio/iofgetws.c (fgetws): Likewise.
764 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
765 * libio/iogetdelim.c (_IO_getdelim): Likewise.
766 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
767 adjust_wide_data, _IO_wfile_seekoff): Likewise.
768 * locale/findlocale.c (_nl_find_locale): Likewise.
769 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
770 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
771 Likewise.
772 * locale/setlocale.c (setlocale): Likewise.
773 * login/programs/pt_chown.c (main): Likewise.
774 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
775 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
776 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
777 mmap, mmap64, mremap, munmap): Likewise.
778 * math/e_exp2l.c: Likewise.
779 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
780 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
781 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
782 * math/s_catan.c (__catan): Likewise.
783 * math/s_catanf.c (__catanf): Likewise.
784 * math/s_catanh.c (__catanh): Likewise.
785 * math/s_catanhf.c (__catanhf): Likewise.
786 * math/s_catanhl.c (__catanhl): Likewise.
787 * math/s_catanl.c (__catanl): Likewise.
788 * math/s_ccosh.c (__ccosh): Likewise.
789 * math/s_ccoshf.c (__ccoshf): Likewise.
790 * math/s_ccoshl.c (__ccoshl): Likewise.
791 * math/s_cexp.c (__cexp): Likewise.
792 * math/s_cexpf.c (__cexpf): Likewise.
793 * math/s_cexpl.c (__cexpl): Likewise.
794 * math/s_clog10.c (__clog10): Likewise.
795 * math/s_clog10f.c (__clog10f): Likewise.
796 * math/s_clog10l.c (__clog10l): Likewise.
797 * math/s_clog.c (__clog): Likewise.
798 * math/s_clogf.c (__clogf): Likewise.
799 * math/s_clogl.c (__clogl): Likewise.
800 * math/s_csin.c (__csin): Likewise.
801 * math/s_csinf.c (__csinf): Likewise.
802 * math/s_csinh.c (__csinh): Likewise.
803 * math/s_csinhf.c (__csinhf): Likewise.
804 * math/s_csinhl.c (__csinhl): Likewise.
805 * math/s_csinl.c (__csinl): Likewise.
806 * math/s_csqrt.c (__csqrt): Likewise.
807 * math/s_csqrtf.c (__csqrtf): Likewise.
808 * math/s_csqrtl.c (__csqrtl): Likewise.
809 * math/s_ctan.c (__ctan): Likewise.
810 * math/s_ctanf.c (__ctanf): Likewise.
811 * math/s_ctanh.c (__ctanh): Likewise.
812 * math/s_ctanhf.c (__ctanhf): Likewise.
813 * math/s_ctanhl.c (__ctanhl): Likewise.
814 * math/s_ctanl.c (__ctanl): Likewise.
815 * math/w_pow.c: Likewise.
816 * math/w_powf.c: Likewise.
817 * math/w_powl.c: Likewise.
818 * math/w_scalb.c (sysv_scalb): Likewise.
819 * math/w_scalbf.c (sysv_scalbf): Likewise.
820 * math/w_scalbl.c (sysv_scalbl): Likewise.
821 * misc/error.c (error_tail): Likewise.
822 * misc/pselect.c (__pselect): Likewise.
823 * nis/nis_callback.c (__nis_create_callback): Likewise.
824 * nis/nis_call.c (__nisfind_server): Likewise.
825 * nis/nis_creategroup.c (nis_creategroup): Likewise.
826 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
827 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
828 * nis/nis_getservlist.c (nis_getservlist): Likewise.
829 * nis/nis_lookup.c (nis_lookup): Likewise.
830 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
831 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
832 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
833 * nis/nis_xdr.c (xdr_endpoint): Likewise.
834 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
835 internal_getgrgid_r): Likewise.
836 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
837 Likewise.
838 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
839 internal_getpwuid_r): Likewise.
840 * nis/nss_compat/compat-spwd.c (getspent_next_file,
841 internal_getspnam_r): Likewise.
842 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
843 _nss_nis_getaliasbyname_r): Likewise.
844 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
845 _nss_nis_getntohost_r): Likewise.
846 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
847 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
848 Likewise.
849 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
850 internal_nis_gethostent_r, internal_gethostbyname2_r,
851 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
852 _nss_nis_gethostbyname4_r): Likewise.
853 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
854 initgroups_netid): Likewise.
855 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
856 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
857 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
858 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
859 _nss_nis_getprotobynumber_r): Likewise.
860 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
861 _nss_nis_getsecretkey): Likewise.
862 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
863 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
864 Likewise.
865 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
866 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
867 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
868 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
869 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
870 _nss_nis_getspnam_r): Likewise.
871 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
872 Likewise.
873 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
874 _nss_nisplus_getntohost_r): Likewise.
875 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
876 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
877 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
878 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
879 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
880 Likewise.
881 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
882 _nss_nisplus_getnetbyaddr_r): Likewise.
883 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
884 _nss_nisplus_getprotobynumber_r): Likewise.
885 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
886 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
887 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
888 Likewise.
889 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
890 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
891 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
892 _nss_nisplus_getspnam_r): Likewise.
893 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
894 * nscd/aicache.c (addhstaiX): Likewise.
895 * nscd/cache.c (cache_search, prune_cache): Likewise.
896 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
897 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
898 * nscd/grpcache.c (addgrbyX): Likewise.
899 * nscd/hstcache.c (addhstbyX): Likewise.
900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
901 * nscd/mem.c (gc, mempool_alloc): Likewise.
902 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
903 Likewise.
904 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
905 Likewise.
906 * nscd/nscd_getai.c (__nscd_getai): Likewise.
907 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
908 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
909 Likewise.
910 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
912 * nscd/nscd_helper.c (__readvall, open_socket,
913 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
914 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
915 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
916 * nscd/pwdcache.c (addpwbyX): Likewise.
917 * nscd/selinux.c (preserve_capabilities): Likewise.
918 * nscd/servicescache.c (addservbyX): Likewise.
919 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
920 * posix/fnmatch.c (fnmatch): Likewise.
921 * posix/getopt.c (_getopt_internal_r): Likewise.
922 * posix/glob.c (glob, glob_in_dir): Likewise.
923 * posix/wordexp.c (exec_comm_child): Likewise.
924 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
925 gaih_getanswer_slice): Likewise.
926 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
927 * resolv/res_init.c: Likewise.
928 * resolv/res_mkquery.c (res_nmkquery): Likewise.
929 * resolv/res_query.c (__libc_res_nquery): Likewise.
930 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
931 Likewise.
932 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
933 * stdio-common/perror.c (perror): Likewise.
934 * stdio-common/printf_fp.c (___printf_fp): Likewise.
935 * stdio-common/tmpnam.c (tmpnam): Likewise.
936 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
937 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
938 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
939 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
940 * stdlib/putenv.c (putenv): Likewise.
941 * stdlib/setenv.c (__add_to_environ): Likewise.
942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
943 * stdlib/strtol_l.c (INTERNAL): Likewise.
944 * string/memmem.c (memmem): Likewise.
945 * string/strerror.c (strerror): Likewise.
946 * string/strnlen.c (__strnlen): Likewise.
947 * string/test-memmem.c (simple_memmem): Likewise.
948 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
949 * sunrpc/pm_getport.c (__get_socket): Likewise.
950 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
951 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
952 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
953 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
954 Likewise.
955 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
956 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
957 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
958 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
959 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
960 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
961 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
962 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
963 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
964 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
965 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
966 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
968 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
969 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
970 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
971 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
972 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
974 Likewise.
975 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
976 Likewise.
977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
978 Likewise.
979 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
980 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
981 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
982 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
983 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
984 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
985 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
988 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
989 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
991 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
992 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
994 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
995 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
996 Likewise.
997 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
998 Likewise.
999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1000 Likewise.
1001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1003 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1004 Likewise.
1005 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1006 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1007 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1008 * sysdeps/posix/sleep.c: Likewise.
1009 * sysdeps/posix/tempname.c: Likewise.
1010 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1011 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1012 Likewise.
1013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1014 elf_machine_rela): Likewise.
1015 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1017 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1018 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1019 Likewise.
1020 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1022 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1023 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1024 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1025 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1026 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1027 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1029 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1031 elf_machine_lazy_rel): Likewise.
1032 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1034 elf_machine_lazy_rel): Likewise.
1035 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1036 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1037 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1038 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1039 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1040 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1041 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1043 Likewise.
1044 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1045 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1046 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1047 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1048 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1049 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1050 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1051 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1052 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1053 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1054 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1055 Likewise.
1056 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1057 (__posix_fallocate64_l64): Likewise.
1058 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1059 (posix_fallocate): Likewise.
1060 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1062 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1063 getifaddrs_internal): Likewise.
1064 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1065 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1066 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1067 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1068 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1069 (__posix_fallocate64_l64): Likewise.
1070 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1071 Likewise.
1072 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1076 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1077 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1080 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1081 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1082 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1083 Likewise.
1084 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1085 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1086 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1087 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1088 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1089 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1090 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1091 Likewise.
1092 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1093 (posix_fallocate): Likewise.
1094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1095 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1096 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1097 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1098 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1099 Likewise.
1100 * time/asctime.c (asctime_internal): Likewise.
1101 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1102 * time/tzset.c (__tzset_parse_tz): Likewise.
1103 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1104 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1105 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1106 * wcsmbs/wcsmbsload.h: Likewise.
1107
f3d338c9
OB
11082014-02-10 Ondřej Bílka <neleai@seznam.cz>
1109
1110 [BZ #15894]
1111 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1112
bdfe308a
OB
11132014-02-10 Ondřej Bílka <neleai@seznam.cz>
1114
1115 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1116 arena_get2): Remove THREAD_STATS conditionals.
1117 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1118 __malloc_stats, int): Likewise.
1119
d674667c
MF
11202014-02-08 Mike Frysinger <vapier@gentoo.org>
1121
1122 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1123 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1124
6349768c
MF
11252014-02-08 Mike Frysinger <vapier@gentoo.org>
1126
1127 * manual/setjmp.texi: Fix typos/grammar errors.
1128
0b7c7473
MF
11292014-02-08 Mike Frysinger <vapier@gentoo.org>
1130
1131 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1132 Only return early when n is <= 0. Delete unused return statement.
1133
ac8cc9e3
MF
11342014-02-08 Mike Frysinger <vapier@gentoo.org>
1135
1136 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1137 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1138 * debug/tst-longjmp_chk3.c: New file.
1139
c5bb8e23
MF
11402014-02-08 Mike Frysinger <vapier@gentoo.org>
1141
1142 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1143 (test_main): Replace code with set_fortify_handler call.
1144 * debug/test-strcpy_chk.c: Likewise.
1145 * debug/tst-chk1.c: Likewise.
1146 * debug/tst-longjmp_chk.c: Likewise.
1147 * test-skeleton.c: Include fcntl.h & paths.h
1148 (set_fortify_handler): Define.
1149
10444e42
MF
11502014-02-08 Mike Frysinger <vapier@gentoo.org>
1151
1152 * debug/tst-longjmp_chk.c: Add header comment and include
1153 ../test-skeleton.c.
1154 (do_test): Mark static.
1155 (TEST_FUNCTION): Define.
1156
1e805e8d
MF
11572014-02-08 Mike Frysinger <vapier@gentoo.org>
1158
1159 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1160 (IP_PMTUDISC_INTERFACE): Likewise.
1161 (IP_MULTICAST_IF): Likewise.
1162 (IP_MULTICAST_TTL): Likewise.
1163 (IP_MULTICAST_LOOP): Likewise.
1164 (IP_ADD_MEMBERSHIP): Likewise.
1165 (IP_DROP_MEMBERSHIP): Likewise.
1166 (IP_UNBLOCK_SOURCE): Likewise.
1167 (IP_BLOCK_SOURCE): Likewise.
1168 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1169 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1170 (IP_MSFILTER): Likewise.
1171 (MCAST_JOIN_GROUP): Likewise.
1172 (MCAST_BLOCK_SOURCE): Likewise.
1173 (MCAST_UNBLOCK_SOURCE): Likewise.
1174 (MCAST_LEAVE_GROUP): Likewise.
1175 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1176 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1177 (MCAST_MSFILTER): Likewise.
1178 (IP_MULTICAST_ALL): Likewise.
1179 (IP_UNICAST_IF): Likewise.
1180
73f79bb7
MF
11812014-02-08 Mike Frysinger <vapier@gentoo.org>
1182
1183 * timezone/Makefile: Delete $(have-ksh) check.
1184 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1185 * timezone/tzselect.ksh: Add +x mode bits.
1186
8da79b60
MF
11872014-02-08 Mike Frysinger <vapier@gentoo.org>
1188
1189 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1190 (ANON_INODE_FS_MAGIC): Likewise.
1191 (BDEVFS_MAGIC): Likewise.
1192 (BINFMTFS_MAGIC): Likewise.
1193 (BTRFS_TEST_MAGIC): Likewise.
1194 (CRAMFS_MAGIC_WEND): Likewise.
1195 (DEBUGFS_MAGIC): Likewise.
1196 (ECRYPTFS_SUPER_MAGIC): Likewise.
1197 (EXT3_SUPER_MAGIC): Likewise.
1198 (EXT4_SUPER_MAGIC): Likewise.
1199 (FUTEXFS_SUPER_MAGIC): Likewise.
1200 (HOSTFS_SUPER_MAGIC): Likewise.
1201 (HUGETLBFS_MAGIC): Likewise.
1202 (MINIX3_SUPER_MAGIC): Likewise.
1203 (MTD_INODE_FS_MAGIC): Likewise.
1204 (NILFS_SUPER_MAGIC): Likewise.
1205 (OPENPROM_SUPER_MAGIC): Likewise.
1206 (PIPEFS_MAGIC): Likewise.
1207 (PSTOREFS_MAGIC): Likewise.
1208 (QNX6_SUPER_MAGIC): Likewise.
1209 (RAMFS_MAGIC): Likewise.
1210 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1211 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1212 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1213 (SECURITYFS_MAGIC): Likewise.
1214 (SELINUX_MAGIC): Likewise.
1215 (SMACK_MAGIC): Likewise.
1216 (SOCKFS_MAGIC): Likewise.
1217 (SQUASHFS_MAGIC): Likewise.
1218 (STACK_END_MAGIC): Likewise.
1219 (TMPFS_MAGIC): Likewise.
1220 (USBDEVICE_SUPER_MAGIC): Likewise.
1221 (V9FS_MAGIC): Likewise.
1222 (XENFS_SUPER_MAGIC): Likewise.
1223 (CRAMFS_MAGIC): Fix typo in comment.
1224 (EXT2_SUPER_MAGIC): Update comment.
1225 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1226
464263cc
JM
12272014-02-08 Joseph Myers <joseph@codesourcery.com>
1228
c6bfe5c4
JM
1229 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1230 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1231 * sysdeps/unix/sysv/linux/arm: Move directory from
1232 ports/sysdeps/unix/sysv/linux/arm.
1233 * README: Update listing for arm-*-linux-gnueabi.
1234
464263cc
JM
1235 * README: Remove mention of am33.
1236
32749f6c
RM
12372014-02-07 Roland McGrath <roland@hack.frob.com>
1238
1239 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1240 than the comma operator, to avoid "rhs of comma has no effect"
1241 compiler warnings.
1242 (__sigfillset, __sigandset, __sigorset): Likewise.
1243 * include/signal.h (__sigemptyset): Likewise.
1244 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1245
d5b396c1
AM
12462014-02-07 Allan McRae <allan@archlinux.org>
1247
1248 * version.h (RELEASE): Set to "development".
1249 (VERSION): Set to "2.19.90"
1250 * NEWS: Add 2.20 section.
1251
3bfff2ed
CD
12522014-02-06 Carlos O'Donell <carlos@redhat.com>
1253
1254 [BZ #16529]
1255 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1256
ee7cc385
SP
12572014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1258
1259 * manual/contrib.texi: Update entry for Carlos O'Donell,
1260 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1261
f877c4f2
CD
12622014-02-05 Carlos O'Donell <carlos@rehdat.com>
1263
27e839f6
CD
1264 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1265
f877c4f2
CD
1266 * sysdeps/unix/sysv/linux/kernel-features.h
1267 [__LINUX_KERNEL_VERSION >= 0x020621]
1268 (__ASSUME_PROC_PID_TASK_COMM): Define.
1269
68159946
SP
12702014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1271
1272 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1273 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1274 Leonard and Allan McRae.
1275
2b528732
DM
12762014-02-04 David S. Miller <davem@davemloft.net>
1277
1278 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1279 32-bit.
1280
0ff82463
AZ
12812014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1282
c01603f7
AZ
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1284 file
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1286 New file
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1288 file.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1290 file.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1292 New file.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1294 file.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1296 file.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1298 New file.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1300 New file.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1302 New file.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1304 New file.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1306 New file.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1308 New file.
1309
13102014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311
0ff82463
AZ
1312 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1313 * shlib-versions: Likewise.
1314
1695c773
AZ
13152014-02-04 Roland McGrath <roland@hack.frob.com>
1316 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317
1318 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1319 (abilist-pattern): New variable, set to %-le.abilist.
1320
1321 * Makerules (abilist-pattern): New variable.
1322 (vpath): Use $(abilist-pattern) in place of %.abilist.
1323 (check-abi-% pattern rule): Likewise.
1324 (check-abi, update-abi): Likewise.
1325
6c0ce4b4
EW
13262014-02-04 Eric Wong <normalperson@yhbt.net>
1327
1328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1329
dc98b8f5
EW
13302014-02-04 Eric Wong <normalperson@yhbt.net>
1331
1332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1333
481e3524
CD
13342014-02-03 Carlos O'Donell <carlos@redhat.com>
1335
1336 * manual/startup.texi: Add next, previous, and top entries for
1337 the `Program Arguments' and `Environment Variables' nodes.
1338
375592d3
AO
13392014-02-03 Alexandre Oliva <aoliva@redhat.com>
1340
1341 * manual/macros.texi: Add comments before MTASC-safety macros.
1342
f54838ba
AO
1343 * manual/users.texi: Document MTASC-safety properties.
1344
909e12ad
AO
1345 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1346 pthread_getspecific, pthread_setspecific): Format with
1347 @deftypefun, and add @safety note.
1348 * manual/signal.texi: Move comments that analyze the above
1349 functions to their home place.
1350
fd3daba4
AM
13512014-02-03 Allan McRae <allan@archlinux.org>
1352
1353 * po/sl.po: Update Slovenian translation from translation project.
1354
597636d7
AO
13552014-02-02 Alexandre Oliva <aoliva@redhat.com>
1356
1357 * manual/time.texi (timegm): Add missing blank after @c.
1358 Reported by Joseph Myers <joseph@codesourcery.com>.
1359
ee196e3c
AO
13602014-02-01 Alexandre Oliva <aoliva@redhat.com>
1361
1362 * manual/check-safety.sh: New.
1363 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1364
f8d529d5
AO
1365 * manual/terminal.texi: Document MTASC-safety properties.
1366
de55fdf4
AO
1367 * manual/filesys.texi: Document MTASC-safety properties.
1368
c3299c08
AO
1369 * manual/errno.texi: Document MTASC-safety properties.
1370
06e90b14
AO
1371 * manual/intro.texi: Document safety identifiers and
1372 conditionals.
1373
1acd4371
AO
1374 * manual/string.texi (wcstok): Fix prototype.
1375 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1376
23e5b8cb
AO
1377 * manual/time.texi: Document MTASC-safety properties.
1378
11087373
AO
1379 * manual/string.texi: Document MTASC-safety properties.
1380
5da2c93d
AO
1381 * manual/threads.texi: Document MTASC-safety properties.
1382
171e9210
AO
1383 * manual/stdio.texi: Document MTASC-safety properties.
1384
d9e02532
AO
1385 * manual/syslog.texi: Document MTASC-safety properties.
1386
6af8bab7
AO
1387 * manual/sysinfo.texi: Document MTASC-safety properties.
1388
663b02d7
AO
1389 * manual/startup.texi: Document MTASC-safety properties.
1390
973f180b
AO
1391 * manual/socket.texi: Document MTASC-safety properties.
1392
8f3c25c8
AO
1393 * manual/signal.texi: Document MTASC-safety properties.
1394
542210fb
AO
13952014-01-31 Alexandre Oliva <aoliva@redhat.com>
1396
1397 * manual/setjmp.texi: Document MTASC-safety properties.
1398
433c45a2
AO
1399 * manual/search.texi: Document MTASC-safety properties.
1400
c8ce789c
AO
1401 * manual/resource.texi: Document MTASC-safety properties.
1402
19f5d29c
AO
1403 * manual/process.texi: Document MTASC-safety properties.
1404
e2dfb7f4
AO
1405 * manual/platform.texi: Document MTASC-safety properties.
1406
8c1413f5
AO
1407 * manual/pipe.texi: Document MTASC-safety properties.
1408
03483ada
AO
1409 * manual/pattern.texi: Document MTASC-safety properties.
1410
29e7e2df
AO
1411 * manual/message.texi: Document MTASC-safety properties.
1412
9f529d7c
AO
1413 [BZ #12751]
1414 * manual/memory.texi: Document MTASC-safety properties.
1415
27aaa791
AO
1416 * manual/math.texi: Document MTASC-safety properties.
1417
f2d58726
AO
1418 * manual/locale.texi: Document MTASC-safety properties.
1419
2cc3615c
AO
1420 * manual/llio.texi: Document MTASC-safety properties.
1421
d9f0ec97
AO
1422 * manual/libdl.texi: New.
1423
e7c4409a
AO
1424 * manual/lang.texi: Document MTASC-safety properties.
1425
27bdc63c
AO
1426 * manual/job.texi: Document MTASC-safety properties.
1427
a7b90ea9
AO
1428 * manual/getopt.texi: Document MTASC-safety properties.
1429
c49130e3
AO
1430 * manual/ctype.texi: Document MTASC-safety properties.
1431
0d23a5c1
MR
14322014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1433
1434 [BZ #16046]
1435 * csu/libc-tls.c (static_map): Remove variable.
1436 (__libc_setup_tls): Use main executable's link map for TLS data.
1437 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1438 casing for LM_ID_BASE and GL(dl_nns).
1439 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1440 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1441 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1442 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1443 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1444 member.
1445 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1446 l_phnum members.
1447
0037bb60
AO
14482014-01-30 Alexandre Oliva <aoliva@redhat.com>
1449
1450 * manual/debug.texi: Document MTASC-safety properties.
1451
409e00bd
L
14522014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 [BZ #16510]
1455 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1456 of __x86_64__ when disabling x87 inline functions.
1457
86e60666
AO
14582014-01-29 Alexandre Oliva <aoliva@redhat.com>
1459
1460 * manual/charset.texi: Document MTASC-safety properties.
1461
76167637
AO
1462 * manual/crypt.texi: Document MTASC-safety properties.
1463
e567f2a0
AO
1464 * manual/conf.texi: Document MTASC-safety properties.
1465
b719dafd
AO
1466 * manual/arith.texi: Document MTASC-safety properties.
1467
4a16c662
AO
1468 * manual/argp.texi: Document MTASC-safety properties.
1469
0a57b83e
AO
1470 * manual/macros.texi: Introduce macros to document multi
1471 thread, asynchronous signal and asynchronous cancellation
1472 safety properties.
1473 * manual/intro.texi: Introduce the properties themselves.
1474
feab2397
KK
14752014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1476
1477 * sysdeps/sh/sh4/Makefile: New file.
1478
1c0d11bc
AS
14792014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1480
1481 * math/gen-libm-test.pl ($srcdir): New variable.
1482 ($auto_input): Use it.
1483
af37a8a3
SP
14842014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1485
d7b00f98
SP
1486 [BZ #16506]
1487 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1488 access beyond array bounds when parsing netgroups file.
1489
af37a8a3
SP
1490 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1491 the old buffer before realloc.
1492
0c00f062
AM
14932014-01-27 Allan McRae <allan@archlinux.org>
1494
1495 * po/fr.po: Update French translation from translation project.
1496
7d69a1b0
KK
14972014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1498
1499 * sysdeps/sh/libm-test-ulps: Regenerate.
1500
6e697ff7
DM
15012014-01-24 David S. Miller <davem@davemloft.net>
1502
1503 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1504
9cadb35c
KK
15052014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1506
1507 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1508 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1509
5d41dadf
SP
15102013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1511
1512 [BZ #16474]
1513 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1514 string pointers after reallocation.
1515
0bad441c
KK
15162014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1517
1518 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1519 __SH4A__ instead of __SH_FPU_ANY__.
1520
7007c661
KK
15212014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1522
1523 * sysdeps/sh/fpu_control.h: New file.
1524 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1525 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1526 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1527 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1528 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1529 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1530 * sysdeps/sh/sys/ucontext.h: Remove.
1531 * sysdeps/sh/sys: Remove directory.
1532
0f0c35e4
AK
15332014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1534
1535 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1536 s390/sys/ucontext.h.
1537 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1538 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1539
4959e284
L
15402014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 [BZ #15605]
1543 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1544
d98720e0
AZ
15452014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546
1547 [BZ#16431]
1548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1549 Adjust the vDSO correctly for internal calls.
1550 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1551
91cbd0bc
AM
15522014-01-20 Allan McRae <allan@archlinux.org>
1553
1554 * po/ca.po: Update Catalan translation from translation project.
1555
7a02cfad
MF
15562014-01-16 Mike Frysinger <vapier@gentoo.org>
1557
1558 * sysdeps/s390/sotruss-lib.c: New file.
1559
736c304a
AZ
15602014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1561
1562 [BZ#16430]
6e077ee5 1563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1564 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1565 local calls issues by not having a PLT stub required for IFUNC calls.
1566 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1567
94d0cea0
JM
15682014-01-16 Joseph Myers <joseph@codesourcery.com>
1569
1570 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1571 * math/test-fpucw-static.c: Likewise.
1572
980cb518
SP
15732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1574
1575 [BZ #16453]
1576 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1577
2393fc01
AZ
15782014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579
1580 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1581 implementation for powerpc.
1582
d359bcc2
OB
15832014-01-15 Ondřej Bílka <neleai@seznam.cz>
1584
1585 [BZ #14782]
1586 * sysdeps/posix/system.c (__libc_system): Do not enable
1587 asynchronous cancellation.
1588
7beb48cb
AK
15892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1590
1591 [BZ #16427]
1592 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1593 handling only for numbers special also in the IEEE case.
1594
c20d5bf5
AK
15952014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1596
1597 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1598
e83bd4ee
AM
15992014-01-11 Allan McRae <allan@archlinux.org>
1600
76d0ea69
AM
1601 * po/bg.po: Update Bulgarian translation from translation project.
1602
e83bd4ee
AM
1603 * po/de.po: Update German translation from translation project.
1604
bc2ba20a
RM
16052014-01-10 Roland McGrath <roland@hack.frob.com>
1606
1607 * sysdeps/generic/gcc-compat.h: New file.
1608
649ecea2
SP
16092014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1610
1611 * benchtests/asin-inputs: Correct slow inputs.
1612 * benchtests/acos-inputs: Likewise.
1613
1b19c006
AM
16142014-01-10 Allan McRae <allan@archlinux.org>
1615
a46dab08
AM
1616 * po:sv.po: Update Swedish translation from translation project.
1617
421df74a
AM
1618 * po/vi.po: Update Vietnamese translation from translation project.
1619
d61c51a7
AM
1620 * po/eo.po: Update Esperanto translation from translation project.
1621
0339a319
AM
1622 * po/cs.po: Update Czech translation from translation project.
1623
94ad3e99
AM
1624 * po/nl.po: Update Dutch translation from translation project.
1625
e349ca71
AM
1626 * po/pl.po: Update Polish translation from translation project.
1627
ddf930c1
AM
1628 * po/ru.po: Update Russian translation from translation project.
1629
1b19c006
AM
1630 * po/uk.po: Update Ukrainian translation from translation project.
1631
9f236c49
BM
16322014-01-08 Brooks Moses <bmoses@google.com>
1633
1634 * elf/dl-load.c: Fix comment typo.
1635
cd6701cf
CD
16362014-01-08 Carlos O'Donell <carlos@redhat.com>
1637
1638 * po/header.pot: Rename to...
1639 * po/pot.header: ... this.
1640 * po/Makefile: Use pot.header.
1641
66671c84
YK
16422014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1643 Maxim Kuvyrkov <maxim@kugelworks.com>
1644
1645 [BZ #16394]
cd6701cf
CD
1646 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1647 SRC and DEST against LEN.
66671c84 1648
38f34581
AZ
16492014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650
1651 [BZ #16414]
1652 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1653 implementation.
1654 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1655
16562014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1657
1658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1659
4c327f2a
JM
16602014-01-08 Joseph Myers <joseph@codesourcery.com>
1661
1662 [BZ #16408]
1663 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1664 for large positive arguments.
1665
b821f414
JM
16662014-01-07 Joseph Myers <joseph@codesourcery.com>
1667
1f0f2067
JM
1668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1669
a5a326f6
JM
1670 * math/auto-libm-test-in: Mark various tests with
1671 xfail-rounding:ldbl-128ibm.
1672 * math/auto-libm-test-out: Regenerated.
1673
b821f414
JM
1674 [BZ #16407]
1675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1676 Increase overflow threshold.
1677
94c8a4bc
OB
16782014-01-07 Ondřej Bílka <neleai@seznam.cz>
1679
1680 [BZ #14286]
1681 * stdio-common/vfprintf.c: Check for integer overflow.
1682
87ded0c3
AK
16832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1684
1685 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1686 the first argument and return value of __tls_get_addr_internal.
1687
c5eebdd0
AK
16882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1689
1690 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1691 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1692
05d138ef
AK
16932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1694
1695 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1696 * sysdeps/s390/rtld-global-offsets.sym: New file.
1697 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1698 GLIBC_2.19 symbol.
1699 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1700 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1701 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1702 ... this.
1703 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1704 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1705 ... this.
1706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1707 Regenerate.
1708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1709 Regenerate.
1710 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1711 halfs of GPRs for high_gprs contexts.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1713 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1714 field.
1715 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1716 uc_flags field.
1717 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1718 64 bit versions:
1719 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1720 for high GPRs (uc_high_gprs) and for future extensions
1721 (__reserved).
1722 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1723 for future extensions (__reserved).
1724 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1725 64 bit versions:
1726 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1727 SC_HIGHGPRS offset definition.
1728 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1729 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1730
93a45ff1
AK
17312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1732
1733 * Versions.def: Add GLIBC_2.19 for libpthread.
1734 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1735 siglongjmp for libpthread with GLIBC_2.19 symver.
1736 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1737 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1738 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1739 * sysdeps/s390/__longjmp.c: New file.
1740 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1741 * sysdeps/s390/longjmp.c: New file.
1742 * sysdeps/s390/setjmp.S: New file.
1743 * sysdeps/s390/sigjmp.S: New file.
1744 * sysdeps/s390/v1-longjmp.c: New file.
1745 * sysdeps/s390/v1-setjmp.h: New file.
1746 * sysdeps/s390/v1-sigjmp.c: New file.
1747 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1748 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1749 GLIBC_2.19 version.
1750 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1751 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1752 versioned symbols for ____longjmp_chk.
1753 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1754 Likewise.
1755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1756 Regenerate.
1757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1758 Regenerate.
1759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1760 Regenerate.
1761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1762 Regenerate.
1763 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1764 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1765 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1766 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1767 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1768 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1769 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1770 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1771 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1772 * sysdeps/s390/rtld-__longjmp.c: New file.
1773 * sysdeps/s390/rtld-setjmp.S: New file.
1774
eb3fc44b
JM
17752014-01-06 Joseph Myers <joseph@codesourcery.com>
1776
1777 [BZ #16400]
1778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1779 Return -__logl (x) for small positive arguments without evaluating
1780 a polynomial.
1781
9341dde4
MF
17822014-01-06 Mike Frysinger <vapier@gentoo.org>
1783
1784 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1785 Rename to ...
1786 (__ptrace_peeksiginfo_args): ... this.
1787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1790
4cff0293
AM
17912014-01-06 Allan McRae <allan@archlinux.org>
1792
1793 * inet/netinet/in.h: Fix typo in comment.
1794
75595dcf
AJ
17952014-01-05 Andreas Jaeger <aj@suse.de>
1796
1797 * sysdeps/i386/fpu/libm-test-ulps: Update.
1798
79c1e109
AM
17992014-01-05 Allan McRae <allan@archlinux.org>
1800
dd804818
AM
1801 * po/libc.pot: Regenerated.
1802
79c1e109
AM
1803 * malloc/memusagestat.c: Fix gettext call formatting.
1804
0c813d1f
SK
18052014-01-04 Sami Kerola <kerolasa@iki.fi>
1806
1807 * nscd/nscd.c: Improve usage() output.
1808
20f4a8d9
MF
18092014-01-04 Mike Frysinger <vapier@gentoo.org>
1810
1811 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1812 * sysdeps/unix/sysv/linux/configure: Regenerated.
1813 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1814 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1815
22562bb2
JM
18162014-01-03 Joseph Myers <joseph@codesourcery.com>
1817
1818 [BZ #16390]
1819 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1820 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1821
d7ad2d9b
AZ
18222014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1825 extra tokens at end of #undef directive.
1826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1827 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1828 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1829
7dd009d8
JM
18302014-01-03 Joseph Myers <joseph@codesourcery.com>
1831
24db925a
JM
1832 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1833
7dd009d8
JM
1834 * math/auto-libm-test-in: Mark various tests with
1835 xfail-rounding:ldbl-128ibm.
1836 * math/auto-libm-test-out: Regenerated.
1837
396e3ecf
JM
18382014-01-02 Joseph Myers <joseph@codesourcery.com>
1839
819e5d50
JM
1840 [BZ #16386]
1841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1842 numbers with subnormal high part when calculating exponent.
1843
90b6a1e5
JM
1844 [BZ #16385]
1845 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1846 fabs.
1847
396e3ecf
JM
1848 [BZ #16384]
1849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1850 M_LN2l.
1851 (__ieee754_acoshl): Use __log1pl not __log1p.
1852
6c8dbf00
OB
18532013-01-02 Ondřej Bílka <neleai@seznam.cz>
1854
1855 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1856 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1857 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1858 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1859 Convert to GNU style.
1860 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1861 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1862 memalign_check, __malloc_set_state): Likewise.
1863 * malloc/mallocbug.c (main): Likewise.
1864 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1865 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1866 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1867 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1868 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1869 * malloc/malloc.h: Likewise.
1870 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1871 memalignhook, reallochook, mabort): Likewise.
1872 * malloc/mcheck.h: Likewise.
1873 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1874 mmap64, mremap, munmap, dest): Likewise.
1875 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1876 * malloc/morecore.c (__default_morecore): Likewise.
1877 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1878 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1879 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1880 print_and_abort): Likewise.
1881 * malloc/obstack.h: Likewise.
1882 * malloc/set-freeres.c (__libc_freeres): Likewise.
1883 * malloc/tst-mallocstate.c (main): Likewise.
1884 * malloc/tst-mtrace.c (main): Likewise.
1885 * malloc/tst-realloc.c (do_test): Likewise.
1886
d4124212
SP
18872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1888
9a3c6a6f
SP
1889 [BZ #16366]
1890 * nscd/netgroupcache.c (do_notfound): New function.
1891 (addgetnetgrentX): Use it.
1892
d4124212
SP
1893 [BZ # 16365]
1894 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1895 NSS_STATUS_NOTFOUND.
1896
97b9a009
JM
18972014-01-01 Joseph Myers <joseph@codesourcery.com>
1898
1899 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1901
d4697bc9
AM
19022014-01-01 Allan McRae <allan@archlinux.org>
1903
ddb3687f
AM
1904 * scripts/update-copyrights: Update configure input file suffix.
1905
88726d48
AM
1906 * NEWS: Update copyright year.
1907 * catgets/gencat.c: Likewise.
1908 * csu/version.c: Likewise.
1909 * debug/catchsegv.sh: Likewise.
1910 * debug/pcprofiledump.c: Likewise.
1911 * debug/xtrace.sh: Likewise.
1912 * elf/ldconfig.c: Likewise.
1913 * elf/ldd.bash.in: Likewise.
1914 * elf/pldd.c: Likewise.
1915 * elf/sotruss.ksh: Likewise.
1916 * elf/sprof.c: Likewise.
1917 * iconv/iconv_prog.c: Likewise.
1918 * iconv/iconvconfig.c: Likewise.
1919 * locale/programs/locale.c: Likewise.
1920 * locale/programs/localedef.c: Likewise.
1921 * login/programs/pt_chown.c: Likewise.
1922 * malloc/memusage.sh: Likewise.
1923 * malloc/memusagestat.c: Likewise.
1924 * malloc/mtrace.pl: Likewise.
1925 * manual/libc.texinfo: Likewise.
1926 * nscd/nscd.c: Likewise.
1927 * nss/getent.c: Likewise.
1928 * nss/makedb.c: Likewise.
1929 * posix/getconf.c: Likewise.
1930 * scripts/test-installation.pl: Likewise.
1931
d4697bc9
AM
1932 * All files with FSF copyright notices: Update copyright dates
1933 using scripts/update-copyrights.
1934 * intl/plural.c: Regenerated.
1935 * locale/programs/charmap-kw.h: Likewise.
1936 * locale/programs/locfile-kw.h: Likewise.
1937
c8590f9d
MF
19382013-12-31 Mike Frysinger <vapier@gentoo.org>
1939
1940 * sysdeps/unix/sysv/linux/configure: Regenerated.
1941 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1942 the linux/fanotify.h header.
1943 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1944 HAVE_LINUX_FANOTIFY_H is defined.
1945
b19221b9
SP
19462013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
dd1d85e5
SP
1948 * benchtests/cos-inputs: New inputs.
1949 * benchtests/sin-inputs: Likewise.
1950
1acbb90f
SP
1951 * benchtests/atan-inputs: New inputs. Fix name of multiple
1952 precision fallback inputs.
1953
4c012ed3
SP
1954 * benchtests/atanh-inputs: New inputs.
1955 * benchtests/tanh-inputs: Likewise.
1956
eff98324
SP
1957 * benchtests/acosh-inputs: New inputs.
1958 * benchtests/asinh-inputs: Likewise.
1959
ce641152
SP
1960 * benchtests/cosh-inputs: New inputs.
1961 * benchtests/sinh-inputs: Likewise.
1962
b19221b9
SP
1963 * benchtests/acos-inputs: Add more inputs.
1964 * benchtests/asin-inputs: Likewise.
1965
030a4976 19662013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1967
030a4976 1968 [BZ #16375]
9dcc8f11
VS
1969 * manual/arith.texi: Fix spelling.
1970 * manual/charset.texi: Likewise.
1971 * manual/errno.texi: Likewise.
1972 * manual/filesys.texi: Likewise.
1973 * manual/lang.texi: Likewise.
1974 * manual/llio.texi: Likewise.
1975 * manual/locale.texi: Likewise.
1976 * manual/message.texi: Likewise.
1977 * manual/resource.texi: Likewise.
1978 * manual/search.texi: Likewise.
1979 * manual/setjmp.texi: Likewise.
1980 * manual/stdio.texi: Likewise.
1981 * manual/string.texi: Likewise.
1982 * manual/sysinfo.texi: Likewise.
1983 * manual/time.texi: Likewise.
1984
11520a57
CD
19852013-12-27 Carlos O'Donell <carlos@redhat.com>
1986
1987 * po/sl.po: New file.
1988
471103ae
MF
19892013-12-27 Mike Frysinger <vapier@gentoo.org>
1990
1991 * .gitignore: Add core/.gdbinit/.gdb_history.
1992
6c9642ed
AM
19932013-12-27 Allan McRae <allan@archlinux.org>
1994
1995 [BZ #16369]
1996 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1997 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1998
3f637079
BM
19992013-12-24 Brooks Moses <bmoses@google.com>
2000
2001 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2002 all compilers that claim C++98 compliance, not just GCC.
2003 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2004 Likewise.
2005
abc26e99
MK
20062013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2007
2008 * NEWS: Restore accidentally deleted bug-fix entries.
2009
362b47fe
MK
20102013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2011 Ondřej Bílka <neleai@seznam.cz>
2012
2013 [BZ #15073]
2014 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2015 have_lock.
362b47fe 2016
b9bcbbcb
OB
20172013-12-23 Ondřej Bílka <neleai@seznam.cz>
2018
2019 [BZ #12986]
2020 * manual/stdio.texi (String Input Conversions): Clarify that character
2021 classes are not supported.
2022
fb55fcd2
AZ
20232013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2026
ef7344f0
JM
20272013-12-22 Joseph Myers <joseph@codesourcery.com>
2028
4f40e4b3
JM
2029 [BZ #16337]
2030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2031 Calculate results for small negative arguments directly rather
2032 than using reflection formula with special underflow handling.
2033
ef7344f0
JM
2034 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2035 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2036 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2037 (fchflags): Likewise.
2038 (revoke): Likewise.
2039 (setlogin): Likewise.
2040 (sigaltstack): Likewise.
2041 (wait4): Likewise.
2042 (sigblock): Remove.
2043 (sigsetmask): Likewise.
2044 (wait3): Likewise.
2045 (waitpid): Likewise.
2046 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2047 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2048 file.
2049 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2050 * sysdeps/unix/bsd/Makefile: ... here.
2051 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2052 * sysdeps/unix/bsd/Versions: ... here.
2053 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2054 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2055 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2056 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2057 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2058 * sysdeps/unix/bsd/sigblock.c: ... here.
2059 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2060 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2061 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2062 * sysdeps/unix/bsd/sigvec.c: ... here.
2063 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2064 * sysdeps/unix/bsd/tcdrain.c: ... here.
2065 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2066 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2067 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2068 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2069 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2070 * sysdeps/unix/bsd/wait.c: ... here.
2071 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2072 * sysdeps/unix/bsd/wait3.c: ... here.
2073 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2074 * sysdeps/unix/bsd/waitpid.c: ... here.
2075
5b0626b9
JM
20762013-12-21 Joseph Myers <joseph@codesourcery.com>
2077
2078 [BZ #16356]
2079 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2080 round-to-nearest for [!USE_AS_EXPM1L].
2081 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2082 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2083 more tests of exp and exp10. Expect some exp10 tests to miss
2084 exceptions or fail in directed rounding modes.
2085 * math/auto-libm-test-out: Regenerated.
2086 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2087 (exp10_test_tonearest): New function.
2088 (exp10_towardzero_test_data): New array.
2089 (exp10_test_towardzero): New function.
2090 (exp10_downward_test_data): New array.
2091 (exp10_test_downward): New function.
2092 (exp10_upward_test_data): New array.
2093 (exp10_test_upward): New function.
2094 (main): Call the new functions.
2095 * sysdeps/i386/fpu/libm-test-ulps: Update.
2096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2097
7fda5682
JM
20982013-12-20 Joseph Myers <joseph@codesourcery.com>
2099
31e3a405
JM
2100 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2101 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2102 * math/auto-libm-test-out: Regenerated.
2103 * math/libm-test.inc (acosh_test_data): Add more tests.
2104 (atanh_test_data): Likewise.
2105 (ceil_test_data): Likewise.
2106 (copysign_test_data): Likewise.
2107 * sysdeps/i386/fpu/libm-test-ulps: Update.
2108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2109
85bff96a
JM
2110 * timezone/checktab.awk: Update from tzcode 2013i.
2111 * timezone/private.h: Likewise.
2112 * timezone/scheck.c: Likewise.
2113 * timezone/tzfile.h: Likewise.
2114 * timezone/tzselect.ksh: Likewise.
2115 * timezone/zdump.c: Likewise.
2116 * timezone/zic.c: Likewise.
2117
b7867a3b
JM
2118 * math/auto-libm-test-in: Add tests of cpow.
2119 * math/auto-libm-test-out: Regenerated.
2120 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2121 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2122 mpc_cc_c.
2123 (func_calc_desc): Add mpc_cc_c union field.
2124 (test_functions): Add cpow.
2125 (special_fill_2pi): New function.
2126 (special_real_inputs): Add 2pi.
2127 (calc_generic_results): Handle mpc_cc_c.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2130
7fda5682
JM
2131 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2132 csqrt, ctan and ctanh.
2133 * math/auto-libm-test-out: Regenerated.
2134 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2135 (TEST_COND_x86): Likewise.
2136 (ccos_test_data): Use AUTO_TESTS_c_c.
2137 (ccosh_test_data): Likewise.
2138 (cexp_test_data): Likewise.
2139 (clog_test_data): Likewise.
2140 (csqrt_test_data): Likewise.
2141 (ctan_test_data): Likewise.
2142 (ctan_tonearest_test_data): Likewise.
2143 (ctan_towardzero_test_data): Likewise.
2144 (ctan_downward_test_data): Likewise.
2145 (ctan_upward_test_data): Likewise.
2146 (ctanh_test_data): Likewise.
2147 (ctanh_tonearest_test_data): Likewise.
2148 (ctanh_towardzero_test_data): Likewise.
2149 (ctanh_downward_test_data): Likewise.
2150 (ctanh_upward_test_data): Likewise.
2151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2152 mpc_c_c.
2153 (func_calc_desc): Add mpc_c_c union field.
2154 (FUNC_mpc_c_c): New macro.
2155 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2156 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2157 ctanh.
2158 (special_fill_min_subnorm_p120): New function.
2159 (special_real_inputs): Add min_subnorm_p120.
2160 (calc_generic_results): Handle mpc_c_c.
2161 * sysdeps/i386/fpu/libm-test-ulps: Update.
2162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2163
5ff8d60e
SP
21642013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2165
392dd2de
SP
2166 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2167 do_sin_slow): New functions.
2168 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2169 cslow2, csloww1, csloww2): Use the new functions.
2170
84ba214c
SP
2171 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2172 Use M to change sign of result instead of X. Assume X is
2173 positive.
2174 (csloww1): Likewise.
2175 (__sin): Adjust.
2176 (__cos): Adjust.
2177
975195e4
SP
2178 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2179 arguments A and DA.
2180 (__sin): Adjust.
2181 (__cos): Likewise.
2182
5ff8d60e
SP
2183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2184 (__cos): Likewise.
2185 (sloww1): Don't adjust sign of DX.
2186 (csloww1): Likewise.
2187 (sloww2): Use X directly and don't adjust sign of DX.
2188 (csloww2): Likewise.
2189
eb983568
JM
21902013-12-19 Joseph Myers <joseph@codesourcery.com>
2191
64a17f1a
JM
2192 * math/auto-libm-test-in: Add tests of cabs and carg.
2193 * math/auto-libm-test-out: Regenerated.
2194 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2195 (carg_test_data): Likewise.
2196 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2197 mpc_c_f.
2198 (func_calc_desc): Add mpc_c_f union field.
2199 (test_functions): Add cabs and carg.
2200 (calc_generic_results): Handle mpc_c_f.
2201
eb983568
JM
2202 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2203 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2204 as a macro and a compat symbol.
2205 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2206 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2207 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2208 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2209 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2210 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2211 not use .hidden.
2212 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2213 Likewise.
2214 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2215 Likewise.
2216 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2217 Likewise.
2218 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2219 Likewise.
2220 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2221 Likewise.
2222 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2223 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2224 from GLIBC_2.3.2.
2225
6eeb678a
AZ
22262013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227
2228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2229
6f6fc482
JM
22302013-12-19 Joseph Myers <joseph@codesourcery.com>
2231
21fea2e2
JM
2232 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2233 trailing whitespace removed.
2234 * scripts/config.guess: Update to version 2013-11-29.
2235 * scripts/config.sub: Update to version 2013-10-01.
2236
6f6fc482
JM
2237 * math/auto-libm-test-in: Add tests of sincos.
2238 * math/auto-libm-test-out: Regenerated.
2239 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2240 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2241 mpfr_f_11.
2242 (func_calc_desc): Add mpfr_f_11 union field.
2243 (test_functions): Add sincos.
2244 (calc_generic_results): Handle mpfr_f_11.
2245 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2247
83f5c32d
AS
22482013-12-19 Andreas Schwab <schwab@suse.de>
2249
2250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2251 CALL_MCOUNT.
2252 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2253 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2254 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2255
c688b419
JM
22562013-12-19 Joseph Myers <joseph@codesourcery.com>
2257
335ee092
JM
2258 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2259 * sysdeps/i386/fpu/libm-test-ulps: Update.
2260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2261
f88acd39
JM
2262 [BZ #16293]
2263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2264 round-to-nearest mode when using frndint.
2265 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2266 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2267 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2268 Likewise.
2269 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2270 sinh test to fail.
2271 * math/auto-libm-test-out: Regenerated.
2272 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2273 (TEST_COND_x86): Likewise.
2274 (expm1_tonearest_test_data): New array.
2275 (expm1_test_tonearest): New function.
2276 (expm1_towardzero_test_data): New array.
2277 (expm1_test_towardzero): New function.
2278 (expm1_downward_test_data): New array.
2279 (expm1_test_downward): New function.
2280 (expm1_upward_test_data): New array.
2281 (expm1_test_upward): New function.
2282 (main): Run the new test functions.
2283 * sysdeps/i386/fpu/libm-test-ulps: Update.
2284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2285
c688b419
JM
2286 * include/features.h: Update comment documenting feature test
2287 macros. Mention _DEFAULT_SOURCE in comment.
2288 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2289 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2290 _BSD_SOURCE and _SVID_SOURCE.
2291 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2292 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2293 !_SVID_SOURCE]: Likewise.
2294 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2295 (__USE_POSIX_IMPLICITLY): Define.
2296 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2297 (_POSIX_SOURCE): Undefine and redefine.
2298 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2299 (_POSIX_C_SOURCE): Likewise.
2300 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2301 (Feature Test Macros): Update documentation of default features.
2302
9f6e964c
RS
23032013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2304
2305 * benchtests/Makefile: Add bench-strtok.
2306 * benchtests/bench-strtok.c: New file: strtok benchtest.
2307
ee0a148a
AM
23082013-12-19 Allan McRae <allan@archlinux.org>
2309
2310 * manual/install.texi: Suppress menu for plain text output.
2311 * INSTALL: Regenerated.
2312
b9ab448f
BM
23132013-12-18 Brooks Moses <bmoses@google.com>
2314
2315 [BZ #15846]
2316 * misc/getauxval.c: Include errno.h.
2317 (__getauxval): Set errno to ENOENT if the requested type is not
2318 found.
2319 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2320 don't declare with __attribute_const__.
2321 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2322 * manual/startup.texi: Document that getauxval sets errno.
2323
23776487
JM
23242013-12-18 Joseph Myers <joseph@codesourcery.com>
2325
f889953b
JM
2326 * math/auto-libm-test-in: Add tests of jn and yn.
2327 * math/auto-libm-test-out: Regenerated.
2328 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2329 (yn_test_data): Likewise.
2330 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2331 mpfr_if_f.
2332 (func_calc_desc): Add mpfr_if_f union field.
2333 (FUNC_mpfr_if_f): New macro.
2334 (test_functions): Add jn and yn.
2335 (calc_generic_results): Assert type of second input for
2336 mpfr_ff_f. Handle mpfr_if_f.
2337 (output_for_one_input_case): Disable all checking for arguments
2338 fitting floating-point types in case of an integer argument.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update.
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341
23776487
JM
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2343 Don't expect fegetround reference in libm.so.
2344
cb756c6d
MS
23452013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2346
2347 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2348 $(config-cflags-nofma).
2349
2dec468f
JM
23502013-12-18 Joseph Myers <joseph@codesourcery.com>
2351
5953eb3a
JM
2352 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2353 * math/auto-libm-test-out: Regenerated.
2354
2dec468f
JM
2355 [BZ #16338]
2356 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2357 to determine exponent and adjust argument to have exponent of -1.
2358 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2359 log2.
2360 * math/auto-libm-test-out: Regenerated.
2361 * sysdeps/i386/fpu/libm-test-ulps: Update.
2362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2363
4d84e6ad
OB
23642013-12-18 Ondřej Bílka <neleai@seznam.cz>
2365
2366 * manual/probes.texi: Remove cases when per-thread arenas are
2367 disabled.
2368
1818483b
AS
23692013-12-18 Andreas Schwab <schwab@suse.de>
2370
2371 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2372 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2373 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2374 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2375 * sysdeps/i386/i686/multiarch/Makefile: Update.
2376 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2377
25de95bf
JM
23782013-12-17 Joseph Myers <joseph@codesourcery.com>
2379
2380 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2381 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2382
674762d9
PE
23832013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2384
ed27ed83 2385 [BZ #15968]
0748546f
PE
2386 Support TZ transition times < 00:00:00.
2387 This is needed for version-3 tz-format files; it supports time
2388 stamps past 2037 for America/Godthab (the only entry in the tz
2389 database for which this change is relevant).
2390 * manual/time.texi (TZ Variable): Document transition times
2391 from -167:59:59 through -00:00:01.
2392 * time/tzset.c (tz_rule): Time of day is now signed.
2393 (__tzset_parse_tz): Parse negative time of day.
2394
4480e934
PE
2395 Document TZ transition times >= 25:00:00.
2396 * manual/time.texi (TZ Variable): Document transition times from
2397 25:00:00 through 167:59:59. These are already supported, and this
2398 support will help with version-3 tz-format files.
2399
69947401
PE
2400 * manual/time.texi (TZ Variable): Modernize North America example
2401 to reflect current (i.e., 2007-and-later) daylight saving rules.
2402
674762d9
PE
2403 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2404
7011c262
JM
24052013-12-17 Joseph Myers <joseph@codesourcery.com>
2406
2fc6557e
JM
2407 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2408 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2411 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2412 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2413 * sysdeps/unix/bsd/clock.c: Likewise.
2414 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2415 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2416 * sysdeps/unix/bsd/init-posix.c: Likewise.
2417 * sysdeps/unix/bsd/poll.c: Likewise.
2418 * sysdeps/unix/bsd/ptsname.c: Likewise.
2419 * sysdeps/unix/bsd/seekdir.c: Likewise.
2420 * sysdeps/unix/bsd/setegid.c: Likewise.
2421 * sysdeps/unix/bsd/seteuid.c: Likewise.
2422 * sysdeps/unix/bsd/setgid.c: Likewise.
2423 * sysdeps/unix/bsd/setrgid.c: Likewise.
2424 * sysdeps/unix/bsd/setruid.c: Likewise.
2425 * sysdeps/unix/bsd/setsid.c: Likewise.
2426 * sysdeps/unix/bsd/setuid.c: Likewise.
2427 * sysdeps/unix/bsd/sigaction.c: Likewise.
2428 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2429 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2430 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2431 * sysdeps/unix/bsd/telldir.c: Likewise.
2432 * sysdeps/unix/bsd/times.c: Likewise.
2433 * sysdeps/unix/bsd/usleep.c: Likewise.
2434
029c7b25
JM
2435 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2436 ($(objpfx)libbsd-compat.a): Remove rule.
2437
7011c262
JM
2438 * include/features.h (__FAVOR_BSD): Do not define.
2439 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2440 features conflicting with POSIX.
2441 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2442 (_BSD_SOURCE): Remove description of not being a subset of other
2443 feature test macros.
2444 * manual/job.texi (getpgrp): Do not document BSD version.
2445 (getpgid): Do not document by reference to BSD getpgrp.
2446 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2447 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2448 * signal/signal.h [__FAVOR_BSD]: Likewise.
2449 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2450 instead of making contents conditional on [__FAVOR_BSD].
2451 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2452
affb6f78
AZ
24532013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2454
2455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2456
c88769dd
JM
24572013-12-17 Joseph Myers <joseph@codesourcery.com>
2458
6432a540
JM
2459 [BZ #16314]
2460 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2461 values below 2**-450, not 2**-500.
2462 * math/auto-libm-test-in: Don't allow spurious underflow from
2463 hypot.
2464 * math/auto-libm-test-out: Regenerated.
2465
c88769dd
JM
2466 [BZ #16316]
2467 [BZ #16330]
2468 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2469 values of ha and hb and sort them after adjusting subnormal
2470 arguments.
2471 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2472 Likewise.
2473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2474 values of ea and eb and sort them after adjusting subnormal
2475 arguments.
2476 * math/auto-libm-test-in: Do not expect some hypot tests of
2477 subnormals to fail. Add more hypot tests.
2478 * math/auto-libm-test-out: Regenerated.
2479
29618f6b
KK
24802013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2481
2482 [BZ #13304]
2483 * sysdeps/sh/s_fma.c: New file.
2484 * sysdeps/sh/s_fmaf.c: New file.
2485 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2486 version.
2487 * sysdeps/sh/Implies: Add sh/soft-fp.
2488
eacfdfbf
RM
24892013-12-16 Roland McGrath <roland@hack.frob.com>
2490
2491 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2492 level of indirection to members `objname', `errstring', `malloced'.
2493 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2494 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2495 it as the __longjmp argument (just pass 1 instead).
2496 (_dl_catch_error): Initialize C with argument pointers and address of
2497 volatile local ERRCODE rather than copying values out of C at return.
2498
ff362e5b
JM
24992013-12-16 Joseph Myers <joseph@codesourcery.com>
2500
2501 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2502 * math/auto-libm-test-out: Regenerated.
2503 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2504 (hypot_test_data): Likewise.
2505 (pow_test_data): Likewise.
2506 (pow_tonearest_test_data): Likewise.
2507 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2508 mpfr_ff_f.
2509 (func_calc_desc): Add mpfr_ff_f union field.
2510 (FUNC_mpfr_ff_f): New macro.
2511 (test_functions): Add atan2, hypot and pow.
2512 (special_fill_min): New function.
2513 (special_fill_minus_min): Likewise.
2514 (special_fill_min_subnorm): Likewise.
2515 (special_fill_minus_min_subnorm): Likewise.
2516 (special_real_inputs): Add min, -min, min_subnorm and
2517 -min_subnorm.
2518 (calc_generic_results): Handle mpfr_ff_f.
2519 * sysdeps/i386/fpu/libm-test-ulps: Update.
2520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2521
5764c27f
WN
25222013-12-16 Will Newton <will.newton@linaro.org>
2523
2524 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2525 (Aligned Memory Blocks): Add documentation for aligned_alloc
2526 and suggest it as an alternative to posix_memalign.
2527 (Hooks for Malloc): Document __memalign_hook is also called
2528 for aligned_alloc. (Summary of Malloc): Add summary for
2529 aligned alloc. Document __memalign_hook is also called
2530 for aligned_alloc.
2531
0a096e44
WN
25322013-12-16 Will Newton <will.newton@linaro.org>
2533
2534 * manual/memory.texi (Malloc Examples): Clarify default
2535 alignment documentation. Suggest posix_memalign rather
2536 than memalign or valloc.
2537 (Aligned Memory Blocks): Remove suggestion to use memalign
2538 or valloc. Remove obsolete comment about BSD.
2539 Document memalign errno values and mark the function obsolete.
2540 Document posix_memalign returned error codes. Mark valloc
2541 as obsolete. (Hooks for Malloc): __memalign_hook is also
2542 called for posix_memalign and valloc.
2543 (Summary of Malloc): Add posix_memalign to function summary.
2544 __memalign_hook is also called for posix_memalign and valloc.
2545
8d561986
SP
25462013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2547
2548 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2549 TAYLOR_SIN.
2550 (__sin): Adjust.
2551 (__cos): Likewise.
2552 (sloww): Use mynumber union. Expand ternary operator into
2553 if-else statements.
2554 (cslow): use mynumber union.
2555
73616a74
AM
25562013-12-16 Allan McRae <allan@archlinux.org>
2557
9e8ac24b
AM
2558 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2559 * configure: Regenerated.
2560
6f8e37eb
AM
2561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2562
8894bad3
AM
2563 [BZ #14120]
2564 * configure.ac: Added --enable-maintainer-mode. Check for
2565 autoconf when enabled.
2566 * configure: Regenerated.
2567
73616a74
AM
2568 * nscd/nscd.service: New file.
2569 * nscd/nscd.tmpfiles: New file.
2570
584b18eb
OB
25712013-12-14 Ondřej Bílka <neleai@seznam.cz>
2572
2573 [BZ #12100]
2574 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2575 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2576 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2577 (strstr): Add __strstr_sse2_unaligned ifunc.
2578 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2579 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2580 (strcasestr): Remove __strcasestr_sse42 ifunc.
2581 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2584
8a5c7897
KK
25852013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2586
2587 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2588 * sysdeps/sh/bits/fenv.h: ... here.
2589 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2590
fd712ef3
AZ
25912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2594
42fcb46c
AZ
25952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2598 hypotf multiarch implementations.
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2602 multiarch hypot for PPC64.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2606 multiarch hypotf for PPC64.
2607
83efded4
AZ
26082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2609
2610 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2611 modff multiarch implementations.
2612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2615 multiarch modf for PPC64.
2616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2619 multiarch modff for PPC64.
2620
43e246d2
AZ
26212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622
2623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2624 and logl multiarch implementations.
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2628 multiarch logb for PPC64.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2632 multiarch logb for PPC64.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2636 multiarch logb for PPC64.
2637
8fdad123
AZ
26382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2639
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2641 isinff multiarch implementation.
2642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2643 file.
2644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2646 multiarch isinf for PPC64.
2647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2648 file.
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2650 multiarch isinff for PPC64.
2651
1481d706
AZ
26522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2653
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2655 finitef multiarch implementation.
2656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2657 file.
2658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2660 multiarch finite for PPC64.
2661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2662 file.
2663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2664 multiarch finitef for PPC64.
2665
5ccd5fc8
AZ
26662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2669 lrint multiarch implementation.
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2671 file.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2674 multiarch llrint for PPC64.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2676 multiarch lrint for PPC64.
2677
2568f3fa
AZ
26782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2681 copysignf multiarch implementation.
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2683 file.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2685 file.
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2687 multiarch copysign for PPC64.
2688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2689 multiarch copysignf for PPC64.
2690
1cb341fd
AZ
26912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2692
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2694 multiarch implementation.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2696 file.
2697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2698 file.
2699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2700 file.
2701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2702 file.
2703 multiarch llround for PPC64.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2705 multiarch trunc for PPC64.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2707 multiarch truncf for PPC64.
2708
59a3e194
AZ
27092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2710
2711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2712 multiarch implementation.
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2714 file.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2716 file.
2717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2718 file.
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2720 file.
2721 multiarch llround for PPC64.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2723 multiarch round for PPC64.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2725 multiarch roundf for PPC64.
2726
357fd3b4
AZ
27272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2730 multiarch implementation.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2732 file.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2734 file.
2735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2736 file.
2737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2738 file.
2739 multiarch llround for PPC64.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2741 multiarch floor for PPC64.
2742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2743 multiarch floorf for PPC64.
2744
96770f12
AZ
27452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2746
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2748 multiarch implementation.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2750 file.
2751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2752 file.
2753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2754 file.
2755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2756 file.
2757 multiarch llround for PPC64.
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2759 multiarch ceil for PPC64.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2761 multiarch ceilf for PPC64.
2762
c3627f6e
AZ
27632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2766 multiarch implementation.
2767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2768 file.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2770 file.
2771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2772 file.
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2774 multiarch llround for PPC64.
2775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2776 multiarch lround for PPC64.
2777
b2284ad7
AZ
27782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2781 multiarch implementation.
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2785 file.
2786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2789 multiarch isnan for PPC64.
2790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2791 multiarch isnanf for PPC64.
2792
69bbc63d
AZ
27932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794
2795 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2796 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2797 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2798 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2799 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2801
c24517c9
AZ
28022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2803
2804 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2805 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2808
a52374e8
AZ
28092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2810
2811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2812 multiarch implementations.
2813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2814 (__libc_ifunc_impl_list): Likewise.
2815 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2816 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2817 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2818 multiarch stpcpy for PPC64.
2819
7f5ec113
AZ
28202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821
2822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2823 multiarch implementations.
2824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2825 (__libc_ifunc_impl_list): Likewise.
2826 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2827 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2828 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2829 multiarch strcpy for PPC64.
2830
e28bcd42
AZ
28312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2832
2833 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2834 redefine function name.
2835 (_wordcopy_fwd_dest_aligned): Likewise.
2836 (_wordcopy_bwd_aligned): Likewise.
2837 (_wordcopy_bwd_dest_aligned): Likewise.
2838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2839 multiarch implementations.
2840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Likewise.
2842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2843 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2844 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2845 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2846 multiarch wcscpy for PPC64.
2847
92cacfce
AZ
28482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2849
2850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2851 multiarch implementations.
2852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2853 (__libc_ifunc_impl_list): Likewise.
2854 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2855 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2856 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2857 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2858 multiarch wcscpy for PPC64.
2859
7b714620
AZ
28602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2861
2862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2863 multiarch implementations.
2864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2865 (__libc_ifunc_impl_list): Likewise.
2866 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2867 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2868 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2869 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2870 multiarch wcsrchr for PPC64.
2871
16fd2ae3
AZ
28722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2873
2874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2875 multiarch implementations.
2876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2877 (__libc_ifunc_impl_list): Likewise.
2878 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2879 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2880 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2881 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2882 multiarch wcschr for PPC64.
2883
9ee2969b
AZ
28842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885
2886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2887 multiarch implementations.
2888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2889 (__libc_ifunc_impl_list): Likewise.
2890 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2891 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2892 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2893 multiarch strchrnul for PPC64.
2894
372dc060
AZ
28952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2896
2897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2898 implementations.
2899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2900 (__libc_ifunc_impl_list): Likewise.
2901 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2902 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2903 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2904 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2905 strchr for PPC64.
2906
24c2c3b9
AZ
29072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2908
2909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2910 implementations.
2911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2912 (__libc_ifunc_impl_list): Likewise.
2913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2914 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2915 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2916 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2917 strncmp for PPC64.
2918
1c92d9a0
AZ
29192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2920
2921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2922 multiarch implementations.
2923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2924 (__libc_ifunc_impl_list): Likewise.
2925 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2926 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2927 strncasecmp for PPC64.
2928 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2929 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2930 multiarch strncasecmp_l for PPC64.
2931
17de3ee3
AZ
29322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933
2934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2935 multiarch implementations.
2936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2937 (__libc_ifunc_impl_list): Likewise.
2938 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2939 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2940 multiarch strcasecmp for PPC64.
2941 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2942 file.
2943 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2944 multiarch strcasecmp_l for PPC64.
2945
62982bf9
AZ
29462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947
2948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2949 implementations.
2950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2951 (__libc_ifunc_impl_list): Likewise.
2952 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2953 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2954 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2955 strnlen for PPC64.
2956
a65f4904
AZ
29572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2958
2959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2960 implementations.
2961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2962 (__libc_ifunc_impl_list): Likewise.
2963 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2964 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2965 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2966 strlen for PPC64.
2967
1fd005ad
AZ
29682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2969
2970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2971 implementations.
2972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2973 (__libc_ifunc_impl_list): Likewise.
2974 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2975 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2976 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2977 rawmemrchr for PPC64.
2978
cd05ba91
AZ
29792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980
2981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2982 implementation.
2983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2984 (__libc_ifunc_impl_list): Likewise.
2985 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2986 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2987 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2988 memrchr for PPC64.
2989
870f8676
AZ
29902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2991
2992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2993 implementation.
2994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2995 (__libc_ifunc_impl_list): Likewise.
2996 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2997 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2998 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2999 memchr for PPC64.
3000
f00be62b
AZ
30012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3002
3003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3004 implementation.
3005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3006 (__libc_ifunc_impl_list): Likewise.
3007 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3008 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3009 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3010 mempcpy for PPC64.
3011
8a29a3d0
AZ
30122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3013
3014 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3015 avoid cretion of __bzero symbol.
3016 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3017 Likewise.
3018 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3019 Likewise.
3020 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3021 Likewise.
3022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3023 multiarch implementations.
3024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3025 (__libc_ifunc_impl_list): Likewise.
3026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3027 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3029 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3030 bzero for PPC32.
3031 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3032 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3033 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3034 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3035 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3036 memset for PPC64.
3037 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3038
07253fcf
AZ
30392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040
3041 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3043 implementations.
3044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3045 (__libc_ifunc_impl_list): Likewise.
3046 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3048 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3049 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3050 memcmp for PPC64.
3051
b5beafbc
AZ
30522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3053
3054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3055 multiarch for POWER/PPC64.
3056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3062 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3063 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3064 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3065 memcpy for PPC64.
3066
5e6a4d4b
AZ
30672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3068
3069 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3070 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3071 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3072 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3073 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3074 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3075 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3076 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3077 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3078 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3079 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3080 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3081 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3082 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3083 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3091
ddfab6dc
KK
30922013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3093
3094 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3095
19b5525e
SP
30962013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3097
3098 * benchtests/Makefile (bench): Add exp2 and log2.
3099 (LDLIBS-bench-exp2): Add -lm.
3100 (LDLIBS-bench-log2): Likewise.
3101 * benchtests/exp2-inputs: New inputs file.
3102 * benchtests/log2-inputs: New inputs file.
3103 * benchtests/log-inputs: Add new inputs.
3104 * benchtests/tan-inputs: Likewise.
3105
196f7f5d
SP
31062013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3107
7a74607f
SP
3108 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3109 definition...
3110 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3111 csloww1, csloww2): ... from here.
3112
196f7f5d
SP
3113 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3114 instead of structures.
3115 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3116 (POLYNOMIAL): Likewise.
3117 (TAYLOR_SLOW): Likewise.
3118 (__sin): Likewise.
3119 (__cos): Likewise.
3120 (slow1): Likewise.
3121 (slow2): Likewise.
3122 (sloww): Likewise.
3123 (sloww1); Likewise.
3124 (sloww2): Likewise.
3125 (bsloww1): Likewise.
3126 (bsloww2): Likewise.
3127 (cslow2): Likewise.
3128 (csloww): Likewise.
3129 (csloww1): Likewise.
3130 (csloww2): Likewise.
3131
0dfa665c
OB
31322013-12-10 Ondřej Bílka <neleai@seznam.cz>
3133
3134 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3135 (__malloc_assert, __libc_realloc, __libc_calloc,
3136 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3137 memcpy and memset.
3138 * malloc/hooks.c (realloc_check): Likewise.
3139
5782a80f
OB
31402013-12-10 Ondřej Bílka <neleai@seznam.cz>
3141
3142 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3143 * malloc/arena.c: Remove PER_THREAD conditional.
3144 [!PER_THREAD]: Remove code.
3145 (ptmalloc_unlock_all2): Likewise.
3146 (ptmalloc_init): Likewise.
3147 (_int_new_arena): Likewise.
3148 (arena_get2): Likewise.
3149 * malloc/hooks.c (__malloc_get_state): Likewise.
3150 (__malloc_set_state): Likewise.
3151 * malloc/malloc.c: Likewise.
3152 (struct malloc_state): Likewise.
3153 (struct malloc_par): Likewise.
3154 (__libc_realloc): Likewise.
3155 (__libc_mallopt): Likewise.
3156
aeb95445
AZ
31572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158
3159 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3160
e8349efd
OB
31612013-12-09 Ondřej Bílka <neleai@seznam.cz>
3162
3163 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3164 macro to a function. Check for zero perturb_byte.
3165 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3166
f3eeb3fc
OB
31672013-12-09 Ondřej Bílka <neleai@seznam.cz>
3168
3169 * malloc/malloc.c: (force_reg): Remove.
3170 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3171 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3172 force_reg by atomic_forced_read.
3173 * malloc/arena.c (ptmalloc_init): Likewise.
3174 * malloc/hooks.c (top_check): Likewise.
3175
be2f9009
AZ
31762013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177
3178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3179
e7b914bd
MT
31802013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3181
3182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3183
9f0be4f8
JM
31842013-12-08 Joseph Myers <joseph@codesourcery.com>
3185
3186 * math/auto-libm-test-in: Add tests of lgamma.
3187 * math/auto-libm-test-out: Regenerated.
3188 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3189 (M_LOG_2_SQRT_PIl): Likewise.
3190 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3192 mpfr_f_f1.
3193 (func_calc_desc): Add mpfr_f_f1 union field.
3194 (ARGS1): New macro.
3195 (ARGS2): Likewise.
3196 (ARGS3): Likewise.
3197 (ARGS4): Likewise.
3198 (RET1): Likewise.
3199 (RET2): Likewise.
3200 (CALC): Likewise.
3201 (FUNC): Likewise.
3202 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3203 (test_functions): Add lgamma.
3204 (calc_generic_results): Handle mpfr_f_f1.
3205 * sysdeps/i386/fpu/libm-test-ulps: Update.
3206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207
24eeafdb
AZ
32082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209
3210 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3211 __mpn_add_n for PowerPC64/POWER7.
3212 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3213 __mpn_sub_n for PowerPC64/POWER7.
3214
4a2c0fd4
AZ
32152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3216
3217 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3218 __mpn_addmul_1 for PowerPC64.
3219 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3220 __mpn_submul_1 for PowerPC64.
3221 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3222 for PowerPC64.
3223 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3224 for PowerPC64.
3225
4b5b548c
FS
32262013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3227
3228 [BZ #15089]
3229 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3230
0a3ac0aa
AZ
32312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3232
3233 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3234
ccdc8438
AZ
32352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3238 add multiarch folders.
3239 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3240 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3241 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3242 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3243 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3244 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3245 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3246 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3247 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3248 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3249 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3256
2e973d99
AZ
32572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258
3259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3260 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3262 New file.
3263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3264 New file.
3265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3266 multiarch __ieee754_hypot for PowerPC32.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3268 New file.
3269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3270 New file.
3271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3272 multiarch __ieee754_hypotf for PowerPC32.
3273
2d9470b2
AZ
32742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275
3276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3277 long_double_symbol only if __logbl is defined.
3278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3279 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3281 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3282 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3283 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3284 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3285 path for implementation.
3286 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3289 logb, and logbl multiarch implementations for PowerPC32.
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3291 file.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3293 file.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3295 multiarch logb for PowerPC32.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3297 file.
3298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3299 file.
3300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3301 multiarch logbf for PowerPC32.
3302 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3304 file.
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3306 multiarch logbl implementation for PowerPC32.
3307
5212ffce
AZ
33082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3309
3310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3311 and modff multiarch implementations.
3312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3313 New file.
3314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3315 New file.
3316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3317 multiarch modf for PowerPC32.
3318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3319 New file.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3321 New file.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3323 multiarch modff for PowerPC32.
3324
79dccf31
AZ
33252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3328 and lrintf multiarch implementations.
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3330 New file.
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3332 New file.
3333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3334 multiarch lrint for PowerPC32.
3335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3336 file: multiarch lrintf for PowerPC32.
3337
deb66480
AZ
33382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339
3340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3341 and lroundf multiarch implementations.
3342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3343 New file.
3344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3345 New file.
3346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3347 New file.
3348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3349 multiarch lround for PowerPC32.
3350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3351 file: multiarch lroundf for PowerPC32.
3352
264b036b
AZ
33532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3354
3355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3356 copysign and copysignf multiarch implementations.
3357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3358 New file.
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3360 New file.
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3362 file: multiarch copysign for PowerPC32.
3363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3364 file: multiarch copysignf for PowerPC32.
3365
d47db6c9
AZ
33662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3367
3368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3369 and truncf multiarch implementations.
3370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3371 New file.
3372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3373 file.
3374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3375 multiarch trunc for PowerPC32.
3376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3377 New file.
3378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3379 New file.
3380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3381 multiarch truncf for PowerPC32.
3382
ddb60b5a
AZ
33832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384
3385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3386 and roundf multiarch implementations.
3387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3388 New file.
3389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3390 file.
3391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3392 multiarch round for PowerPC32.
3393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3394 New file.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3396 New file.
3397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3398 multiarch roundf for PowerPC32.
3399
bedcf49b
AZ
34002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3401
3402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3403 and floorf multiarch implementations.
3404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3405 New file.
3406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3407 file.
3408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3409 multiarch floor for PowerPC32.
3410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3411 New file.
3412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3413 New file.
3414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3415 multiarch floorf for PowerPC32.
3416
35ae5b40
AZ
34172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3418
3419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3420 and ceilf multiarch implementations.
3421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3422 New file.
3423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3424 file.
3425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3426 multiarch ceil for PowerPC32.
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3428 New file.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3430 file.
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3432 multiarch ceilf for PowerPC32.
3433
ae1a4cd9
AZ
34342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435
3436 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3437 is defined.
3438 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3439 FINITEF is defined.
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3441 and finitef multiarch implementations.
3442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3443 New file.
3444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3445 file.
3446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3447 multiarch finite for PowerPC32.
3448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3449 New file.
3450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3451 file: multiarch finitef for PowerPC32.
3452
64fffd65
AZ
34532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
3455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3456 and isinff multiarch implementations.
3457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3458 file.
3459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3460 file.
3461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3462 multiarch isinf for PowerPC32.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3464 New file.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3466 multiarch isinff for PowerPC32.
3467
8e4e7ba2
AZ
34682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3469
3470 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3471 alias when __isnan is defined.
3472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3473 and isnanf multiarch implementations.
3474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3475 file.
3476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3477 file.
3478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3479 file.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3481 file.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3483 multiarch isnan for PowerPC32.
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3485 New file.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3487 New file.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3489 multiarch isnanf for PowerPC32.
3490
ddba588e
AZ
34912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492
3493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3494 and sqrtf multiarch implementations.
3495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3496 file.
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3498 file.
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3500 multiarch sqrt for PowerPC32.
3501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3502 file.
3503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3504 file.
3505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3506 multiarch sqrtf for PowerPC32.
3507
0f96a2f0
AZ
35082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3509
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3511 and llroundf multiarch implementations.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3513 New file.
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3515 New file.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3517 New file.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3519 file: multiarch llround for PowerPC32.
3520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3521 file: multiarch llroundf for PowerPC32.
3522
c9b5d79e
AZ
35232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3526 multiarch PowerPC32 fpu implementations.
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3528 New file.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3530 New file.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3532 multiarch llrint for PowerPC32.
3533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3534 New file.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3536 New file.
3537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3538 file.
3539
9cbb3aab
AZ
35402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3541
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3543
ea5a72f8
AZ
35442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3545
3546 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3547 file.
3548 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3549 file.
3550 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3551 file.
3552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3553 multiarch wordcopy for PPC32.
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3555 wordcopy objects.
3556 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3557 (__libc_ifunc_impl_list): Likewise.
3558 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3559 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3560 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3561 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3562 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3563 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3564
93be09e7
AZ
35652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566
3567 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3569 file.
3570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3571 file.
3572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3573 file.
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3575 multiarch wcscpy for PPC32.
3576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3577 multiarch objects.
3578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3579 (__libc_ifunc_impl_list): Likewise.
3580 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3581 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3582 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3583 sysdeps/powerpc/power6/wcscpy.c.
3584
bb04e529
AZ
35852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586
3587 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3589 file.
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3591 file.
3592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3593 file.
3594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3595 multiarch wcsrchr for PPC32.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3597 multiarch objects.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3599 (__libc_ifunc_impl_list): Likewise.
3600 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3601 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3602 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3603 sysdeps/powerpc/power6/wcsrchr.c.
3604
05b5cd1c
AZ
36052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3606
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3608 file.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3610 file.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3613 multiarch wcschr for PPc32.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3615 multiarch objects.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3617 (__libc_ifunc_impl_list): Likewise.
3618 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3619 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3620 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3621 sysdeps/powerpc/power6/wcschr.c.
3622
ba964147
AZ
36232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624
3625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3627 file.
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3629 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3630 file: multiarch strchr for PPC32.
3631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3632 multiarch objects.
3633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3634 (__libc_ifunc_impl_list): Likewise.
3635
31c81aaa
AZ
36362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637
3638 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3639 name.
3640 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3641 file.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3643 file.
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3645 multiarch strchrnul for PPC32.
3646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3647 multiarch objects.
3648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3649 (__libc_ifunc_impl_list): Likewise.
3650
0d0607d9
AZ
36512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652
3653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3654 file.
3655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3656 multiarch strncasecmp for PPC32.
3657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3658 file.
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3660 multiarch strncasecmp_l for PPC32.
3661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3662 strncasecmp multiarch objects.
3663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3664 (__libc_ifunc_impl_list): Likewise.
3665
4dfd5c86
AZ
36662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3667
3668 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3669 file.
3670 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3671 multiarch strncasecmp for PPC32.
3672 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3673 New file.
3674 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3675 multiarch strcasecmp_l for PPC32.
3676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3677 multiarch objects.
3678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3679 (__libc_ifunc_impl_list): Likewise.
3680
a19e01a3
AZ
36812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3682
3683 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3684 file.
3685 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3686 file.
3687 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3688 multiarch strncmp for PPC32.
3689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3690 multiarch objects.
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3692 (__libc_ifunc_impl_list): Likewise.
3693
ae9cf7a2
AZ
36942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3695
3696 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3697 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3698 file.
3699 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3702 multiarch objects.
3703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3704 (__libc_ifunc_impl_list): Likewise.
3705
3148bb7d
AZ
37062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3707
3708 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3709 file.
3710 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3711 file.
3712 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3714 multiarch objects.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3716 (__libc_ifunc_impl_list): Likewise.
3717
7af8b946
AZ
37182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719
3720 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3721 file.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3723 file.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3725 multiarch rawmemchr for PPC32.
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3727 multiarch objects.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3729 (__libc_ifunc_impl_list): Likewise.
3730
03a6aa6a
AZ
37312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3732
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3734 file.
3735 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3736 file.
3737 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3738 file: memrchr multiarch for PPC32.
3739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3740 multiarch objects.
3741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3742 (__libc_ifunc_impl_list): Likewise.
3743
1c62e6d9
AZ
37442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745
3746 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3747 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3748 file.
3749 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3750 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3751 multiarch memchr for PPC32.
3752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3753 multiarch objects.
3754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3755 (__libc_ifunc_impl_list): Likewise.
3756
87da8bdb
AZ
37572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3758
3759 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3761 file.
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3763 file.
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3765 file: multiarch mempcpy for PPC32.
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3767 multiarch objects.
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3769 (__libc_ifunc_impl_list): Likewise.
3770
20ed4714
AZ
37712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3772
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3774 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3776 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3777 multiarch bzero for PPC32.
3778 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3779 file.
3780 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3781 file.
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3783 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3784 file: multiarch memset for PPC32.
3785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3787 memset multiarch objects.
3788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3789 (__libc_ifunc_impl_list): Likewise.
3790
ab3e3a46
AZ
37912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3794 file.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3796 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3797 memcmp for PPC32.
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3800 multiarch objects.
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3802 (__libc_ifunc_impl_list): Likewise.
3803
930de6f0
AZ
38042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3805
3806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3809 file.
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3811 file.
3812 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3813 file.
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3815 multiarch memcpy for PPC32.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3817 multiarch objects.
3818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3819 (__libc_ifunc_impl_list): Likewise.
3820
4c628e00
AZ
38212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3824 support multiarch for POWER/PPC32.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3826 Likewise.
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3829 Implies file to make multiarch folder appers before the fpu and
3830 default folder for power4 configuration.
3831
f4479220
SP
38322013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3833
3834 * scripts/bench.pl: Append volatile keyword to type.
3835
8517800f
KK
38362013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3837
3838 * sysdeps/sh/sotruss-lib.c: New file.
3839 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3840
180138f1
AZ
38412013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3842
3843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3844
bbf37bdc
JM
38452013-12-05 Joseph Myers <joseph@codesourcery.com>
3846
e47cc4e0
JM
3847 [BZ #6810]
3848 * math/w_tgamma.c: Include <errno.h>.
3849 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3850 * math/w_tgammaf.c: Include <errno.h>.
3851 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3852 * math/w_tgammal.c: Include <errno.h>.
3853 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3854 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3855 underflow. Add more tgamma tests.
3856 * math/auto-libm-test-out: Regenerated.
3857 * sysdeps/i386/fpu/libm-test-ulps: Update.
3858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3859
bbf37bdc
JM
3860 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3861 sin, sinh, tan, tanh, tgamma, y0 and y1.
3862 * math/auto-libm-test-out: Regenerated.
3863 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3864 (TEST_COND_x86): Likewise.
3865 (M_E2l): Remove macro.
3866 (M_E3l): Likewise.
3867 (M_2_SQRT_PIl): Likewise.
3868 (M_SQRT_PIl): Likewise.
3869 (M_1_DIV_El): Likewise.
3870 (log_test_data): Use AUTO_TESTS_f_f.
3871 (log10_test_data): Likewise.
3872 (log1p_test_data): Likewise.
3873 (log2_test_data): Likewise.
3874 (sin_test_data): Likewise.
3875 (sin_tonearest_test_data): Likewise.
3876 (sin_towardzero_test_data): Likewise.
3877 (sin_downward_test_data): Likewise.
3878 (sin_upward_test_data): Likewise.
3879 (sinh_test_data): Likewise.
3880 (sinh_tonearest_test_data): Likewise.
3881 (sinh_towardzero_test_data): Likewise.
3882 (sinh_downward_test_data): Likewise.
3883 (sinh_upward_test_data): Likewise.
3884 (tan_test_data): Likewise.
3885 (tan_tonearest_test_data): Likewise.
3886 (tan_towardzero_test_data): Likewise.
3887 (tan_downward_test_data): Likewise.
3888 (tan_upward_test_data): Likewise.
3889 (tanh_test_data): Likewise.
3890 (tgamma_test_data): Likewise.
3891 (y0_test_data): Likewise.
3892 (y1_test_data): Likewise.
3893 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3894 (special_real_inputs): Add pi/4.
3895 * sysdeps/i386/fpu/libm-test-ulps: Update.
3896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3897
eb5ad6b9
AZ
38982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3899
3900 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3901 "longjmp_target" static probes.
3902 (__longjmp): Rename to __longjmp_symbol.
3903 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3905 on which longjmp to generate.
3906 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3908 probe.
3909 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3910 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3911 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3913 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3914 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3916 __longjmp_symbol based on which __longjmp to generate.
3917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3918 probe.
3919 (setjmp): Rename to setjmp_symbol.
3920 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3921 (_setjmp): Rename to _setjmp_symbol.
3922 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3923 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3924 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3925 which setjmp to generate.
3926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3927 "longjmp_target" static probes.
3928
d136c6dc
SP
39292013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3930
9298ecba
SP
3931 * benchtests/README: Add note about output arguments.
3932 * benchtests/bench-sincos.c: Remove file.
3933 * benchtests/sincos-inputs: New file.
3934 * scripts/bench.pl: Identify output arguments and define
3935 static variables for them.
3936
232983e9
SP
3937 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3938
d136c6dc
SP
3939 [BZ #15941]
3940 * Makefile (INSTALL): Add install-plain.texi as the primary
3941 dependency.
3942 * manual/install-plain.texi: New file.
3943 * manual/install.texi: Include node directive only for
3944 non-plaintext output.
3945
699ff837
JM
39462013-12-04 Joseph Myers <joseph@codesourcery.com>
3947
ab07cea8
JM
3948 * stdlib/longlong.h: Update from GCC.
3949
699ff837
JM
3950 [BZ #6807]
3951 [BZ #15901]
3952 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3953 * math/w_j0f.c (y0f): Likewise.
3954 * math/w_j0l.c (__y0l): Likewise.
3955 * math/w_j1.c (y1): Likewise.
3956 * math/w_j1f.c (y1f): Likewise.
3957 * math/w_j1l.c (__y1l): Likewise
3958 * math/w_jn.c (yn): Likewise.
3959 * math/w_jnf.c (ynf): Likewise.
3960 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3961 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3962 value for Bessel function domain errors outside _SVID_ mode.
3963 Adjust sign of return value for yn (negative integer, 0).
3964 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3965 by zero in return for negative x and set sign appropriately for
3966 negative n.
3967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3968 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3969 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3970 expectations in error cases.
3971 (y1_test_data): Likewise.
3972 (yn_test_data): Likewise.
3973 * sysdeps/i386/fpu/libm-test-ulps: Update.
3974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3975
5b118558
UW
39762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3977
3978 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3979 "64" to "64-v1". Add "64-v2".
3980 (abi-64-options): Rename to ...
3981 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3982 (abi-64-condition): Rename to ...
3983 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3984 (abi-64-ld-soname): Rename to ...
3985 (abi-64-v1-ld-soname): ... this.
3986 (abi-64-v2-options): Define.
3987 (abi-64-v2-condition): Likewise.
3988 (abi-64-v2-ld-soname): Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3990 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3994
61cd8fe4
UW
39952013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3996 Alan Modra <amodra@gmail.com>
3997
3998 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3999 New versions for use with the ELFv2 ABI.
4000 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4001 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4002 declaration.
4003 (struct La_ppc64v2_retval): Likewise.
4004 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4005 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4006 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4007 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4008 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4009 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4010 Do not save or restore CR.
4011 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4012 (_dl_profile_resolve): Do no save or restore CR. Support extended
4013 return values for ELFv2 ABI. Fix location of FPR return registers.
4014 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4015 updated values for _CALL_ELF == 2.
4016 (La_regs, La_retval, int_retval): Likewise.
4017
8b8a692c
UW
40182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4019
4020 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4021 (FRAME_MIN_SIZE_PARM): Likewise.
4022 (FRAME_BACKCHAIN): Likewise.
4023 (FRAME_CR_SAVE): Likewise.
4024 (FRAME_LR_SAVE): Likewise.
4025 (FRAME_TOC_SAVE): Likewise.
4026 (FRAME_PARM_SAVE): Likewise.
4027 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4028 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4029 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4030 (call_mcount_parm_offset): New macro.
4031 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4032 (PROF): Use symbolic stack frame offsets.
4033 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4034 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4035 Redefine in terms of FRAME_MIN_SIZE.
4036 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4037 (_dl_profile_resolve): Likewise. Update comment.
4038 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4039 symbols stack frame offsets.
4040 (__sigsetjmp): Likewise.
4041 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4042 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4043 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4044 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4045
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4047 (FRAME_BACKCHAIN): Remove.
4048 (FRAME_CR_SAVE): Likewise.
4049 (FRAME_LR_SAVE): Likewise.
4050 (FRAME_COMPILER_DW): Likewise.
4051 (FRAME_LINKER_DW): Likewise.
4052 (FRAME_TOC_SAVE): Likewise.
4053 (FRAME_PARM_SAVE): Likewise.
4054 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4055 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4056 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4058 (CHECK_SP): Use symbolic stack frame offsets.
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4060 zone" instead of caller's parameter save area for temp storage.
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4062 Likewise. Also, use symbolic stack frame offsets.
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4064 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4065 our own stack frame instead of the caller's.
4066 (__socket): Use symbolic stack frame offsets.
4067
122b66de
UW
40682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4069 Alan Modra <amodra@gmail.com>
4070
4071 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4072 Define.
4073 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4074 PPC64_LOCAL_ENTRY_OFFSET): Define.
4075 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4076 New function.
4077 (elf_machine_fixup_plt): Call it.
4078 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4079 reloc arguments.
4080 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4081 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4082 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4083 r2 before calling target.
4084
696caf1d
UW
40852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4086 Alan Modra <amodra@gmail.com>
4087
4088 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4089 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4090 versions of macros to support ELFv2 ABI.
4091 (LOCALENTRY): New macro.
4092 (ENTRY, EALIGN): Use it.
4093 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4094 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4095 fall through into ENTRY entry point.
4096 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4097 Only define if _CALL_ELF != 2.
4098
4099 (elf_machine_matches_host): Verify ABI version matches.
4100 (RTLD_START): Use LOCALENTRY.
4101 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4102 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4103 (PLT_ENTRY_WORDS): New macro.
4104 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4105 (elf_machine_runtime_setup): Support ELFv2 ABI.
4106 (elf_machine_fixup_plt): Likewise.
4107 (elf_machine_plt_conflict): Likewise.
4108 (resolve_ifunc): Likewise.
4109 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4111 Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4113 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4115 (makecontext): Support ELFv2 ABI.
4116 * elf/elf.h (EF_PPC64_ABI): Define.
4117
d31beafa
UW
41182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4119
4120 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4121 New assembler macro.
4122 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4123 [ASSEMBLER] (ENTRY): ... but instead here ...
4124 [ASSEMBLER] (EALIGN): ... and here.
4125 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4126 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4127 [!ASSEMBLER] (ENTRY_2): Use it.
4128 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4129 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4130 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4131 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4132 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4134 Use PPC64_LOAD_FUNCPTR.
4135
b525166b
UW
41362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4137
4138 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4139
7ec07d9a
AM
41402013-12-04 Alan Modra <amodra@gmail.com>
4141
4142 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4143 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4144 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4145 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4146
4147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4148 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4149 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4150 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4151 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4152 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4153
5162e7dd
UW
41542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4155
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4157 (__makecontext): Fix incorrect CFI when backtracing out of
4158 context created via makecontext.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4160 (__setcontext): Fix incorrect CFI during switch to new context.
4161 (__novec_setcontext): Likewise.
4162
19e3372b
OB
41632013-12-04 Ondřej Bílka <neleai@seznam.cz>
4164
4165 [BZ #4772]
4166 * time/strptime_l.c (__strptime_internal): Allow modifiers
4167 in strptime.
4168 * time/tst-strptime.c (day_tests): Add testcase.
4169
4170
ecaf142d
SP
41712013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4172
4173 * scripts/bench.pl: Skip over blank lines.
4174
fbf964ae
PE
41752013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4176
4177 [BZ #926]
4178 * manual/time.texi (Calendar Time): Clarify what timezone functions
4179 use.
4180
fa60a674
AZ
41812013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4182
4183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4184
d674f0ef
OB
41852013-12-04 Ondřej Bílka <neleai@seznam.cz>
4186
4187 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4188 implementation.
4189 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4190 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4191 * debug/memset_chk.c (__memset_chk): Likewise.
4192 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4193 * debug/strncpy_chk.c: Likewise.
4194
17dea188
JM
41952013-12-03 Joseph Myers <joseph@codesourcery.com>
4196
749008ff
JM
4197 [BZ #15268]
4198 [BZ #15425]
4199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4200 (__ieee754_exp): For possibly underflowing results, check size of
4201 result and force underflow exception if required.
4202 * math/auto-libm-test-in: Add more tests of exp.
4203 * math/auto-libm-test-out: Regenerated.
4204 * sysdeps/i386/fpu/libm-test-ulps: Update.
4205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4206
17dea188
JM
4207 [BZ #16283]
4208 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4209 * math/w_exp2f.c (__exp2f): Likewise.
4210 * math/w_exp2l.c (__exp2l): Likewise.
4211 * math/auto-libm-test-in: Do not allow missing errno on exp2
4212 underflow.
4213 * math/auto-libm-test-out: Regenerated.
4214
b20de2c3
OB
42152013-12-03 Ondřej Bílka <neleai@seznam.cz>
4216
4217 [BZ #16274]
4218 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4219 handle filename validation.
4220 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4221 (do_open): Delete.
4222
d8e2dbe3
JM
42232013-12-03 Joseph Myers <joseph@codesourcery.com>
4224
34e16df5
JM
4225 [BZ #6786]
4226 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4227 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4228 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4229 <float.h>.
4230 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4231 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4232 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4234 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4236 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4237 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4238 Add more erfc tests.
4239 * math/auto-libm-test-out: Regenerated.
4240 * sysdeps/i386/fpu/libm-test-ulps: Update.
4241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4242
d8e2dbe3
JM
4243 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4244 exp2, expm1, j0 and j1.
4245 * math/auto-libm-test-out: Regenerated.
4246 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4247 (erfc_test_data): Likewise.
4248 (exp_test_data): Likewise.
4249 (exp_tonearest_test_data): Likewise.
4250 (exp_towardzero_test_data): Likewise.
4251 (exp_downward_test_data): Likewise.
4252 (exp_upward_test_data): Likewise.
4253 (exp10_test_data): Likewise.
4254 (exp2_test_data): Likewise.
4255 (expm1_test_data): Likewise.
4256 (j0_test_data): Likewise.
4257 (j1_test_data): Likewise.
4258 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4259 (input_flag_type): Add flag_xfail_rounding.
4260 (input_flags): Add xfail-rounding.
4261 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4262 (output_for_one_input_case): Handle flag_xfail_rounding.
4263 * sysdeps/i386/fpu/libm-test-ulps: Update.
4264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265
18d14251
AJ
42662013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4267
3d2e6075 4268 [BZ #16289]
18d14251
AJ
4269 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4270 division by 0.
4271
520d437b
SP
42722013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4273
4274 [BZ #16195]
4275 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4276 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4277 (STAP_PROBE0): New macro.
4278 (STAP_PROBE1): Likewise.
4279 (STAP_PROBE2): Likewise.
4280 (STAP_PROBE3): Likewise.
4281 (STAP_PROBE4): Likewise.
4282
416e0145
OB
42832013-12-02 Ondřej Bílka <neleai@seznam.cz>
4284
4285 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4286
9d17796a
SE
42872013-12-02 Steve Ellcey <sellcey@mips.com>
4288
4289 * benchtests/Makefile (bench): Add sqrt.
4290 (LDLIBS-bench-sqrt): New.
4291 * benchtests/sqrt-input: New.
4292
f524d6a8
PS
42932013-12-02 Pavel Simerda <psimerda@redhat.com>
4294
639a0ef8
PS
4295 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4296 (GAIH_EAI): Likewise.
4297 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4298 (gaih_inet): Likewise.
4299 (getaddrinfo): Don't use GAIH_EAI.
4300
f524d6a8
PS
4301 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4302 (struct gaih): Remove definition.
4303
df3aedaf
SP
43042013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
4306 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4307 Use HERRNOP directly.
4308
1ab19dec
AZ
43092013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4310
b42ad38d 4311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4312
176b0c79
JM
43132013-11-30 Joseph Myers <joseph@codesourcery.com>
4314
4315 * math/gen-auto-libm-tests.c (test_functions): Add more
4316 single-argument functions.
4317 (special_fill_pi_2): New function.
4318 (special_fill_minus_pi_2): Likewise.
4319 (special_fill_pi_6): Likewise.
4320 (special_fill_minus_pi_6): Likewise.
4321 (special_fill_pi_3): Likewise.
4322 (special_fill_2pi_3): Likewise.
4323 (special_fill_e): Likewise.
4324 (special_fill_1_e): Likewise.
4325 (special_fill_e_minus_1): Likewise.
4326 (special_real_inputs): Add more special inputs.
4327 (output_for_one_input_case): Do not require ERANGE on underflow to
4328 zero if round-to-nearest result does not underflow to zero, unless
4329 exact results required.
4330 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4331 atan, atanh, cbrt, cos and cosh.
4332 * math/auto-libm-test-out: Regenerated.
4333 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4334 (acos_tonearest_test_data): Likewise.
4335 (acos_towardzero_test_data): Likewise.
4336 (acos_downward_test_data): Likewise.
4337 (acos_upward_test_data): Likewise.
4338 (acosh_test_data): Likewise.
4339 (asin_test_data): Likewise.
4340 (asin_tonearest_test_data): Likewise.
4341 (asin_towardzero_test_data): Likewise.
4342 (asin_upward_test_data): Likewise.
4343 (asinh_test_data): Likewise.
4344 (atan_test_data): Likewise.
4345 (atanh_test_data): Likewise.
4346 (cbrt_test_data): Likewise.
4347 (cos_test_data): Likewise.
4348 (cos_tonearest_test_data): Likewise.
4349 (cos_towardzero_test_data): Likewise.
4350 (cos_downward_test_data): Likewise.
4351 (cos_upward_test_data): Likewise.
4352 (cosh_test_data): Likewise.
4353 (cosh_tonearest_test_data): Likewise.
4354 (cosh_towardzero_test_data): Likewise.
4355 (cosh_downward_test_data): Likewise.
4356 (cosh_upward_test_data): Likewise.
4357 * sysdeps/i386/fpu/libm-test-ulps: Update.
4358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4359
ffb536d0
JM
43602013-11-29 Joseph Myers <joseph@codesourcery.com>
4361
2a77a467
JM
4362 [BZ #6787]
4363 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4364 * math/w_exp10f.c (__exp10f): Likewise.
4365 * math/w_exp10l.c (__exp10l): Likewise.
4366 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4367 errno settings in existing tests.
4368
ea3bc4e8
JM
4369 [BZ #14032]
4370 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4371 precision control set to double precision.
4372 * sysdeps/i386/fpu/w_sqrt.c: New file.
4373 * math/auto-libm-test-in: Add more tests.
4374 * math/auto-libm-test-out: Update.
4375
0712c9d8
JM
4376 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4377 (sqrt_test_tonearest): New function.
4378 (sqrt_towardzero_test_data): New variable.
4379 (sqrt_test_towardzero): New function.
4380 (sqrt_downward_test_data): New variable.
4381 (sqrt_test_downward): New function.
4382 (sqrt_upward_test_data): New variable.
4383 (sqrt_test_upward): New function.
4384 (main): Call the new functions.
4385
ffb536d0
JM
4386 * math/gen-auto-libm-tests.c: New file.
4387 * math/auto-libm-test-in: Likewise.
4388 * math/auto-libm-test-out: New generated file.
4389 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4390 variables.
4391 (%beautify): Add generated representations of zero.
4392 (top level): Set $auto_input and call parse_auto_input.
4393 (beautify): Remove trailing "f" from hex float constants.
4394 (parse_args): Handle XFAIL_TEST.
4395 (convert_condition): New function.
4396 (or_value): Likewise.
4397 (or_cond_value): Likewise.
4398 (generate_testfile): Handle AUTO_TESTS_* lines.
4399 (parse_auto_input): New function.
4400 * math/libm-test.inc (XFAIL_TEST): New macro.
4401 (ERRNO_UNCHANGED): Update value.
4402 (ERRNO_EDOM): Likewise.
4403 (ERRNO_ERANGE): Likewise.
4404 (IGNORE_RESULT): Likewise.
4405 (TEST_COND_flt_32): New macro.
4406 (TEST_COND_dbl_64): Likewise.
4407 (TEST_COND_ldbl_96_intel): Likewise.
4408 (TEST_COND_ldbl_96_m68k): Likewise.
4409 (TEST_COND_ldbl_128): Likewise.
4410 (TEST_COND_ldbl_128ibm): Likewise.
4411 (TEST_COND_long32): Likewise.
4412 (TEST_COND_long64): Likewise.
4413 (TEST_COND_before_rounding): Likewise.
4414 (TEST_COND_after_rounding): Likewise.
4415 (enable_test): Handle XFAIL_TEST flag.
4416 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4417 with finite results.
4418 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4419 auto-libm-test-out.
4420
acd98a8e
AK
44212013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4422 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4423
4424 [BZ #16214]
4425 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4426 __tls_get_addr_internal instead of __tls_get_offset in order to
4427 avoid GOT pointer dependency. Make rtld export
4428 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4429 __tls_get_addr since we are a __tls_get_offset platform.
4430 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4431 GOT pointer being set up before.
4432 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4433
3c1c46a6
JM
44342013-11-28 Joseph Myers <joseph@codesourcery.com>
4435
7475aef5
JM
4436 * manual/math.texi (Errors in Math Functions): Document accuracy
4437 goals.
4438
8bca7cd8
JM
4439 [BZ #15004]
4440 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4441 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4444 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4456
91a1f3fe
JM
4457 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4458 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4459 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4460 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4461 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4462 Likewise.
4463 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4464 Likewise.
4465 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4466 Likewise.
4467 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4468 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4469 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4470 atomic-feupdateenv and flt-rounds.
4471 * sysdeps/powerpc/nofpu/Versions (libc): Add
4472 __atomic_feholdexcept, __atomic_feclearexcept,
4473 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4474 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4475 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4476 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4477 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4478 here.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4480 Update.
4481
c5df7609
JM
4482 * manual/arith.texi (FP Exceptions): Document that exceptions may
4483 not be raised when matherr is used.
4484 (Math Error Reporting): Document overflow in directed rounding
4485 modes. Document that errno may not be set when finite values are
4486 returned on overflow. Document intent to set errno on underflow
4487 only for underflow to zero.
4488
3c1c46a6
JM
4489 [BZ #16271]
4490 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4491 round-to-nearest then adjust result for other rounding modes.
4492 * include/fenv.h (fegetround): Use libm_hidden_proto.
4493 * math/fegetround.c (fegetround): Use libm_hidden_def.
4494 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4495 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4496 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4498 Likewise.
4499 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4500 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4501 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4502 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4503
5a4c6d53
SP
45042013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4505
4506 [BZ #16077]
4507 * nss/Versions (libnss_files): Add
4508 _nss_files_gethostbyname3_r.
4509 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4510 New function.
4511 (HOST_DB_LOOKUP): Remove macro.
4512 (_nss_files_gethostbyname_r): Implement function without the
4513 HOST_DB_LOOKUP macro.
4514 (_nss_files_gethostbyname2_r): Likewise.
4515
897b98ba
OB
45162013-11-28 Ondřej Bílka <neleai@seznam.cz>
4517
4518 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4519
6f476861
UB
45202013-11-26 Uros Bizjak <ubizjak@gmail.com>
4521
4522 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4523 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4524 warning.
4525
bd12ab55
AZ
45262013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4527
4528 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4529 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4530 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4531 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4532 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4533 __fe_nomask_env_priv and attribute_hidden.
4534 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4535 (libc_feupdateenv_test_ppc): Likewise.
4536 (libc_feresetround_ppc): Likewise.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4538 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4539 compat_symbol macro.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4541 (__fe_nomask_env): Likewise.
4542 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4543
52bb6543
OB
45442013-11-26 Ondřej Bílka <neleai@seznam.cz>
4545
4546 * string/Makefile: Remove ifunc tests.
4547 * string/test-string.h: Define TEST_IFUNC.
4548 * string/test-bcopy-ifunc.c: Remove.
4549 * string/test-bzero-ifunc.c: Likewise.
4550 * string/test-memccpy-ifunc.c: Likewise.
4551 * string/test-memchr-ifunc.c: Likewise.
4552 * string/test-memcmp-ifunc.c: Likewise.
4553 * string/test-memcpy-ifunc.c: Likewise.
4554 * string/test-memmem-ifunc.c: Likewise.
4555 * string/test-memmove-ifunc.c: Likewise.
4556 * string/test-mempcpy-ifunc.c: Likewise.
4557 * string/test-memrchr-ifunc.c: Likewise.
4558 * string/test-memset-ifunc.c: Likewise.
4559 * string/test-rawmemchr-ifunc.c: Likewise.
4560 * string/test-stpcpy-ifunc.c: Likewise.
4561 * string/test-stpncpy-ifunc.c: Likewise.
4562 * string/test-strcasecmp-ifunc.c: Likewise.
4563 * string/test-strcasestr-ifunc.c: Likewise.
4564 * string/test-strcat-ifunc.c: Likewise.
4565 * string/test-strchr-ifunc.c: Likewise.
4566 * string/test-strchrnul-ifunc.c: Likewise.
4567 * string/test-strcmp-ifunc.c: Likewise.
4568 * string/test-strcpy-ifunc.c: Likewise.
4569 * string/test-strcspn-ifunc.c: Likewise.
4570 * string/test-strlen-ifunc.c: Likewise.
4571 * string/test-strncasecmp-ifunc.c: Likewise.
4572 * string/test-strncat-ifunc.c: Likewise.
4573 * string/test-strncmp-ifunc.c: Likewise.
4574 * string/test-strncpy-ifunc.c: Likewise.
4575 * string/test-strnlen-ifunc.c: Likewise.
4576 * string/test-strpbrk-ifunc.c: Likewise.
4577 * string/test-strrchr-ifunc.c: Likewise.
4578 * string/test-strspn-ifunc.c: Likewise.
4579 * string/test-strstr-ifunc.c: Likewise.
4580
ab260039 45812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4582
4583 * benchtests/Makefile: Remove ifunc tests.
4584 * benchtests/bench-string.h: Define TEST_IFUNC.
4585 * benchtests/bench-bcopy-ifunc.c: Remove.
4586 * benchtests/bench-bzero-ifunc.c: Likewise.
4587 * benchtests/bench-memccpy-ifunc.c: Likewise.
4588 * benchtests/bench-memchr-ifunc.c: Likewise.
4589 * benchtests/bench-memcmp-ifunc.c: Likewise.
4590 * benchtests/bench-memcpy-ifunc.c: Likewise.
4591 * benchtests/bench-memmem-ifunc.c: Likewise.
4592 * benchtests/bench-memmove-ifunc.c: Likewise.
4593 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4594 * benchtests/bench-memrchr-ifunc.c: Likewise.
4595 * benchtests/bench-memset-ifunc.c: Likewise.
4596 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4597 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4598 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4599 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4600 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4601 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4602 * benchtests/bench-strcat-ifunc.c: Likewise.
4603 * benchtests/bench-strchr-ifunc.c: Likewise.
4604 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4605 * benchtests/bench-strcmp-ifunc.c: Likewise.
4606 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4607 * benchtests/bench-strcpy-ifunc.c: Likewise.
4608 * benchtests/bench-strcspn-ifunc.c: Likewise.
4609 * benchtests/bench-strlen-ifunc.c: Likewise.
4610 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4611 * benchtests/bench-strncat-ifunc.c: Likewise.
4612 * benchtests/bench-strncmp-ifunc.c: Likewise.
4613 * benchtests/bench-strncpy-ifunc.c: Likewise.
4614 * benchtests/bench-strnlen-ifunc.c: Likewise.
4615 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4616 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4617 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4618 * benchtests/bench-strspn-ifunc.c: Likewise.
4619 * benchtests/bench-strstr-ifunc.c: Likewise.
4620
46212013-11-26 Ondřej Bílka <neleai@seznam.cz>
4622
ab260039
OB
4623 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4624
d1d9eaf4 46252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4626
d1d9eaf4
OB
4627 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4628 * rt/aio.h: Likewise.
4629 * sysdeps/gnu/bits/utmp.h: Likewise.
4630 * sysdeps/gnu/bits/utmpx.h: Likewise.
4631 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4632 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4633 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4634 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4635 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4636 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4637 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4638 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4639 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4641 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4642 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4643 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4645 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4646 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4647 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4648 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4649 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4650 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4651 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4652 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4655 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4659 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4660 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4662 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4663 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4666 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4667 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4668 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4669 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4670 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4671 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4672 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4673
a7624ed9
CD
46742013-11-25 Carlos O'Donell <carlos@redhat.com>
4675
4676 [BZ #16245]
4677 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4678 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4679
63cfe52b
JM
46802013-11-25 Joseph Myers <joseph@codesourcery.com>
4681
4682 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4683 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4684 Likewise.
4685
41e8926a
AZ
46862013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687
4688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4689 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4690 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4691 (__fesetround): Remove define.
4692 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4693 rounding and exceptions handling.
4694 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4695 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4696 (__fe_nomask_env): Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4698 __fegetround instead of fegetround.
4699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4701
6851bd4d
RM
47022013-11-21 Roland McGrath <roland@hack.frob.com>
4703
070906ff
RM
4704 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4705 it's there.
4706
6851bd4d
RM
4707 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4708
84ae135d
MI
47092013-11-21 Meador Inge <meadori@codesourcery.com>
4710
4711 [BZ #11157]
4712 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4713 (encrypt_r): Likewise.
4714 * malloc/obstack.h (obstack_free): Likewise.
4715 * posix/unistd.h (encrypt): Likewise.
4716
daf75146
GM
47172013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4718
4719 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4720 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4721 DL_CALL_DT_FINI() that call the functions directly.
4722 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4723 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4724 * elf/dl-fini.c: Likewise.
4725
10ad46bc
OB
47262013-11-20 Ondřej Bílka <neleai@seznam.cz>
4727
4728 * malloc/hooks.c (memalign_check): Add alignment rounding.
4729 * malloc/malloc.c (_mid_memalign): New function.
4730 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4731 Implement by calling _mid_memalign.
4732 * manual/probes.texi (Memory Allocation Probes): Remove
4733 memory_valloc_retry and memory_pvalloc_retry.
4734
f3fd2628
SP
47352013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4736
4712799f
SP
4737 * locale/programs/locarchive.c (open_archive): Add const
4738 qualifier to ARCHIVEFNAME and copy default fname to
4739 DEFAULT_FNAME.
4740
0417b20f
SP
4741 [BZ #15601]
4742 * libio/tst-widetext.input: Rename Oriya to Odia.
4743 * locale/iso-639.def: Likewise.
4744
f3fd2628
SP
4745 * manual/probes.texi (Mathematical Function Probes): Add
4746 documentation for sin, cos, asin and acos probes.
4747 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4748 (__sin32): Add slowasin probe.
4749 (__cos32): Add slowacos probe.
4750 (__mpsin): Add slowsin probe.
4751 (__mpcos): Add slowcos probe.
4752
73c1ce4f
JM
47532013-11-19 Joseph Myers <joseph@codesourcery.com>
4754
4755 [BZ #15483]
4756 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4757 thread-local __sim_exceptions_thread and global
4758 __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 (__simulate_exceptions): Use thread-local floating-point state and
4765 set global state from it as needed.
4766 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4767 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4768 __sim_round_mode_thread.
4769 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4770 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4771 and global __sim_exceptions_global.
4772 (__sim_disabled_exceptions): Change to thread-local
4773 __sim_disabled_exceptions_thread and global
4774 __sim_disabled_exceptions_global.
4775 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4776 and global __sim_round_mode_global.
4777 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4778 (SIM_SET_GLOBAL): Likewise.
4779 * sysdeps/powerpc/soft-fp/sfp-machine.h
4780 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4781 __sim_round_mode_thread.
4782 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4783 __sim_disabled_exceptions_thread.
4784 (__sim_exceptions): Change to __sim_exceptions_thread.
4785 (__sim_disabled_exceptions): Change to
4786 __sim_disabled_exceptions_thread.
4787 (__sim_round_mode): Change to __sim_round_mode_thread.
4788 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4789 thread-local floating-point state and set global state from it as
4790 needed.
4791 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4792 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4793 (__sim_disabled_exceptions): Remove extern declaration.
4794 (feenableexcept): Use thread-local floating-point state and set
4795 global state from it as needed.
4796 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4797 extern declaration.
4798 (__sim_disabled_exceptions): Likewise.
4799 (__sim_round_mode): Likewise.
4800 (__fegetenv): Use thread-local floating-point state.
4801 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4802 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4803 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4804 floating-point state and set global state from it as needed.
4805 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4806 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4807 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4808 Likewise.
4809 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4810 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4811 Likewise.
4812 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4813 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4814 Use __sim_round_mode_thread.
4815 * math/test-fenv-tls.c: New file.
4816 * math/Makefile (tests): Add test-fenv-tls.
4817 ($(objpfx)test-fenv-tls): Depend on
4818 $(common-objpfx)nptl/libpthread.so.
4819
b5449b12
AS
48202013-11-19 Andreas Schwab <schwab@suse.de>
4821
4822 * locale/programs/locale.c (show_info): Decode wordarray elements.
4823 * locale/categories.def (LC_MONETARY): Add element for
4824 _NL_MONETARY_CRNCYSTR.
4825 * locale/C-monetary.c (conversion_rate): New variable.
4826 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4827 element.
4828
e186536b
CM
48292013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4830
4831 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4832 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4833
5c349950
PP
48342013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4835
4836 * elf/Makefile (tst-auxv): New test.
4837 * elf/tst-auxv.c: New
4838 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4839
699df45b
JM
48402013-11-18 Joseph Myers <joseph@codesourcery.com>
4841
4842 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4843 (hidden_proto): Caller changed.
4844 (hidden_tls_proto): New macro.
4845 (libc_hidden_tls_proto): Likewise.
4846 (rtld_hidden_tls_proto): Likewise.
4847 (libm_hidden_tls_proto): Likewise.
4848 (libresolv_hidden_tls_proto): Likewise.
4849 (librt_hidden_tls_proto): Likewise.
4850 (libdl_hidden_tls_proto): Likewise.
4851 (libnss_files_hidden_tls_proto): Likewise.
4852 (libnsl_hidden_tls_proto): Likewise.
4853 (libnss_nisplus_hidden_tls_proto): Likewise.
4854 (libutil_hidden_tls_proto): Likewise.
4855
b7589107
OB
48562013-11-18 Ondřej Bílka <neleai@seznam.cz>
4857
4858 [BZ #10253]
4859 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4860 (decompose_rpath): Defer expansion to fillin_rpath.
4861 (_dl_init_paths): Pass linkmap to fillin_rpath.
4862
250c23bd
RS
48632013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4864
4865 * benchtests/Makefile: Add strsep.
4866 * benchtests/bench-strsep.c: New file: strsep benchtest.
4867 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4868
a7931fcf
AS
48692013-11-18 Andreas Schwab <schwab@suse.de>
4870
4871 * locale/programs/locale.c (show_info) [case byte]: Check for
4872 '\377' instead of '\177'.
4873 * locale/C-monetary.c (not_available): Always use "\377".
4874 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4875 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4876 detect unavailable sign_posn locale elements.
4877 * locale/localeconv.c (__localeconv): For grouping and
4878 mon_grouping handle "\177" and "\377" like no grouping.
4879 (INT_ELEM): New macro. Use it to set all numeric members.
4880 * locale/programs/ld-monetary.c (monetary_read)
4881 <tok_mon_grouping>: Normalize single -1 to the empty string.
4882 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4883 Likewise.
4884
728dab0e
OB
48852013-11-07 Ondřej Bílka <neleai@seznam.cz>
4886
4887 [BZ #16055]
4888 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4889 when we match (nil).
4890 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4891
66294491
JM
48922013-11-16 Joseph Myers <joseph@codesourcery.com>
4893
ce665817
JM
4894 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4895 (NO_TEST_INLINE): Update value.
4896 (ERRNO_UNCHANGED): Likewise.
4897 (ERRNO_EDOM): Likewise.
4898 (ERRNO_ERANGE): Likewise.
4899 (IGNORE_RESULT): Likewise.
4900 (check_float_internal): Check signs of NaN results if
4901 TEST_NAN_SIGN used.
4902 (check_complex): Pass TEST_NAN_SIGN flag through to second
4903 check_float_internal call.
4904 (copysign_test_data): Add tests with quiet NaNs as second
4905 argument. Use TEST_NAN_SIGN.
4906 (fabs_test_data): Add test of negative quiet NaN argument. Use
4907 TEST_NAN_SIGN.
4908 (signbit_test_data): Add tests of quiet NaN argument.
4909 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4910
ee1466a9
JM
4911 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4912 $ignore_result.
4913 (parse_args): Handle function results specified as IGNORE.
4914 * math/libm-test.inc (IGNORE_RESULT): New macro.
4915 (check_float_internal): Do not check numerical result if flag
4916 IGNORE_RESULT set.
4917 (check_complex): Pass through IGNORE_RESULT to second
4918 check_float_internal call.
4919 (check_int): Do not check numerical result if flag IGNORE_RESULT
4920 set.
4921 (check_long): Likewise.
4922 (check_bool): Likewise.
4923 (check_longlong): Likewise.
4924 (lrint_test_data): Add tests of infinite and NaN arguments.
4925 (lrint_tonearest_test_data): Likewise.
4926 (lrint_towardzero_test_data): Likewise.
4927 (lrint_downward_test_data): Likewise.
4928 (lrint_upward_test_data): Likewise.
4929 (llrint_test_data): Likewise.
4930 (llrint_tonearest_test_data): Likewise.
4931 (llrint_towardzero_test_data): Likewise.
4932 (llrint_downward_test_data): Likewise.
4933 (llrint_upward_test_data): Likewise.
4934 (lround_test_data): Likewise.
4935 (llround_test_data): Likewise.
4936
14407b7e
JM
4937 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4938 (ERRNO_UNCHANGED): Update value.
4939 (ERRNO_EDOM): Likewise.
4940 (ERRNO_ERANGE): Likewise.
4941 (NO_TEST_INLINE_FLOAT): New macro.
4942 (NO_TEST_INLINE_DOUBLE): Likewise.
4943 (enable_test): New function.
4944 (RUN_TEST_f_f): Check enable_test before running test.
4945 (RUN_TEST_2_f): Likewise.
4946 (RUN_TEST_fff_f): Likewise.
4947 (RUN_TEST_c_f): Likewise.
4948 (RUN_TEST_f_f1): Likewise.
4949 (RUN_TEST_fF_f1): Likewise.
4950 (RUN_TEST_fI_f1): Likewise.
4951 (RUN_TEST_ffI_f1): Likewise.
4952 (RUN_TEST_c_c): Likewise.
4953 (RUN_TEST_cc_c): Likewise.
4954 (RUN_TEST_f_i): Likewise.
4955 (RUN_TEST_f_i_tg): Likewise.
4956 (RUN_TEST_ff_i_tg): Likewise.
4957 (RUN_TEST_f_b): Likewise.
4958 (RUN_TEST_f_b_tg): Likewise.
4959 (RUN_TEST_f_l): Likewise.
4960 (RUN_TEST_f_L): Likewise.
4961 (RUN_TEST_fFF_11): Likewise.
4962 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4963 conditionals.
4964 (cosh_test_data): Likewise.
4965 (exp_test_data): Likewise.
4966 (expm1_test_data): Likewise.
4967 (hypot_test_data): Likewise.
4968 (pow_test_data): Likewise.
4969 (sinh_test_data): Likewise.
4970 (tanh_test_data): Likewise.
4971 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4972 flags argument.
4973
ca07f197
JM
4974 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4975 tests with quiet NaN input and output.
4976 (acosh_test_data): Likewise.
4977 (asin_test_data): Likewise.
4978 (asinh_test_data): Likewise.
4979 (atan_test_data): Likewise.
4980 (atanh_test_data): Likewise.
4981 (atan2_test_data): Likewise.
4982 (cbrt_test_data): Likewise.
4983 (cos_test_data): Likewise.
4984 (cosh_test_data): Likewise.
4985 (erf_test_data): Likewise.
4986 (erfc_test_data): Likewise.
4987 (exp_test_data): Likewise.
4988 (exp10_test_data): Likewise.
4989 (exp2_test_data): Likewise.
4990 (expm1_test_data): Likewise.
4991 (hypot_test_data): Likewise.
4992 (j0_test_data): Likewise.
4993 (j1_test_data): Likewise.
4994 (jn_test_data): Likewise.
4995 (lgamma_test_data): Likewise.
4996 (log_test_data): Likewise.
4997 (log10_test_data): Likewise.
4998 (log1p_test_data): Likewise.
4999 (log2_test_data): Likewise.
5000 (pow_test_data): Likewise.
5001 (scalb_test_data): Likewise.
5002 (sin_test_data): Likewise.
5003 (sincos_test_data): Likewise.
5004 (sinh_test_data): Likewise.
5005 (tan_test_data): Likewise.
5006 (tanh_test_data): Likewise.
5007 (tgamma_test_data): Likewise.
5008 (y0_test_data): Likewise.
5009 (y1_test_data): Likewise.
5010 (yn_test_data): Likewise.
5011
66294491
JM
5012 [BZ #16167]
5013 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5014 argument being NaN and avoid computations with second argument in
5015 that case.
5016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5018 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5019
1820b143
CL
50202013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5021
5022 * locale/iso-639.def: Add Chitwani Tharu (the).
5023
714bd261
AS
50242013-11-14 Andreas Schwab <schwab@suse.de>
5025
5026 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5027 word instead of empty string.
5028
7ab44563
AZ
50292013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5032 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5034 (__fe_nomask_env): Likewise.
5035
e8470ea2
SE
50362013-11-13 Steve Ellcey <sellcey@mips.com>
5037
5038 * benchtests/bench-timing.h: Include time.h.
5039
17c1d9f0
L
50402013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5041
5042 [BZ #15997]
5043 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5044 to 3.4.0 for x32.
5045 * sysdeps/unix/sysv/linux/configure: Regenerated.
5046
9310c284
JM
50472013-11-13 Joseph Myers <joseph@codesourcery.com>
5048
5049 [BZ #16151]
5050 * stdlib/strtod_l.c (round_and_return): Do not consider
5051 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5052 exponent one less than half the least subnormal exponent.
5053 * stdlib/test-strtod-round-data: Add more tests.
5054 * stdlib/tst-strtod-round.c (tests): Regenerated.
5055
7a2ad8cf
AZ
50562013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057
5058 [BZ #14143]
5059 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5060 (__fe_mask_env): Likewise.
5061 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5062 libm_hidden_proto and add function prototype.
5063 (__fe_mask_env): Add function prototype.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5065 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5067 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5069 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5070
50727aa7
MS
50712013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5072
b2f386c1 5073 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5074 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5075
a615be46
MS
50762013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5077
5078 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5079 of htab_find_slot().
5080
7ddace62
DM
50812013-11-11 David S. Miller <davem@davemloft.net>
5082
5083 [BZ #16150]
5084 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5085 symbol in the non-vis3 case in static builds.
5086 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5087 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5088 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5089 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5090
9182aa67
JK
50912013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5092
5093 [BZ #387]
5094 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5095 it is empty.
5096
450a2e2d
AZ
50972013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5098
b2f386c1
SP
5099 * benchtests/Makefile: Add bench-strtod.
5100 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5101
8ec3f656
AS
51022013-11-11 Andreas Schwab <schwab@suse.de>
5103
5104 [BZ #16153]
5105 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5106 terminating NUL in key length.
5107
76a9b998
AZ
51082013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5109
5110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5111 Add artificial ODP entry for vDSO symbol for PPC64.
5112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5113 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5114
e4368156
OB
51152013-11-07 Ondřej Bílka <neleai@seznam.cz>
5116
5117 [BZ #15374]
5118 * nss/getent.c (services_keys): Recognize services starting with digit.
5119
8d6bb57c
DM
51202013-11-06 David S. Miller <davem@davemloft.net>
5121
5122 [BZ #15985]
5123 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5124 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5125
e256c421
WN
51262013-11-06 Will Newton <will.newton@linaro.org>
5127
5128 * manual/memory.texi (Malloc Examples): Remove register
5129 keyword from examples.
5130
f6e12daa 51312013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5132
f6e12daa 5133 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5134
9d880655
AS
51352013-11-04 Joseph Myers <joseph@codesourcery.com>
5136
fd2f9486 5137 [BZ #6981]
9d880655
AS
5138 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5139 depending on [__GCC_IEC_559 > 0].
5140 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5141 depending on [__GCC_IEC_559_COMPLEX > 0].
5142
ae129d3c
CL
51432013-11-03 Chris Leonard <cjl@sugarlabs.org>
5144
5145 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5146 to iso-639.def.
5147
4a15c2a4 51482013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5149
5150 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5151
8b35e35d
OB
51522013-11-01 Ondřej Bílka <neleai@seznam.cz>
5153
5154 [BZ #16112]
5155 * malloc/malloc (malloc_info): Do not handle first bin as
5156 special case.
5157
1d70fd6c
CL
51582013-11-01 Chris Leonard <cjl@sugarlabs.org>
5159
5160 * locale/iso-639.def: Add Central Nahuatl (nhn).
5161
8c5c2600
BH
51622013-11-01 Bruno Haible <bruno@clisp.org>
5163
5164 [BZ #7003]
5165 * manual/math.texi (BSD Random): Specify range upper bound as
5166 in POSIX.
5167
da5579c2
CL
51682013-10-31 Chris Leonard <cjl@sugarlabs.org>
5169
5170 * locale/iso-639.def: Add Meadow Mari (mhr).
5171
5d30d853
OB
51722013-10-31 Ondřej Bílka <neleai@seznam.cz>
5173
5174 [BZ #14752], [BZ #15763]
5175 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5176 Validate name.
5177 * rt/tst_shm.c: Add test for escaping directory.
5178
a4966c61
AS
51792013-10-31 Andreas Schwab <schwab@suse.de>
5180
8a43e768 5181 [BZ #15917]
a4966c61
AS
5182 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5183 followed by 'x' as part of digit sequence.
5184 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5185
28d708c4
MAP
51862013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5187
5188 [BZ #16037]
5189 * configure.ac: allow GNU Make 4.0 and greater.
5190 * configure: Regenerated.
5191
a56ee40b
WN
51922013-10-30 Will Newton <will.newton@linaro.org>
5193
5194 [BZ #16038]
5195 * malloc/hooks.c (memalign_check): Limit alignment to the
5196 maximum representable power of two.
5197 * malloc/malloc.c (__libc_memalign): Likewise.
5198 * malloc/tst-memalign.c (do_test): Add test for very
5199 large alignment values.
5200 * malloc/tst-posix_memalign.c (do_test): Likewise.
5201
c6e4925d
OB
52022013-10-30 Ondřej Bílka <neleai@seznam.cz>
5203
5204 [BZ #11087]
5205 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5206 (munmap_chunk): Likewise.
5207 (mremap_chunk): Likewise.
5208
52092013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5210
8a43e768 5211 [BZ #15799]
bbea82f7
OB
5212 * stdlib/div.c (div): Remove obsolete code.
5213 * stdlib/ldiv.c (ldiv): Likewise.
5214 * stdlib/lldiv.c (lldiv): Likewise.
5215
977f4b31
SP
52162013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5217
5218 [BZ #16071]
5219 * nss/nss_files/files-XXX.c (get_contents_ret): New
5220 enumerator.
5221 (get_contents): New function.
5222 (internal_getent): Use it. Expand size of LINEBUFLEN.
5223
cb8a6dbd
MF
52242013-10-30 Mike Frysinger <vapier@gentoo.org>
5225
5226 * configure.in: Moved to ...
5227 * configure.ac: ... here. Change reference to configure.in
5228 to configure.ac.
5229 * sysdeps/arm/preconfigure.ac: ... here.
5230 configure.in to configure.ac.
5231 * sysdeps/gnu/configure.in: Moved to ...
5232 * sysdeps/gnu/configure.ac: ... here.
5233 * sysdeps/i386/configure.in: Moved to ...
5234 * sysdeps/i386/configure.ac: ... here.
5235 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5236 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5237 * sysdeps/mach/configure.in: Moved to ...
5238 * sysdeps/mach/configure.ac: ... here.
5239 * sysdeps/mach/hurd/configure.in: Moved to ...
5240 * sysdeps/mach/hurd/configure.ac: ... here.
5241 * sysdeps/powerpc/configure.in: Moved to ...
5242 * sysdeps/powerpc/configure.ac: ... here.
5243 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5244 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5245 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5246 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5247 * sysdeps/s390/s390-32/configure.in: Moved to ...
5248 * sysdeps/s390/s390-32/configure.ac: ... here.
5249 * sysdeps/s390/s390-64/configure.in: Moved to ...
5250 * sysdeps/s390/s390-64/configure.ac: ... here.
5251 * sysdeps/sh/configure.in: Moved to ...
5252 * sysdeps/sh/configure.ac: ... here.
5253 * sysdeps/sparc/configure.in: Moved to ...
5254 * sysdeps/sparc/configure.ac: ... here.
5255 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5256 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5257 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5258 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5259 * sysdeps/x86_64/configure.in: Moved to ...
5260 * sysdeps/x86_64/configure.ac: ... here.
5261 * sysdeps/x86_64/preconfigure.in: Moved to ...
5262 * sysdeps/x86_64/preconfigure.ac: ... here.
5263 * aclocal.m4: Change reference to configure.in to configure.ac.
5264 * config.h.in: Likewise.
5265 * manual/install.texi: Likewise.
5266 * manual/maint.texi: Likewise.
5267 * Makefile: Likewise.
5268 * malloc/Makefile: Likewise.
5269 * nscd/Makefile: Likewise.
5270 * Makeconfig: Change reference to configure.in and
5271 preconfigure.in to configure.ac and preconfigure.ac
5272 respectively.
5273 * INSTALL: Regenerated.
5274 * configure: Likewise.
5275 * sysdeps/gnu/configure: Likewise.
5276 * sysdeps/i386/configure: Likewise.
5277 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5278 * sysdeps/mach/configure: Likewise.
5279 * sysdeps/mach/hurd/configure: Likewise.
5280 * sysdeps/powerpc/configure: Likewise.
5281 * sysdeps/powerpc/powerpc32/configure: Likewise.
5282 * sysdeps/powerpc/powerpc64/configure: Likewise.
5283 * sysdeps/s390/s390-32/configure: Likewise.
5284 * sysdeps/s390/s390-64/configure: Likewise.
5285 * sysdeps/sh/configure: Likewise.
5286 * sysdeps/sparc/configure: Likewise.
5287 * sysdeps/unix/sysv/linux/configure: Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5289 * sysdeps/x86_64/configure: Likewise.
5290 * sysdeps/x86_64/preconfigure: Likewise.
5291
36a4953a
AS
52922013-10-29 Andreas Schwab <schwab@suse.de>
5293
5294 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5295
c79a1204
SP
52962013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
dfa1b402
SP
5298 * benchtests/pow-inputs: Add new inputs.
5299
54f73d9c
SP
5300 * benchtests/exp-inputs: Add new inputs.
5301
c79a1204
SP
5302 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5303 conditional check for return value.
5304 (__cos32): Likewise.
5305
67beb545 53062013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5307
5308 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5309 to provide a boost for large inputs with word alignment.
5310 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5311 implementation based on optimized PPC64 strcpy.
5312 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5313 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5314 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5315 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5316
151659f6
OB
53172013-10-25 Ondřej Bílka <neleai@seznam.cz>
5318
482a077e 5319 [BZ #2801]
151659f6
OB
5320 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5321
10b0f26b
OB
53222013-10-25 Ondřej Bílka <neleai@seznam.cz>
5323
5324 [BZ #14876]
5325 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5326 * time/tst-strptime.c (day_tests): Add testcase.
5327
ca42d35e
OB
53282013-10-25 Ondřej Bílka <neleai@seznam.cz>
5329
482a077e 5330 [BZ #14029]
ca42d35e
OB
5331 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5332
52e6d801
FB
53332013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5334
5335 [BZ #16074]
5336 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5337 MAP_FAILED on error.
5338
7cbcdb36
SP
53392013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5340
5341 [BZ #16072]
5342 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5343 heap for large requests.
5344
894f3f10
AM
53452013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5346
5347 [BZ #9954]
5348 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5349 result if the result has no associated interface.
5350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5351 interface for all 127.X.Y.Z addresses.
5352
b85545a6
CL
53532013-10-24 Chris Leonard <cjl@sugarlabs.org>
5354
5355 * locale/iso-639.def: Add Ligurian (lij)
5356
d1f23d46
OB
53572013-10-21 Ondřej Bílka <neleai@seznam.cz>
5358
5359 [BZ #15825]
5360 * sunrpc/rpc_main.c: Document rpcgen -5.
5361
4db5b08f
MS
53622013-10-19 Michael Stahl <mstahl@redhat.com>
5363
5364 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5365
a471e96a
OB
53662013-10-19 Ondřej Bílka <neleai@seznam.cz>
5367
d1f23d46 5368 [BZ #10278]
a471e96a
OB
5369 * posix/glob.c: Match only directories when trailing slash is present.
5370 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5371 (main): Add testcase.
5372
45c30c61
OB
53732013-10-19 Ondřej Bílka <neleai@seznam.cz>
5374
5375 [BZ #15670]
5376 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5377
484c12fb
CD
53782013-10-18 Carlos O'Donell <carlos@redhat.com>
5379
3d7dc513
CD
5380 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5381 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5382 AUTH_DES and cindex for FIPS 140-2.
5383 (DES Encryption): Add cindex FIPS 46-3.
5384
484c12fb
CD
5385 * locale/locarchive.h (struct locarhandle): Add fname.
5386 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5387 if an optional argument was specified to --list-archive,
5388 otherwise NULL.
5389 * locale/programs/locarchive.c (show_archive_content): Take new
5390 argument fname and pass it via ah.fname to open_archive.
5391 * locale/programs/localedef.h: Update decl.
5392 (open_archive): If AH->fname is non-null, open that file
5393 rather than the default file name, and don't ignore ENOENT.
5394 (create_archive): Set AH.fname to NULL.
5395 (delete_locales_from_archive): Likewise.
5396 (add_locales_to_archive): Likewise.
5397 * locale/programs/locfile.c (write_all_categories): Likewise.
5398
3c8325fb
JM
53992013-10-18 Joseph Myers <joseph@codesourcery.com>
5400 Aldy Hernandez <aldyh@redhat.com>
5401
5402 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5403 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5404 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5405 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5406 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5408 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5409 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5410 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5411 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5412 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5413 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5414 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5415 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5416 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5417 Likewise.
5418 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5419 Likewise.
5420 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5421 Likewise.
5422 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5423 Likewise.
5424 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5425 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5426 Likewise.
5427 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5428 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5429 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5430 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5431 Likewise.
5432 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5433 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5434 * sysdeps/powerpc/preconfigure: Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5436 Likewise.
5437 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5438 Replace contents of file by #include of <fenv_libc.h>.
5439 * sysdeps/powerpc/soft-fp/sfp-machine.h
5440 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5441 and <sys/prctl.h>.
5442 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5455 Allow copysignl PLT reference to be missing.
5456
5abe0682
RS
54572013-10-18 Richard Sandiford <richard@codesourcery.com>
5458 Joseph Myers <joseph@codesourcery.com
5459
5460 [BZ #15948]
5461 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5462 single character.
5463 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5464
c7738d08
SP
54652013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5466
5467 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5468 * elf/tst-tls1.c: Likewise.
5469 * elf/tst-tls10.h: Likewise.
5470 * elf/tst-tls14.c: Likewise.
5471 * elf/tst-tls2.c: Likewise.
5472 * elf/tst-tls3.c: Likewise.
5473 * elf/tst-tls4.c: Likewise.
5474 * elf/tst-tls5.c: Likewise.
5475 * elf/tst-tls6.c: Likewise.
5476 * elf/tst-tls7.c: Likewise.
5477 * elf/tst-tls8.c: Likewise.
5478 * elf/tst-tls9.c: Likewise.
5479 * elf/tst-tlsmod1.c: Likewise.
5480 * elf/tst-tlsmod13.c: Likewise.
5481 * elf/tst-tlsmod13a.c: Likewise.
5482 * elf/tst-tlsmod14a.c: Likewise.
5483 * elf/tst-tlsmod16a.c: Likewise.
5484 * elf/tst-tlsmod16b.c: Likewise.
5485 * elf/tst-tlsmod2.c: Likewise.
5486 * elf/tst-tlsmod3.c: Likewise.
5487 * elf/tst-tlsmod4.c: Likewise.
5488 * elf/tst-tlsmod5.c: Likewise.
5489 * elf/tst-tlsmod6.c: Likewise.
5490
0bfcf2c7
OB
54912013-10-18 Ondřej Bílka <neleai@seznam.cz>
5492
5493 [BZ #12486]
5494 * malloc/malloc.c: remove checks for statistics.
5495
264aad1e
OB
54962013-10-17 Ondřej Bílka <neleai@seznam.cz>
5497
5498 [BZ #15277]
5499 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5500 * inet/tst-network.c: Add testcase.
5501
b957ced8
AS
55022013-10-17 Andreas Schwab <schwab@suse.de>
5503
5504 [BZ #15218]
5505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5506 to determine canonical name.
5507
c5d5d574
OB
55082013-10-17 Ondřej Bílka <neleai@seznam.cz>
5509
5510 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5511 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5534 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5535 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5540 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5568
e5c2c2d0
JM
55692013-10-17 Joseph Myers <joseph@codesourcery.com>
5570
5571 [BZ #16041]
5572 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5573 make result into a quiet NaN.
5574
51ca9e29
JM
55752013-10-16 Joseph Myers <joseph@codesourcery.com>
5576
5577 * soft-fp/adddf3.c: Fix horizontal whitespace.
5578 * soft-fp/addsf3.c: Likewise.
5579 * soft-fp/addtf3.c: Likewise.
5580 * soft-fp/divdf3.c: Likewise.
5581 * soft-fp/divsf3.c: Likewise.
5582 * soft-fp/divtf3.c: Likewise.
5583 * soft-fp/double.h: Likewise.
5584 * soft-fp/eqdf2.c: Likewise.
5585 * soft-fp/eqsf2.c: Likewise.
5586 * soft-fp/eqtf2.c: Likewise.
5587 * soft-fp/extenddftf2.c: Likewise.
5588 * soft-fp/extended.h: Likewise.
5589 * soft-fp/extendsfdf2.c: Likewise.
5590 * soft-fp/extendsftf2.c: Likewise.
5591 * soft-fp/extendxftf2.c: Likewise.
5592 * soft-fp/fixdfdi.c: Likewise.
5593 * soft-fp/fixdfsi.c: Likewise.
5594 * soft-fp/fixdfti.c: Likewise.
5595 * soft-fp/fixsfdi.c: Likewise.
5596 * soft-fp/fixsfsi.c: Likewise.
5597 * soft-fp/fixsfti.c: Likewise.
5598 * soft-fp/fixtfdi.c: Likewise.
5599 * soft-fp/fixtfsi.c: Likewise.
5600 * soft-fp/fixtfti.c: Likewise.
5601 * soft-fp/fixunsdfdi.c: Likewise.
5602 * soft-fp/fixunsdfsi.c: Likewise.
5603 * soft-fp/fixunsdfti.c: Likewise.
5604 * soft-fp/fixunssfdi.c: Likewise.
5605 * soft-fp/fixunssfsi.c: Likewise.
5606 * soft-fp/fixunssfti.c: Likewise.
5607 * soft-fp/fixunstfdi.c: Likewise.
5608 * soft-fp/fixunstfsi.c: Likewise.
5609 * soft-fp/fixunstfti.c: Likewise.
5610 * soft-fp/floatdidf.c: Likewise.
5611 * soft-fp/floatdisf.c: Likewise.
5612 * soft-fp/floatditf.c: Likewise.
5613 * soft-fp/floatsidf.c: Likewise.
5614 * soft-fp/floatsisf.c: Likewise.
5615 * soft-fp/floatsitf.c: Likewise.
5616 * soft-fp/floattidf.c: Likewise.
5617 * soft-fp/floattisf.c: Likewise.
5618 * soft-fp/floattitf.c: Likewise.
5619 * soft-fp/floatundidf.c: Likewise.
5620 * soft-fp/floatundisf.c: Likewise.
5621 * soft-fp/floatunditf.c: Likewise.
5622 * soft-fp/floatunsidf.c: Likewise.
5623 * soft-fp/floatunsisf.c: Likewise.
5624 * soft-fp/floatunsitf.c: Likewise.
5625 * soft-fp/floatuntidf.c: Likewise.
5626 * soft-fp/floatuntisf.c: Likewise.
5627 * soft-fp/floatuntitf.c: Likewise.
5628 * soft-fp/fmadf4.c: Likewise.
5629 * soft-fp/fmasf4.c: Likewise.
5630 * soft-fp/fmatf4.c: Likewise.
5631 * soft-fp/gedf2.c: Likewise.
5632 * soft-fp/gesf2.c: Likewise.
5633 * soft-fp/getf2.c: Likewise.
5634 * soft-fp/ledf2.c: Likewise.
5635 * soft-fp/lesf2.c: Likewise.
5636 * soft-fp/letf2.c: Likewise.
5637 * soft-fp/muldf3.c: Likewise.
5638 * soft-fp/mulsf3.c: Likewise.
5639 * soft-fp/multf3.c: Likewise.
5640 * soft-fp/negdf2.c: Likewise.
5641 * soft-fp/negsf2.c: Likewise.
5642 * soft-fp/negtf2.c: Likewise.
5643 * soft-fp/op-1.h: Likewise.
5644 * soft-fp/op-2.h: Likewise.
5645 * soft-fp/op-4.h: Likewise.
5646 * soft-fp/op-8.h: Likewise.
5647 * soft-fp/op-common.h: Likewise.
5648 * soft-fp/quad.h: Likewise.
5649 * soft-fp/single.h: Likewise.
5650 * soft-fp/soft-fp.h: Likewise.
5651 * soft-fp/sqrtdf2.c: Likewise.
5652 * soft-fp/sqrtsf2.c: Likewise.
5653 * soft-fp/sqrttf2.c: Likewise.
5654 * soft-fp/subdf3.c: Likewise.
5655 * soft-fp/subsf3.c: Likewise.
5656 * soft-fp/subtf3.c: Likewise.
5657 * soft-fp/truncdfsf2.c: Likewise.
5658 * soft-fp/trunctfdf2.c: Likewise.
5659 * soft-fp/trunctfsf2.c: Likewise.
5660 * soft-fp/trunctfxf2.c: Likewise.
5661 * soft-fp/unorddf2.c: Likewise.
5662 * soft-fp/unordsf2.c: Likewise.
5663 * soft-fp/unordtf2.c: Likewise.
5664
9ebb0332
JM
56652013-10-15 Joseph Myers <joseph@codesourcery.com>
5666
5667 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5668 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5669
4b1a6d8b
OB
56702013-10-15 Ondřej Bílka <neleai@seznam.cz>
5671
5672 * elf/dl-libc.c: Clear initfini list after freeing.
5673
1e145589
JM
56742013-10-14 Joseph Myers <joseph@codesourcery.com>
5675
5676 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5677 * soft-fp/addsf3.c: Likewise.
5678 * soft-fp/addtf3.c: Likewise.
5679 * soft-fp/divdf3.c: Likewise.
5680 * soft-fp/divsf3.c: Likewise.
5681 * soft-fp/divtf3.c: Likewise.
5682 * soft-fp/double.h: Likewise.
5683 * soft-fp/eqdf2.c: Likewise.
5684 * soft-fp/eqsf2.c: Likewise.
5685 * soft-fp/eqtf2.c: Likewise.
5686 * soft-fp/extenddftf2.c: Likewise.
5687 * soft-fp/extended.h: Likewise.
5688 * soft-fp/extendsfdf2.c: Likewise.
5689 * soft-fp/extendsftf2.c: Likewise.
5690 * soft-fp/extendxftf2.c: Likewise.
5691 * soft-fp/fixdfdi.c: Likewise.
5692 * soft-fp/fixdfsi.c: Likewise.
5693 * soft-fp/fixdfti.c: Likewise.
5694 * soft-fp/fixsfdi.c: Likewise.
5695 * soft-fp/fixsfsi.c: Likewise.
5696 * soft-fp/fixsfti.c: Likewise.
5697 * soft-fp/fixtfdi.c: Likewise.
5698 * soft-fp/fixtfsi.c: Likewise.
5699 * soft-fp/fixtfti.c: Likewise.
5700 * soft-fp/fixunsdfdi.c: Likewise.
5701 * soft-fp/fixunsdfsi.c: Likewise.
5702 * soft-fp/fixunsdfti.c: Likewise.
5703 * soft-fp/fixunssfdi.c: Likewise.
5704 * soft-fp/fixunssfsi.c: Likewise.
5705 * soft-fp/fixunssfti.c: Likewise.
5706 * soft-fp/fixunstfdi.c: Likewise.
5707 * soft-fp/fixunstfsi.c: Likewise.
5708 * soft-fp/fixunstfti.c: Likewise.
5709 * soft-fp/floatdidf.c: Likewise.
5710 * soft-fp/floatdisf.c: Likewise.
5711 * soft-fp/floatditf.c: Likewise.
5712 * soft-fp/floatsidf.c: Likewise.
5713 * soft-fp/floatsisf.c: Likewise.
5714 * soft-fp/floatsitf.c: Likewise.
5715 * soft-fp/floattidf.c: Likewise.
5716 * soft-fp/floattisf.c: Likewise.
5717 * soft-fp/floattitf.c: Likewise.
5718 * soft-fp/floatundidf.c: Likewise.
5719 * soft-fp/floatundisf.c: Likewise.
5720 * soft-fp/floatunsidf.c: Likewise.
5721 * soft-fp/floatunsisf.c: Likewise.
5722 * soft-fp/floatuntidf.c: Likewise.
5723 * soft-fp/floatuntisf.c: Likewise.
5724 * soft-fp/floatuntitf.c: Likewise.
5725 * soft-fp/fmadf4.c: Likewise.
5726 * soft-fp/fmasf4.c: Likewise.
5727 * soft-fp/fmatf4.c: Likewise.
5728 * soft-fp/gedf2.c: Likewise.
5729 * soft-fp/gesf2.c: Likewise.
5730 * soft-fp/getf2.c: Likewise.
5731 * soft-fp/ledf2.c: Likewise.
5732 * soft-fp/lesf2.c: Likewise.
5733 * soft-fp/letf2.c: Likewise.
5734 * soft-fp/muldf3.c: Likewise.
5735 * soft-fp/mulsf3.c: Likewise.
5736 * soft-fp/multf3.c: Likewise.
5737 * soft-fp/negdf2.c: Likewise.
5738 * soft-fp/negsf2.c: Likewise.
5739 * soft-fp/negtf2.c: Likewise.
5740 * soft-fp/op-1.h: Likewise.
5741 * soft-fp/op-2.h: Likewise.
5742 * soft-fp/op-4.h: Likewise.
5743 * soft-fp/op-8.h: Likewise.
5744 * soft-fp/op-common.h: Likewise.
5745 * soft-fp/quad.h: Likewise.
5746 * soft-fp/single.h: Likewise.
5747 * soft-fp/soft-fp.h: Likewise.
5748 * soft-fp/sqrtdf2.c: Likewise.
5749 * soft-fp/sqrtsf2.c: Likewise.
5750 * soft-fp/sqrttf2.c: Likewise.
5751 * soft-fp/subdf3.c: Likewise.
5752 * soft-fp/subsf3.c: Likewise.
5753 * soft-fp/subtf3.c: Likewise.
5754 * soft-fp/truncdfsf2.c: Likewise.
5755 * soft-fp/trunctfdf2.c: Likewise.
5756 * soft-fp/trunctfsf2.c: Likewise.
5757 * soft-fp/trunctfxf2.c: Likewise.
5758 * soft-fp/unorddf2.c: Likewise.
5759 * soft-fp/unordsf2.c: Likewise.
5760 * soft-fp/unordtf2.c: Likewise.
5761
17c48a60
OB
57622013-10-14 Ondřej Bílka <neleai@seznam.cz>
5763
5764 [BZ #15672]
5765 * misc/error.c (error_tail): Fix possible buffer overflow.
5766
cabba934
OB
57672013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5768
5769 [BZ #13028]
5770 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5771 address.
5772
94bf958a
PM
57732013-10-14 P. J. McDermott <pj@pehjota.net>
5774
5775 [BZ #832]
5776 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5777 testing pipefail option.
5778
71b4dea7
JM
57792013-10-12 Joseph Myers <joseph@codesourcery.com>
5780
5781 * soft-fp/double.h: Indent preprocessor directives inside #if.
5782 * soft-fp/extended.h: Likewise.
5783 * soft-fp/op-2.h: Likewise.
5784 * soft-fp/op-4.h: Likewise.
5785 * soft-fp/op-common.h: Likewise.
5786 * soft-fp/quad.h: Likewise.
5787 * soft-fp/single.h: Likewise.
5788 * soft-fp/soft-fp.h: Likewise.
5789
55602758
YC
57902013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5791
5792 * iconv/iconv_prog.c: Fix typos.
5793 * stdio-common/psiginfo-data.h: Likewise.
5794
9cd83302
RT
57952013-10-12 Reuben Thomas <rrt@sc3d.org>
5796
5797 [BZ #15764]
5798 * locale/setlocale.c: Fix typo.
5799
99fd9f47
JM
58002013-10-12 Joseph Myers <joseph@codesourcery.com>
5801
b7ea74f0
JM
5802 [BZ #16036]
5803 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5804 signaling NaN arguments.
5805 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5806 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5807
8a509447
JM
5808 [BZ #14910]
5809 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5810 unordered operands.
5811 * soft-fp/gesf2.c (__gesf2): Likewise.
5812 * soft-fp/getf2.c (__getf2): Likewise.
5813 * soft-fp/ledf2.c (__ledf2): Likewise.
5814 * soft-fp/lesf2.c (__lesf2): Likewise.
5815 * soft-fp/letf2.c (__letf2): Likewise.
5816
98998e9f
JM
5817 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5818 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5819 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5820 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5821 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5822 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5823 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5824 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5825 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5826 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5827 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5828 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5829 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5830 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5831 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5832 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5833 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5834 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5835 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5836 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5837 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5838 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5839 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5840 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5841 * soft-fp/floattidf.c (__floattidf): Likewise.
5842 * soft-fp/floattisf.c (__floattisf): Likewise.
5843 * soft-fp/floattitf.c (__floattitf): Likewise.
5844 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5845 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5846 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5847 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5848 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5849 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5850 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5851 * soft-fp/gesf2.c (__gesf2): Likewise.
5852 * soft-fp/getf2.c (__getf2): Likewise.
5853 * soft-fp/ledf2.c (__ledf2): Likewise.
5854 * soft-fp/lesf2.c (__lesf2): Likewise.
5855 * soft-fp/letf2.c (__letf2): Likewise.
5856
8edc4a11
JM
5857 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5858 Undefine and redefine.
5859 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5860 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5861 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5862 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5863 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5864 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5865 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5866 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5867 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5868 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5869 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5870 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5871 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5872 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5873 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5874
8399acaf
JM
5875 [BZ #16032]
5876 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5877 without decrementing exponent if mantissa >= that for the
5878 denominator, not >.
5879 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5880 denominator, not >. Decrement exponent in < case instead of
5881 incrementing in >= case.
5882 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5883 without decrementing exponent if mantissa >= that for the
5884 denominator, not >.
5885
99fd9f47
JM
5886 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5887 computing saturated result for unsigned overflow.
5888
10e1cf6b
SP
58892013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5890 Jeff Law <law@redhat.com>
5891
5892 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5893 (atan2Mp): Add systemtap probe marker.
5894 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5895 (__ieee754_log): Add systemtap probe marker.
5896 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5897 (atanMp): Add systemtap probe marker.
5898 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5899 (tanMp): Add systemtap probe marker.
5900 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5901 (__slowexp): Add systemtap probe marker.
5902 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5903 (__slowpow): Add systemtap probe marker.
5904 * manual/probes.texi: Document probes.
5905
3d110c7c
EB
59062013-10-11 Eric Biggers <ebiggers3@gmail.com>
5907
5908 [BZ #15362]
5909 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5910 written.
5911 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5912 written.
5913 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5914 written to buffer but not flushed.
5915 * libio/iofwrite_u.c: Likewise.
5916 * libio/iopadn.c: Return bytes returned even if EOF was
5917 encountered.
5918 * libio/iowpadn.c: Likewise.
5919 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5920 if _IO_padn does not write the whole buffer.
5921 [!COMPILE_WPRINTF] (PAD): Likewise.
5922
75b4202a
DM
59232013-10-10 David S. Miller <davem@davemloft.net>
5924
5925 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5926 directory block.
5927
6c6352e6
JM
59282013-10-10 Joseph Myers <joseph@codesourcery.com>
5929
33b853c3
JM
5930 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5931 instead of FSF address.
5932 * soft-fp/fixdfti.c: Likewise.
5933 * soft-fp/fixsfti.c: Likewise.
5934 * soft-fp/fixtfti.c: Likewise.
5935 * soft-fp/fixunsdfti.c: Likewise.
5936 * soft-fp/fixunssfti.c: Likewise.
5937 * soft-fp/fixunstfti.c: Likewise.
5938 * soft-fp/floattidf.c: Likewise.
5939 * soft-fp/floattisf.c: Likewise.
5940 * soft-fp/floattitf.c: Likewise.
5941 * soft-fp/floatuntidf.c: Likewise.
5942 * soft-fp/floatuntisf.c: Likewise.
5943 * soft-fp/floatuntitf.c: Likewise.
5944 * soft-fp/trunctfxf2.c: Likewise.
5945
6c6352e6
JM
5946 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5947 * soft-fp/fixdfti.c: Likewise.
5948 * soft-fp/fixsfti.c: Likewise.
5949 * soft-fp/fixtfti.c: Likewise.
5950 * soft-fp/fixunsdfti.c: Likewise.
5951 * soft-fp/fixunssfti.c: Likewise.
5952 * soft-fp/fixunstfti.c: Likewise.
5953 * soft-fp/floattidf.c: Likewise.
5954 * soft-fp/floattisf.c: Likewise.
5955 * soft-fp/floattitf.c: Likewise.
5956 * soft-fp/floatuntidf.c: Likewise.
5957 * soft-fp/floatuntisf.c: Likewise.
5958 * soft-fp/floatuntitf.c: Likewise.
5959 * soft-fp/trunctfxf2.c: Likewise.
5960
3bf78b71
DM
59612013-10-10 David S. Miller <davem@davemloft.net>
5962
5963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5964
6f10289e
JM
59652013-10-10 Joseph Myers <joseph@codsourcery.com>
5966
bd878fc0
JM
5967 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5968 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5969 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5974
6f10289e
JM
5975 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5976 for NaNs before doing comparisons on argument.
5977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5978 Likewise.
5979
321e2684
WN
59802013-10-10 Will Newton <will.newton@linaro.org>
5981
5982 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5983 passed to _int_memalign does not overflow.
5984
40fefba1
TR
59852013-10-10 Torvald Riegel <triegel@redhat.com>
5986
5987 * scripts/bench.pl: Add include-sources directive.
5988 * benchtests/README: Update documentation.
5989
2ae21ed2
JM
59902013-10-10 Joseph Myers <joseph@codesourcery.com>
5991
dcc2dd3f
JM
5992 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5993 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5994 instead of FP_INIT_ROUNDMODE.
5995 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5996 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5997
2ae21ed2
JM
5998 [BZ #16034]
5999 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6000 copy class of input value.
6001 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6002 not handle exceptions.
6003 * soft-fp/negsf2.c (__negsf2): Likewise.
6004 * soft-fp/negtf2.c (__negtf2): Likewise.
6005 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6006
cb8f9562
JM
60072013-10-09 Joseph Myers <joseph@codesourcery.com>
6008
6009 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6010 semicolon. From Linux kernel.
6011
5b60c59d
AB
60122013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6013
6014 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6015
b86835ca
YC
60162013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6017
6018 [BZ #156]
6019 * manual/socket.texi: Added statement about buffer
6020 for gethostbyname2_r.
6021
e7044ea7
OB
60222013-10-08 Ondřej Bílka <neleai@seznam.cz>
6023
6024 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6025 Use .p2align directive instead, throughout.
6026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6027 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6028 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6030 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6031 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6032 * sysdeps/x86_64/strchr.S: Likewise.
6033 * sysdeps/x86_64/strrchr.S: Likewise.
6034
09544cbc
SP
60352013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6036
88576635
SP
6037 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6038
e7b2d1dd
SP
6039 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6040
09544cbc
SP
6041 * sysdeps/generic/math_private.h (__mpsin1): Remove
6042 declaration.
6043 (__mpcos1): Likewise.
6044 (__mpsin): New argument __range_reduce.
6045 (__mpcos): Likewise.
6046 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6047 (slow): Use __mpsin and __mpcos.
6048 (slow1): Likewise.
6049 (slow2): Likewise.
6050 (sloww): Likewise.
6051 (sloww1): Likewise.
6052 (sloww2): Likewise.
6053 (bsloww): Likewise.
6054 (bsloww1): Likewise.
6055 (bsloww2): Likewise.
6056 (cslow2): Likewise.
6057 (csloww): Likewise.
6058 (csloww1): Likewise.
6059 (csloww2): Likewise.
6060 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6061 range_reduce. Merge in __mpsin1.
6062 (__mpcos): Likewise.
6063 (__mpsin1): Remove.
6064 (__mpcos1): Likewise.
6065
7602d070
JM
60662013-10-07 Joseph Myers <joseph@codesourcery.com>
6067
6068 * locale/loadlocale.c (_nl_intern_locale_data): Use
6069 LOCFILE_ALIGNED_P.
6070 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6071 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6072 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6073 obstack data is appropriately aligned.
6074 (obstack_int32_grow_fast): Likewise.
6075 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6076 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6077 (add_locale_uint32_array): Likewise.
6078
a357259b
SP
60792013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6080
6081 * benchtests/Makefile: Remove ARGLIST and RET variables.
6082 ($(objpfx)bench-%.c): Pass only function name to the script.
6083 * benchtests/README: Update documentation.
6084 * benchtests/acos-inputs: Add new directives.
6085 * benchtests/acosh-inputs: Likewise.
6086 * benchtests/asin-inputs: Likewise.
6087 * benchtests/asinh-inputs: Likewise.
6088 * benchtests/atan-inputs: Likewise.
6089 * benchtests/atanh-inputs: Likewise.
6090 * benchtests/cos-inputs: Likewise.
6091 * benchtests/cosh-inputs: Likewise.
6092 * benchtests/exp-inputs: Likewise.
6093 * benchtests/log-inputs: Likewise.
6094 * benchtests/pow-inputs: Likewise.
6095 * benchtests/rint-inputs: Likewise.
6096 * benchtests/sin-inputs: Likewise.
6097 * benchtests/sinh-inputs: Likewise.
6098 * benchtests/tan-inputs: Likewise.
6099 * benchtests/tanh-inputs: Likewise.
6100 * scripts/bench.pl: Add support for new directives.
6101
9ec1b13d
AM
61022013-10-07 Alan Modra <amodra@gmail.com>
6103
6104 * README: Fix careless merge.
6105
8b7d57cd
AM
61062013-10-05 Alan Modra <amodra@gmail.com>
6107
6108 * NEWS: Mention powerpc64le support and bugs fixed.
6109 * README: Both big-endian and little-endian powerpc64 supported.
6110
7b7bab13
ST
61112013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6112
6113 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6114 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6115 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6116 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6117
d39baad1
RA
61182013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6119
6120 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6121 match prototype.
6122
cd78f7e7
JM
61232013-10-04 Joseph Myers <joseph@codesourcery.com>
6124
29d73d86
JM
6125 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6126 Move -mhard-float appending from
6127 ports/sysdeps/powerpc/powerpc32/Makefile.
6128 [$(with-fp) = yes] (ASFLAGS): Likewise.
6129 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6130 * sysdeps/powerpc/nofpu: Move directory from
6131 ports/sysdeps/powerpc/nofpu.
6132 * sysdeps/powerpc/soft-fp: Move directory from
6133 ports/sysdeps/powerpc/soft-fp.
6134 * sysdeps/powerpc/powerpc32/405: Move directory from
6135 ports/sysdeps/powerpc/powerpc32/405.
6136 * sysdeps/powerpc/powerpc32/440: Move directory from
6137 ports/sysdeps/powerpc/powerpc32/440.
6138 * sysdeps/powerpc/powerpc32/464: Move directory from
6139 ports/sysdeps/powerpc/powerpc32/464.
6140 * sysdeps/powerpc/powerpc32/476: Move directory from
6141 ports/sysdeps/powerpc/powerpc32/476.
6142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6143 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6147 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6149 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6151 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6152 * README: Update for powerpc-*-linux-gnu software floating point
6153 support in libc.
6154
e246b347
JM
6155 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6156 case to powerpc/powerpc32*.
6157 * sysdeps/unix/sysv/linux/configure: Regenerated.
6158
89c2003e
JM
6159 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6160 (_FPU_MASK_OM): Define as 0x04.
6161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6163 0x00c10080.
6164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6165 0x0000003c.
6166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6167
cd78f7e7
JM
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6169 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6170 getcontext_e500.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6172 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6173 setcontext_e500.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6175 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6176 and setcontext_e500.
6177
c755294d
CL
61782013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6179
6180 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6181
e16d221c
SP
61822013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6183
6184 * manual/threads.texi (Default Thread Attributes): Fix typo.
6185
215c7d43
WN
61862013-10-04 Will Newton <will.newton@linaro.org>
6187
6188 * malloc/Makefile: Add tst-memalign.
6189 * malloc/tst-memalign.c: New file.
6190
27d0461b
WN
6191 * malloc/tst-posix_memalign.c: Add comments.
6192 (do_test): Add comments and call free on all potentially
6193 allocated pointers. Add space after cast.
6194
1bc92709
WN
6195 * malloc/tst-pvalloc.c: Add comments.
6196 (do_test): Add comments and call free on all potentially
6197 allocated pointers. Remove duplicate check for NULL pointer.
6198 Add space after cast.
6199
66a9be9d
WN
6200 * malloc/tst-valloc.c: Add comments.
6201 (do_test): Add comments and call free on all potentially
6202 allocated pointers. Remove duplicate check for NULL pointer.
6203 Add space after cast.
6204
4cb81307
AM
62052013-10-04 Alan Modra <amodra@gmail.com>
6206
6207 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6208 Use stdint types in rather than __attribute__((mode())).
6209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6210
f8e3e9f3
AM
62112013-10-04 Alan Modra <amodra@gmail.com>
6212
6213 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6214 Correct handling of unaligned relocs for little-endian.
6215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6216
8f9ebb08
AM
62172013-10-04 Alan Modra <amodra@gmail.com>
6218
6219 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6220 * configure: Regenerate.
6221 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6222 * shlib-versions: Likewise.
6223
0edf96c2
AM
62242013-10-04 Alan Modra <amodra@gmail.com>
6225
6226 * string/tester.c (test_memrchr): Increment reported test cycle.
6227
e0f7a380
AM
62282013-10-04 Alan Modra <amodra@gmail.com>
6229
6230 * string/test-memcpy.c (do_one_test): When reporting errors, print
6231 string address and don't overrun end of string.
6232
466b0393
AM
62332013-10-04 Alan Modra <amodra@gmail.com>
6234
6235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6236 insrdi. Make better use of reg selection to speed exit slightly.
6237 Schedule entry path a little better. Remove useless "are we done"
6238 checks on entry to main loop. Handle wrapping around zero address.
6239 Correct main loop count. Handle single left-over word from main
6240 loop inline rather than by using loop_small. Remove extra word
6241 case in loop_small caused by wrong loop count. Add little-endian
6242 support.
6243 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6245 cache hint.
6246 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6247 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6248 support. Avoid rlwimi.
6249 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6250
3be87c77
AM
62512013-10-04 Alan Modra <amodra@gmail.com>
6252
6253 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6254 insrdi. Formatting.
3be87c77
AM
6255 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6256 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6257 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6258 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6259 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6260 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6261
759cfef3
AM
62622013-10-04 Alan Modra <amodra@gmail.com>
6263
6264 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6265 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6266 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6267 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6268 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6269 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6270 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6271 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6272 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6273 use of regs. Use power7 mtocrf. Tidy function tails.
6274
fe6e95d7
AM
62752013-10-04 Alan Modra <amodra@gmail.com>
6276
6277 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6278 Formatting. Consistently use rXXX register defines or rN defines.
6279 Use early exit labels that avoid restoring unused non-volatile regs.
6280 Make cr field use more consistent with rWORDn compares. Rename
6281 regs used as shift registers for unaligned loop, using rN defines
6282 for short lifetime/multiple use regs.
6283 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6285 addi 1,1,64 to pop stack frame. Simplify return value code.
6286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6287
664318c3
AM
62882013-10-04 Alan Modra <amodra@gmail.com>
6289
6290 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6291 support. Correct typos, formatting. Optimize tail. Use insrdi
6292 rather than rlwimi.
6293 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6295 little-endian support. Correct typos.
6296 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6297 rather than rlwimi.
6298 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6299 in loop and entry code to keep "and." results.
6300 (strchr): Add little-endian support. Comment. Move cntlzd
6301 earlier in tail.
6302 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6303
43b84013
AM
63042013-10-04 Alan Modra <amodra@gmail.com>
6305
6306 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6307 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6308 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6309 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6310
8a7413f9
AM
63112013-10-04 Alan Modra <amodra@gmail.com>
6312
6313 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6314 (rTMP): Define as r11.
6315 (strcmp): Add little-endian support. Optimise tail.
6316 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6317 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6318 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6319 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6320 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6321 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6323
33ee81de
AM
63242013-10-04 Alan Modra <amodra@gmail.com>
6325
6326 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6327 little-endian support. Remove unnecessary "are we done" tests.
6328 Handle "s" wrapping around zero and extremely large "size".
6329 Correct main loop count. Handle single left-over word from main
6330 loop inline rather than by using small_loop. Correct comments.
6331 Delete "zero" tail, use "end_max" instead.
6332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6333
db9b4570
AM
63342013-10-04 Alan Modra <amodra@gmail.com>
6335
6336 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6337 support. Don't branch over align.
6338 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6339 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6340 support. Rearrange tmp reg use to suit. Comment.
6341 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6342
f7c399cf
AM
63432013-10-04 Alan Modra <amodra@gmail.com>
6344
6345 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6346
0b2c2ace
AM
63472013-10-04 Alan Modra <amodra@gmail.com>
6348
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6350 conditional form of branch and link when obtaining pc.
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6352
02f04a6c
AM
63532013-10-04 Alan Modra <amodra@gmail.com>
6354
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6356 HIWORD/LOWORD.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6359
9b874b2f
AM
63602013-10-04 Alan Modra <amodra@gmail.com>
6361
6362 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6363 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6364 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6365 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6366 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6367 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6368 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6369 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6370 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6371 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6372
be1e5d31
AB
63732013-10-04 Anton Blanchard <anton@au1.ibm.com>
6374 Alistair Popple <alistair@ozlabs.au.ibm.com>
6375 Alan Modra <amodra@gmail.com>
6376
6377 [BZ #15723]
6378 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6379 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6380 _dl_hwcap access for little-endian.
6381 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6382 destroy vmx regs when saving unaligned.
6383 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6384 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6385 destroy vmx regs when saving unaligned.
6386
fef13a78
AM
63872013-10-04 Alan Modra <amodra@gmail.com>
6388
6389 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6390 Don't use a union to pack hi/low value.
6391
76a66d51
AB
63922013-10-04 Anton Blanchard <anton@au1.ibm.com>
6393
6394 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6395 for little-endian.
6396 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6397 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6398 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6399 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6400 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6401
6a31fe7f
AM
64022013-10-04 Alan Modra <amodra@gmail.com>
6403
6404 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6405 constants to usual value for .cst8 section, and remove redundant
6406 high address load.
6407 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6408 constant for 0x1p52. Load little-endian words of double from
6409 correct stack offsets.
6410
7b88401f
AM
64112013-10-04 Alan Modra <amodra@gmail.com>
6412
6413 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6414 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6415 words of double from correct stack offsets.
6416 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6417 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6418 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6422 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6423 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6424 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6428 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6429 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6430 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6431 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6432 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6433
9c008155
AM
64342013-10-04 Alan Modra <amodra@gmail.com>
6435
6436 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6437 64-bit int/double union.
6438 (_FPU_SETCW): Likewise.
6439 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6440 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6441
da13146d
AM
64422013-10-04 Alan Modra <amodra@gmail.com>
6443
6444 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6445 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6446
603e8410
AM
64472013-10-04 Alan Modra <amodra@gmail.com>
6448
6449 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6450 use vector int constants.
6451 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6452
4a28b3ca
AB
64532013-10-04 Anton Blanchard <anton@au1.ibm.com>
6454
6455 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6456 array with long long.
6457 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6458 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6459 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6460 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6461 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6462 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6463 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6464 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6465 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6466 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6467 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6468 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6469 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6470
2ca85d2b
AB
64712013-10-04 Anton Blanchard <anton@au1.ibm.com>
6472
6473 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6474 (__signbit): Likewise. Correct for little-endian.
6475 (__signbitl): Call __signbit.
6476 (lrint): Correct for little-endian.
6477 (lrintf): Call lrint.
6478
62a728ae
AM
64792013-10-04 Alan Modra <amodra@gmail.com>
6480
6481 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6482 union 32-bit int array member with 64-bit int array.
6483 (t515, tm256): Double rather than long double.
6484 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6485
32c301df
AM
64862013-10-04 Alan Modra <amodra@gmail.com>
6487
6488 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6489 Delete.
6490 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6492 version of math_ldbl.h.
6493
650ef4bd
AM
64942013-10-04 Alan Modra <amodra@gmail.com>
6495
6496 [BZ #15734], [BZ #15735]
6497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6498 all uses of ieee875 long double macros and unions. Simplify test
6499 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6500 ldbl_extract_mantissa value for ix,iy exponents. Properly
6501 normalize after ldbl_extract_mantissa, and don't add hidden bit
6502 already handled. Don't treat low word of ieee854 mantissa like
6503 low word of IBM long double and mask off bit when testing for
6504 zero.
6505 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6506 all uses of ieee875 long double macros and unions. Simplify tests
6507 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6508 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6509 two1022, instead use their values. Recognise that tests for large
6510 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6511 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6512 Rewrite all uses of ieee875 long double macros and unions. Simplify
6513 test for 0.0L and nan. Correct negation.
6514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6515 ieee875 long double macros and unions. Correct output for large
6516 magnitude x. Correct absolute value calculation.
6517 (__erfcl): Likewise.
6518 * math/libm-test.inc: Add tests for errors discovered in IBM long
6519 double versions of fmodl, remainderl, erfl and erfcl.
6520
765714ca
AM
65212013-10-04 Alan Modra <amodra@gmail.com>
6522
6523 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6524 all uses of ieee854 long double macros and unions. Simplify tests
6525 for long doubles that are fully specified by the high double.
6526 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6527 Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6529 Remove dead code too.
6530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6531 (__ieee754_ynl): Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6535 Remove dead code too.
6536 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6540 Simplify.
6541 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6542 Simplify.
6543 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6546 Comment on variable precision.
6547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6548 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6549 Likewise.
6550 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6554 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6555
4ebd120c
AM
65562013-10-04 Alan Modra <amodra@gmail.com>
6557
6558 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6559 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6560 all uses of ieee854 long double macros and unions.
6561 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6567 Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6574 Simplify sign and nan test too.
6575 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6579 Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6582 Likewise.
6583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6584 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6589
1b6adf88
AM
65902013-10-04 Alan Modra <amodra@gmail.com>
6591
6592 * stdio-common/printf_size.c (__printf_size): Don't use
6593 union ieee854_long_double in fpnum union.
6594 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6595 signbit macro to retrieve sign from long double.
6596 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6597 retrieve sign from long double.
6598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6599 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6600 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6601 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6602 * math/test-misc.c (main): Don't use union ieee854_long_double.
6603
4cf69995
AM
66042013-10-04 Alan Modra <amodra@gmail.com>
6605
6606 [BZ #15680]
6607 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6608 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6609 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6610 calculation. Remove unnecessary test for denormal exponent.
6611 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6612 Correct handling of denormals. Avoid undefined shift behaviour.
6613 Correct normalisation of low mantissa when low double is denormal.
6614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6615 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6616 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6617 Correct normalisation of low mantissa. Test for overflow of high
6618 mantissa and normalise.
6619 (ldbl_nearbyint): Use more readable constant for two52.
6620 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6621 (__mpn_construct_long_double): Fix test for overflow of high
6622 mantissa and correct normalisation. Avoid undefined shift.
6623
9605ca6c
AM
66242013-10-04 Alan Modra <amodra@gmail.com>
6625
6626 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6627 (union ibm_extended_long_double): Define as an array of ieee754_double.
6628 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6629 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6630 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6631 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6639
975569d0
JM
66402013-10-03 Joseph Myers <joseph@codesourcery.com>
6641
d3d23756
JM
6642 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6643 page size instead of calling getpagesize.
6644
975569d0
JM
6645 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6646 (LOCFILE_ALIGN_MASK): Likewise.
6647 (LOCFILE_ALIGN_UP): Likewise.
6648 (LOCFILE_ALIGNED_P): Likewise.
6649 * locale/programs/ld-collate.c (collate_output): Use the new
6650 macros instead of __alignof__ (int32_t).
6651 * locale/weight.h (findidx): Likewise.
6652
b1fe1f2b
OB
66532013-10-03 Ondřej Bílka <neleai@seznam.cz>
6654
6655 [BZ #431]
6656 * manual/string.texi: Fix strncat and wcsncat.
6657
5f855e35
BM
66582013-10-03 Brooks Moses <bmoses@google.com>
6659
6660 [BZ #15915]
6661 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6662 * Makerules: ...here, and adjust associated comments.
6663
3cef6009
WN
66642013-10-02 Will Newton <will.newton@linaro.org>
6665
6666 * malloc/Makefile: Add tst-pvalloc.
6667 * malloc/tst-pvalloc.c: New file.
6668
7815420b
WN
66692013-10-02 Will Newton <will.newton@linaro.org>
6670
6671 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6672 improve test coverage.
6673
4868b204
WN
66742013-10-02 Will Newton <will.newton@linaro.org>
6675
6676 * malloc/Makefile: Add tst-posix_memalign.
6677 * malloc/tst-posix_memalign.c: New file.
6678
29c793b3
EB
66792013-10-01 Eric Blake <eblake@redhat.com>
6680
6681 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6682 Use __THROWNL rather than __THROW on static functions.
6683
fd967522
PM
66842013-09-30 Petr Machata <pmachata@redhat.com>
6685
6686 * elf/elf.h (R_AARCH64_ABS16): New macro.
6687 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6688 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6689 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6690 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6691 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6692 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6693 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6694 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6695 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6696 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6697 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6698 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6699 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6700 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6701 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6702 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6703 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6704 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6705 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6706 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6707 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6708 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6709 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6710 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6711 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6712 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6713 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6714 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6715 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6716 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6717 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6718 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6719 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6720 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6721 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6722 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6723 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6724 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6725 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6726 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6727 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6728 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6729 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6730 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6731 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6732 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6733 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6734 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6735 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6736 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6737 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6738 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6739 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6740 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6741 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6742 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6743 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6744 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6745 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6746 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6747 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6748 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6749 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6750 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6751 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6752 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6753 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6754 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6755 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6756 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6757 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6758 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6759 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6760 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6761 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6762 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6763 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6764 (R_AARCH64_TLSDESC_LDR): Likewise.
6765 (R_AARCH64_TLSDESC_ADD): Likewise.
6766 (R_AARCH64_TLSDESC_CALL): Likewise.
6767
b2179107
AS
67682013-09-30 Andreas Schwab <schwab@suse.de>
6769
6770 [BZ #15048]
6771 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6772 the nss database lookup.
6773 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6775
47f28d0a
MF
67762013-09-28 Mike Frysinger <vapier@gentoo.org>
6777
6778 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6779
67802013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6781
6782 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6783 ${Bash-specific parameter/pattern/string} parameter expansion.
6784 * sysdeps/unix/make-syscalls.sh: Likewise.
6785
f4518a17
KK
67862013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6787
6788 * sysdeps/sh/stackguard-macros.h: New file.
6789
dc1a95c7
OB
67902013-09-26 Ondřej Bílka <neleai@seznam.cz>
6791
6792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6794 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6795 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6796 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6797 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6798
5ebbff8f
AZ
67992013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6800
6801 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6802 Fix thread ID register.
6803
4fd2cf9f
JM
68042013-09-25 Joseph Myers <joseph@codesourcery.com>
6805
6806 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6807 [POSIX || UNIX98]: Require rather than permitting all symbols from
6808 <time.h>.
6809 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6810 element of struct sched_param.
6811 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6812 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6813 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6814 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6815 constant.
6816
12c22bc4
OL
68172013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6818
6819 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6820 argument calculation.
6821
a03d8ea7
JM
68222013-09-24 Joseph Myers <joseph@codesourcery.com>
6823
6824 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6825 Expect macro.
6826 [POSIX] (pthread_attr_t): Do not require type.
6827 [POSIX] (pthread_cond_t): Likewise.
6828 [POSIX] (pthread_condattr_t): Likewise.
6829 [POSIX] (pthread_key_t): Likewise.
6830 [POSIX] (pthread_mutex_t): Likewise.
6831 [POSIX] (pthread_mutexattr_t): Likewise.
6832 [POSIX] (pthread_once_t): Likewise.
6833 [POSIX] (pthread_t): Likewise.
6834 [POSIX-based standards] (pthread_atfork): Expect function.
6835
6055173a
JM
68362013-09-24 Joseph Myers <joseph@codesourcery.com>
6837 Richard Sandiford <richard@codesourcery.com>
6838
6839 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6840 (swap_endianness_p): New extern variable.
6841 (set_big_endian): New inline function.
6842 (maybe_swap_uint32): Likewise.
6843 (maybe_swap_uint32_array): Likewise.
6844 (maybe_swap_uint32_obstack): Likewise.
6845 * locale/programs/locfile.c: Include <stdbool.h>.
6846 (swap_endianness_p): New variable.
6847 (add_locale_uint32): Call maybe_swap_uint32.
6848 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6849 (write_locale_data): Call maybe_swap_uint32_array.
6850 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6851 maybe_swap_uint32.
6852 (obstack_int32_grow_fast): Likewise.
6853 (output_weightwc): Call maybe_swap_uint32_obstack.
6854 (collate_output): Likewise.
6855 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6856 (OPT_LITTLE_ENDIAN): Likewise.
6857 (options): Add --little-endian and --big-endian options.
6858 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6859 * locale/programs/locarchive.c: Include "locfile.h".
6860 (GET): New macro.
6861 (SET): Likewise.
6862 (INC): Likewise.
6863 (create_archive): Use the new macros to access fields of
6864 structures directly mapped from or written to locale archives.
6865 (oldlocrecentcmp): Likewise.
6866 (enlarge_archive): Likewise.
6867 (insert_name): Likewise.
6868 (add_alias): Likewise.
6869 (add_locale): Likewise.
6870 (delete_locales_from_archive): Likewise.
6871 (show_archive_content): Likewise.
6872 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6873 locale data.
6874
39bf0bb4
RM
68752013-09-24 Roland McGrath <roland@hack.frob.com>
6876
6877 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6878 http://www.gnu.org/doc/freemanuals.texi.
6879 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6880
f02eed10
WN
68812013-09-24 Will Newton <will.newton@linaro.org>
6882
6883 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6884 macro.
6885
a3a6c312
JM
68862013-09-23 Joseph Myers <joseph@codesourcery.com>
6887
6888 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6889 unsigned char.
6890
107375ac
MR
68912013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6892
6893 * manual/threads.texi (POSIX Threads): Fix a typo.
6894
141f3a77
SP
68952013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6896
303e567a
SP
6897 [BZ #14547]
6898 * string/tst-strcoll-overflow.c: New test case.
6899 * string/Makefile (xtests): Add tst-strcoll-overflow.
6900 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6901 cache if string sizes may cause integer overflow.
6902
141f3a77
SP
6903 [BZ #14547]
6904 * string/strcoll_l.c (coll_seq): New members rule, idx,
6905 save_idx and back_us.
6906 (get_next_seq_nocache): New function.
6907 (do_compare_nocache): New function.
6908 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6909 when malloc fails.
6910
c61b4d41
CD
69112013-09-23 Carlos O'Donell <carlos@redhat.com>
6912
0b1f8e35
CD
6913 [BZ #15754]
6914 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6915 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6916 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6917
c61b4d41
CD
6918 [BZ #15754]
6919 * elf/Makefile (tests): Add tst-ptrguard1.
6920 (tests-static): Add tst-ptrguard1-static.
6921 (tst-ptrguard1-ARGS): Define.
6922 (tst-ptrguard1-static-ARGS): Define.
6923 * elf/tst-ptrguard1.c: New file.
6924 * elf/tst-ptrguard1-static.c: New file.
6925 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6926 * sysdeps/i386/stackguard-macros.h: Likewise.
6927 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6928 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6929 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6930 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6931 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6932 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6933
69342013-09-23 Hector Marco <hecmargi@upv.es>
6935 Ismael Ripoll <iripoll@disca.upv.es>
6936 Carlos O'Donell <carlos@redhat.com>
6937
6938 [BZ #15754]
6939 * sysdeps/generic/stackguard-macros.h: Define
6940 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6941 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6942 Define __pointer_chk_guard_local.
6943 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6944 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6945
f5f4e7b4
VV
69462013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6947
6948 [BZ #15859]
6949 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6950
5bb43a43
AS
69512013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6952
6953 * include/string.h (__ffs): Declare as hidden.
6954 * string/ffs.c (__ffs): Define as hidden.
6955 * sysdeps/i386/ffs.c (__ffs): Likewise.
6956 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6957 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6958 * sysdeps/s390/ffs.c (__ffs): Likewise.
6959 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6960
3ea5be54
AO
69612013-09-20 Alexandre Oliva <aoliva@redhat.com>
6962
ffb89e53
AO
6963 * NEWS: Mention malloc probes.
6964
322dea08
AO
6965 * malloc/arena.c (new_heap): New memory_heap_new probe.
6966 (grow_heap): New memory_heap_more probe.
6967 (shrink_heap): New memory_heap_less probe.
6968 (heap_trim): New memory_heap_free probe.
6969 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6970 (systrim): New memory_sbrk_less probe.
6971 * manual/probes.texi: Document them.
6972
655673f3
AO
6973 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6974 * manual/probes.texi: Document it.
6975
35fed6f1
AO
6976 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6977 (__libc_realloc): Add memory_realloc_retry probe.
6978 (__libc_memalign): Add memory_memalign_retry probe.
6979 (__libc_valloc): Add memory_valloc_retry probe.
6980 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6981 (__libc_calloc): Add memory_calloc_retry probe.
6982 * manual/probes.texi: Document them.
6983
6999d38c
AO
6984 * malloc/arena.c (get_free_list): Add probe
6985 memory_arena_reuse_free_list.
6986 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6987 and memory_arena_reuse.
6988 (arena_get2) [!PER_THREAD]: Likewise.
6989 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6990 memory_arena_reuse_realloc.
6991 * manual/probes.texi: Document them.
6992
0653427f
AO
6993 * malloc/malloc.c (__libc_free): Add
6994 memory_mallopt_free_dyn_thresholds probe.
6995 (__libc_mallopt): Add multiple memory_mallopt probes.
6996 * manual/probes.texi: Document them.
6997
3ea5be54
AO
6998 * malloc/malloc.c: Include stap-probe.h.
6999 (__libc_mallopt): Add memory_mallopt probe.
7000 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7001 * manual/probes.texi: New.
7002 * manual/Makefile (chapters): Add probes.
7003 * manual/threads.texi: Set next node.
7004
e35696c3 70052013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7006
e35696c3
CL
7007 [BZ #15963, #13985]
7008 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7009 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7010 Add `Chinese' to `nan' entry name.
7011
4aafb73c
SP
70122013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7013
7014 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7015 (POLYNOMIAL): Likewise.
7016 (TAYLOR_SINCOS): Likewise.
7017 (TAYLOR_SLOW): Likewise.
7018 (__sin): Use TAYLOR_SINCOS.
7019 (__cos): Likewise.
7020 (slow): Use TAYLOR_SLOW.
7021 (sloww): Likewise.
7022 (bsloww): Likewise.
7023 (csloww): Likewise.
7024
d84f25c7
LD
70252013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7026
7027 * stdlib/strtod_l.c: Fix buffer overrun.
7028
5eea0404
SP
70292013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7849ff93
SP
7031 * benchtests/Makefile (bench): Add sincos.
7032 * benchtests/bench-sincos.c: New file.
7033
cfa3c886
SP
7034 * math/libm-test.inc (cos_test_data): New test inputs.
7035 (sin_test_data): Likewise.
7036
b348e1e3
SP
7037 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7038 macro.
7039 (__sin): Use it.
7040 (__cos): Likewise.
7041 (slow1): Likewise.
7042 (slow2): Likewise.
7043 (sloww1): Likewise.
7044 (sloww2): Likewise.
7045 (bsloww1): Likewise.
7046 (bsloww2): Likewise.
7047 (cslow2): Likewise.
7048 (csloww1): Likewise.
7049 (csloww2): Likewise.
7050
6cce25f8
SP
7051 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7052 function.
7053 (__sin): Use it.
7054 (__cos): Likewise.
7055
5eea0404
SP
7056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7057 gotos.
7058 (__cos): Likewise.
7059
9c21573c
MR
70602013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7061
7062 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7063 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7064 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7065 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7066 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7067 * elf/cache.c (print_entry): Handle the new cache flags.
7068
24d22e65
JM
70692013-09-18 Joseph Myers <joseph@codesourcery.com>
7070 Aldy Hernandez <aldyh@redhat.com>
7071
7072 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7073 Change condition to [_SOFT_FLOAT].
7074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7086 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7089 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7090 declaration.
7091
d13ef066
JM
70922013-09-18 Joseph Myers <joseph@codesourcery.com>
7093
2e071de0
JM
7094 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7095 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7096 (__longjmp): Use LOAD_GP to load saved GPRs.
7097 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7098 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7099 (__sigsetjmp): Use SAVE_GP to save GPRs.
7100
d13ef066
JM
7101 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7102 Do not append -msoft-float.
7103 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7104
97a0650b
SP
71052013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7106
7107 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7108
11ca09e9
JM
71092013-09-17 Joseph Myers <joseph@codesourcery.com>
7110
7111 [BZ #15966]
7112 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7113 (_FPU_GETCW): Use initial "__" on variable and field names but not
7114 on macro parameter name.
7115 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7116 parentheses around reference to macro parameter.
7117
08ffcf34
RS
71182013-09-13 Richard Sandiford <richard@codesourcery.com>
7119
7120 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7121 prototype.
7122 (ctype_startup): Use uint32_t in cast and sizeof for
7123 ctype->charnames.
7124
ae7080d3
JL
71252013-09-11 Jia Liu <proljc@gmail.com>
7126
7127 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7128 __daddr_t_defined.
7129 [__FreeBSD__]: Likewise.
7130
5905e7b3
OB
71312013-09-11 Ondřej Bílka <neleai@seznam.cz>
7132
7133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7134 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7135 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7136 (strchr): Remove __strchr_sse42 ifunc selection.
7137 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7138 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7139
b987c776
WN
71402013-09-11 Will Newton <will.newton@linaro.org>
7141
7142 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7143 parameter to RES. Remove hardcoded 1000 value.
7144 * benchtests/bench-skeleton.c (main): Pass RES parameter
7145 to TIMING_INIT and multiply result by 1000.
7146
ddf985af
AZ
71472013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148
7149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7150
ffdd3181
AS
71512013-09-11 Andreas Schwab <schwab@suse.de>
7152
7153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7154 if not defined.
7155 (O_TMPFILE) [__USE_GNU]: Define.
7156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7157 Define.
7158
b73ed247
WN
71592013-09-11 Will Newton <will.newton@linaro.org>
7160
7161 [BZ #15857]
7162 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7163 does not overflow.
7164
55e17aad
WN
71652013-09-11 Will Newton <will.newton@linaro.org>
7166
7167 [BZ #15856]
7168 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7169 does not overflow.
7170
1159a193
WN
71712013-09-11 Will Newton <will.newton@linaro.org>
7172
7173 [BZ #15855]
7174 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7175 does not overflow.
7176
5905e7b3 71772013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7178
7179 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7180 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7181 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7182 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7183 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7184
cdfc721b
AM
71852013-09-10 Allan McRae <allan@archlinux.org>
7186
aa04af00
AM
7187 [BZ #15748]
7188 * manual/arith.texi (Parsing of Floats): Clarify
7189 cross-reference.
7190
cdfc721b
AM
7191 [BZ #15849]
7192 * manual/install.texi (Running make install): Mention
7193 --enable-pt-chown.
7194 * INSTALL: Regenerated.
7195
95e7cf29
MR
71962013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7197
7198 * csu/init-first.c (_init): Remove the !SHARED condition around
7199 FPU control word initialization.
7200 * elf/dl-support.c (_dl_fpu_control): New variable.
7201 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7202 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7203 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7204 * math/test-fpucw-static.c: New file.
7205 * math/test-fpucw-ieee.c: New file.
7206 * math/test-fpucw-ieee-static.c: New file.
7207 * math/Makefile (tests): Add `test-fpucw-ieee' and
7208 `$(tests-static)'.
7209 (tests-static): New variable.
7210 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7211 dependency to...
7212 [($(build-shared),yes)]
7213 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7214 ... this.
7215 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7216 New dependency.
7217
83e43bf0
AM
72182013-09-09 Allan McRae <allan@archlinux.org>
7219
a9f5ce09
AM
7220 [BZ #15939]
7221 * manual/string.texi (Collation Functions): Fix typo in
7222 strcoll example.
7223 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7224
34829bc2
AM
7225 [BZ #15893]
7226 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7227
3932737d
AM
7228 [BZ #15892]
7229 * libio/memstream.c (open_memstream): Fix memory leak.
7230 * libio/wmemstream.c (open_wmemstream): Likewise.
7231
83e43bf0
AM
7232 [BZ #15895]
7233 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7234
0c66b8e9
WN
72352013-09-09 Will Newton <will.newton@linaro.org>
7236
7237 * malloc/Makefile: Add tst-realloc to tests.
7238 * malloc/tst-realloc.c: New file.
7239
f6b00fd1
AM
72402013-09-09 Allan McRae <allan@archlinux.org>
7241
7242 [BZ #15844]
7243 * COPYING: Update from GNU website to fix FSF address.
7244 * COPYING.LIB: Likewise.
7245
eec55e16
DM
72462013-09-06 David S. Miller <davem@davemloft.net>
7247
7248 * po/zh_TW.po: Update Chinese (traditional) translation from
7249 translation project.
7250
1ecbb381
RS
72512013-09-06 Richard Sandiford <richard@codesourcery.com>
7252 Joseph Myers <joseph@codesourcery.com>
7253
7254 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7255 "localeinfo.h".
7256 (obstack_chunk_alloc): New macro.
7257 (obstack_chunk_free): Likewise.
7258 (record_offset): New function.
7259 (init_locale_data): Likewise.
7260 (align_locale_data): Likewise.
7261 (add_locale_empty): Likewise.
7262 (add_locale_raw_data): Likewise.
7263 (add_locale_raw_obstack): Likewise.
7264 (add_locale_string): Likewise.
7265 (add_locale_wstring): Likewise.
7266 (add_locale_uint32): Likewise.
7267 (add_locale_uint32_array): Likewise.
7268 (add_locale_char): Likewise.
7269 (start_locale_structure): Likewise.
7270 (end_locale_structure): Likewise.
7271 (start_locale_prelude): Likewise.
7272 (end_locale_prelude): Likewise.
7273 (write_locale_data): Take locale_file structure rather than an
7274 iovec.
7275 * locale/programs/locfile.h: Include "obstack.h".
7276 (struct locale_file): Change to store locale file contents instead
7277 of header.
7278 (init_locale_data): New prototype.
7279 (align_locale_data): Likewise.
7280 (add_locale_empty): Likewise.
7281 (add_locale_raw_data): Likewise.
7282 (add_locale_raw_obstack): Likewise.
7283 (add_locale_string): Likewise.
7284 (add_locale_wstring): Likewise.
7285 (add_locale_uint32): Likewise.
7286 (add_locale_uint32_array): Likewise.
7287 (add_locale_char): Likewise.
7288 (start_locale_structure): Likewise.
7289 (end_locale_structure): Likewise.
7290 (start_locale_prelude): Likewise.
7291 (end_locale_prelude): Likewise.
7292 (write_locale_data): Update prototype.
7293 * locale/programs/3level.h (struct TABLE): Remove result field.
7294 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7295 Use new locale_file interface.
7296 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7297 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7298 * locale/programs/ld-address.c (address_output): Use new
7299 locale_file interface.
7300 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7301 NO_ADD_LOCALE.
7302 (collate_finish): Don't call collseq_table_finalize.
7303 (collate_output): Use new locale_file interface.
7304 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7305 in file.
7306 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7307 (TABLE): Move defines earlier in file.
7308 (ELEMENT): Likewise.
7309 (DEFAULT): Likewise.
7310 (wctrans_table_add): Move macro and inline function earlier in
7311 file.
7312 (struct wctype_table): Move type earlier in file.
7313 (add_locale_wctype_table): New static prototype.
7314 (struct locale_ctype_t): Use logical types instead of struct iovec
7315 pointers for members.
7316 (ctype_output): Use new locale_file interface.
7317 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7318 new locale_file interface.
7319 (allocate_arrays): Update for use of new locale_file interface.
7320 * locale/programs/ld-identification.c (identification_output): Use
7321 new locale_file interface.
7322 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7323 * locale/programs/ld-messages.c (messages_output): Likewise.
7324 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7325 * locale/programs/ld-name.c (name_output): Likewise.
7326 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7327 * locale/programs/ld-paper.c (paper_output): Likewise.
7328 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7329 * locale/programs/ld-time.c (time_output): Likewise.
7330
e029e2e5
AZ
73312013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7332
7333 * benchtests/Makefile: Add memrchr benchmark.
7334 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7335 benchmark as memrchr.
7336 * benchtests/bench-memrchr-ifunc.c: New file.
7337 * benchtests/bench-memrchr.c: New file.
7338
bbf6e8e4
WN
73392013-09-06 Will Newton <will.newton@linaro.org>
7340
7341 * benchtests/Makefile (string-bench): Add memcpy.
7342
6c82a2f8
CD
73432013-09-05 Carlos O'Donell <carlos@redhat.com>
7344 Cong Wang <amwang@redhat.com>
7345
e732c5f0 7346 [BZ #15850]
6c82a2f8
CD
7347 * sysdeps/unix/sysv/linux/bits/in.h
7348 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7349 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7350 before __USE_KERNEL_IPV6_DEFS uses.
7351 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7352 IPPROTO_BEETPH.
7353 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7354 sockaddr_in6, or ipv6_mreq.
7355
5430fc65
AZ
73562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7357
7358 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7359 memory access for final bytes in some large inputs.
7360 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7361
4660856c
AZ
73622013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7363
7364 * string/test-memrchr.c: New file.
7365 * string/test-memrchr-ifunc.c: New file.
7366 * string/Makefile: Add new memrchr testcase.
7367
bb8ea713
MF
73682013-09-05 Mike Frysinger <vapier@gentoo.org>
7369
7370 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7371 fanotify_init returns EPERM.
7372
b92a20b5
JM
73732013-09-04 Joseph Myers <joseph@codesourcery.com>
7374
7375 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7376 errors.
7377 (top level): Treat second token from macro or constant entries for
7378 allowed headers as allowed.
7379 * include/complex.h: Condition internal declarations on
7380 [!_ISOMAC].
7381 * include/fenv.h: Condition include of <stdbool.h> and internal
7382 declarations on [!_ISOMAC].
7447ccd9
CL
7383
73842013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7385
3e181dda 7386 [BZ #15923]
7447ccd9
CL
7387 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7388
3f2e46a4
JM
73892013-09-04 Joseph Myers <joseph@codesourcery.com>
7390
7391 * configure.in (--enable-versioning): Remove configure option.
7392 (libc_cv_asm_symver_directive): Remove configure test.
7393 (libc_cv_ld_version_script_option): Likewise.
7394 (VERSIONING): Remove variable and AC_SUBST.
7395 (DO_VERSIONING): Remove AC_DEFINE.
7396 * configure: Regenerated.
7397 * config.h.in (DO_VERSIONING): Remove macro.
7398 * Makerules [$(versioning) = yes]: Change conditionals to
7399 [$(build-shared) = yes].
7400 * config.make.in (versioning): Remove variable.
7401 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7402 [$(build-shared) = yes].
7403 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7404 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7405 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7406 [$(build-shared) = yes].
7407 * extra-lib.mk [$(versioning) = yes]: Likewise.
7408 * hurd/Makefile [$(versioning) = yes]: Likewise.
7409 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7410 [SHARED].
7411 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7412 [SHARED].
7413 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7414 [SHARED && !NO_HIDDEN].
7415 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7416 [SHARED].
7417 [SHARED && DO_VERSIONING]: Likewise..
7418 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7419 [$(build-shared) = yes].
7420 * manual/install.texi (--disable-versioning): Remove
7421 documentation.
7422 * INSTALL: Regenerated.
7423 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7424 to [SHARED].
7425 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7426 [$(build-shared) = yes].
7427 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7428 * sysdeps/i386/i686/multiarch/strstr-c.c
7429 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7430 [SHARED && !NO_HIDDEN].
7431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7432 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7433 * sysdeps/powerpc/powerpc32/dl-machine.c
7434 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7435 * sysdeps/powerpc/powerpc32/sysdep.h
7436 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7437 to [SHARED && PIC && !NO_HIDDEN].
7438 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7439 conditional to [SHARED].
7440
44558701
WN
74412013-09-04 Will Newton <will.newton@linaro.org>
7442
7443 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7444 * benchtests/bench-string.h: Include bench-timing.h instead
7445 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7446 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7447 call to HP_TIMING_DIFF_INIT.
7448 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7449 instead of hp-timing.h macros.
7450 * benchtests/bench-memchr.c: Likewise.
7451 * benchtests/bench-memcmp.c: Likewise.
7452 * benchtests/bench-memcpy.c: Likewise.
7453 * benchtests/bench-memmem.c: Likewise.
7454 * benchtests/bench-memmove.c: Likewise.
7455 * benchtests/bench-memset.c: Likewise.
7456 * benchtests/bench-rawmemchr.c: Likewise.
7457 * benchtests/bench-strcasecmp.c: Likewise.
7458 * benchtests/bench-strcasestr.c: Likewise.
7459 * benchtests/bench-strcat.c: Likewise.
7460 * benchtests/bench-strchr.c: Likewise.
7461 * benchtests/bench-strcmp.c: Likewise.
7462 * benchtests/bench-strcpy.c: Likewise.
7463 * benchtests/bench-strcpy_chk.c: Likewise.
7464 * benchtests/bench-strlen.c: Likewise.
7465 * benchtests/bench-strncasecmp.c: Likewise.
7466 * benchtests/bench-strncat.c: Likewise.
7467 * benchtests/bench-strncmp.c: Likewise.
7468 * benchtests/bench-strncpy.c: Likewise.
7469 * benchtests/bench-strnlen.c: Likewise.
7470 * benchtests/bench-strpbrk.c: Likewise.
7471 * benchtests/bench-strrchr.c: Likewise.
7472 * benchtests/bench-strspn.c: Likewise.
7473 * benchtests/bench-strstr.c: Likewise.
7474
cae16d66
WN
74752013-09-04 Will Newton <will.newton@linaro.org>
7476
7477 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7478
ffa3cd7f
JM
74792013-09-03 Joseph Myers <joseph@codesourcery.com>
7480
7481 [BZ #15427]
7482 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7483 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7484 * math/libm-test.inc (lgamma_test_data): Add more tests.
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487
8f02859f
OB
74882013-09-03 Ondřej Bílka <neleai@seznam.cz>
7489
7490 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7492 Add ifunc.
7493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7494 Add strcmp-sse2-unaligned
7495 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7496
18d43716
MF
74972013-09-02 Mike Frysinger <vapier@gentoo.org>
7498
7499 * Versions.def (libc): Add GLIBC_2.19.
7500
ac444012
MF
75012013-09-02 Mike Frysinger <vapier@gentoo.org>
7502
7503 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7504 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7505
b7835e32
JM
75062013-09-02 Joseph Myers <joseph@codesourcery.com>
7507
7508 [BZ #14155]
7509 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7510 intermediate calculations in recurrence.
7511 (__ieee754_ynf): Likewise.
7512 * math/libm-test.inc (jn_test_data): Do not allow spurious
7513 underflow exception. Add more tests.
7514 (yn_test_data): Add more tests.
7515 * sysdeps/i386/fpu/libm-test-ulps: Update.
7516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517
8220f4f0
OB
75182013-09-02 Ondřej Bílka <neleai@seznam.cz>
7519
7520 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7521
f24a6d08
OB
75222013-08-30 Ondřej Bílka <neleai@seznam.cz>
7523
7524 * csu/init-first.c: Fix then/than typos.
7525 * locale/programs/ld-collate.c: Likewise.
7526 * locale/programs/linereader.h: Likewise.
7527 * manual/charset.texi: Likewise.
7528 * manual/filesys.texi: Likewise.
7529 * manual/stdio.texi: Likewise.
7530 * manual/string.texi: Likewise.
7531 * stdlib/fmtmsg.c: Likewise.
7532 * sysdeps/i386/stpncpy.S: Likewise.
7533 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7534 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7536 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7537
382466e0
OB
75382013-08-30 Ondřej Bílka <neleai@seznam.cz>
7539
7540 * elf/dl-open.c: Fix typos.
7541 * iconvdata/gbbig5.c: Likewise.
7542 * iconvdata/iso-2022-jp.c: Likewise.
7543 * iconv/gconv_int.h: Likewise.
7544 * iconv/loop.c: Likewise.
7545 * nis/rpcsvc/nis.h: Likewise.
7546 * resolv/ns_name.c: Likewise.
7547 * stdio-common/vfscanf.c: Likewise.
7548 * streams/stropts.h: Likewise.
7549 * sunrpc/rpc_thread.c: Likewise.
7550 * sysdeps/i386/strpbrk.S: Likewise.
7551 * sysdeps/ieee754/k_standard.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7554 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7555 * sysdeps/mach/hurd/profil.c: Likewise.
7556 * sysdeps/s390/dl-procinfo.h: Likewise.
7557 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7558 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7559 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7560 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7562
0186c6e9
OB
75632013-08-30 Ondřej Bílka <neleai@seznam.cz>
7564
7565 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7567
d4e16af1
OB
75682013-08-29 Ondřej Bílka <neleai@seznam.cz>
7569
7570 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7571 aix specific files.
7572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7573 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7574 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7575 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7576 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7577 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7578 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7579 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7580
88335980
TS
75812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7582 Roland McGrath <roland@hack.frob.com>
7583
7584 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7585 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7586
ed479b02
ST
75872013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7588
7589 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7590 __executable_start symbol instead of _start.
7591
f1cc4c86
TS
75922013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7593
d821f07c
TS
7594 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7595 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7596 Move macros to...
7597 * sysdeps/gnu/ldsodefs.h: ... this new file.
7598
c54290cf
TS
7599 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7600 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7601 instead of ELFOSABI_LINUX.
7602
0007fc9b 7603 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7604 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7605 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7606 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7607 Likewise.
7608 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7609 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7611 Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7613 (ibm_extended_long_double): Add ieee_nan member.
7614 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7615 (do_test): New function.
7616
f1cc4c86
TS
7617 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7618 TEST_TRUNC.
7619 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7620 functions, renamed from truncdfsf_test, trunctfsf_test,
7621 trunctfdf_test.
7622 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7623 functions.
7624 (do_test): Run all these.
7625
6f65e668
OB
76262013-08-29 Ondřej Bílka <neleai@seznam.cz>
7627
7628 * argp/argp-help.c: Fix typos.
7629 * argp/argp-parse.c: Likewise.
7630 * debug/backtracesyms.c: Likewise.
7631 * elf/elf.h: Likewise.
7632 * malloc/malloc.c: Likewise.
7633 * nis/nis_print.c: Likewise.
7634 * resolv/res_comp.c: Likewise.
7635 * stdlib/stdlib.h: Likewise.
7636 * sunrpc/clnt_tcp.c: Likewise.
7637 * sunrpc/clnt_udp.c: Likewise.
7638 * sunrpc/clnt_unix.c: Likewise.
7639 * sysdeps/unix/bsd/ptsname.c: Likewise.
7640 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7643 Likewise.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7645 Likewise.
7646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7647 Likewise.
6f65e668
OB
7648 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7649
3a309239
SP
76502013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7651
7652 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7654
3b813b29
MF
76552013-08-27 Mike Frysinger <vapier@gentoo.org>
7656
7657 [BZ #15897]
7658 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7659 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7660 ($(objpfx)bug-dl-leaf): New rule.
7661 ($(objpfx)bug-dl-leaf.so): Likewise.
7662 ($(objpfx)bug-dl-leaf.out): Likewise.
7663 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7664 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7665 * dlfcn/bug-dl-leaf.c: New test.
7666 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7667 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7668 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7669 (dlclose): Likewise.
7670 (dlmopen): Likewise.
7671
8cc3269f
RM
76722013-08-27 Roland McGrath <roland@hack.frob.com>
7673
7f9d0034
RM
7674 * include/netdb.h [!_ISOMAC]:
7675 Don't include <tls.h>.
7676 (h_errno, __libc_h_errno): Move declaration and macros out of
7677 [_LIBC_REENTRANT].
7678
fb431262
RM
7679 * include/resolv.h [_RESOLV_H_]:
7680 Don't include <tls.h>.
7681 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7682 * resolv/res_libc.c: Don't include <tls.h>.
7683 (_res): Use __attribute__ ((nocommon)) in place of
7684 __attribute__ ((section (".bss"))).
7685
bd81123a
RM
7686 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7687 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7688
c4e42566
RM
7689 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7690
f890a59b
RM
7691 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7692 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7693
7694 * resolv/res_mkquery.c: Include <sys/time.h>.
7695
5d1f0a09
RM
7696 * inet/ifreq.c: Moved to ...
7697 * sysdeps/unix/ifreq.c: ... here.
7698 * inet/ifreq.c: New file, true stub version.
7699
6fcf28b3
RM
7700 * socket/sa_len.c: New file.
7701 * socket/Makefile (aux): Add it.
7702 * sysdeps/unix/sysv/linux/Makefile
7703 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7704 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7705 and #include <socket/sa_len.c>.
7706 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7707 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7708
e041fb8b
RM
7709 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7710 * bits/socket.h: ... here.
7711
8cc3269f
RM
7712 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7713 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7714 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7715
5d228a43
AS
77162013-08-27 Andreas Schwab <schwab@suse.de>
7717
45b8accc
AS
7718 [BZ #15736]
7719 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7720 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7721 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7722 * string/test-strcasecmp.c (test_main): Run tests in several
7723 locales.
7724 * string/test-strncasecmp.c (test_main): Likewise.
7725
5d228a43
AS
7726 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7727 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7728 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7730 (__strncasecmp_ssse3) [PIC]: Likewise.
7731
59d112a4
RM
77322013-08-26 Roland McGrath <roland@hack.frob.com>
7733
53234cc3
RM
7734 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7735
59d112a4
RM
7736 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7737 instead of explicitly declaring xdecrypt.
7738 * nis/nss_nis/nis-publickey.c: Likewise.
7739
595aba70
SP
77402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
7742 [BZ #15890]
7743 * nscd/aicache.c: Include res_hconf.h.
7744 (addhstaiX): Initialize res_hconf.
7745
ffabd393
AS
77462013-08-26 Andreas Schwab <schwab@suse.de>
7747
7748 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7749 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7750
e0a69f5c
SP
77512013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7752
7753 * nscd/aicache.c (addhstaiX): Fix indentation.
7754
8c12f01d
MF
77552013-08-25 Mike Frysinger <vapier@gentoo.org>
7756
7757 * configure.ac: Quote $build_pt_chown test.
7758 * configure: Regenerated.
7759
8fe89494
JM
77602013-08-23 Joseph Myers <joseph@codesourcery.com>
7761
7762 [BZ #15532]
7763 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7764 * math/s_cexpf.c (__cexpf): Likewise.
7765 * math/s_cexpl.c (__cexpl): Likewise.
7766 * math/libm-test.inc (cexp_test_data): Correct expected return
7767 value for NaN + i0. Add another test.
7768
75b181d6
DM
77692013-08-22 David S. Miller <davem@davemloft.net>
7770
7771 * po/ca.po: Update Catalan translation from translation project.
936241e4 7772 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7773
acd06bb1
JM
77742013-08-21 Joseph Myers <joseph@codesourcery.com>
7775
7776 [BZ #15797]
7777 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7778 is infinite, not alongside NaN test.
7779 * math/s_fdimf.c (__fdimf): Likewise.
7780 * math/s_fdiml.c (__fdiml): Likewise.
7781 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7782 errno is unchanged.
7783
c0c3f78a
OB
77842013-08-21 Ondřej Bílka <neleai@seznam.cz>
7785
7786 * argp/argp-help.c: Fix typos.
7787 * crypt/speeds.c: Likewise.
7788 * csu/check_fds.c: Likewise.
7789 * elf/dl-load.c: Likewise.
7790 * elf/dl-open.c: Likewise.
7791 * elf/reldep3.c: Likewise.
7792 * elf/reldep.c: Likewise.
7793 * elf/sprof.c: Likewise.
7794 * iconv/iconv_charmap.c: Likewise.
7795 * iconv/skeleton.c: Likewise.
7796 * iconv/strtab.c: Likewise.
7797 * io/lockf64.c: Likewise.
7798 * libio/libioP.h: Likewise.
7799 * resolv/gai_notify.c: Likewise.
7800 * resolv/ns_name.c: Likewise.
7801 * resolv/ns_samedomain.c: Likewise.
7802 * resolv/res_send.c: Likewise.
7803 * stdlib/random.c: Likewise.
7804 * sunrpc/rpc/xdr.h: Likewise.
7805 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7806 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7808 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7813 * sysdeps/mach/hurd/check_fds.c: Likewise.
7814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7815 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7817 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7818 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7819 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7820 * sysdeps/pthread/aio_notify.c: Likewise.
7821 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7822 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7823 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7824 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7825 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7826
46ed1038
LD
78272013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7828
7829 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7830 version if bit_Slow_SSE4_2 is set.
7831 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7833
d400dcac
AZ
78342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7835
7836 [BZ #15867]
7837 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7838 trampoline stack frame information.
7839 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7840 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7841 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7842 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7843 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7844 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7845 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7846 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7847 sa_flags value.
7848 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7849 interrupting a syscall and set with option SA_SIGINFO.
7850
42c8fdd8
JM
78512013-08-20 Joseph Myers <joseph@codesourcery.com>
7852
c980f2f4
JM
7853 [BZ #15531]
7854 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7855 argument is infinite.
7856 * math/s_cprojf.c (__cprojf): Likewise.
7857 * math/s_cprojl.c (__cprojl): Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7859 * math/libm-test.inc (cproj_test_data): Add more tests.
7860
0716c4fc
JM
7861 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7862
42c8fdd8
JM
7863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7864 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7865 size. Use __ffs to determine corresponding shift.
7866
b31469d0
JM
78672013-08-20 Joseph Myers <joseph@codesourcery.com>
7868 Roland McGrath <roland@hack.frob.com>
7869
7870 * Makefile (INSTALL): Remove trailing blank lines from output of
7871 makeinfo.
7872
4e39af6e
AK
78732013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7874
7875 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7876 Align 32 bit compat elf_greg to 8 bytes.
7877
f315524e
AA
78782013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7879
7880 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7881
1326ba1a
SP
78822013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7883
7884 * string/strcoll_l.c (coll_seq): New structure.
7885 (get_next_seq_cached): New function.
7886 (get_next_seq): New function.
7887 (do_compare): New function.
7888 (STRCOLL): Use GNU style definition. Simplify implementation
7889 by using get_next_seq, get_next_seq_cached and do_compare.
7890
91ce4085
FW
78912013-08-16 Florian Weimer <fweimer@redhat.com>
7892
7893 [BZ #14699]
7894 CVE-2013-4237
7895 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7896 member.
7897 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7898 member.
7899 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7900 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7901 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7902 conditional.
7903 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7904 GETDENTS_64BIT_ALIGNED.
7905 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7906 * manual/filesys.texi (Reading/Closing Directory): Document
7907 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7908 strongly.
7909 * manual/conf.texi (Limits for Files): Add portability note to
7910 NAME_MAX, PATH_MAX.
7911 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7912
ca0a6bc4
AS
79132013-08-13 Andreas Schwab <schwab@suse.de>
7914
7915 [BZ #15749]
7916 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7917 of fabs.
7918 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7919 LDBL_MAX_EXP >= 16384]: Add tests for it.
7920
6c1fd795
DM
79212013-08-12 David S. Miller <davem@davemloft.net>
7922
7923 * version.h (RELEASE): Set to "development".
7924 (VERSION): Set to "2.18.90".
7925 * NEWS: Add 2.19 section.
7926
31ad488d
DM
79272013-08-03 David S. Miller <davem@davemloft.net>
7928
7929 * po/ko.po: Update Korean translation from translation project.
7930
db24e684
DM
79312013-08-01 David S. Miller <davem@davemloft.net>
7932
7933 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7934 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7935 Bilka.
7936
f723285b
DM
79372013-07-30 David S. Miller <davem@davemloft.net>
7938
7939 * po/fr.po: Update French translation from translation project.
7940
3cbc52db
DM
79412013-07-28 David S. Miller <davem@davemloft.net>
7942
30bbc0cc
DM
7943 * po/cs.po: Update Czech translation from translation project.
7944
3cbc52db
DM
7945 * po/sv.po: Update Swedish translation from translation project.
7946
d492e6d0
DM
79472013-07-27 David S. Miller <davem@davemloft.net>
7948
f1a7f492
DM
7949 * po/eo.po: Update Esperanto translation from translation project.
7950
90e62a4a
DM
7951 * po/vi.po: Update Vietnamese translation from translation project.
7952
d492e6d0
DM
7953 * po/de.po: Update German translation from translation project.
7954
d4baa62d
DM
79552013-07-26 David S. Miller <davem@davemloft.net>
7956
641aa7b4
DM
7957 * po/bg.po: Update Bulgarian translation from translation project.
7958
d4baa62d
DM
7959 * po/nl.po: Update Dutch translation from translation project.
7960 * po/pl.po: Update Polish translation from translation project.
7961 * po/ru.po: Update Russian translation from translation project.
7962
61a9dcb9
DM
79632013-07-24 David S. Miller <davem@davemloft.net>
7964
7965 * po/libc.pot: Update.
7966
7b1f8b58
AZ
79672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968
7969 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7970 variable page size.
7971 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7973 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7974
a8fc7a03
AK
79752013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7976
7977 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7978
e4608715
CD
79792013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7980 Andreas Schwab <schwab@suse.de>
7981 Roland McGrath <roland@hack.frob.com>
7982 Joseph Myers <joseph@codesourcery.com>
7983 Carlos O'Donell <carlos@redhat.com>
7984
7985 [BZ #15755]
7986 * config.h.in: Define HAVE_PT_CHOWN.
7987 * config.make.in (build-pt-chown): New variable.
7988 * configure.in (--enable-pt_chown): New configure option.
7989 * configure: Regenerate.
7990 * login/Makefile: Include Makeconfig. Build pt_chown only if
7991 build-pt-chown is enabled.
7992 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7993 pt_chown to fix pty ownership.
7994 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7995 CLOSE_ALL_FDS.
7996 * manual/install.texi (Configuring and compiling): Mention
7997 --enable-pt_chown. Add @findex for grantpt.
7998 * INSTALL: Regenerate.
7999
da2d62df
DM
80002013-07-20 David S. Miller <davem@davemloft.net>
8001
8002 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8003 difference between 32-bit and 64-bit.
8004
d7e06450
CD
80052013-07-15 Carlos O'Donell <carlos@redhat.com>
8006
8007 [BZ #15711]
8008 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8009 Avoid system header dependency with -ffreestanding.
8010 ($(objpfx)bits/syscall%d): Likewise.
8011
f959cfd7
DM
80122013-07-13 David S. Miller <davem@davemloft.net>
8013
8014 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8015 underflows from atanl/atan2l due to bug 15319.
8016 (casinh_test_data): Likewise.
8017
c61f8513
DM
80182013-07-07 David S. Miller <davem@davemloft.net>
8019
8020 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8021
72c90ed0
JA
80222013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8023
8024 * sysdeps/i386/fpu/libm-test-ulps: Update.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8026
52dfbe13
SP
80272013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8028
8029 * configure.in (--enable-lock-elision): Fix message text.
8030 * INSTALL: Regenerate.
8031 * configure: Regenerate.
8032
3f169543
AZ
80332013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034
8035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8036
521c6785
AJ
80372013-07-03 Andreas Jaeger <aj@suse.de>
8038
8039 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8040 define.
8041 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8042 (ptrace_peeksiginfo_args): Add.
8043 (__ptrace_peeksiginfo_flags): Add.
8044 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8047
d2cc15cb
AM
80482013-07-03 Allan McRae <allan@archlinux.org>
8049
8050 * sysdeps/i386/fpu/libm-test-ulps: Update.
8051
3aaeeca7
DM
80522013-07-02 David S. Miller <davem@davemloft.net>
8053
8054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8055
5314ed1a
MT
80562013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8057
8058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8059
67338156
JM
80602013-07-02 Joseph Myers <joseph@codesourcery.com>
8061
8062 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8064
1717da59
AK
80652013-07-02 Andi Kleen <ak@linux.intel.com>
8066
8067 * config.h.in (ENABLE_LOCK_ELISION): Add.
8068 * configure.in (--enable-lock-elision): Add option.
8069 * manual/install.texi: Document --enable lock elision.
8070 * configure: Regenerate
8071 * INSTALL: Regenerate.
8072
1c81621c
L
80732013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8076 SSE4.2 strcasecmp for libc.a.
8077 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8078
77f01ab5
JM
80792013-07-02 Joseph Myers <joseph@codesourcery.com>
8080
8081 [BZ #13304]
8082 * soft-fp/op-common.h (_FP_FMA): New macro.
8083 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8084 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8085 (_FP_MUL_MEAT_1_imm): ... here.
8086 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8087 (_FP_MUL_MEAT_1_wide): ... here.
8088 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8089 (_FP_MUL_MEAT_1_hard): ... here.
8090 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8091 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8092 (_FP_MUL_MEAT_2_wide): ... here.
8093 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8094 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8095 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8096 (_FP_MUL_MEAT_2_gmp): ... here.
8097 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8098 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8099 (_FP_MUL_MEAT_4_wide): ... here.
8100 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8101 (_FP_MUL_MEAT_4_gmp): ... here.
8102 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8103 (_FP_WFRACBITS_DW_S): Likewise.
8104 (_FP_WFRACXBITS_DW_S): Likewise.
8105 (_FP_HIGHBIT_DW_S): Likewise.
8106 (FP_FMA_S): Likewise.
8107 (_FP_FRAC_HIGH_DW_S): Likewise.
8108 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8109 (_FP_WFRACBITS_DW_D): Likewise.
8110 (_FP_WFRACXBITS_DW_D): Likewise.
8111 (_FP_HIGHBIT_DW_D): Likewise.
8112 (FP_FMA_D): Likewise.
8113 (_FP_FRAC_HIGH_DW_D): Likewise.
8114 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8115 (_FP_WFRACBITS_DW_E): Likewise.
8116 (_FP_WFRACXBITS_DW_E): Likewise.
8117 (_FP_HIGHBIT_DW_E): Likewise.
8118 (FP_FMA_E): Likewise.
8119 (_FP_FRAC_HIGH_DW_E): Likewise.
8120 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8121 (_FP_WFRACBITS_DW_Q): Likewise.
8122 (_FP_WFRACXBITS_DW_Q): Likewise.
8123 (_FP_HIGHBIT_DW_Q): Likewise.
8124 (FP_FMA_Q): Likewise.
8125 (_FP_FRAC_HIGH_DW_Q): Likewise.
8126 * soft-fp/fmasf4.c: New file.
8127 * soft-fp/fmadf4.c: Likewise.
8128 * soft-fp/fmatf4.c: Likewise.
8129
6308fd9a
LD
81302013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8131
8132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8133 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8134 Silvermont.
8135 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8136 macro.
8137 (index_Slow_SSE4_2): Likewise.
8138 (index_Prefer_PMINUB_for_stringop): Likewise.
8139 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8140 bit_Slow_SSE4_2 is set.
8141 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8142 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8143
89cd9569
RA
81442013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8145
8146 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8147 rtld_global._dl_hwcap2.
8148 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8149 POWER8.
8150 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8151 POWER8 feature descriptions defined in _dl_hwcap2.
8152 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8153 string handling for POWER8 feature bits.
8154 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8155 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8156 _dl_powerpc_cap_flags.
8157 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8158 * sysdeps/powerpc/rtld-global-offsets.sym
8159 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8160 _dl_hwcap2 in the rtld_global_ro structure.
8161
1ae8bfe0
RA
81622013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8163
8164 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8165 hardware capabilities in support of AT_HWCAP2.
8166 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8167 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8168 GLRO(dl_hwcap2).
8169 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8170 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8171 explicitly the unknown a_type display mechanism is used.
8172 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8173 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8174 struct member.
8175 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8176 to macro prototype for AT_HWCAP2 support.
8177 * sysdeps/i386/dl-procinfo.h: Likewise.
8178 * sysdeps/s390/dl-procinfo.h: Likewise.
8179 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8180 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8181 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8182 return -1 for unknown a_type display fallback.
8183 * sysdeps/sparc/dl-procinfo.h: Likewise.
8184 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8185 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8186
8fbec010
JM
81872013-06-28 Joseph Myers <joseph@codesourcery.com>
8188
8189 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8190 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8191
0432680e
PY
81922013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8193
8194 [BZ #12492]
8195 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8196 mprotect making __stack_prot writable.
8197
ce61a2ad
NF
81982013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8199 Joseph Myers <joseph@codesourcery.com>
8200
8201 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8202 as being properly aligned.
8203
f91f1c0f
MR
82042013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8205
3d0f5d0c
MR
8206 * dlfcn/modstatic5.c: New file.
8207 * dlfcn/tststatic5.c: New file.
8208 * dlfcn/Makefile (tests): Add tststatic5.
8209 (tests-static): Likewise.
8210 (modules-names): Add modstatic5.
8211 (tststatic5-ENV): New variable.
8212 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8213
f91f1c0f
MR
8214 [BZ #15022]
8215 * elf/dl-support.c (_dl_main_map): New variable.
8216 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8217 (_dl_nns, _dl_load_adds): Set to 1.
8218 (_dl_initial_searchlist): Refer to _dl_main_map.
8219 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8220 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8221 call to _dl_get_origin.
8222 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8223 around call_map.
8224 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8225 * dlfcn/modstatic3.c: New file.
8226 * dlfcn/tststatic3.c: New file.
8227 * dlfcn/tststatic4.c: New file.
8228 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8229 (tests-static): Likewise.
8230 (modules-names): Add modstatic3.
8231 (tststatic3-ENV, tststatic4-ENV): New variables.
8232 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8233 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8234
cbe7d24b
JM
82352013-06-26 Joseph Myers <joseph@codesourcery.com>
8236
8237 * configure.in (CC): Require GCC version 4.4 or later.
8238 * configure: Regenerated.
8239 * manual/install.texi (Tools for Compilation): Update GCC version
8240 requirement.
8241 * INSTALL: Regenerated.
8242
11b8a0e1
LD
82432013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8244
8245 [BZ #15674]
bb5bb87c
L
8246 * string/test-memcmp.c (check2): New.
8247 (main): Call check2.
8248
11b8a0e1
LD
8249 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8250
b0037103
MR
82512013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8252
8253 [BZ #15022]
8254 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8255 over to...
8256 (dl_open_worker) [!SHARED]: ... here.
8257
c18c701d
RA
82582013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8259
8260 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8261
1d17fa5f
RH
82622013-06-25 Richard Henderson <rth@redhat.com>
8263
8264 * locale/programs/locarchive.c: Include <libc-internal.h>
8265
8fcb833a
JM
82662013-06-25 Joseph Myers <joseph@codesourcery.com>
8267
8268 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8269 trailing whitespace removed.
8270
17db6e8d
MF
82712013-06-24 Mike Frysinger <vapier@gentoo.org>
8272
8273 [BZ #10283]
17db6e8d
MF
8274 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8275 * locale/programs/locarchive.c: Include libc-mmap.h.
8276 (prepare_address_space): Take two new outputs (the mmap base and len).
8277 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8278 values.
8279 (create_archive): Declare new mmap base and len values for
8280 prepare_address_space, and store the result in ah.
8281 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8282 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8283 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8284 Declare new mmap base and len values for
8285 prepare_address_space, and store the result in new_ah.
8286 (open_archive): Declare new mmap base and len values for
8287 prepare_address_space, and store the result in ah.
8288 (close_archive): If ah->mmap_base is not NULL, use that and
8289 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8290 * sysdeps/generic/libc-mmap.h: New file.
8291
d605071e
MF
82922013-06-24 Mike Frysinger <vapier@gentoo.org>
8293
8294 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8295 (ALIGN_UP): Likewise.
8296 (PTR_ALIGN_DOWN): Likewise.
8297 (PTR_ALIGN_UP): Likewise.
8298
2f063a6e
RA
82992013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8300
8301 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8302 entry mapped to PPC_PLATFORM_POWER8.
8303 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8304 POWER8.
8305 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8306 (_dl_string_platform): Add case for exporting platform position for
8307 POWER8.
8308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8309 search path to sysdeps/powerpc/powerpc32/power8 directory.
8310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8311 search path to sysdeps/powerpc/powerpc64/power8 directory.
8312 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8313 power7 directories.
8314 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8315 power7 directories.
8316
a31ee4b3
SP
83172013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8318
a74ca98f
SP
8319 * INSTALL: Regenerate.
8320
a31ee4b3
SP
8321 * nscd/connections.c (nscd_init): Fix comment.
8322
695c378f
JM
83232013-06-22 Joseph Myers <joseph@codesourcery.com>
8324
d8412221
JM
8325 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8326
695c378f
JM
8327 [BZ #15667]
8328 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8329 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8330
d1d54715
MR
83312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8332
8333 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8334 DL_DST_REQ_STATIC.
8335 (DL_DST_REQ_STATIC): Remove macro.
8336
8fdda7af
JM
83372013-06-21 Joseph Myers <joseph@codesourcery.com>
8338
8339 [BZ #7006]
8340 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8341 with a shift of 0 bits.
8342
f3bc5e5a
MR
83432013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8344
8345 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8346 $(tststatic-ENV).
8347
be09e8c9
KK
83482013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8349
8350 [BZ #15655]
8351 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8352
85c2e611
AZ
83532013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354
8355 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8356 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8357 accepts -fno-tree-loop-distribute-patterns.
8358 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8359 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8360 recursive call.
8361 * string/memset.c (memset): Likewise.
8362 * string/test-memmove.c (simple_memmove): Disable loop transformation
8363 to library calls.
8364 * string/test-memset.c (simple_memset): Likewise.
8365 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8366 * benchtests/bench-memset.c (simple_memset): Likewise.
8367 * configure: Regenerated.
8368
c91e0825
JM
83692013-06-20 Joseph Myers <joseph@codesourcery.com>
8370
b8c792af
JM
8371 * math/test-misc.c (main): Ignore fesetround failure when failures
8372 of subsequent rounding tests would be ignored.
8373
c91e0825
JM
8374 [BZ #15654]
8375 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8376 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8377 * math/fegetenv.c (__fegetenv): Return 0.
8378 * math/fegetexcept.c (fegetexcept): Return 0.
8379 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8380 FE_TONEAREST.
8381 * math/feholdexcpt.c (feholdexcept): Return 0.
8382 * math/fesetenv.c (__fesetenv): Return 0.
8383 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8384 argument FE_TONEAREST.
8385 * math/feupdateenv.c (__feupdateenv): Return 0.
8386 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8387
bfcacbde
RM
83882013-06-18 Roland McGrath <roland@hack.frob.com>
8389
8390 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8391 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8392 ($(objpfx)rtld-%.os rules): Use them.
8393
e55a9b25
AZ
83942013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8395
8396 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8397 fields.
8398
346d65b3
RM
83992013-06-17 Roland McGrath <roland@hack.frob.com>
8400
12086fb4
RM
8401 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8402 length of target pattern, then descending length of dependency pattern.
8403 * configure.in (AWK): Require gawk 3.1.2 or newer.
8404 * manual/install.texi (Tools for Compilation): Say that we do.
8405 * configure: Regenerated.
8406
346d65b3
RM
8407 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8408 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8409 * scripts/sysd-rules.awk: ... this new script.
8410 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8411 than a glob-style pattern.
8412
1a846317
JM
84132013-06-17 Joseph Myers <joseph@codesourcery.com>
8414
8415 * math/test-misc.c (main): Do not treat incorrectly rounded
8416 conversions as failure unless ROUNDING_TESTS passes.
8417
8fc75e6f
JM
84182013-06-15 Joseph Myers <joseph@codesourcery.com>
8419
3711a167
JM
8420 [BZ #15631]
8421 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8422 restore exception state around main square root computation, then
8423 check for inexactness explicitly.
8424
8fc75e6f
JM
8425 * math/libm-test.inc (fma_test_data): Add another test.
8426
61dd6208
SP
84272013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8428
adf23d2c
SP
8429 * manual/threads.texi (Non-POSIX Extensions): New document
8430 node. Document pthread_getattr_default_np and
8431 pthread_setattr_default_np.
8432
61dd6208
SP
8433 * Versions.def (libpthread): Add GLIBC_2.18.
8434 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8436 Likewise.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8438 Likewise.
8439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8440 Likewise.
8441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8442 Likewise.
8443 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8444 Likewise.
8445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8446 Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8448 Likewise.
8449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8450 Likewise.
8451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8452 Likewise.
8453
d086fc7b
LD
84542013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8455
8456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8457 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8458
747ef469
SP
84592013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8460 H.J. Lu <hjl.tools@gmail.com>
8461
8462 [BZ #15627]
8463 * sysdeps/x86_64/rtld-memset.c: Remove file.
8464 * sysdeps/x86_64/rtld-memset.S: New file.
8465
1b2feed2
JM
84662013-06-14 Joseph Myers <joseph@codesourcery.com>
8467
8468 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8469 (test_in_one_mode): Take arguments for whether the rounding mode
8470 is supported for each floating-point type.
8471 (do_test): Pass new arguments to test_in_one_mode using
8472 ROUNDING_TESTS.
8473
a58ad3f8
RM
84742013-06-13 Roland McGrath <roland@hack.frob.com>
8475
8476 * posix/tst-waitid.c (do_test): Distinguish different instances of
8477 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8478 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8479 before entering the kernel for waitpid.
8480
c204ab28
SP
84812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
8483 * NEWS: Fix note on clock function precision. Text by Roland
8484 McGrath.
8485
f4a29fba
RM
84862013-06-13 Roland McGrath <roland@hack.frob.com>
8487
8488 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8489 it into place only when and if the sanity check passes.
8490
1f24b9ad
JM
84912013-06-13 Joseph Myers <joseph@codesourcery.com>
8492
8493 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8494 output for whether conversion result is exact. Take argument
8495 indicating whether type is IBM long double.
8496 (round_for_all): Change need_exact field to ibm_ld.
8497 * stdlib/tst-strtod-round.c (struct exactness): New type.
8498 (struct test): Change bool ld_ok field to struct exactness exact.
8499 (TEST): Update all definitions for change to field.
8500 (tests): Regenerate array contents.
8501 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8502 field value. Check for IBM long double here.
8503 (do_test): Update calls to test_in_one_mode.
8504
58206c68
SP
85052013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8506
8507 [BZ #12515]
8508 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8509 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8510
2d6f4c5b 85112013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8512
8513 [BZ #15605]
8514 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8515 generated by the compiler on loop optimizations.
8516 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8517 general definitions.
8518
94f2c076
JM
85192013-06-12 Joseph Myers <joseph@codesourcery.com>
8520
8521 * math/bug-nextafter.c: Include <math-tests.h>.
8522 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8523 the relevant type.
8524 * math/bug-nexttoward.c: Include <math-tests.h>.
8525 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8526 the relevant type.
8527 * math/test-misc.c: Include <math-tests.h>.
8528 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8529 the relevant type.
8530
e0e50a0a
AJ
85312013-06-12 Andreas Jaeger <aj@suse.de>
8532
8533 * po/ia.po: Update Interlingua translation from translation
8534 project.
8535
25061094
SP
85362013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 * include/fenv.h: Include stdbool.h.
8539 (struct rm_ctx): New structure.
8540 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8541 Define macro.
8542 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8543 (SET_RESTORE_ROUNDF): Likewise.
8544 (SET_RESTORE_ROUNDL): Likewise.
8545 (SET_RESTORE_ROUND_NOEX): Likewise.
8546 (SET_RESTORE_ROUND_NOEXF): Likewise.
8547 (SET_RESTORE_ROUND_NOEXL): Likewise.
8548 (SET_RESTORE_ROUND_53BIT): Likewise.
8549 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8550 (libc_feresetround_noexf_ctx): Likewise.
8551 (libc_feresetround_noexl_ctx): Likewise.
8552 (libc_feholdsetround_53bit_ctx): Likewise.
8553 (libc_feresetround_53bit_ctx): Likewise.
8554 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8555 (libc_feholdexcept_setround_sse_ctx): New function.
8556 (libc_fesetenv_sse_ctx): Likewise.
8557 (libc_feupdateenv_sse_ctx): Likewise.
8558 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8559 (libc_feholdexcept_setround_387_ctx): Likewise.
8560 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8561 (libc_feholdsetround_387_prec_ctx): Likewise.
8562 (libc_feholdsetround_387_ctx): Likewise.
8563 (libc_feholdsetround_387_53bit_ctx): Likewise.
8564 (libc_feholdsetround_sse_ctx): Likewise.
8565 (libc_feresetround_sse_ctx): Likewise.
8566 (libc_feresetround_387_ctx): Likewise.
8567 (libc_feupdateenv_387_ctx): Likewise.
8568 (libc_feholdexcept_setroundf_ctx): Define macro.
8569 (libc_fesetenvf_ctx): Likewise.
8570 (libc_feupdateenvf_ctx): Likewise.
8571 (libc_feholdsetroundf_ctx): Likewise.
8572 (libc_feresetroundf_ctx): Likewise.
8573 (libc_feholdexcept_setround_ctx): Likewise.
8574 (libc_fesetenv_ctx): Likewise.
8575 (libc_feupdateenv_ctx): Likewise.
8576 (libc_feholdsetround_ctx): Likewise.
8577 (libc_feresetround_ctx): Likewise.
8578 (libc_feholdexcept_setroundl_ctx): Likewise.
8579 (libc_feupdateenvl_ctx): Likewise.
8580 (libc_feholdsetroundl_ctx): Likewise.
8581 (libc_feresetroundl_ctx): Likewise.
8582 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8583 (libc_feresetround_53bit_ctx): Likewise.
8584
59b30555
SP
85852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8586
8587 * locale/iso-639.def: Convert to UTF-8.
8588
f1d73d30
JM
85892013-06-11 Joseph Myers <joseph@codesourcery.com>
8590
8591 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8592 (EXCEPTION_TESTS_double): Likewise.
8593 (EXCEPTION_TESTS_long_double): Likewise.
8594 (EXCEPTION_TESTS): Likewise.
8595 * math/libm-test.inc (test_exceptions): Only test exceptions if
8596 EXCEPTION_TESTS (FLOAT).
8597
94aca5e7
SP
85982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8599
8600 * benchtests/Makefile (string-bench): Add strcpy_chk and
8601 stpcpy_chk.
8602 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8603 * benchtests/bench-stpcpy_chk.c: New file.
8604 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8605 * benchtests/bench-strcpy_chk.c: New file.
8606 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8607 code.
8608 (do_test): Likewise.
8609
fac0c5f2
RA
86102013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8611
8612 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8613 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8614 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8615 with tabs where appropriate.
8616 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8617 dl-procinfo.h.
8618 [PPC_PLATFORM_PPC440]: Likewise.
8619 [PPC_PLATFORM_PPC464]: Likewise.
8620 [PPC_PLATFORM_PPC476]: Likewise.
8621 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8622 ppc464, and ppc476 platform strings merging from ports/
8623 dl-procinfo.h.
8624
f22bc486
AS
86252013-06-11 Andreas Schwab <schwab@suse.de>
8626
8627 [BZ #14991]
8628 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8629 (from_ucs4_idx): Regenerate.
8630 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8631 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8632 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8633 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8634 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8635 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8636 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8637 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8638 from FROM_LOOP and TO_LOOP specific macros.
8639 (BODY): Handle combining characters.
8640 * iconvdata/BIG5HKSCS.irreversible: Update.
8641 * iconvdata/BIG5HKSCS.precomposed: New file.
8642 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8643 characters.
8644 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8645
c1f75dc3
SP
86462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8647
4eacded2
SP
8648 * include/sys/time.h: Fix indentation and add copyright header.
8649
fec799f8
SP
8650 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8651 (do_test): Likewise.
8652 * string/test-memchr.c (do_one_test): Likewise.
8653 (do_test): Likewise.
8654 * string/test-memcmp.c (do_one_test): Likewise.
8655 (do_test): Likewise.
8656 * string/test-memcpy.c (do_one_test): Likewise.
8657 (do_test): Likewise.
8658 * string/test-memmem.c (do_one_test): Likewise.
8659 (do_test): Likewise.
8660 (do_random_tests): Likewise.
8661 * string/test-memmove.c (do_one_test): Likewise.
8662 (do_test): Likewise.
8663 * string/test-memset.c (do_one_test): Likewise.
8664 (do_test): Likewise.
8665 * string/test-rawmemchr.c (do_one_test): Likewise.
8666 (do_test): Likewise.
8667 * string/test-strcasecmp.c (do_one_test): Likewise.
8668 (do_test): Likewise.
8669 * string/test-strcasestr.c (do_one_test): Likewise.
8670 (do_test): Likewise.
8671 * string/test-strcat.c (do_one_test): Likewise.
8672 (do_test): Likewise.
8673 * string/test-strchr.c (do_one_test): Likewise.
8674 (do_test): Likewise.
8675 * string/test-strcmp.c (do_one_test): Likewise.
8676 (do_test): Likewise.
8677 * string/test-strcpy.c (do_one_test): Likewise.
8678 (do_test): Likewise.
8679 * string/test-string.h: Likewise.
8680 (test_init): Likewise.
8681 * string/test-strlen.c (do_one_test): Likewise.
8682 (do_test): Likewise.
8683 * string/test-strncasecmp.c (do_one_test): Likewise.
8684 (do_test): Likewise.
8685 * string/test-strncat.c (do_one_test): Likewise.
8686 (do_test): Likewise.
8687 * string/test-strncmp.c (do_one_test): Likewise.
8688 (do_test_limit): Likewise.
8689 (do_test): Likewise.
8690 * string/test-strncpy.c (do_one_test): Likewise.
8691 (do_test): Likewise.
8692 * string/test-strnlen.c (do_one_test): Likewise.
8693 (do_test): Likewise.
8694 * string/test-strpbrk.c (do_one_test): Likewise.
8695 (do_test): Likewise.
8696 * string/test-strrchr.c (do_one_test): Likewise.
8697 (do_test): Likewise.
8698 * string/test-strspn.c (do_one_test): Likewise.
8699 (do_test): Likewise.
8700 * string/test-strstr.c (do_one_test): Likewise.
8701 (do_test): Likewise.
8702
97020474
SP
8703 * benchtests/Makefile (string-bench): Add string benchmarks.
8704 * benchtests/bench-bcopy-ifunc.c: New file.
8705 * benchtests/bench-bcopy.c: New file.
8706 * benchtests/bench-bzero-ifunc.c: New file.
8707 * benchtests/bench-bzero.c: New file.
8708 * benchtests/bench-memccpy-ifunc.c: New file.
8709 * benchtests/bench-memccpy.c: New file.
8710 * benchtests/bench-memchr-ifunc.c: New file.
8711 * benchtests/bench-memchr.c: New file.
8712 * benchtests/bench-memcmp-ifunc.c: New file.
8713 * benchtests/bench-memcmp.c: New file.
8714 * benchtests/bench-memmem-ifunc.c: New file.
8715 * benchtests/bench-memmem.c: New file.
8716 * benchtests/bench-memmove-ifunc.c: New file.
8717 * benchtests/bench-memmove.c: New file.
8718 * benchtests/bench-mempcpy-ifunc.c: New file.
8719 * benchtests/bench-mempcpy.c: New file.
8720 * benchtests/bench-memset-ifunc.c: New file.
8721 * benchtests/bench-memset.c: New file.
8722 * benchtests/bench-rawmemchr-ifunc.c: New file.
8723 * benchtests/bench-rawmemchr.c: New file.
8724 * benchtests/bench-stpcpy-ifunc.c: New file.
8725 * benchtests/bench-stpcpy.c: New file.
8726 * benchtests/bench-stpncpy-ifunc.c: New file.
8727 * benchtests/bench-stpncpy.c: New file.
8728 * benchtests/bench-strcasecmp-ifunc.c: New file.
8729 * benchtests/bench-strcasecmp.c: New file.
8730 * benchtests/bench-strcasestr-ifunc.c: New file.
8731 * benchtests/bench-strcasestr.c: New file.
8732 * benchtests/bench-strcat-ifunc.c: New file.
8733 * benchtests/bench-strcat.c: New file.
8734 * benchtests/bench-strchr-ifunc.c: New file.
8735 * benchtests/bench-strchr.c: New file.
8736 * benchtests/bench-strchrnul-ifunc.c: New file.
8737 * benchtests/bench-strchrnul.c: New file.
8738 * benchtests/bench-strcmp-ifunc.c: New file.
8739 * benchtests/bench-strcmp.c: New file.
8740 * benchtests/bench-strcpy-ifunc.c: New file.
8741 * benchtests/bench-strcpy.c: New file.
8742 * benchtests/bench-strcspn-ifunc.c: New file.
8743 * benchtests/bench-strcspn.c: New file.
8744 * benchtests/bench-strlen-ifunc.c: New file.
8745 * benchtests/bench-strlen.c: New file.
8746 * benchtests/bench-strncasecmp-ifunc.c: New file.
8747 * benchtests/bench-strncasecmp.c: New file.
8748 * benchtests/bench-strncat-ifunc.c: New file.
8749 * benchtests/bench-strncat.c: New file.
8750 * benchtests/bench-strncmp-ifunc.c: New file.
8751 * benchtests/bench-strncmp.c: New file.
8752 * benchtests/bench-strncpy-ifunc.c: New file.
8753 * benchtests/bench-strncpy.c: New file.
8754 * benchtests/bench-strnlen-ifunc.c: New file.
8755 * benchtests/bench-strnlen.c: New file.
8756 * benchtests/bench-strpbrk-ifunc.c: New file.
8757 * benchtests/bench-strpbrk.c: New file.
8758 * benchtests/bench-strrchr-ifunc.c: New file.
8759 * benchtests/bench-strrchr.c: New file.
8760 * benchtests/bench-strspn-ifunc.c: New file.
8761 * benchtests/bench-strspn.c: New file.
8762 * benchtests/bench-strstr-ifunc.c: New file.
8763 * benchtests/bench-strstr.c: New file.
8764
c1f75dc3
SP
8765 * benchtests/Makefile: Disable parallel execution of targets.
8766 (string-bench): Add memcpy.
8767 (benchset): New variable to store a list of benchmark sets.
8768 (bench-func): Renamed from bench.
8769 (bench-set): New target.
8770 (bench): Depend on bench-func and bench-set.
8771 * benchtests/README: Add section on benchmark sets.
8772 * benchtests/bench-memcpy-ifunc.c: New file.
8773 * benchtests/bench-memcpy.c: New file.
8774 * benchtests/bench-string.h: New file.
8775
50fd745b
AS
87762013-06-11 Andreas Schwab <schwab@suse.de>
8777
8778 [BZ #15577]
8779 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8780 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8781 values in the triple.
8782 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8783 terminator in the group key.
8784
3ee7e9fe
AJ
87852013-06-11 Andreas Jaeger <aj@suse.de>
8786
8787 * po/zh_TW.po: Update Chinese (traditional) translation from
8788 translation project.
8789
89fb6835
SP
87902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8791
8792 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8793 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8794 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8796 (clock_getcpuclockid): Likewise.
8797 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8798 Add weak_alias and libc_hidden_def.
8799 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8800 * rt/clock_gettime.c (clock_gettime): Rename to
8801 __clock_gettime. Add weak_alias and libc_hidden_def.
8802 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8803 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8804 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8805 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8806 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8807 Likewise.
8808 * rt/clock_settime.c (clock_settime): Rename to
8809 __clock_settime. Add weak_alias and libc_hidden_def.
8810 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8811
0efa6f8b
JM
88122013-06-10 Joseph Myers <joseph@codesourcery.com>
8813
b8c61b4b
JM
8814 * mach/err_boot.sub: Remove trailing whitespace.
8815 * mach/err_ipc.sub: Likewise.
8816 * mach/err_mach.sub: Likewise.
8817
0efa6f8b
JM
8818 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8819 (ROUNDING_TESTS_double): Likewise.
8820 (ROUNDING_TESTS_long_double): Likewise.
8821 (ROUNDING_TESTS): Likewise.
8822 * math/libm-test.inc: Include <math-tests.h>.
8823 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8824 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8825 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8826 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8827
50b818bf
SP
88282013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8829
8830 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8831 of assigning.
8832
60d2f8f3
JM
88332013-06-08 Joseph Myers <joseph@codesourcery.com>
8834
4902d2c3
JM
8835 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8836 otherwise empty TRANS lines.
8837 * sysdeps/gnu/errlist.c: Regenerated.
8838
60d2f8f3
JM
8839 * catgets/gencat.c (error_print): Use (void) in function
8840 definition.
8841 * crypt/crypt_util.c (__init_des): Likewise.
8842 * crypt/speeds.c (Stop): Likewise.
8843 (main): Likewise.
8844 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8845 * inet/ruserpass.c (token): Likewise.
8846 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8847 * intl/localealias.c (extend_alias_table): Likewise.
8848 * intl/plural-exp.c (init_germanic_plural): Likewise.
8849 * libio/fcloseall.c (__fcloseall): Likewise.
8850 * libio/genops.c (_IO_flush_all): Likewise.
8851 (_IO_flush_all_linebuffered): Likewise.
8852 (_IO_cleanup): Likewise.
8853 (_IO_iter_begin): Likewise.
8854 (_IO_iter_end): Likewise.
8855 (_IO_list_lock): Likewise.
8856 (_IO_list_unlock): Likewise.
8857 (_IO_list_resetlock): Likewise.
8858 * libio/getchar.c (getchar): Likewise.
8859 * libio/getchar_u.c (getchar_unlocked): Likewise.
8860 * libio/getwchar.c (getwchar): Likewise.
8861 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8862 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8863 * login/getpt.c (__getpt): Likewise.
8864 * login/tst-utmp.c (main): Likewise.
8865 * malloc/hooks.c (__malloc_check_init): Likewise.
8866 * malloc/malloc.c (__malloc_stats): Likewise.
8867 * malloc/mtrace.c (tr_break): Likewise.
8868 (mtrace): Likewise.
8869 (muntrace): Likewise.
8870 * misc/fstab.c (endfsent): Likewise.
8871 * misc/getclktck.c (__getclktck): Likewise.
8872 * misc/getdtsz.c (__getdtablesize): Likewise.
8873 * misc/gethostid.c (gethostid): Likewise.
8874 * misc/getpagesize.c (__getpagesize): Likewise.
8875 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8876 (__get_nprocs): Likewise.
8877 (__get_phys_pages): Likewise.
8878 (__get_avphys_pages): Likewise.
8879 * misc/getttyent.c (getttyent): Likewise.
8880 (setttyent): Likewise.
8881 (endttyent): Likewise.
8882 * misc/getusershell.c (getusershell): Likewise.
8883 (endusershell): Likewise.
8884 (setusershell): Likewise.
8885 (initshells): Likewise.
8886 * misc/hsearch.c (__hdestroy): Likewise.
8887 * misc/sync.c (sync): Likewise.
8888 * misc/syslog.c (closelog_internal): Likewise.
8889 (closelog): Likewise.
8890 * misc/ttyslot.c (ttyslot): Likewise.
8891 * misc/vhangup.c (vhangup): Likewise.
8892 * posix/fork.c (__fork): Likewise.
8893 * posix/getegid.c (__getegid): Likewise.
8894 * posix/geteuid.c (__geteuid): Likewise.
8895 * posix/getgid.c (__getgid): Likewise.
8896 * posix/getpid.c (__getpid): Likewise.
8897 * posix/getppid.c (__getppid): Likewise.
8898 * posix/getuid.c (__getuid): Likewise.
8899 * posix/pause.c (pause): Likewise.
8900 * posix/setpgrp.c (setpgrp): Likewise.
8901 * posix/setsid.c (__setsid): Likewise.
8902 * posix/test-vfork.c (noop): Likewise.
8903 * resolv/gethnamaddr.c (_endhtent): Likewise.
8904 (_gethtent): Likewise.
8905 (ht_endhostent): Likewise.
8906 (gethostent): Likewise.
8907 (dns_service): Likewise.
8908 * stdlib/drand48.c (drand48): Likewise.
8909 * stdlib/lrand48.c (lrand48): Likewise.
8910 * stdlib/mrand48.c (mrand48): Likewise.
8911 * stdlib/rand.c (rand): Likewise.
8912 * stdlib/random.c (__random): Likewise.
8913 * stdlib/setenv.c (clearenv): Likewise.
8914 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8915 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8916 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8917 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8918 (__get_nprocs): Likewise.
8919 (__get_phys_pages): Likewise.
8920 (__get_avphys_pages): Likewise.
8921 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8922 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8923 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8924 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8925 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8926 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8927 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8928 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8929 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8930 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8931 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8932 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8933 * sysdeps/posix/clock.c (clock): Likewise.
8934 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8935 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8936 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8937 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8938 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8940 (__get_nprocs_conf): Likewise.
8941 (__get_phys_pages): Likewise.
8942 (__get_avphys_pages): Likewise.
8943 * time/clock.c (clock): Likewise.
8944 * time/tzset.c (__tzname_max): Likewise.
8945
2e09a79a
JM
89462013-06-07 Joseph Myers <joseph@codesourcery.com>
8947
8948 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8949 (__bswap_32): Do not use "register".
8950 * crypt/crypt.c (_ufc_doit_r): Likewise.
8951 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8952 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8953 * gmon/gmon.c (__monstartup): Likewise.
8954 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8955 * hurd/hurdmalloc.c (more_memory): Likewise.
8956 (malloc): Likewise.
8957 (free): Likewise.
8958 (realloc): Likewise.
8959 (malloc_fork_prepare): Likewise.
8960 (malloc_fork_parent): Likewise.
8961 (malloc_fork_child): Likewise.
8962 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8963 (_svcauth_des): Likewise.
8964 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8965 * inet/inet_net.c (inet_network): Likewise.
8966 * inet/inet_netof.c (inet_netof): Likewise.
8967 * inet/rcmd.c (__validuser2_sa): Likewise.
8968 * io/fts.c (fts_open): Likewise.
8969 (fts_load): Likewise.
8970 (fts_close): Likewise.
8971 (fts_read): Likewise.
8972 (fts_children): Likewise.
8973 (fts_build): Likewise.
8974 (fts_stat): Likewise.
8975 (fts_sort): Likewise.
8976 (fts_alloc): Likewise.
8977 (fts_lfree): Likewise.
8978 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8979 (_IO_file_xsgetn): Likewise.
8980 (_IO_file_xsgetn_mmap): Likewise.
8981 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8982 (_IO_cookie_write): Likewise.
8983 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8984 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8985 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8986 * malloc/obstack.c (_obstack_begin): Likewise.
8987 (_obstack_begin_1): Likewise.
8988 (_obstack_newchunk): Likewise.
8989 (_obstack_allocated_p): Likewise.
8990 (obstack_free): Likewise.
8991 (_obstack_memory_used): Likewise.
8992 * misc/getttyent.c (getttynam): Likewise.
8993 (getttyent): Likewise.
8994 (skip): Likewise.
8995 (value): Likewise.
8996 * misc/getusershell.c (initshells): Likewise.
8997 * misc/syslog.c (__vsyslog_chk): Likewise.
8998 * misc/ttyslot.c (ttyslot): Likewise.
8999 * nis/nis_hash.c (__nis_hash): Likewise.
9000 * posix/fnmatch_loop.c (FCT): Likewise.
9001 * posix/getconf.c (print_all): Likewise.
9002 (main): Likewise.
9003 * posix/getopt.c (exchange): Likewise.
9004 * posix/glob.c (globfree): Likewise.
9005 (prefix_array): Likewise.
9006 (__glob_pattern_type): Likewise.
9007 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9008 (NS_GET32): Likewise.
9009 (NS_PUT16): Likewise.
9010 (NS_PUT32): Likewise.
9011 * resolv/gethnamaddr.c (getanswer): Likewise.
9012 (gethostbyname2): Likewise.
9013 (gethostbyaddr): Likewise.
9014 (_gethtent): Likewise.
9015 (_gethtbyname2): Likewise.
9016 (_gethtbyaddr): Likewise.
9017 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9018 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9019 * resolv/res_init.c (__res_vinit): Likewise.
9020 (net_mask): Likewise.
9021 * resolv/res_mkquery.c (outchar): Likewise.
9022 (PRINT): Likewise.
9023 * stdio-common/printf_fp.c (outchar): Likewise.
9024 (PRINT): Likewise.
9025 * stdio-common/printf_fphex.c (outchar): Likewise.
9026 (PRINT): Likewise.
9027 * stdio-common/printf_size.c (outchar): Likewise.
9028 (PRINT): Likewise.
9029 * stdio-common/test_rdwr.c (main): Likewise.
9030 * stdio-common/tfformat.c (matches): Likewise.
9031 * stdio-common/vfprintf.c (outchar): Likewise.
9032 (printf_unknown): Likewise.
9033 (buffered_vfprintf): Likewise.
9034 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9035 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9036 (ReadFile): Likewise.
9037 * stdlib/qsort.c (SWAP): Likewise.
9038 (_quicksort): Likewise.
9039 * stdlib/setenv.c (__add_to_environ): Likewise.
9040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9041 * stdlib/strtol_l.c (__strtol_l): Likewise.
9042 * stdlib/tst-strtod.c (main): Likewise.
9043 * stdlib/tst-strtol.c (main): Likewise.
9044 * stdlib/tst-strtoll.c (main): Likewise.
9045 * string/bits/string2.h (__strcmp_cc): Likewise.
9046 (__strcmp_cg): Likewise.
9047 (__strcspn_c1): Likewise.
9048 (__strcspn_c2): Likewise.
9049 (__strcspn_c3): Likewise.
9050 (__strspn_c1): Likewise.
9051 (__strspn_c2): Likewise.
9052 (__strspn_c3): Likewise.
9053 (__strsep_1c): Likewise.
9054 (__strsep_2c): Likewise.
9055 (__strsep_3c): Likewise.
9056 * string/memccpy.c (__memccpy): Likewise.
9057 * string/stpcpy.c (__stpcpy): Likewise.
9058 * string/strcmp.c (strcmp): Likewise.
9059 * string/strrchr.c (strrchr): Likewise.
9060 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9061 Likewise.
9062 * sysdeps/mach/hurd/getcwd.c
9063 (_hurd_canonicalize_directory_name_internal): Likewise.
9064 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9065 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9066 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9067 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9068 Likewise, in both definitions.
9069 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9070 definitions.
9071 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9072 64] (__bswap_64): Likewise.
9073 * time/test_time.c (main): Likewise.
9074 * time/tzfile.c (__tzfile_read): Likewise.
9075 (__tzfile_compute): Likewise.
9076 * time/tzset.c (__tzset_parse_tz): Likewise.
9077 (tzset_internal): Likewise.
9078 (compute_change): Likewise.
9079 * wcsmbs/wcscat.c (__wcscat): Likewise.
9080 * wcsmbs/wcschr.c (wcschr): Likewise.
9081 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9082 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9083 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9084 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9085 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9086 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9087 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9088 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9089 * wcsmbs/wmemset.c (wmemset): Likewise.
9090
9e54314b
JM
90912013-06-06 Joseph Myers <joseph@codesourcery.com>
9092
9093 * scripts/config.guess: Update to version 2013-05-16.
9094 * scripts/config.sub: Update to version 2013-04-24.
9095 * scripts/install-sh: Update to version 2011-11-20.07.
9096 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9097 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9098
350635a5
OB
90992013-06-06 Ondřej Bílka <neleai@seznam.cz>
9100
9101 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9102 * elf/sln.c: Likewise.
9103 * hurd/hurd/ioctl.h: Likewise.
9104 * hurd/hurdmalloc.c: Likewise.
9105 * hurd/xattr.c: Likewise.
9106 * include/shlib-compat.h: Likewise.
9107 * inet/ruserpass.c: Likewise.
9108 * libio/iofgets_u.c: Likewise.
9109 * libio/iofgetws_u.c: Likewise.
9110 * locale/programs/ld-identification.c: Likewise.
9111 * locale/programs/ld-time.c: Likewise.
9112 * mach/msg-destroy.c: Likewise.
9113 * nss/nss_files/files-netgrp.c: Likewise.
9114 * resolv/res_data.c: Likewise.
9115 * soft-fp/op-1.h: Likewise.
9116 * soft-fp/op-2.h: Likewise.
9117 * soft-fp/op-4.h: Likewise.
9118 * soft-fp/op-common.h: Likewise.
9119 * stdio-common/printf_fphex.c: Likewise.
9120 * stdlib/strtod_l.c: Likewise.
9121 * sunrpc/rpc/clnt.h: Likewise.
9122 * sysdeps/generic/framestate.c: Likewise.
9123 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9124 * sysdeps/i386/bsd-setjmp.S: Likewise.
9125 * sysdeps/i386/__longjmp.S: Likewise.
9126 * sysdeps/i386/setjmp.S: Likewise.
9127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9128 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9145 * sysdeps/ieee754/support.c: Likewise.
9146 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9147 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9148 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9149 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9150 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9151 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9152 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9153 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9154 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9155 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9156 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9157 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9158 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9159 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9160 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9161 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9162 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9164
44a988af
OB
91652013-06-05 Ondřej Bílka <neleai@seznam.cz>
9166
25506f09 9167 * posix/transbug.c: Remove executable mode.
44a988af 9168
9c84384c
JM
91692013-06-05 Joseph Myers <joseph@codesourcery.com>
9170
9171 * crypt/speeds.c: Remove trailing whitespace.
9172 * dlfcn/default.c: Likewise.
9173 * elf/ifuncdep2.c: Likewise.
9174 * elf/ifuncmain1.c: Likewise.
9175 * elf/ifuncmain1vis.c: Likewise.
9176 * elf/testobj.h: Likewise.
9177 * elf/tst-stackguard1.c: Likewise.
9178 * gmon/sys/gmon.h: Likewise.
9179 * hurd/hurdmsg.c: Likewise.
9180 * hurd/new-fd.c: Likewise.
9181 * hurd/ports-get.c: Likewise.
9182 * iconvdata/ibm1008_420.c: Likewise.
9183 * inet/tst-getni1.c: Likewise.
9184 * inet/tst-getni2.c: Likewise.
9185 * libio/ioungetc.c: Likewise.
9186 * libio/wfiledoalloc.c: Likewise.
9187 * manual/libm-err-tab.pl: Likewise.
9188 * math/w_dremf.c: Likewise.
9189 * misc/ftruncate.c: Likewise.
9190 * posix/bug-glob2.c: Likewise.
9191 * posix/tst-pcre.c: Likewise.
9192 * posix/wait4.c: Likewise.
9193 * resolv/README: Likewise.
9194 * resolv/res_debug.h: Likewise.
9195 * resolv/tst-inet_ntop.c: Likewise.
9196 * setjmp/bug269-setjmp.c: Likewise.
9197 * soft-fp/extended.h: Likewise.
9198 * soft-fp/op-1.h: Likewise.
9199 * soft-fp/op-2.h: Likewise.
9200 * soft-fp/op-4.h: Likewise.
9201 * soft-fp/op-8.h: Likewise.
9202 * soft-fp/testit.c: Likewise.
9203 * stdio-common/bug16.c: Likewise.
9204 * stdlib/random.c: Likewise.
9205 * sunrpc/rpcsvc/rquota.x: Likewise.
9206 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9211 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9213 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9214 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9235 * sysdeps/ieee754/s_lib_version.c: Likewise.
9236 * sysdeps/mach/hurd/check_fds.c: Likewise.
9237 * sysdeps/mach/hurd/getsockname.c: Likewise.
9238 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9239 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9240 * sysdeps/powerpc/bits/link.h: Likewise.
9241 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9242 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9243 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9244 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9245 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9246 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9247 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9248 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9249 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9250 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9251 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9253 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9254 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9255 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9257 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9262 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9264 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9268 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9269 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9274 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9275 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9278 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9279 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9280 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9281 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9282 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9285 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9286 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9287 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9288 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9289 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9290 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9293 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9294 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9295 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9296 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9297 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9299 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9300 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9303 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9305 * sysdeps/powerpc/sysdep.h: Likewise.
9306 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9307 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9308 * sysdeps/sh/dl-trampoline.S: Likewise.
9309 * sysdeps/sh/memset.S: Likewise.
9310 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9311 * sysdeps/sh/strlen.S: Likewise.
9312 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9313 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9314 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9315 * sysdeps/sparc/sparc32/rem.S: Likewise.
9316 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9317 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9318 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9319 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9320 * sysdeps/sparc/sparc32/urem.S: Likewise.
9321 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9322 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9323 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9324 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9325 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9326 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9327 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9328 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9329 * sysdeps/unix/bsd/times.c: Likewise.
9330 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9331 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9335 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9336 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9339 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9341 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9342 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9343 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9344 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9345 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9346 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9347 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9348 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9349 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9350 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9351 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9352 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9353 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9354 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9355 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9358 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9359 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9360 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9361 * sysdeps/x86_64/strcspn.S: Likewise.
9362
869378a5
RA
93632013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9364
9365 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9366 generated file. Regenerate properly from gen-translit.pl.
9367 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9368 locale/C-translit.h.
9369
840e2943
AS
93702013-06-05 Andreas Schwab <schwab@suse.de>
9371
9372 [BZ #15100]
9373 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9374 week as 6 instead of -1.
9375 * time/tst-strptime.c (day_tests): Add test case.
9376
4c60cb0c
SP
93772013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9378
9379 * sysdeps/generic/math_private.h
9380 (libc_feholdexcept_setround_53bit): Replace with
9381 libc_feholdsetround_53bit.
9382 (libc_feupdateenv_53bit): Replace with
9383 libc_feresetround_53bit.
9384 (SET_RESTORE_ROUND_53BIT): Adjust.
9385
d180203e
SP
93862013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9387
96df079a
SP
9388 * string/test-strchrnul.c: Add copyright header.
9389
d180203e
SP
9390 * posix/tst-getaddrinfo4.c: Increase test timeout.
9391
8b0ccb2d
CD
93922013-06-03 Carlos O'Donell <carlos@redhat.com>
9393
9394 [BZ #15536]
9395 * math/libm-test.inc (MAX_EXP): Remove
9396 (MIN_EXP): Define.
9397 (ulp): Use MIN_EXP - MANT_DIG.
9398 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9399
3b3c4d40
CD
94002013-05-31 Carlos O'Donell <carlos@redhat.com>
9401
9402 * po/be.po: Revert last change.
9403 * po/zh_CN.po: Likewise.
9404 * po/header.pot: Likewise.
9405
fab7ce3f
JM
94062013-05-31 Joseph Myers <joseph@codesourcery.com>
9407
9408 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9409 link-libc-deps to empty as target-specific variable.
9410 * Makerules (link-libc-args): New variable.
9411 (libc-for-link): Likewise.
9412 (link-libc-deps): Likewise.
9413 (lib%.so): Depend on $(link-libc-deps). Link with
9414 $(link-libc-args).
9415 (build-module): Link with $(link-libc-args).
9416 (build-module-asneeded): Likewise.
9417 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9418 list of objects.
9419 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9420 target-specific variable.
9421 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9422 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9423 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9424 libc.
9425 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9426 libc and ld.so.
9427 ($(objpfx)libpcprofile.so): Likewise.
9428 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9429 libc_nonshared.a.
9430 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9431 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9432 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9433 $(link-libc-deps).
9434 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9435 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9436 * login/Makefile ($(objpfx)libutil.so): Likewise.
9437 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9438 * math/Makefile ($(objpfx)libm.so): Likewise.
9439 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9440 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9441 variable instead of depending directly on libc.
9442 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9443 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9444 $(link-libc-deps).
9445 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9446 libc.
9447 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9448 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9449 ($(objpfx)libanl.so): Likewise.
9450 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9451 ld.so.
9452 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9453 $(link-libc-deps).
9454 * sysdeps/i386/fpu/Makefile: Remove file.
9455 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9456 ($(objpfx)libm.so): Remove dependency on ld.so.
9457
eca5920c
PF
94582013-05-30 Patsy Franklin <pfrankli@redhat.com>
9459
9460 [BZ # 15553]
9461 * nis/yp_xdr.c (XDRMAXNAME): Define.
9462 (XDRMAXRECORD): Define.
9463 (xdr_domainname): Use XDRMAXNAME.
9464 (xdr_mapname): Likewise.
9465 (xdr_peername): Likewise.
9466 (xdr_keydat): Use XDRMAXRECORD.
9467 (xdr_valdat): Likewise.
9468
94692013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9470
9471 [BZ #14256]
9472 * manual/errno.texi (ESTALE): Update to account for more than
9473 just NFS file systems.
9474 * sysdeps/gnu/errlist.c: Regenerated.
9475
b9375348
SP
94762013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9477
9478 [BZ #15465]
9479 * elf/Makefile (tests): Add tst-null-argv.
9480 (modules-names): Add tst-null-argv-lib.
9481 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9482 (tst-null-argv-ENV): Set environment for tst-null-argv.
9483 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9484 (RTLD_PROGNAME): New macro.
9485 * elf/tst-null-argv.c: New test case.
9486 * elf/tst-null-argv-lib.c: Library for test case.
9487 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9488 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9489 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9490 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9491 * elf/dl-init.c (call_init): Likewise.
9492 (_dl_init): Likewise.
9493 * elf/dl-load.c (print_search_path): Likewise.
9494 (_dl_map_object): Likewise.
9495 * elf/dl-lookup.c (do_lookup_x): Likewise.
9496 (add_dependency): Likewise.
9497 (_dl_lookup_symbol_x): Likewise.
9498 (_dl_debug_bindings): Likewise.
9499 * elf/dl-open.c (_dl_show_scope): Likewise.
9500 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9501 * elf/dl-version.c (match_symbol): Likewise.
9502 (_dl_check_map_versions): Likewise.
9503 * elf/rtld.c (dl_main): Likewise.
9504 (print_unresolved): Use RTLD_PROGNAME.
9505 (print_missing_version): Likewise.
9506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9507 (elf_machine_rela): Likewise.
9508 * sysdeps/powerpc/powerpc32/dl-machine.c
9509 (__process_machine_rela): Likewise.
9510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9511 Likewise.
9512 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9513 Likewise.
9514 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9515 Likewise.
9516 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9518 Likewise.
9519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9520 Likewise.
9521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9522
8a9f20c8
CD
95232013-05-28 Carlos O'Donell <carlos@redhat.com>
9524
9525 * po/be.po: Add descriptive title.
9526 * po/zh_CN.po: Likewise.
9527 * po/header.pot: Likewise.
9528
0e60d68e
MF
95292013-05-28 Mike Frysinger <vapier@gentoo.org>
9530
9531 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9532 error message.
9533 (enlarge_archive): Likewise.
9534
56b672e9
BN
95352013-05-28 Ben North <ben@redfrontdoor.org>
9536
9537 * manual/arith.texi (frexp): It is the magnitude of the return
9538 value which lies in [0.5, 1), not the return value itself.
9539
5e056687
AZ
95402013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9541
9542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9543
2b66ef5d
TS
95442013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9545
528c2405
TS
9546 * stdio-common/bug26.c (main): Correct fscanf template.
9547
07b4c13d
TS
9548 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9549 declare _dl_skip_args.
9550
ec9dd97c
TS
9551 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9552 Don't declare.
9553
2b66ef5d
TS
9554 * manual/platform.texi: Add missing @end deftypefun.
9555
4f8dfe27
JM
95562013-05-24 Joseph Myers <joseph@codesourcery.com>
9557
0323d086
JM
9558 [BZ #15529]
9559 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9560 bit of mantissa of 2^16382.
9561 * math/libm-test.inc (hypot_test_data): Add more tests.
9562
dd4259b9
JM
9563 * math/libm-test.inc: Add drem and pow10 to list of tested
9564 functions.
9565 (pow10_test): New function.
9566 (drem_test): Likewise.
9567 (drem_test_tonearest): Likewise.
9568 (drem_test_towardzero): Likewise.
9569 (drem_test_downward): Likewise.
9570 (drem_test_upward): Likewise.
9571 (main): Call the new functions.
9572
4f8dfe27
JM
9573 * math/libm-test.inc (finite_test_data): Remove.
9574 (finite_test): Run tests from isfinite_test_data.
9575 (gamma_test_data): Remove.
9576 (gamma_test): Run tests from lgamma_test_data.
9577 * sysdeps/i386/fpu/libm-test-ulps: Update.
9578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9579
d116b7c4
AZ
95802013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9581
9582 * manual/platform.texi: Add PowerPC PPR function set documentation.
9583 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9584 implementation.
9585
e96e3767
CD
95862013-05-24 Carlos O'Donell <carlos@redhat.com>
9587
9588 * math/libm-test.inc (MAX_EXP): Define.
9589 (ULPDIFF): Define.
9590 (ulp): New function.
9591 (check_float_internal): Use ULPDIFF.
9592 (cpow_test): Disable failing test.
9593 (check_ulp): Test ulp() implemetnation.
9594 (main): Call check_ulp before starting tests.
9595
b679a606
JM
95962013-05-24 Joseph Myers <joseph@codesourcery.com>
9597
e8bdba36
JM
9598 * math/gen-libm-test.pl (generate_testfile): Do not handle
9599 START_DATA and END_DATA.
9600 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9601 END_DATA.
9602 (acos_tonearest_test_data): Likewise.
9603 (acos_towardzero_test_data): Likewise.
9604 (acos_downward_test_data): Likewise.
9605 (acos_upward_test_data): Likewise.
9606 (acosh_test_data): Likewise.
9607 (asin_test_data): Likewise.
9608 (asin_tonearest_test_data): Likewise.
9609 (asin_towardzero_test_data): Likewise.
9610 (asin_downward_test_data): Likewise.
9611 (asin_upward_test_data): Likewise.
9612 (asinh_test_data): Likewise.
9613 (atan_test_data): Likewise.
9614 (atanh_test_data): Likewise.
9615 (atan2_test_data): Likewise.
9616 (cabs_test_data): Likewise.
9617 (cacos_test_data): Likewise.
9618 (cacosh_test_data): Likewise.
9619 (carg_test_data): Likewise.
9620 (casin_test_data): Likewise.
9621 (casinh_test_data): Likewise.
9622 (catan_test_data): Likewise.
9623 (catanh_test_data): Likewise.
9624 (cbrt_test_data): Likewise.
9625 (ccos_test_data): Likewise.
9626 (ccosh_test_data): Likewise.
9627 (ceil_test_data): Likewise.
9628 (cexp_test_data): Likewise.
9629 (cimag_test_data): Likewise.
9630 (clog_test_data): Likewise.
9631 (clog10_test_data): Likewise.
9632 (conj_test_data): Likewise.
9633 (copysign_test_data): Likewise.
9634 (cos_test_data): Likewise.
9635 (cos_tonearest_test_data): Likewise.
9636 (cos_towardzero_test_data): Likewise.
9637 (cos_downward_test_data): Likewise.
9638 (cos_upward_test_data): Likewise.
9639 (cosh_test_data): Likewise.
9640 (cosh_tonearest_test_data): Likewise.
9641 (cosh_towardzero_test_data): Likewise.
9642 (cosh_downward_test_data): Likewise.
9643 (cosh_upward_test_data): Likewise.
9644 (cpow_test_data): Likewise.
9645 (cproj_test_data): Likewise.
9646 (creal_test_data): Likewise.
9647 (csin_test_data): Likewise.
9648 (csinh_test_data): Likewise.
9649 (csqrt_test_data): Likewise.
9650 (ctan_test_data): Likewise.
9651 (ctan_tonearest_test_data): Likewise.
9652 (ctan_towardzero_test_data): Likewise.
9653 (ctan_downward_test_data): Likewise.
9654 (ctan_upward_test_data): Likewise.
9655 (ctanh_test_data): Likewise.
9656 (ctanh_tonearest_test_data): Likewise.
9657 (ctanh_towardzero_test_data): Likewise.
9658 (ctanh_downward_test_data): Likewise.
9659 (ctanh_upward_test_data): Likewise.
9660 (erf_test_data): Likewise.
9661 (erfc_test_data): Likewise.
9662 (exp_test_data): Likewise.
9663 (exp_tonearest_test_data): Likewise.
9664 (exp_towardzero_test_data): Likewise.
9665 (exp_downward_test_data): Likewise.
9666 (exp_upward_test_data): Likewise.
9667 (exp10_test_data): Likewise.
9668 (exp2_test_data): Likewise.
9669 (expm1_test_data): Likewise.
9670 (fabs_test_data): Likewise.
9671 (fdim_test_data): Likewise.
9672 (finite_test_data): Likewise.
9673 (floor_test_data): Likewise.
9674 (fma_test_data): Likewise.
9675 (fma_towardzero_test_data): Likewise.
9676 (fma_downward_test_data): Likewise.
9677 (fma_upward_test_data): Likewise.
9678 (fmax_test_data): Likewise.
9679 (fmin_test_data): Likewise.
9680 (fmod_test_data): Likewise.
9681 (fpclassify_test_data): Likewise.
9682 (frexp_test_data): Likewise.
9683 (gamma_test_data): Likewise.
9684 (hypot_test_data): Likewise.
9685 (ilogb_test_data): Likewise.
9686 (isfinite_test_data): Likewise.
9687 (isgreater_test_data): Likewise.
9688 (isgreaterequal_test_data): Likewise.
9689 (isinf_test_data): Likewise.
9690 (isless_test_data): Likewise.
9691 (islessequal_test_data): Likewise.
9692 (islessgreater_test_data): Likewise.
9693 (isnan_test_data): Likewise.
9694 (isnormal_test_data): Likewise.
9695 (issignaling_test_data): Likewise.
9696 (isunordered_test_data): Likewise.
9697 (j0_test_data): Likewise.
9698 (j1_test_data): Likewise.
9699 (jn_test_data): Likewise.
9700 (ldexp_test_data): Likewise.
9701 (lgamma_test_data): Likewise.
9702 (lrint_test_data): Likewise.
9703 (lrint_tonearest_test_data): Likewise.
9704 (lrint_towardzero_test_data): Likewise.
9705 (lrint_downward_test_data): Likewise.
9706 (lrint_upward_test_data): Likewise.
9707 (llrint_test_data): Likewise.
9708 (llrint_tonearest_test_data): Likewise.
9709 (llrint_towardzero_test_data): Likewise.
9710 (llrint_downward_test_data): Likewise.
9711 (llrint_upward_test_data): Likewise.
9712 (log_test_data): Likewise.
9713 (log10_test_data): Likewise.
9714 (log1p_test_data): Likewise.
9715 (log2_test_data): Likewise.
9716 (logb_test_data): Likewise.
9717 (logb_downward_test_data): Likewise.
9718 (lround_test_data): Likewise.
9719 (llround_test_data): Likewise.
9720 (modf_test_data): Likewise.
9721 (nearbyint_test_data): Likewise.
9722 (nextafter_test_data): Likewise.
9723 (nexttoward_test_data): Likewise.
9724 (pow_test_data): Likewise.
9725 (pow_tonearest_test_data): Likewise.
9726 (pow_towardzero_test_data): Likewise.
9727 (pow_downward_test_data): Likewise.
9728 (pow_upward_test_data): Likewise.
9729 (remainder_test_data): Likewise.
9730 (remainder_tonearest_test_data): Likewise.
9731 (remainder_towardzero_test_data): Likewise.
9732 (remainder_downward_test_data): Likewise.
9733 (remainder_upward_test_data): Likewise.
9734 (remquo_test_data): Likewise.
9735 (rint_test_data): Likewise.
9736 (rint_tonearest_test_data): Likewise.
9737 (rint_towardzero_test_data): Likewise.
9738 (rint_downward_test_data): Likewise.
9739 (rint_upward_test_data): Likewise.
9740 (round_test_data): Likewise.
9741 (scalb_test_data): Likewise.
9742 (scalbn_test_data): Likewise.
9743 (scalbln_test_data): Likewise.
9744 (signbit_test_data): Likewise.
9745 (sin_test_data): Likewise.
9746 (sin_tonearest_test_data): Likewise.
9747 (sin_towardzero_test_data): Likewise.
9748 (sin_downward_test_data): Likewise.
9749 (sin_upward_test_data): Likewise.
9750 (sincos_test_data): Likewise.
9751 (sinh_test_data): Likewise.
9752 (sinh_tonearest_test_data): Likewise.
9753 (sinh_towardzero_test_data): Likewise.
9754 (sinh_downward_test_data): Likewise.
9755 (sinh_upward_test_data): Likewise.
9756 (sqrt_test_data): Likewise.
9757 (tan_test_data): Likewise.
9758 (tan_tonearest_test_data): Likewise.
9759 (tan_towardzero_test_data): Likewise.
9760 (tan_downward_test_data): Likewise.
9761 (tan_upward_test_data): Likewise.
9762 (tanh_test_data): Likewise.
9763 (tgamma_test_data): Likewise.
9764 (trunc_test_data): Likewise.
9765 (y0_test_data): Likewise.
9766 (y1_test_data): Likewise.
9767 (yn_test_data): Likewise.
9768 (significand_test_data): Likewise.
9769
b679a606
JM
9770 * math/gen-libm-test.pl (@functions): Remove variable.
9771 (generate_testfile): Don't handle START and END lines.
9772 * math/libm-test.inc (START): New macro.
9773 (END): Likewise.
9774 (END_COMPLEX): Likewise.
9775 (acos_test): Use END macro without arguments.
9776 (acos_test_tonearest): Likewise.
9777 (acos_test_towardzero): Likewise.
9778 (acos_test_downward): Likewise.
9779 (acos_test_upward): Likewise.
9780 (acosh_test): Likewise.
9781 (asin_test): Likewise.
9782 (asin_test_tonearest): Likewise.
9783 (asin_test_towardzero): Likewise.
9784 (asin_test_downward): Likewise.
9785 (asin_test_upward): Likewise.
9786 (asinh_test): Likewise.
9787 (atan_test): Likewise.
9788 (atanh_test): Likewise.
9789 (atan2_test): Likewise.
9790 (cabs_test): Likewise.
9791 (cacos_test): Use END_COMPLEX macro without arguments.
9792 (cacosh_test): Likewise.
9793 (carg_test): Use END macro without arguments.
9794 (casin_test): Use END_COMPLEX macro without arguments.
9795 (casinh_test): Likewise.
9796 (catan_test): Likewise.
9797 (catanh_test): Likewise.
9798 (cbrt_test): Use END macro without arguments.
9799 (ccos_test): Use END_COMPLEX macro without arguments.
9800 (ccosh_test): Likewise.
9801 (ceil_test): Use END macro without arguments.
9802 (cexp_test): Use END_COMPLEX macro without arguments.
9803 (cimag_test): Use END macro without arguments.
9804 (clog_test): Use END_COMPLEX macro without arguments.
9805 (clog10_test): Likewise.
9806 (conj_test): Likewise.
9807 (copysign_test): Use END macro without arguments.
9808 (cos_test): Likewise.
9809 (cos_test_tonearest): Likewise.
9810 (cos_test_towardzero): Likewise.
9811 (cos_test_downward): Likewise.
9812 (cos_test_upward): Likewise.
9813 (cosh_test): Likewise.
9814 (cosh_test_tonearest): Likewise.
9815 (cosh_test_towardzero): Likewise.
9816 (cosh_test_downward): Likewise.
9817 (cosh_test_upward): Likewise.
9818 (cpow_test): Use END_COMPLEX macro without arguments.
9819 (cproj_test): Likewise.
9820 (creal_test): Use END macro without arguments.
9821 (csin_test): Use END_COMPLEX macro without arguments.
9822 (csinh_test): Likewise.
9823 (csqrt_test): Likewise.
9824 (ctan_test): Likewise.
9825 (ctan_test_tonearest): Likewise.
9826 (ctan_test_towardzero): Likewise.
9827 (ctan_test_downward): Likewise.
9828 (ctan_test_upward): Likewise.
9829 (ctanh_test): Likewise.
9830 (ctanh_test_tonearest): Likewise.
9831 (ctanh_test_towardzero): Likewise.
9832 (ctanh_test_downward): Likewise.
9833 (ctanh_test_upward): Likewise.
9834 (erf_test): Use END macro without arguments.
9835 (erfc_test): Likewise.
9836 (exp_test): Likewise.
9837 (exp_test_tonearest): Likewise.
9838 (exp_test_towardzero): Likewise.
9839 (exp_test_downward): Likewise.
9840 (exp_test_upward): Likewise.
9841 (exp10_test): Likewise.
9842 (exp2_test): Likewise.
9843 (expm1_test): Likewise.
9844 (fabs_test): Likewise.
9845 (fdim_test): Likewise.
9846 (finite_test): Likewise.
9847 (floor_test): Likewise.
9848 (fma_test): Likewise.
9849 (fma_test_towardzero): Likewise.
9850 (fma_test_downward): Likewise.
9851 (fma_test_upward): Likewise.
9852 (fmax_test): Likewise.
9853 (fmin_test): Likewise.
9854 (fmod_test): Likewise.
9855 (fpclassify_test): Likewise.
9856 (frexp_test): Likewise.
9857 (gamma_test): Likewise.
9858 (hypot_test): Likewise.
9859 (ilogb_test): Likewise.
9860 (isfinite_test): Likewise.
9861 (isgreater_test): Likewise.
9862 (isgreaterequal_test): Likewise.
9863 (isinf_test): Likewise.
9864 (isless_test): Likewise.
9865 (islessequal_test): Likewise.
9866 (islessgreater_test): Likewise.
9867 (isnan_test): Likewise.
9868 (isnormal_test): Likewise.
9869 (issignaling_test): Likewise.
9870 (isunordered_test): Likewise.
9871 (j0_test): Likewise.
9872 (j1_test): Likewise.
9873 (jn_test): Likewise.
9874 (ldexp_test): Likewise.
9875 (lgamma_test): Likewise.
9876 (lrint_test): Likewise.
9877 (lrint_test_tonearest): Likewise.
9878 (lrint_test_towardzero): Likewise.
9879 (lrint_test_downward): Likewise.
9880 (lrint_test_upward): Likewise.
9881 (llrint_test): Likewise.
9882 (llrint_test_tonearest): Likewise.
9883 (llrint_test_towardzero): Likewise.
9884 (llrint_test_downward): Likewise.
9885 (llrint_test_upward): Likewise.
9886 (log_test): Likewise.
9887 (log10_test): Likewise.
9888 (log1p_test): Likewise.
9889 (log2_test): Likewise.
9890 (logb_test): Likewise.
9891 (logb_test_downward): Likewise.
9892 (lround_test): Likewise.
9893 (llround_test): Likewise.
9894 (modf_test): Likewise.
9895 (nearbyint_test): Likewise.
9896 (nextafter_test): Likewise.
9897 (nexttoward_test): Likewise.
9898 (pow_test): Likewise.
9899 (pow_test_tonearest): Likewise.
9900 (pow_test_towardzero): Likewise.
9901 (pow_test_downward): Likewise.
9902 (pow_test_upward): Likewise.
9903 (remainder_test): Likewise.
9904 (remainder_test_tonearest): Likewise.
9905 (remainder_test_towardzero): Likewise.
9906 (remainder_test_downward): Likewise.
9907 (remainder_test_upward): Likewise.
9908 (remquo_test): Likewise.
9909 (rint_test): Likewise.
9910 (rint_test_tonearest): Likewise.
9911 (rint_test_towardzero): Likewise.
9912 (rint_test_downward): Likewise.
9913 (rint_test_upward): Likewise.
9914 (round_test): Likewise.
9915 (scalb_test): Likewise.
9916 (scalbn_test): Likewise.
9917 (scalbln_test): Likewise.
9918 (signbit_test): Likewise.
9919 (sin_test): Likewise.
9920 (sin_test_tonearest): Likewise.
9921 (sin_test_towardzero): Likewise.
9922 (sin_test_downward): Likewise.
9923 (sin_test_upward): Likewise.
9924 (sincos_test): Likewise.
9925 (sinh_test): Likewise.
9926 (sinh_test_tonearest): Likewise.
9927 (sinh_test_towardzero): Likewise.
9928 (sinh_test_downward): Likewise.
9929 (sinh_test_upward): Likewise.
9930 (sqrt_test): Likewise.
9931 (tan_test): Likewise.
9932 (tan_test_tonearest): Likewise.
9933 (tan_test_towardzero): Likewise.
9934 (tan_test_downward): Likewise.
9935 (tan_test_upward): Likewise.
9936 (tanh_test): Likewise.
9937 (tgamma_test): Likewise.
9938 (trunc_test): Likewise.
9939 (y0_test): Likewise.
9940 (y1_test): Likewise.
9941 (yn_test): Likewise.
9942 (significand_test): Likewise.
9943
bae143d2
OB
99442013-05-24 Ondřej Bílka <neleai@seznam.cz>
9945
9946 [BZ #15381]
9947 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9948
9323d39b
EM
99492013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9950
d4ea44a0 9951 [BZ #14894]
9323d39b
EM
9952 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9953 __ppc_mdoio and __ppc_mdoom.
9954 * manual/platform.texi: Document new functions __ppc_yield,
9955 __ppc_mdoio and __ppc_mdoom.
9956
13e23af7
CD
99572013-05-22 Carlos O'Donell <carlos@redhat.com>
9958
9959 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9960 (main): Mention "tls" pseudo-hwcap is legacy.
9961 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9962
351fe550
JM
99632013-05-22 Joseph Myers <joseph@codesourcery.com>
9964
9965 * math/gen-libm-test.pl (parse_args): Output only string of
9966 arguments as text for test name, not full call or descriptions of
9967 tests for extra outputs.
9968 (generate_testfile): Do not pass function name to parse_args.
9969 Generate this_func variable from START.
9970 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9971 field to arg_str.
9972 (struct test_ff_f_data): Likewise.
9973 (test_ff_f_data_nexttoward): Likewise.
9974 (struct test_fi_f_data): Likewise.
9975 (struct test_fl_f_data): Likewise.
9976 (struct test_if_f_data): Likewise.
9977 (struct test_fff_f_data): Likewise.
9978 (struct test_c_f_data): Likewise.
9979 (struct test_f_f1_data): Likewise. Remove field extra_name.
9980 (struct test_fF_f1_data): Likewise.
9981 (struct test_ffI_f1_data): Likewise.
9982 (struct test_c_c_data): Rename test_name field to arg_str.
9983 (struct test_cc_c_data): Likewise.
9984 (struct test_f_i_data): Likewise.
9985 (struct test_ff_i_data): Likewise.
9986 (struct test_f_l_data): Likewise.
9987 (struct test_f_L_data): Likewise.
9988 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9989 and extra2_name.
9990 (COMMON_TEST_SETUP): New macro.
9991 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9992 (COMMON_TEST_CLEANUP): Likewise.
9993 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9994 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9995 macros.
9996 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9997 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9998 macros.
9999 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10000 (RUN_TEST_fff_f): Take argument string. Call new setup and
10001 cleanup macros.
10002 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10003 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10004 macros.
10005 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10006 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10007 macros.
10008 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10009 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10010 cleanup macros.
10011 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10012 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10013 cleanup macros.
10014 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10015 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10016 cleanup macros.
10017 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10018 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10019 macros.
10020 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10021 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10022 macros.
10023 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10024 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10025 macros.
10026 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10027 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10028 cleanup macros.
10029 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10030 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10031 cleanup macros.
10032 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10033 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10034 macros.
10035 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10036 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10037 cleanup macros.
10038 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10039 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10040 macros.
10041 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10042 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10043 macros.
10044 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10045 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10046 cleanup macros.
10047 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10048
85118d4d
EBM
100492013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10050
10051 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10052 to _sifields.sigfault.
10053 (si_addr_lsb): Define new macro.
10054 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10055 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10056 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10057
7a44c18f
CD
100582013-05-03 Carlos O'Donell <carlos at redhat.com>
10059
10060 [BZ #15441]
10061 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10062 returns -1.
10063 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10064 null return -1.
10065 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10066 loading the domain.
10067
b50a7181
JM
100682013-05-22 Joseph Myers <joseph@codesourcery.com>
10069
10070 * math/gen-libm-test.pl (parse_args): Do not include expected
10071 result in test name.
10072 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10074 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10075 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10076 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078
051063c8
SP
100792013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10080
3ce9e010
SP
10081 * benchtests/Makefile: Sort function entries.
10082
051063c8
SP
10083 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10084 tanh, asinh, acosh, atanh.
10085 * benchtests/acos-inputs: New file.
10086 * benchtests/acosh-inputs: New file.
10087 * benchtests/asin-inputs: New file.
10088 * benchtests/asinh-inputs: New file.
10089 * benchtests/atanh-inputs: New file.
10090 * benchtests/cosh-inputs: New file.
10091 * benchtests/log-inputs: New file.
10092 * benchtests/sinh-inputs: New file.
10093 * benchtests/tanh-inputs: New file.
10094
47c22455
DL
100952013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10096
10097 [BZ #15339]
10098 * posix/tst-getaddrinfo4.c: New test.
10099 * posix/Makefile (tests): Add it.
10100
3d04f5db
SP
101012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10102
10103 [BZ #15339]
10104 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10105 when no services were used.
10106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10107 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10108
d5dd6189
AS
101092013-05-21 Andreas Schwab <schwab@suse.de>
10110
10111 [BZ #15014]
10112 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10113 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10114 successful.
10115 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10116 redundant variable declarations and reallocation of buffer when
10117 parsing as IPv6 address. Always set NSS status when called from
10118 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10119 buffer too small. Correct computation of needed size.
10120 * nss/Makefile (tests): Add test-digits-dots.
10121 * nss/test-digits-dots.c: New test.
10122
fef94eab
SP
101232013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10124
10125 * benchtests/Makefile: Remove instructions for adding
10126 benchmark tests.
10127 * benchtests/README: New file to explain how to execute and
10128 enhance the benchmark tests.
10129
e39adf43
AS
101302013-05-21 Andreas Schwab <schwab@suse.de>
10131
10132 [BZ #15493]
10133 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10134 * setjmp/tst-sigsetjmp.c: New test.
10135
b2b671b6
OB
101362013-05-20 Ondřej Bílka <neleai@seznam.cz>
10137
10138 * sysdeps/x86_64/memset.S (memset): New implementation.
10139 (__bzero): Likewise.
10140 (__memset_tail): New function.
10141
2d48b41c
OB
101422013-05-20 Ondřej Bílka <neleai@seznam.cz>
10143
10144 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10145 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10146 __memcpy_sse2_unaligned ifunc selection.
10147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10148 Add memcpy-sse2-unaligned.S.
10149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10150 Add: __memcpy_sse2_unaligned.
10151
f16cc3eb
JM
101522013-05-19 Joseph Myers <joseph@codesourcery.com>
10153
3e694268
JM
10154 [BZ #15490]
10155 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10156 math_force_eval before restoring floating-point envrionment.
10157 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10159 Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10161 <math_private.h>.
10162 (__nearbyintl): Use math_force_eval before restoring
10163 floating-point environment.
10164 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10165
db62a907
JM
10166 * math/gen-libm-test.pl (special_functions): Remove.
10167 (parse_args): Don't handle TEST_extra. Handle functions with no
10168 return value.
10169 * math/libm-test.inc (struct test_sincos_data): Replace with
10170 struct test_fFF_11_data.
10171 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10172 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10173 (sincos_test_data): Change element type to struct
10174 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10175 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10176 RUN_TEST_LOOP_sincos.
10177 * math/README.libm-test: Don't mention special handling of
10178 individual functions.
10179 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10183 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185
f16cc3eb
JM
10186 * math/gen-libm-test.pl (get_variable): Remove function.
10187 (parse_args): Don't show pointer parameters to call in test
10188 names. Use "extra output N" in test names for extra outputs
10189 rather than naming variables.
10190
3779b5b6
JM
101912013-05-18 Joseph Myers <joseph@codesourcery.com>
10192
2ee094ff
JM
10193 [BZ #15488]
10194 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10195 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10196 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10197 double tests.
10198 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10199 disable.
10200 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10201 check_long_double.
10202
3779b5b6
JM
10203 * math/gen-libm-test.pl (@tests): Remove variable.
10204 ($count): Likewise.
10205 (new_test): Remove function.
10206 (show_exceptions): New function.
10207 (special_functions): Use show_exceptions instead of new_test.
10208 (parse_args): Likewise.
10209 (generate_testfile): Pass only function name in generated call to
10210 print_max_error or print_complex_max_error.
10211 (get_ulps): Do not handle complex tests specially.
10212 (output_test): Rename to ...
10213 (get_all_ulps_for_test): ... this. Return a string rather than
10214 printing to a file. Require ulps to be present.
10215 (output_ulps): Generate arrays rather than #defines.
10216 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10217 (struct ulp_data): New type.
10218 (BUILD_COMPLEX_ULP): Remove macro.
10219 (compare_ulp_data): New function.
10220 (find_ulps): Likewise.
10221 (find_test_ulps): Likewise.
10222 (find_function_ulps): Likewise.
10223 (find_complex_function_ulps): Likewise.
10224 (print_max_error): Determine allowed ulps using
10225 find_function_ulps.
10226 (print_complex_max_error): Determine allowed ulps using
10227 find_complex_function_ulps.
10228 (check_float_internal): Determine max ulps using find_test_ulps.
10229 (check_float): Do not take max_ulp parameter. Update call to
10230 check_float_internal.
10231 (check_complex): Likewise.
10232 (check_int): Do not take max_ulp parameter.
10233 (check_long): Likewise.
10234 (check_bool): Likewise.
10235 (check_longlong): Likewise.
10236 (struct test_f_f_data): Remove max_ulp field.
10237 (struct test_ff_f_data): Likewise.
10238 (struct test_ff_f_data_nexttoward): Likewise.
10239 (struct test_fi_f_data): Likewise.
10240 (struct test_fl_f_data): Likewise.
10241 (struct test_if_f_data): Likewise.
10242 (struct test_fff_f_data): Likewise.
10243 (struct test_c_f_data): Likewise.
10244 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10245 (struct test_fF_f1_data): Likewise.
10246 (struct test_ffI_f1_data): Likewise.
10247 (struct test_c_c_data): Remove max_ulp field.
10248 (struct test_cc_c_data): Likewise.
10249 (struct test_f_i_data): Likewise.
10250 (struct test_ff_i_data): Likewise.
10251 (struct test_f_l_data): Likewise.
10252 (struct test_f_L_data): Likewise.
10253 (struct test_sincos_data): Likewise.
10254 (RUN_TEST_f_f): Do not handle ulps.
10255 (RUN_TEST_LOOP_f_f): Likewise.
10256 (RUN_TEST_2_f): Likewise.
10257 (RUN_TEST_LOOP_2_f): Likewise.
10258 (RUN_TEST_fff_f): Likewise.
10259 (RUN_TEST_LOOP_fff_f): Likewise.
10260 (RUN_TEST_c_f): Likewise.
10261 (RUN_TEST_LOOP_c_f): Likewise.
10262 (RUN_TEST_f_f1): Likewise.
10263 (RUN_TEST_LOOP_f_f1): Likewise.
10264 (RUN_TEST_fF_f1): Likewise.
10265 (RUN_TEST_LOOP_fF_f1): Likewise.
10266 (RUN_TEST_fI_f1): Likewise.
10267 (RUN_TEST_LOOP_fI_f1): Likewise.
10268 (RUN_TEST_ffI_f1): Likewise.
10269 (RUN_TEST_LOOP_ffI_f1): Likewise.
10270 (RUN_TEST_c_c): Likewise.
10271 (RUN_TEST_LOOP_c_c): Likewise.
10272 (RUN_TEST_cc_c): Likewise.
10273 (RUN_TEST_LOOP_cc_c): Likewise.
10274 (RUN_TEST_f_i): Likewise.
10275 (RUN_TEST_LOOP_f_i): Likewise.
10276 (RUN_TEST_f_i_tg): Likewise.
10277 (RUN_TEST_LOOP_f_i_tg): Likewise.
10278 (RUN_TEST_ff_i_tg): Likewise.
10279 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10280 (RUN_TEST_f_b): Likewise.
10281 (RUN_TEST_LOOP_f_b): Likewise.
10282 (RUN_TEST_f_b_tg): Likewise.
10283 (RUN_TEST_LOOP_f_b_tg): Likewise.
10284 (RUN_TEST_f_l): Likewise.
10285 (RUN_TEST_LOOP_f_l): Likewise.
10286 (RUN_TEST_f_L): Likewise.
10287 (RUN_TEST_LOOP_f_L): Likewise.
10288 (RUN_TEST_sincos): Likewise.
10289 (RUN_TEST_LOOP_sincos): Likewise.
10290
8269107f
JM
102912013-05-17 Joseph Myers <joseph@codesourcery.com>
10292
bb38759d
JM
10293 [BZ #15480]
10294 [BZ #15485]
10295 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10296 main case of finite arguments, set rounding mode to FE_TONEAREST
10297 and discard exceptions.
10298 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10299 exceptions.
10300 (remainder_tonearest_test_data): New variable.
10301 (remainder_test_tonearest): New function.
10302 (remainder_towardzero_test_data): New variable.
10303 (remainder_test_towardzero): New function.
10304 (remainder_downward_test_data): New variable.
10305 (remainder_test_downward): New function.
10306 (remainder_upward_test_data): New variable.
10307 (remainder_test_upward): New function.
10308 (main): Call the new test functions.
10309
a00bdcf0
JM
10310 * math/libm-test.inc (struct test_f_f1_data): Remove field
10311 extra_init.
10312 (struct test_fF_f1_data): Likewise.
10313 (struct test_ffI_f1_data): Likewise.
10314 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10315 based on value of EXTRA_EXPECTED.
10316 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10317 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10318 EXTRA_VAR based on value of EXTRA_EXPECTED.
10319 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10320 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10321 EXTRA_VAR based on value of EXTRA_EXPECTED.
10322 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10323 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10324 EXTRA_VAR based on value of EXTRA_EXPECTED.
10325 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10326 * math/gen-libm-test.pl (parse_args): Don't output initializers
10327 for extra output values.
10328
de407f79
JM
10329 * math/libm-test.inc (check_int): Expect result to be exactly
10330 equal to expected value and do not handle ulps.
10331 (check_long): Likewise.
10332 (check_longlong): Likewise.
10333
8269107f
JM
10334 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10335 exceptions.
10336 (cimag_test_data): Likewise.
10337 (conj_test_data): Likewise.
10338 (copysign_test_data): Likewise.
10339 (cproj_test_data): Likewise.
10340 (creal_test_data): Likewise.
10341 (fabs_test_data): Likewise.
10342 (fdim_test_data): Likewise.
10343 (finite_test_data): Likewise.
10344 (floor_test_data): Likewise.
10345 (fmax_test_data): Likewise.
10346 (fmin_test_data): Likewise.
10347 (fmod_test_data): Likewise.
10348 (fpclassify_test_data): Likewise.
10349 (frexp_test_data): Likewise.
10350 (ilogb_test_data): Likewise.
10351 (isfinite_test_data): Likewise.
10352 (isgreater_test_data): Likewise.
10353 (isgreaterequal_test_data): Likewise.
10354 (isinf_test_data): Likewise.
10355 (isless_test_data): Likewise.
10356 (islessequal_test_data): Likewise.
10357 (islessgreater_test_data): Likewise.
10358 (isnan_test_data): Likewise.
10359 (isnormal_test_data): Likewise.
10360 (issignaling_test_data): Likewise.
10361 (isunordered_test_data): Likewise.
10362 (ldexp_test_data): Likewise.
10363 (lrint_test_data): Likewise.
10364 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10365 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10366 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10367 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10368 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10369 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10370 test input.
10371 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10372 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10373 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10374 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10375 that test input.
10376 (lrint_downward_test_data): Test for "inexact" exceptions.
10377 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10378 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10379 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10380 test input.
10381 (lrint_upward_test_data): Test for "inexact" exceptions.
10382 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10383 test input.
10384 (llrint_test_data): Test for "inexact" exceptions.
10385 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10386 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10387 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10388 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10389 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10390 (llrint_downward_test_data): Test for "inexact" exceptions.
10391 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10392 (llrint_upward_test_data): Test for "inexact" exceptions.
10393 (logb_test_data): Likewise.
10394 (logb_downward_test_data): Likewise.
10395 (nextafter_test_data): Likewise.
10396 (nexttoward_test_data): Likewise.
10397 (remainder_test_data): Likewise.
10398 (remquo_test_data): Likewise.
10399 (scalbn_test_data): Likewise.
10400 (scalbln_test_data): Likewise.
10401 (signbit_test_data): Likewise.
10402 (sqrt_test_data): Likewise.
10403 (significand_test_data): Likewise.
10404
48a18de1
SP
104052013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10406
10407 [BZ #15424]
10408 * benchtests/bench-modf.c (struct args): Mark arg0 as
10409 volatile.
10410 * scripts/bench.pl: Mark members of struct args as volatile.
10411
13d3b41a
AZ
104122013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10413
68191c1d 10414 [BZ # 15497]
13d3b41a
AZ
10415 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10416 negative infinity on POWER6 or lower.
10417 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10418
2848b105
MR
104192013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10420
10421 [BZ #15442]
10422 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10423 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10424 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10425 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10426 (_FP_SETQNAN): New macro.
10427 (_FP_SETQNAN_SEMIRAW): Likewise.
10428 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10429 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10430 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10431 (FP_EXTEND): Use _FP_FRAC_SNANP.
10432 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10433 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10434 into account.
10435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10436 New macro.
10437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10438 Likewise.
10439
323e5cb7
JM
104402013-05-16 Joseph Myers <joseph@codesourcery.com>
10441
c58b274f
JM
10442 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10443 with DIVIDE_BY_ZERO_EXCEPTION.
10444 (gamma_test_data): Likewise.
10445 (lgamma_test_data): Likewise.
10446 (log_test_data): Likewise.
10447 (log10_test_data): Likewise.
10448 (log2_test_data): Likewise.
10449 (tgamma_test_data): Likewise.
10450
0ab34904
JM
10451 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10452 (acos_test_tonearest): Likewise.
10453 (acos_test_towardzero): Likewise.
10454 (acos_test_downward): Likewise.
10455 (acos_test_upward): Likewise.
10456 (acosh_test): Likewise.
10457 (asin_test): Likewise.
10458 (asin_test_tonearest): Likewise.
10459 (asin_test_towardzero): Likewise.
10460 (asin_test_downward): Likewise.
10461 (asin_test_upward): Likewise.
10462 (asinh_test): Likewise.
10463 (atan_test): Likewise.
10464 (atanh_test): Likewise.
10465 (atan2_test): Likewise.
10466 (cabs_test): Likewise.
10467 (cacos_test): Likewise.
10468 (cacosh_test): Likewise.
10469 (casin_test): Likewise.
10470 (casinh_test): Likewise.
10471 (catan_test): Likewise.
10472 (catanh_test): Likewise.
10473 (cbrt_test): Likewise.
10474 (ccos_test): Likewise.
10475 (ccosh_test): Likewise.
10476 (cexp_test): Likewise.
10477 (clog_test): Likewise.
10478 (clog10_test): Likewise.
10479 (cos_test): Likewise.
10480 (cos_test_tonearest): Likewise.
10481 (cos_test_towardzero): Likewise.
10482 (cos_test_downward): Likewise.
10483 (cos_test_upward): Likewise.
10484 (cosh_test): Likewise.
10485 (cosh_test_tonearest): Likewise.
10486 (cosh_test_towardzero): Likewise.
10487 (cosh_test_downward): Likewise.
10488 (cosh_test_upward): Likewise.
10489 (cpow_test): Likewise.
10490 (csin_test): Likewise.
10491 (csinh_test): Likewise.
10492 (csqrt_test): Likewise.
10493 (ctan_test): Likewise.
10494 (ctan_test_tonearest): Likewise.
10495 (ctan_test_towardzero): Likewise.
10496 (ctan_test_downward): Likewise.
10497 (ctan_test_upward): Likewise.
10498 (ctanh_test): Likewise.
10499 (ctanh_test_tonearest): Likewise.
10500 (ctanh_test_towardzero): Likewise.
10501 (ctanh_test_downward): Likewise.
10502 (ctanh_test_upward): Likewise.
10503 (erf_test): Likewise.
10504 (erfc_test): Likewise.
10505 (exp_test): Likewise.
10506 (exp_test_tonearest): Likewise.
10507 (exp_test_towardzero): Likewise.
10508 (exp_test_downward): Likewise.
10509 (exp_test_upward): Likewise.
10510 (exp10_test): Likewise.
10511 (exp2_test): Likewise.
10512 (expm1_test): Likewise.
10513 (fmod_test): Likewise.
10514 (gamma_test): Likewise.
10515 (hypot_test): Likewise.
10516 (j0_test): Likewise.
10517 (j1_test): Likewise.
10518 (jn_test): Likewise.
10519 (lgamma_test): Likewise.
10520 (log_test): Likewise.
10521 (log10_test): Likewise.
10522 (log1p_test): Likewise.
10523 (log2_test): Likewise.
10524 (logb_test_downward): Likewise.
10525 (pow_test): Likewise.
10526 (pow_test_tonearest): Likewise.
10527 (pow_test_towardzero): Likewise.
10528 (pow_test_downward): Likewise.
10529 (pow_test_upward): Likewise.
10530 (remainder_test): Likewise.
10531 (remquo_test): Likewise.
10532 (sin_test): Likewise.
10533 (sin_test_tonearest): Likewise.
10534 (sin_test_towardzero): Likewise.
10535 (sin_test_downward): Likewise.
10536 (sin_test_upward): Likewise.
10537 (sincos_test): Likewise.
10538 (sinh_test): Likewise.
10539 (sinh_test_tonearest): Likewise.
10540 (sinh_test_towardzero): Likewise.
10541 (sinh_test_downward): Likewise.
10542 (sinh_test_upward): Likewise.
10543 (sqrt_test): Likewise.
10544 (tan_test): Likewise.
10545 (tan_test_tonearest): Likewise.
10546 (tan_test_towardzero): Likewise.
10547 (tan_test_downward): Likewise.
10548 (tan_test_upward): Likewise.
10549 (tanh_test): Likewise.
10550 (tgamma_test): Likewise.
10551 (y0_test): Likewise.
10552 (y1_test): Likewise.
10553 (yn_test): Likewise.
10554
323e5cb7
JM
10555 * math/gen-libm-test.pl (adjust_arg): Remove function.
10556 (special_function): Remove argument $in_func. Only handle
10557 generating output for tables of tests, not inside functions.
10558 (parse_args): Likewise.
10559 (generate_testfile): Remove variable $in_func. Update call to
10560 parse_args.
10561 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10562 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10563 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10564 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10565 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10566 (MAX_VALUE_INIT): Rename macro to max_value.
10567 (MIN_VALUE_INIT): Rename macro to min_value.
10568 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10569 (plus_zero): Remove variable.
10570 (minus_zero): Likewise.
10571 (plus_infty): Likewise.
10572 (minus_infty): Likewise.
10573 (qnan_value): Likewise.
10574 (max_value): Likewise.
10575 (min_value): Likewise.
10576 (min_subnorm_value): Likewise.
10577
e054f494
RA
105782013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10579
10580 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10581 uint64_t or uint32_t usage.
10582 * crypt/sha256-block.c: Likewise.
10583 * crypt/sha256-crypt.c: Likewise.
10584 * crypt/sha256.c: Likewise.
10585 * crypt/sha512-block.c: Likewise.
10586 * crypt/sha512-crypt.c: Likewise.
10587 * crypt/sha512.c: Likewise.
10588 * debug/backtrace-tst.c: Likewise.
10589 * debug/pcprofiledump.c: Likewise.
10590 * elf/cache.c: Likewise.
10591 * elf/dl-cache.c: Likewise.
10592 * elf/dl-misc.c: Likewise.
10593 * elf/dl-profile.c: Likewise.
10594 * elf/dl-support.c: Likewise.
10595 * elf/ldconfig.c: Likewise.
10596 * elf/sprof.c: Likewise.
10597 * iconv/dummy-repertoire.c: Likewise.
10598 * iconv/iconv_charmap.c: Likewise.
10599 * iconv/skeleton.c: Likewise.
10600 * iconvdata/8bit-generic.c: Likewise.
10601 * iconvdata/cp737.h: Likewise.
10602 * iconvdata/cp775.h: Likewise.
10603 * iconvdata/ibm1008.h: Likewise.
10604 * iconvdata/ibm1025.h: Likewise.
10605 * iconvdata/ibm1046.h: Likewise.
10606 * iconvdata/ibm1097.h: Likewise.
10607 * iconvdata/ibm1112.h: Likewise.
10608 * iconvdata/ibm1122.h: Likewise.
10609 * iconvdata/ibm1123.h: Likewise.
10610 * iconvdata/ibm1124.h: Likewise.
10611 * iconvdata/ibm1129.h: Likewise.
10612 * iconvdata/ibm1130.h: Likewise.
10613 * iconvdata/ibm1132.h: Likewise.
10614 * iconvdata/ibm1133.h: Likewise.
10615 * iconvdata/ibm1137.h: Likewise.
10616 * iconvdata/ibm1140.h: Likewise.
10617 * iconvdata/ibm1141.h: Likewise.
10618 * iconvdata/ibm1142.h: Likewise.
10619 * iconvdata/ibm1143.h: Likewise.
10620 * iconvdata/ibm1144.h: Likewise.
10621 * iconvdata/ibm1145.h: Likewise.
10622 * iconvdata/ibm1146.h: Likewise.
10623 * iconvdata/ibm1147.h: Likewise.
10624 * iconvdata/ibm1148.h: Likewise.
10625 * iconvdata/ibm1149.h: Likewise.
10626 * iconvdata/ibm1153.h: Likewise.
10627 * iconvdata/ibm1154.h: Likewise.
10628 * iconvdata/ibm1155.h: Likewise.
10629 * iconvdata/ibm1156.h: Likewise.
10630 * iconvdata/ibm1157.h: Likewise.
10631 * iconvdata/ibm1158.h: Likewise.
10632 * iconvdata/ibm1160.h: Likewise.
10633 * iconvdata/ibm1161.h: Likewise.
10634 * iconvdata/ibm1162.h: Likewise.
10635 * iconvdata/ibm1163.h: Likewise.
10636 * iconvdata/ibm1164.h: Likewise.
10637 * iconvdata/ibm1166.h: Likewise.
10638 * iconvdata/ibm1167.h: Likewise.
10639 * iconvdata/ibm12712.h: Likewise.
10640 * iconvdata/ibm1390.h: Likewise.
10641 * iconvdata/ibm1399.h: Likewise.
10642 * iconvdata/ibm16804.h: Likewise.
10643 * iconvdata/ibm4517.h: Likewise.
10644 * iconvdata/ibm4899.h: Likewise.
10645 * iconvdata/ibm4909.h: Likewise.
10646 * iconvdata/ibm4971.h: Likewise.
10647 * iconvdata/ibm5347.h: Likewise.
10648 * iconvdata/ibm803.h: Likewise.
10649 * iconvdata/ibm856.h: Likewise.
10650 * iconvdata/ibm901.h: Likewise.
10651 * iconvdata/ibm902.h: Likewise.
10652 * iconvdata/ibm9030.h: Likewise.
10653 * iconvdata/ibm9066.h: Likewise.
10654 * iconvdata/ibm921.h: Likewise.
10655 * iconvdata/ibm922.h: Likewise.
10656 * iconvdata/ibm9448.h: Likewise.
10657 * iconvdata/isiri-3342.h: Likewise.
10658 * iconvdata/jis0201.h: Likewise.
10659 * include/link.h: Likewise.
10660 * include/netdb.h: Likewise.
10661 * inet/check_native.c: Likewise.
10662 * inet/check_pf.c: Likewise.
10663 * inet/getipv4sourcefilter.c: Likewise.
10664 * inet/getnameinfo.c: Likewise.
10665 * inet/getsourcefilter.c: Likewise.
10666 * inet/htonl.c: Likewise.
10667 * inet/setipv4sourcefilter.c: Likewise.
10668 * inet/setsourcefilter.c: Likewise.
10669 * inet/test-inet6_opt.c: Likewise.
10670 * inet/tst-network.c: Likewise.
10671 * locale/C-collate.c: Likewise.
10672 * locale/C-ctype.c: Likewise.
10673 * locale/C-time.c: Likewise.
10674 * locale/C-translit.h: Likewise.
10675 * locale/loadarchive.c: Likewise.
10676 * locale/programs/3level.h: Likewise.
10677 * locale/programs/charmap.c: Likewise.
10678 * locale/programs/charmap.h: Likewise.
10679 * locale/programs/ld-address.c: Likewise.
10680 * locale/programs/ld-collate.c: Likewise.
10681 * locale/programs/ld-ctype.c: Likewise.
10682 * locale/programs/ld-identification.c: Likewise.
10683 * locale/programs/ld-measurement.c: Likewise.
10684 * locale/programs/ld-messages.c: Likewise.
10685 * locale/programs/ld-monetary.c: Likewise.
10686 * locale/programs/ld-name.c: Likewise.
10687 * locale/programs/ld-numeric.c: Likewise.
10688 * locale/programs/ld-paper.c: Likewise.
10689 * locale/programs/ld-telephone.c: Likewise.
10690 * locale/programs/ld-time.c: Likewise.
10691 * locale/programs/linereader.c: Likewise.
10692 * locale/programs/locale.c: Likewise.
10693 * locale/programs/locarchive.c: Likewise.
10694 * locale/programs/locfile.h: Likewise.
10695 * locale/programs/repertoire.c: Likewise.
10696 * locale/programs/simple-hash.c: Likewise.
10697 * locale/programs/simple-hash.h: Likewise.
10698 * malloc/memusage.c: Likewise.
10699 * malloc/memusagestat.c: Likewise.
10700 * nis/nis_defaults.c: Likewise.
10701 * nis/nis_hash.c: Likewise.
10702 * nis/nis_print.c: Likewise.
10703 * nis/nis_xdr.c: Likewise.
10704 * nscd/connections.c: Likewise.
10705 * nscd/hstcache.c: Likewise.
10706 * nscd/nscd_gethst_r.c: Likewise.
10707 * nscd/nscd_getserv_r.c: Likewise.
10708 * nscd/nscd_helper.c: Likewise.
10709 * nscd/servicescache.c: Likewise.
10710 * nss/makedb.c: Likewise.
10711 * nss/nss_db/db-XXX.c: Likewise.
10712 * nss/nss_db/db-initgroups.c: Likewise.
10713 * nss/nss_db/db-netgrp.c: Likewise.
10714 * nss/nss_files/files-network.c: Likewise.
10715 * nss/nss_files/files-parse.c: Likewise.
10716 * posix/bug-regex5.c: Likewise.
10717 * posix/fnmatch_loop.c: Likewise.
10718 * posix/regcomp.c: Likewise.
10719 * posix/regexec.c: Likewise.
10720 * posix/tst-rfc3484-2.c: Likewise.
10721 * posix/tst-rfc3484-3.c: Likewise.
10722 * posix/tst-rfc3484.c: Likewise.
10723 * resolv/nss_dns/dns-canon.c: Likewise.
10724 * resolv/nss_dns/dns-network.c: Likewise.
10725 * resolv/res_init.c: Likewise.
10726 * resolv/res_mkquery.c: Likewise.
10727 * resolv/tst-aton.c: Likewise.
10728 * stdlib/cxa_atexit.c: Likewise.
10729 * stdlib/cxa_finalize.c: Likewise.
10730 * stdlib/gen-fpioconst.c: Likewise.
10731 * stdlib/strtol_l.c: Likewise.
10732 * string/tst-endian.c: Likewise.
10733 * sunrpc/auth_des.c: Likewise.
10734 * sunrpc/clnt_udp.c: Likewise.
10735 * sunrpc/rtime.c: Likewise.
10736 * sunrpc/svcauth_des.c: Likewise.
10737 * sunrpc/xdr.c: Likewise.
10738 * sunrpc/xdr_intXX_t.c: Likewise.
10739 * sunrpc/xdr_rec.c: Likewise.
10740 * sysdeps/generic/ldconfig.h: Likewise.
10741 * sysdeps/generic/ldsodefs.h: Likewise.
10742 * sysdeps/generic/memusage.h: Likewise.
10743 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10746 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10753 * sysdeps/posix/getaddrinfo.c: Likewise.
10754 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10755 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10756 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10757 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10758 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10759 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10760 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10761 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10762 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10763 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10764 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10765 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10766 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10767 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10768 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10769 * sysdeps/x86_64/dl-tls.h: Likewise.
10770 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10771 * time/alt_digit.c: Likewise.
10772 * time/era.c: Likewise.
10773 * wcsmbs/tst-c16c32-1.c: Likewise.
10774
8c75f674
JM
107752013-05-16 Joseph Myers <joseph@codesourcery.com>
10776
10777 * math/libm-test.inc (struct test_sincos_data): New type.
10778 (RUN_TEST_LOOP_sincos): New macro.
10779 (sincos_test_data): New variable.
10780 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10781
e6e49e59
RH
107822013-05-16 Richard Henderson <rth@redhat.com>
10783
10784 * math/atest-exp2.c (LIMB64): New macro.
10785 (CONSTSZ): New macro.
10786 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10787 (hexdig): Move ...
10788 (print_mpn_fp): ... to function scope.
10789 (read_mpn_hex): Remove.
10790 (get_log2): Remove.
10791 (exp2_mpn): Use mp_log2.
10792 (main): Use mp_exp1.
10793
15c7c18d
JM
107942013-05-16 Joseph Myers <joseph@codesourcery.com>
10795
105a07df
JM
10796 * math/libm-test.inc: Remove comment about not testing "inexact"
10797 exceptions.
10798 (INEXACT_EXCEPTION): New macro.
10799 (NO_INEXACT_EXCEPTION): Likewise.
10800 (INVALID_EXCEPTION_OK): Update value.
10801 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10802 (OVERFLOW_EXCEPTION_OK): Likewise.
10803 (UNDERFLOW_EXCEPTION_OK): Likewise.
10804 (IGNORE_ZERO_INF_SIGN): Likewise.
10805 (ERRNO_UNCHANGED): Likewise.
10806 (ERRNO_EDOM): Likewise.
10807 (ERRNO_ERANGE): Likewise.
10808 (test_exceptions): Handle testing "inexact" exceptions.
10809 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10810 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10811 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10812 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10813 INEXACT_EXCEPTION.
10814 (rint_towardzero_test_data): Likewise.
10815 (rint_downward_test_data): Likewise.
10816 (rint_upward_test_data): Likewise.
10817
e9eee333
JM
10818 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10819 with OVERFLOW_EXCEPTION.
10820 (exp10_test_data): Likewise.
10821 (exp2_test_data): Likewise.
10822 (expm1_test_data): Likewise.
10823 (lgamma_test_data): Likewise.
10824 (pow_test_data): Likewise.
10825 (tgamma_test_data): Likewise.
10826 (yn_test_data): Remove duplicate test of overflow.
10827
1c38ff73
JM
10828 * math/libm-test.inc (struct test_cc_c_data): New type.
10829 (RUN_TEST_LOOP_cc_c): New macro.
10830 (cpow_test_data): New variable.
10831 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10832
15c7c18d
JM
10833 * math/libm-test.inc (struct test_f_L_data): New type.
10834 (RUN_TEST_LOOP_f_L): New macro.
10835 (llrint_test_data): New variable.
10836 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10837 (llrint_tonearest_test_data): New variable.
10838 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10839 (llrint_towardzero_test_data): New variable.
10840 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10841 (llrint_downward_test_data): New variable.
10842 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10843 (llrint_upward_test_data): New variable.
10844 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10845 (llround_test_data): New variable.
10846 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10847
f137ff13
PC
108482013-05-13 Peter Collingbourne <pcc@google.com>
10849
10850 * math/atest-exp2.c (get_log2): Remove const attribute.
10851
3608cb24
JM
108522013-05-15 Joseph Myers <joseph@codesourcery.com>
10853
10854 * math/libm-test.inc (struct test_f_l_data): New type.
10855 (RUN_TEST_LOOP_f_l): New macro.
10856 (lrint_test_data): New variable.
10857 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10858 (lrint_tonearest_test_data): New variable.
10859 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10860 (lrint_towardzero_test_data): New variable.
10861 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10862 (lrint_downward_test_data): New variable.
10863 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10864 (lrint_upward_test_data): New variable.
10865 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10866 (lround_test_data): New variable.
10867 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10868
39b1f617
PC
108692013-05-15 Peter Collingbourne <pcc@google.com>
10870
1deff3dc
PC
10871 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10872 (EXTRACT_WORDS64) Use where appropriate.
10873 (INSERT_WORDS64) Likewise.
10874
791f3ba0
PC
10875 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10876 constraints with x constraints.
10877 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10878
39b1f617
PC
10879 * malloc/obstack.c (_obstack_compat): Add initializer.
10880
12fba011
EM
108812013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10882
10883 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10884 si_trapno and add si_addr_lsb to _sifields.sigfault.
10885 (si_trapno): Remove macro.
10886 (si_addr_lsb): Define new macro.
10887 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10888
d369f531
JM
108892013-05-15 Joseph Myers <joseph@codesourcery.com>
10890
b861c6c4
JM
10891 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10892 instead of TEST_f_l.
10893 (llrint_test_tonearest): Likewise.
10894 (llrint_test_towardzero): Likewise.
10895 (llrint_test_downward): Likewise.
10896 (llrint_test_upward): Likewise.
10897 (llround_test): Likewise.
10898
7abeee12
JM
10899 * math/libm-test.inc (struct test_f_i_data): Add comment.
10900 (RUN_TEST_LOOP_f_b): New macro.
10901 (RUN_TEST_LOOP_f_b_tg): Likewise.
10902 (finite_test_data): New variable.
10903 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10904 (isfinite_test_data): New variable.
10905 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10906 (isinf_test_data): New variable.
10907 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10908 (isnan_test_data): New variable.
10909 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10910 (isnormal_test_data): New variable.
10911 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10912 (issignaling_test_data): New variable.
10913 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10914 (signbit_test_data): New variable.
10915 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10916
cbe8c4d3
JM
10917 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10918 with INVALID_EXCEPTION.
10919 (acosh_test_data): Likewise.
10920 (asin_test_data): Likewise.
10921 (atanh_test_data): Likewise.
10922 (fmod_test_data): Likewise.
10923 (log_test_data): Likewise.
10924 (log10_test_data): Likewise.
10925 (log2_test_data): Likewise.
10926 (pow_test_data): Likewise.
10927 (sqrt_test_data): Likewise.
10928 (y0_test_data): Likewise.
10929 (y1_test_data): Likewise.
10930 (yn_test_data): Likewise.
10931
5575c0e5
JM
10932 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10933 function contents.
10934
d369f531
JM
10935 * math/libm-test.inc (struct test_ff_i_data): New type.
10936 (RUN_TEST_LOOP_ff_i_tg): New macro.
10937 (isgreater_test_data): New variable.
10938 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10939 (isgreaterequal_test_data): New variable.
10940 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10941 (isless_test_data): New variable.
10942 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10943 (islessequal_test_data): New variable.
10944 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10945 (islessgreater_test_data): New variable.
10946 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10947 (isunordered_test_data): New variable.
10948 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10949
781fd748
DM
109502013-05-14 David S. Miller <davem@davemloft.net>
10951
10952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10953
87aa21df
JM
109542013-05-14 Joseph Myers <joseph@codesourcery.com>
10955
5e908270
JM
10956 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10957
f71172e5
JM
10958 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10959 extra_test to int.
10960 (struct test_f_i_data): Change type of max_ulp to int.
10961
8cfa635a
JM
10962 * math/libm-test.inc (test_ffI_f1_data): New type.
10963 (RUN_TEST_LOOP_ffI_f1): New macro.
10964 (remquo_test_data): New variable.
10965 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10966
2bcb36b2
JM
10967 * setjmp/tst-setjmp-fp.c: New file.
10968 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10969 (link-libm): New variable.
10970 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10971
acbd839a
JM
10972 * math/libm-test.inc (struct test_f_i_data): New type.
10973 (RUN_TEST_LOOP_f_i): New macro.
10974 (RUN_TEST_LOOP_f_i_tg): Likewise.
10975 (fpclassify_test_data): New variable.
10976 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10977 (ilogb_test_data): New variable.
10978 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10979
e414d745
JM
10980 * math/libm-test.inc (scalbln_test): Correct function name in END
10981 call.
10982
d9c2a0fd
JM
10983 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10984 (RUN_TEST_LOOP_fI_f1): New macro.
10985 (frexp_test_data): New variable.
10986 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10987
9dc9095d
JM
10988 * math/libm-test.inc (struct test_fF_f1_data): New type.
10989 (RUN_TEST_LOOP_fF_f1): New macro.
10990 (modf_test_data): New variable.
10991 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10992
87aa21df
JM
10993 * math/libm-test.inc (struct test_f_f1_data): New type.
10994 (RUN_TEST_LOOP_f_f1): New macro.
10995 (gamma_test_data): New variable.
10996 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10997 (lgamma_test_data): New variable.
10998 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10999
141af660
CD
110002013-05-13 Carlos O'Donell <carlos@redhat.com>
11001
11002 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11003 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11004 (main): Comment "tls" pseudo-hwcap.
11005
6d33265c
JM
110062013-05-13 Joseph Myers <joseph@codesourcery.com>
11007
68fc074c
JM
11008 * math/libm-test.inc (struct test_fl_f_data): New type.
11009 (RUN_TEST_LOOP_fl_f): New variable.
11010 (scalbln_test_data): New variable.
11011 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11012
243216e1
JM
11013 * math/libm-test.inc (struct test_fi_f_data): New type.
11014 (RUN_TEST_LOOP_fi_f): New macro.
11015 (ldexp_test_data): New variable.
11016 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11017 (scalbn_test_data): New variable.
11018 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11019
6a1992e2
JM
11020 * math/libm-test.inc (struct test_c_f_data): New type.
11021 (RUN_TEST_LOOP_c_f): New macro.
11022 (cabs_test_data): New variable.
11023 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11024 (carg_test_data): New variable.
11025 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11026 (cimag_test_data): New variable.
11027 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11028 (creal_test_data): New variable.
11029 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11030
0e400df5
JM
11031 * math/libm-test.inc (struct test_if_f_data): New type.
11032 (RUN_TEST_LOOP_if_f): New macro.
11033 (jn_test_data): New variable.
11034 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11035 (yn_test_data): New variable.
11036 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11037
6d33265c
JM
11038 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11039
f98ece5f
AZ
110402013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11041
11042 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11043 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11044
0f7d347b
SP
110452013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11046
43fe811b
SP
11047 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11048 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11049 (bench-deps): Add bench-timing.h.
11050 * benchtests-bench-skeleton.c: Include bench-timing.h.
11051 (main): Use TIMING_* macros instead of clock_gettime.
11052 * benchtests/bench-timing.h: New file.
11053
0f7d347b
SP
11054 [BZ #14582]
11055 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11056 Renamed from _LIB_VERSION.
11057 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11058
601a3a5f
JM
110592013-05-12 Joseph Myers <joseph@codesourcery.com>
11060
4f184d30
JM
11061 * math/libm-test.inc (struct test_fff_f_data): New type.
11062 (RUN_TEST_LOOP_fff_f): New macro.
11063 (fma_test_data): New variable.
11064 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11065 (fma_towardzero_test_data): New variable.
11066 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11067 (fma_downward_test_data): New variable.
11068 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11069 (fma_upward_test_data): New variable.
11070 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11071
08198877
JM
11072 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11073 (struct test_c_c_data): New type.
11074 (RUN_TEST_LOOP_c_c): New macro.
11075 (cacos_test_data): New variable.
11076 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11077 (cacosh_test_data): New variable.
11078 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11079 (casin_test_data): New variable.
11080 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11081 (casinh_test_data): New variable.
11082 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11083 (catan_test_data): New variable.
11084 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11085 (catanh_test_data): New variable.
11086 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11087 (ccos_test_data): New variable.
11088 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11089 (ccosh_test_data): New variable.
11090 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11091 (cexp_test_data): New variable.
11092 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11093 (clog_test_data): New variable.
11094 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11095 (clog10_test_data): New variable.
11096 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11097 (conj_test_data): New variable.
11098 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11099 (cproj_test_data): New variable.
11100 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11101 (csin_test_data): New variable.
11102 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11103 (csinh_test_data): New variable.
11104 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11105 (csqrt_test_data): New variable.
11106 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11107 (ctan_test_data): New variable.
11108 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11109 (ctan_tonearest_test_data): New variable.
11110 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11111 (ctan_towardzero_test_data): New variable.
11112 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11113 (ctan_downward_test_data): New variable.
11114 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11115 (ctan_upward_test_data): New variable.
11116 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11117 (ctanh_test_data): New variable.
11118 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11119 (ctanh_tonearest_test_data): New variable.
11120 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11121 (ctanh_towardzero_test_data): New variable.
11122 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11123 (ctanh_downward_test_data): New variable.
11124 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11125 (ctanh_upward_test_data): New variable.
11126 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11127 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11128 of BUILD_COMPLEX.
11129
601a3a5f
JM
11130 * math/libm-test.inc (struct test_ff_f_data): New type.
11131 (struct test_ff_f_data_nexttoward): Likewise.
11132 (RUN_TEST_LOOP_2_f): New macro.
11133 (RUN_TEST_LOOP_ff_f): Likewise.
11134 (atan2_test_data): New variable.
11135 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11136 (copysign_test_data): New variable.
11137 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11138 (fdim_test_data): New variable.
11139 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11140 (fmax_test_data): New variable.
11141 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11142 (fmin_test_data): New variable.
11143 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11144 (fmod_test_data): New variable.
11145 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11146 (hypot_test_data): New variable.
11147 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11148 (nextafter_test_data): New variable.
11149 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11150 (nexttoward_test_data): New variable.
11151 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11152 (pow_test_data): New variable.
11153 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11154 (pow_tonearest_test_data): New variable.
11155 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11156 (pow_towardzero_test_data): New variable.
11157 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11158 (pow_downward_test_data): New variable.
11159 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11160 (pow_upward_test_data): New variable.
11161 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11162 (remainder_test_data): New variable.
11163 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11164 (scalb_test_data): New variable.
11165 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11166 * sysdeps/i386/fpu/libm-test-ulps: Update.
11167
74c57478
JM
111682013-05-11 Joseph Myers <joseph@codesourcery.com>
11169
8329e4da
JM
11170 * math/libm-test.inc (fma_test): Use max_value instead of local
11171 variable fltmax.
11172 (nextafter_test): Likewise.
11173
74c57478
JM
11174 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11175 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11176 (acos_downward_test_data): New variable.
11177 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11178 (acos_upward_test_data): New variable.
11179 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11180 (acosh_test_data): New variable.
11181 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11182 (asin_test_data): New variable.
11183 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11184 (asin_tonearest_test_data): New variable.
11185 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11186 (asin_towardzero_test_data): New variable.
11187 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11188 (asin_downward_test_data): New variable.
11189 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11190 (asin_upward_test_data): New variable.
11191 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11192 (asinh_test_data): New variable.
11193 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11194 (atan_test_data): New variable.
11195 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11196 (atanh_test_data): New variable.
11197 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11198 (cbrt_test_data): New variable.
11199 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11200 (ceil_test_data): New variable.
11201 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11202 (cos_test_data): New variable.
11203 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11204 (cos_tonearest_test_data): New variable.
11205 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11206 (cos_towardzero_test_data): New variable.
11207 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11208 (cos_downward_test_data): New variable.
11209 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11210 (cos_upward_test_data): New variable.
11211 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11212 (cosh_test_data): New variable.
11213 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11214 (cosh_tonearest_test_data): New variable.
11215 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11216 (cosh_towardzero_test_data): New variable.
11217 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11218 (cosh_downward_test_data): New variable.
11219 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11220 (cosh_upward_test_data): New variable.
11221 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11222 (erf_test_data): New variable.
11223 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11224 (erfc_test_data): New variable.
11225 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11226 (exp_test_data): New variable.
11227 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11228 (exp_tonearest_test_data): New variable.
11229 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11230 (exp_towardzero_test_data): New variable.
11231 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11232 (exp_downward_test_data): New variable.
11233 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11234 (exp_upward_test_data): New variable.
11235 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11236 (exp10_test_data): New variable.
11237 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11238 (exp2_test_data): New variable.
11239 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11240 (expm1_test_data): New variable.
11241 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11242 (fabs_test_data): New variable.
11243 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11244 (floor_test_data): New variable.
11245 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11246 (j0_test_data): New variable.
11247 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11248 (j1_test_data): New variable.
11249 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11250 (log_test_data): New variable.
11251 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11252 (log10_test_data): New variable.
11253 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11254 (log1p_test_data): New variable.
11255 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11256 (log2_test_data): New variable.
11257 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11258 (logb_test_data): New variable.
11259 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11260 (logb_downward_test_data): New variable.
11261 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11262 (nearbyint_test_data): New variable.
11263 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11264 (rint_test_data): New variable.
11265 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11266 (rint_tonearest_test_data): New variable.
11267 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11268 (rint_towardzero_test_data): New variable.
11269 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11270 (rint_downward_test_data): New variable.
11271 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11272 (rint_upward_test_data): New variable.
11273 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11274 (round_test_data): New variable.
11275 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11276 (sin_test_data): New variable.
11277 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11278 (sin_tonearest_test_data): New variable.
11279 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11280 (sin_towardzero_test_data): New variable.
11281 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11282 (sin_downward_test_data): New variable.
11283 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11284 (sin_upward_test_data): New variable.
11285 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11286 (sinh_test_data): New variable.
11287 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11288 (sinh_tonearest_test_data): New variable.
11289 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11290 (sinh_towardzero_test_data): New variable.
11291 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11292 (sinh_downward_test_data): New variable.
11293 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11294 (sinh_upward_test_data): New variable.
11295 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11296 (sqrt_test_data): New variable.
11297 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11298 (tan_test_data): New variable.
11299 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11300 (tan_tonearest_test_data): New variable.
11301 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11302 (tan_towardzero_test_data): New variable.
11303 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11304 (tan_downward_test_data): New variable.
11305 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11306 (tan_upward_test_data): New variable.
11307 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11308 (tanh_test_data): New variable.
11309 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11310 (tgamma_test_data): New variable.
11311 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11312 (trunc_test_data): New variable.
11313 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11314 (y0_test_data): New variable.
11315 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11316 (y1_test_data): New variable.
11317 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11318 (significand_test_data): New variable.
11319 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11320
7187d844
CG
113212013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11322
11323 [BZ #12387]
11324 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11325
f63fae73
PT
113262013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11327
11328 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11329
8a67a4b3
AJ
113302013-05-10 Andreas Jaeger <aj@suse.de>
11331
11332 [BZ #15448]
11333 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11334 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11335
51df539d
JM
113362013-05-10 Joseph Myers <joseph@codesourcery.com>
11337
11338 * math/gen-libm-test.pl (adjust_arg): New function.
11339 (special_functions): Handle generating output in both functions
11340 and arrays.
11341 (parse_args): Likewise.
11342 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11343 $in_func argument to parse_args.
11344 * math/libm-test.inc (struct test_f_f_data): New type.
11345 (IF_ROUND_INIT_): New macro.
11346 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11347 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11348 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11349 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11350 (ROUND_RESTORE_): Likewise.
11351 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11352 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11353 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11354 (ROUND_RESTORE_FE_UPWARD): Likewise.
11355 (RUN_TEST_LOOP_f_f): New macro.
11356 (acos_test_data): New variable.
11357 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11358 (acos_tonearest_test_data): New variable.
11359 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11360
5c637fe5
SP
113612013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11362
11363 * benchtests/bench-skeleton.c (startup): Fix coding style.
11364
ab2b9461
JM
113652013-05-10 Joseph Myers <joseph@codesourcery.com>
11366
11367 [BZ #6809]
11368 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11369 negative infinity argument.
11370 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11371 negative infinity argument.
11372 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11373 negative infinity argument.
11374 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11375 domain errors.
11376
4c0fe6fe
FW
113772013-05-10 Florian Weimer <fweimer@redhat.com>
11378
11379 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11380 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11381 * iconv/iconv_prog.c (main): Likewise.
11382 * locale/programs/charmap-dir.c (charmap_readdir)
11383 (fopen_uncompressed): Likewise.
11384 * locale/programs/locfile.c (siblings_uncached)
11385 (write_locale_data): Use lstat64 instead of lstat.
11386 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11387 stat.
11388
a3375d29
AJ
113892013-05-10 Andreas Jaeger <aj@suse.de>
11390
11391 [BZ #15395]
11392 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11393 localization.
11394 Include <locale.h>.
11395
36129722
CD
113962013-05-09 Carlos O'Donell <carlos@redhat.com>
11397
11398 * elf/dl-close.c (_dl_close_worker): Add comments.
11399
faa7f811
JM
114002013-05-09 Joseph Myers <joseph@codesourcery.com>
11401
ed41ffef
JM
11402 [BZ #15359]
11403 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11404 high part of pi/2.
11405 (__ieee754_rem_pio2l): Update comments.
11406
d0213cd0
JM
11407 [BZ #15429]
11408 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11409 high part of pi/2.
11410 (__ieee754_rem_pio2l): Update comments.
11411
0d3e777a
JM
11412 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11413 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11414
24f56066
JM
11415 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11416 M_PI_4l.
11417
faa7f811
JM
11418 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11419 (M_PI_34_LOG10El): Likewise.
11420 (M_PI2_LOG10El): Likewise.
11421 (M_PI4_LOG10El): Likewise.
11422 (M_PI_LOG10El): Likewise.
11423
e9a5e0fd
AZ
114242013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11425
11426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11427
d8cd06db
JM
114282013-05-08 Joseph Myers <joseph@codesourcery.com>
11429
a0d9f9d7
JM
11430 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11431 (MINUS_ZERO_INIT): Likewise.
11432 (PLUS_INFTY_INIT): Likewise.
11433 (MINUS_INFTY_INIT): Likewise.
11434 (QNAN_VALUE_INIT): Likewise.
11435 (MAX_VALUE_INIT): Likewise.
11436 (MIN_VALUE_INIT): Likewise.
11437 (MIN_SUBNORM_VALUE_INIT): Likewise.
11438 (plus_zero): Initialize with PLUS_ZERO_INIT.
11439 (minus_zero): Initialize with MINUS_ZERO_INIT.
11440 (plus_infty): Initialize with PLUS_INFTY_INIT.
11441 (minus_infty): Initialize with MINUS_INFTY_INIT.
11442 (qnan_value): Initialize with QNAN_VALUE_INIT.
11443 (max_value): Initialize with MAX_VALUE_INIT.
11444 (min_value): Initialize with MIN_VALUE_INIT.
11445 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11446
ae08db3b
JM
11447 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11448 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11449 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11450 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11451
f44bf14a
JM
11452 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11453 (RUN_TEST_2_f): Likewise.
11454 (RUN_TEST_ff_f): Likewise.
11455 (RUN_TEST_fi_f): Likewise.
11456 (RUN_TEST_fl_f): Likewise.
11457 (RUN_TEST_fff_f): Likewise.
11458 (RUN_TEST_c_f): Likewise.
11459 (RUN_TEST_f_f1): Likewise.
11460 (RUN_TEST_fF_f1): Likewise.
11461 (RUN_TEST_fI_f1): Likewise.
11462 (RUN_TEST_ffI_f1): Likewise.
11463 (RUN_TEST_c_c): Likewise.
11464 (RUN_TEST_cc_c): Likewise.
11465 (RUN_TEST_f_i): Likewise.
11466 (RUN_TEST_f_i_tg): Likewise.
11467 (RUN_TEST_ff_i_tg): Likewise.
11468 (RUN_TEST_f_b): Likewise.
11469 (RUN_TEST_f_b_tg): Likewise.
11470 (RUN_TEST_f_l): Likewise.
11471 (RUN_TEST_f_L): Likewise.
11472 (RUN_TEST_sincos): Likewise.
11473 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11474 whether to show exceptions. Do not include ");\n" in return
11475 value.
11476 (special_functions): Output call to RUN_TEST_sincos instead of
11477 check_float calls. Update calls to new_test.
11478 (parse_args): Output call to single RUN_TEST_* macro instead of
11479 check_* calls and other assignments. Update calls to new_test.
11480
d8cd06db
JM
11481 [BZ #2546]
11482 [BZ #2560]
11483 [BZ #5159]
11484 [BZ #15426]
11485 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11486 input to result for tgamma overflow.
11487 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11488 (gamma_coeff): New variable.
11489 (NCOEFF): New macro.
11490 (gamma_positive): New function.
11491 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11492 underflow here. Use gamma_positive instead of exp (lgamma) for
11493 other arguments.
11494 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11495 (gamma_coeff): New variable.
11496 (NCOEFF): New macro.
11497 (gammaf_positive): New function.
11498 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11499 underflow here. Use gamma_positive instead of exp (lgamma) for
11500 other arguments.
11501 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11502 (gamma_coeff): New variable.
11503 (NCOEFF): New macro.
11504 (gammal_positive): New function.
11505 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11506 underflow here. Use gamma_positive instead of exp (lgamma) for
11507 other arguments.
11508 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11509 (gamma_coeff): New variable.
11510 (NCOEFF): New macro.
11511 (gammal_positive): New function.
11512 (__ieee754_gammal_r): Handle positive infinity, overflow and
11513 underflow here. Handle NaN the same as positive infinity. Remove
11514 check x < 0xffffffff for negative integers. Use gamma_positive
11515 instead of exp (lgamma) for other arguments.
11516 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11517 (gamma_coeff): New variable.
11518 (NCOEFF): New macro.
11519 (gammal_positive): New function.
11520 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11521 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11526 * sysdeps/generic/math_private.h (__gamma_productf): New
11527 prototype.
11528 (__gamma_product): Likewise.
11529 (__gamma_productl): Likewise.
11530 * math/Makefile (libm-calls): Add gamma_product.
11531 * math/libm-test.inc (tgamma_test): Add more tests.
11532 * sysdeps/i386/fpu/libm-test-ulps: Update.
11533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11534
bb7cf681
OB
115352013-05-08 Ondřej Bílka <neleai@seznam.cz>
11536
11537 * benchtests/bench-skeleton.c (main): Preheat CPU.
11538
ba853947
AJ
115392013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11540
11541 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11542
8347c74c
RM
115432013-05-07 Roland McGrath <roland@hack.frob.com>
11544
11545 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11546 and _dl_skip_args_internal.
11547
e8dd4791
CD
115482013-05-07 Carlos O'Donell <carlos@redhat.com>
11549
11550 * manual/message.texi (Message Translation): Talk about users.
11551 Message to key mapping impacts design.
11552
c7405830
RM
115532013-05-06 Roland McGrath <roland@hack.frob.com>
11554
a9173057
RM
11555 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11556
976e2f03
RM
11557 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11558
9723ffc5
RM
11559 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11560 * sysdeps/wordsize-64/glob64.c: ... here.
11561
962e6658
RM
11562 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11563 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11564 New macros.
11565
ee586a6d
RM
11566 * debug/getlogin_r_chk.c: Moved to ...
11567 * login/getlogin_r_chk.c: ... here.
11568 * debug/Makefile (routines): Move getlogin_r_chk to ...
11569 * login/Makefile (routines): ... here.
11570 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11571 * login/Versions (libc: GLIBC_2.4): ... here.
11572
355f9165
RM
11573 * io/poll.c (__poll): Renamed from poll.
11574 Add libc_hidden_def.
11575 (poll): Define as weak alias.
11576
bd9ffde6
RM
11577 * debug/ptsname_r_chk.c: Moved to ...
11578 * login/ptsname_r_chk.c: ... here.
11579 * debug/Makefile (routines): Move ptsname_r_chk to ...
11580 * login/Makefile (routines): ... here.
11581 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11582 * login/Versions (libc: GLIBC_2.4): ... here.
11583
8fb16a04
RM
11584 * posix/getlogin.c: Moved to ...
11585 * login/getlogin.c: ... here.
11586 * posix/getlogin_r.c: Moved to ...
11587 * login/getlogin_r.c: ... here.
11588 * posix/getlogin_r.c: Moved to ...
11589 * login/getlogin_r.c: ... here.
11590 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11591 * login/Makefile (routines): ... here.
11592 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11593 * login/Versions (libc: GLIBC_2.0): ... here.
11594
b99b892f
RM
11595 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11596 (setrlimit): Define as weak alias.
11597
c7405830
RM
11598 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11599 Call __ names for open, ftruncate, and close.
11600 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11601 (truncate): Define as weak alias.
11602
5bf96de5
JM
116032013-05-06 Joseph Myers <joseph@codesourcery.com>
11604
9ea3513c
JM
11605 * math/gen-libm-test.pl (parse_args): Initialize x before each
11606 test of frexp, modf and remquo.
11607
5bf96de5
JM
11608 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11609 test signgam value.
11610
16e616a7
AZ
116112013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 [BZ #15418]
11614 [BZ #15419]
11615 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11616 internal tests.
11617 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11618
d5e82754
RM
116192013-05-06 Roland McGrath <roland@hack.frob.com>
11620
11621 * elf/dl-writev.h: New file.
11622 * elf/dl-misc.c: Include it.
11623 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11624 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11625
a7548d41
JM
116262013-05-04 Joseph Myers <joseph@codesourcery.com>
11627
b7dab1e4
JM
11628 * math/libm-test.inc (noXFails): Remove variable.
11629 (noXPasses): Likewise.
11630 (BUILD_COMPLEX_INT): Remove macro.
11631 (print_screen): Remove xfail argument.
11632 (print_screen_max_error): Likewise.
11633 (update_stats): Likewise.
11634 (print_max_error): Likewise. Update calls to other affected
11635 functions.
11636 (print_complex_max_error): Likewise.
11637 (test_single_exception): Update calls to print_screen.
11638 (test_single_errno): Likewise.
11639 (check_float_internal): Remove xfail argument. Update calls to
11640 other affected functions.
11641 (check_float): Likewise.
11642 (check_complex): Likewise.
11643 (check_int): Likewise.
11644 (check_long): Likewise.
11645 (check_bool): Likewise.
11646 (check_longlong): Likewise.
11647 (main): Don't print noXFails and noXPasses.
11648 * math/gen-libm-test.pl (top level): Don't mention expected
11649 failure handling in comment.
11650 (new_test): Don't handle expected failures.
11651 (parse_args): Don't mention expected failure handling in comment.
11652 (generate_testfile): Don't handle expected failures.
11653 (parse_ulps): Likewise.
11654 (print_ulps_file): Likewise.
11655 (get_failure): Remove function.
11656 (output_test): Don't handle expected failures.
11657 * make/README.libm-test: Don't mention expected failure handling.
11658
a7548d41
JM
11659 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11660 (minus_zero): Likewise.
11661 (plus_infty): Likewise.
11662 (minus_infty): Likewise.
11663 (qnan_value): Likewise.
11664 (max_value): Likewise.
11665 (min_value): Likewise.
11666 (min_subnorm_value): Likewise.
11667 (initialize): Do not initialize those variables dynamically.
11668
60bfd54c
RM
116692013-05-03 Roland McGrath <roland@hack.frob.com>
11670
cc0e6ed8
RM
11671 * io/open.c (__open_2): Moved to ...
11672 * io/open_2.c: ... this new file.
11673 * io/open64.c (__open64_2): Moved to ...
11674 * io/open64_2.c: ... this new file.
11675 * io/openat.c (__openat_2): Moved to ...
11676 * io/openat_2.c: ... this new file.
11677 * io/openat64.c (__openat64_2): Moved to ...
11678 * io/openat64_2.c: ... this new file.
11679 * io/Makefile (routines): Add them.
11680 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11681 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11682 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11683 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11684 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11685 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11686 (__openat64): Add hidden_ver.
11687 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11688 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11689
60bfd54c
RM
11690 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11691 Separately conditionalize setting of GLRO(dl_sysinfo) so
11692 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11693 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11694
83e7640f
AZ
116952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696
11697 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11698 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11699 definition.
11700 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11701 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11702 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11703 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11704 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11705
d5dc2af3
JM
117062013-05-03 Joseph Myers <joseph@codesourcery.com>
11707
c31a5b1e
JM
11708 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11709 test signgam value.
11710
d5dc2af3
JM
11711 * math/libm-test.inc (hypot_test): Do not use
11712 IGNORE_ZERO_INF_SIGN.
11713
164fd39d
AJ
117142013-05-03 Andreas Jaeger <aj@suse.de>
11715
11716 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11717 Linux 3.9.
11718 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11719 (PF_MAX): Adjust for VSOCK change.
11720
8237f48c
AZ
117212013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11722
11723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11724
9df02941
CD
117252013-05-02 Carlos O'Donell <carlos@redhat.com>
11726
11727 [BZ #15264]
11728 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11729 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11730 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11731
d422395e
DM
117322013-05-02 David S. Miller <davem@davemloft.net>
11733
11734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11735
a07c5731
OB
117362013-05-01 Ondřej Bílka <neleai@seznam.cz>
11737
11738 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11739
1324e37f
RM
117402013-05-01 Roland McGrath <roland@hack.frob.com>
11741
11742 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11743
0695940b
RS
117442013-05-01 Richard Smith <richard@metafoo.co.uk>
11745
bb5f27ad 11746 [BZ #14952]
0695940b
RS
11747 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11748 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11749 Use __attribute__ ((__gnu_inline__)).
11750 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11751 Don't use __attribute__ ((__gnu_inline__)).
11752
10de07f5
JM
117532013-05-01 Joseph Myers <joseph@codesourcery.com>
11754
11755 [BZ #15423]
11756 * math/s_catan.c (__catan): Handle small real or imaginary part of
11757 input specially to avoid spurious underflow.
11758 * math/s_catanf.c (__catanf): Likewise.
11759 * math/s_catanh.c (__catanh): Likewise.
11760 * math/s_catanhf.c (__catanhf): Likewise.
11761 * math/s_catanhl.c (__catanhl): Likewise.
11762 * math/s_catanl.c (__catanl): Likewise.
11763 * math/libm-test.inc (catan_test): Add more tests.
11764 (catanh_test): Likewise.
11765 * sysdeps/i386/fpu/libm-test-ulps: Update.
11766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11767
cb4d5414
AZ
117682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
11770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11771
caf84319
JM
117722013-04-30 Joseph Myers <joseph@codesourcery.com>
11773
11774 [BZ #15416]
11775 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11776 accurately for denominator in atan2.
11777 * math/s_catanf.c (__catanf): Likewise.
11778 * math/s_catanh.c (__catanh): Likewise.
11779 * math/s_catanhf.c (__catanhf): Likewise.
11780 * math/s_catanhl.c (__catanhl): Likewise.
11781 * math/s_catanl.c (__catanl): Likewise.
11782 * math/libm-test.inc (catan_test): Add more tests.
11783 (catanh_test): Likewise.
11784 * sysdeps/i386/fpu/libm-test-ulps: Update.
11785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11786
d569c6ee
SP
117872013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11788
6dbe713d
SP
11789 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11790
f0ee064b
SP
11791 * benchtests/Makefile (bench): Remove slow benchmarks.
11792 * benchtests/atan-inputs: Add slow benchmark inputs.
11793 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11794 (BENCH_FUNC): Accept variant offset.
11795 (VARIANT): Define.
11796 * benchtests/bench-skeleton.c (main): Run benchmark for each
11797 variant.
11798 * benchtests/cos-inputs: Add slow benchmark inputs.
11799 * benchtests/exp-inputs: Likewise.
11800 * benchtests/pow-inputs: Likewise.
11801 * benchtests/sin-inputs: Likewise.
11802 * benchtests/slowatan-inputs: Remove.
11803 * benchtests/slowatan.c: Remove.
11804 * benchtests/slowcos-inputs: Remove.
11805 * benchtests/slowcos.c: Remove.
11806 * benchtests/slowexp-inputs: Remove.
11807 * benchtests/slowexp.c: Remove.
11808 * benchtests/slowpow-inputs: Remove.
11809 * benchtests/slowpow.c: Remove.
11810 * benchtests/slowsin-inputs: Remove.
11811 * benchtests/slowsin.c: Remove.
11812 * benchtests/slowtan-inputs: Remove.
11813 * benchtests/slowtan.c: Remove.
11814 * benchtests/tan-inputs: Add slow benchmark inputs.
11815 * scripts/bench.pl: Parse comments and directives.
11816
d569c6ee
SP
11817 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11818 in CPPFLAGS.
11819 ($(objpfx)bench-%.c): Remove *-ITER.
11820 * benchtests/bench-modf.c: Remove definition of ITER.
11821 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11822 (main): Loop for DURATION seconds instead of fixed number of
11823 iterations.
11824 * scripts/bench.pl: Don't expect iterations in parameters.
11825
a6a242fe
RM
118262013-04-29 Roland McGrath <roland@hack.frob.com>
11827
11828 * io/fchdir.c (__fchdir): Renamed from fchdir.
11829 (fchdir): Define as weak alias.
11830
f2da7793
JM
118312013-04-29 Joseph Myers <joseph@codesourcery.com>
11832
11833 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11834 (ERRNO_EDOM): Likewise.
11835 (ERRNO_ERANGE): Likewise.
11836 (noErrnoTests): New variable.
11837 (init_max_error): Set errno to 0.
11838 (test_single_errno): New function.
11839 (test_errno): Likewise.
11840 (check_float_internal): Call test_errno. Set errno to 0.
11841 (check_complex): Refer to errno tests in comment.
11842 (check_int): Call test_errno. Set errno to 0.
11843 (check_long): Likewise.
11844 (check_bool): Likewise.
11845 (check_longlong): Likewise.
11846 (cos_test): Use ERRNO_* flags for errno tests instead of
11847 check_int.
11848 (expm1_test): Likewise.
11849 (fmod_test): Likewise.
11850 (ilogb_test): Likewise.
11851 (lgamma_test): Likewise.
11852 (pow_test): Likewise.
11853 (remainder_test): Likewise.
11854 (sin_test): Likewise.
11855 (tan_test): Likewise.
11856 (yn_test): Likewise.
11857 (initialize): Set errno to 0.
11858 (main): Print number of errno tests.
11859 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11860
b1a36ceb
AJ
118612013-04-29 Andreas Jaeger <aj@suse.de>
11862
c3ed8088
AJ
11863 [BZ #15084]
11864 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11865 and RES_USEVC.
11866
f1a24198
AJ
11867 [BZ #15085]
11868 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11869 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11870 unimplemented.
11871
9ce3b2cb
AJ
11872 [BZ #15380]
11873 * stdlib/random.c (__initstate): Return NULL if
11874 __initstate fails.
11875
f1a24198 11876 [BZ #15086]
b1a36ceb
AJ
11877 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11878 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11879 RES_SNGLKUPREOP.
11880
7e7b6f36
AZ
118812013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11882
11883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11884
4d14f449
JM
118852013-04-29 Joseph Myers <joseph@codesourcery.com>
11886
11887 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11888 of individual tests.
11889 (casin_test): Likewise.
11890 (casinh_test): Likewise.
11891
5b4217d7
JM
118922013-04-27 Joseph Myers <joseph@codesourcery.com>
11893
11894 [BZ #15409]
11895 * math/s_catan.c (__catan): Handle arguments with large real or
11896 imaginary part separately without squaring.
11897 * math/s_catanf.c (__catanf): Likewise.
11898 * math/s_catanh.c (__catanh): Likewise.
11899 * math/s_catanhf.c (__catanhf): Likewise.
11900 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11901 and redefine.
11902 (__catanhl): Handle arguments with large real or imaginary part
11903 separately without squaring.
11904 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11905 and redefine.
11906 (__catanl): Handle arguments with large real or imaginary part
11907 separately without squaring.
11908 * math/libm-test.inc (catan_test): Add more tests.
11909 (catanh_test): Likewise.
11910 * sysdeps/i386/fpu/libm-test-ulps: Update.
11911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11912
4220c3ef
AJ
119132013-04-27 Andreas Jaeger <aj@suse.de>
11914
11915 [BZ #15007]
11916 * stdlib/stdlib.h: Update guards for qecvt.
11917 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11918 <stdlib.h>.
11919
4721b2d1
AM
119202013-04-27 Allan McRae <allan@archlinux.org>
11921
11922 * sysdeps/i386/fpu/libm-test-ulps: Update.
11923
f0302940
JM
119242013-04-26 Joseph Myers <joseph@codesourcery.com>
11925
9457fd95
JM
11926 [BZ #15406]
11927 * math/s_catan.c: Include <float.h>.
11928 (__catan): Ensure underflow exception occurs for underflowed
11929 result.
11930 * math/s_catanf.c: Include <float.h>.
11931 (__catanf): Ensure underflow exception occurs for underflowed
11932 result.
11933 * math/s_catanh.c: Include <float.h>.
11934 (__catanh): Ensure underflow exception occurs for underflowed
11935 result.
11936 * math/s_catanhf.c: Include <float.h>.
11937 (__catanhf): Ensure underflow exception occurs for underflowed
11938 result.
11939 * math/s_catanhl.c: Include <float.h>.
11940 (__catanhl): Ensure underflow exception occurs for underflowed
11941 result.
11942 * math/s_catanl.c: Include <float.h>.
11943 (__catanl): Ensure underflow exception occurs for underflowed
11944 result.
11945 * math/libm-test.inc (catan_test): Add more tests.
11946 (catanh_test): Likewise.
11947
f0302940
JM
11948 [BZ #15405]
11949 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11950 underflowed result.
11951 * math/s_ccoshf.c (__ccoshf): Likewise.
11952 * math/s_ccoshl.c (__ccoshl): Likewise.
11953 * math/s_csin.c (__csin): Likewise.
11954 * math/s_csinf.c (__csinf): Likewise.
11955 * math/s_csinh.c (__csinh): Likewise.
11956 * math/s_csinhf.c (__csinhf): Likewise.
11957 * math/s_csinhl.c (__csinhl): Likewise.
11958 * math/s_csinl.c (__csinl): Likewise.
11959 * math/libm-test.inc (ccos_test): Add more tests.
11960 (ccosh_test): Likewise.
11961 (csin_test): Likewise.
11962 (csinh_test): Likewise.
11963
aa630f59
AZ
119642013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11965
11966 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11967 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11968 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11969 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11970 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11971 powerpc/power5+/fpu folders.
11972 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11973
11974
1b835983
MT
119752013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11976
11977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11978
73709b26
JM
119792013-04-25 Joseph Myers <joseph@codesourcery.com>
11980
11981 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11982 additions to variable.
11983 [$(config-machine) = x86_64] (modules-names): Likewise.
11984 ($(objpfx)tst-audit3): Remove dependency.
11985 ($(objpfx)tst-audit3.out): Likewise.
11986 ($(objpfx)tst-audit4): Likewise.
11987 ($(objpfx)tst-audit4.out): Likewise.
11988 ($(objpfx)tst-audit5): Likewise.
11989 ($(objpfx)tst-audit5.out): Likewise.
11990 ($(objpfx)tst-audit6): Likewise.
11991 ($(objpfx)tst-audit6.out): Likewise.
11992 ($(objpfx)tst-audit7): Likewise.
11993 ($(objpfx)tst-audit7.out): Likewise.
11994 (tst-audit3-ENV): Remove variable.
11995 (tst-audit4-ENV): Likewise.
11996 (tst-audit5-ENV): Likewise.
11997 (tst-audit6-ENV): Likewise.
11998 (tst-audit7-ENV): Likewise.
11999 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12000 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12001 addition to variable.
12002 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12003 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12005 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12006 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12007 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12008 tst-audit3, tst-audit4 and tst-audit5.
12009 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12010 tst-audit6 and tst-audit7.
12011 [$(subdir) = elf] (modules-names): Add audit modules for those
12012 tests.
12013 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12014 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12015 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12016 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12017 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12018 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12019 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12020 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12021 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12022 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12023 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12024 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12025 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12026 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12027 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12028 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12029 Likewise.
12030 [$(subdir) = elf && $(config-cflags-avx) = yes]
12031 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12032 [$(subdir) = elf && $(config-cflags-avx) = yes]
12033 (CFLAGS-tst-auditmod4a.c): Likewise.
12034 [$(subdir) = elf && $(config-cflags-avx) = yes]
12035 (CFLAGS-tst-auditmod4b.c): Likewise.
12036 [$(subdir) = elf && $(config-cflags-avx) = yes]
12037 (CFLAGS-tst-auditmod6b.c): Likewise.
12038 [$(subdir) = elf && $(config-cflags-avx) = yes]
12039 (CFLAGS-tst-auditmod6c.c): Likewise.
12040 [$(subdir) = elf && $(config-cflags-avx) = yes]
12041 (CFLAGS-tst-auditmod7b.c): Likewise.
12042 * elf/tst-audit3.c: Move to ...
12043 * sysdeps/x86_64/tst-audit3.c: ... here.
12044 * elf/tst-audit4.c: Move to ...
12045 * sysdeps/x86_64/tst-audit4.c: ... here.
12046 * elf/tst-audit5.c: Move to ...
12047 * sysdeps/x86_64/tst-audit5.c: ... here.
12048 * elf/tst-audit6.c: Move to ...
12049 * sysdeps/x86_64/tst-audit6.c: ... here.
12050 * elf/tst-audit7.c: Move to ...
12051 * sysdeps/x86_64/tst-audit7.c: ... here.
12052 * elf/tst-auditmod3a.c: Move to ...
12053 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12054 * elf/tst-auditmod3b.c: Move to ...
12055 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12056 * elf/tst-auditmod4a.c: Move to ...
12057 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12058 * elf/tst-auditmod4b.c: Move to ...
12059 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12060 * elf/tst-auditmod5a.c: Move to ...
12061 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12062 * elf/tst-auditmod5b.c: Move to ...
12063 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12064 * elf/tst-auditmod6a.c: Move to ...
12065 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12066 * elf/tst-auditmod6b.c: Move to ...
12067 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12068 * elf/tst-auditmod6c.c: Move to ...
12069 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12070 * elf/tst-auditmod7a.c: Move to ...
12071 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12072 * elf/tst-auditmod7b.c: Move to ...
12073 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12074
1ef74943
PP
120752013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12076
12077 [BZ #15366]
12078 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12079 define unconditionally.
12080 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12081 define unconditionally.
12082 (INT8_C, INT16_C, etc.): Likewise.
12083
93fd48c5
MR
120842013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12085
ae9552cf
MR
12086 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12087 __ehdr_start with hidden visibility.
12088
93fd48c5
MR
12089 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12090
418601aa
CD
120912013-04-24 Carlos O'Donell <carlos@redhat.com>
12092
12093 * math/libm-test.inc (cos_test): Use accurate hex constants.
12094 (sincost_test): Likewise.
12095
2f38fbfe
JM
120962013-04-24 Joseph Myers <joseph@codesourcery.com>
12097
5e221800
JM
12098 * math/libm-test.inc (catan_test): Add more tests.
12099 (catanh_test): Likewise.
12100
77f143fd
JM
12101 * math/s_catanf.c (__catanf): Use suffixed floating-point
12102 constants.
12103 * math/s_catanhf.c (__catanhf): Likewise.
12104 * math/s_catanhl.c (__catanhl): Likewise.
12105 * math/s_catanl.c (__catanl): Likewise.
12106
2f38fbfe
JM
12107 [BZ #15394]
12108 * math/s_catan.c (__catan): Calculate imaginary part of result
12109 with log1p not log unless computing log of number close to 0.
12110 * math/s_catanf.c (__catanf): Likewise.
12111 * math/s_catanl.c (__catanl): Likewise.
12112 * math/s_catanh.c (__catanh): Calculate real part of result with
12113 log1p not log unless computing log of number close to 0.
12114 * math/s_catanhf.c (__catanhf): Likewise.
12115 * math/s_catanhl.c (__catanhl): Likewise.
12116 * math/libm-test.inc (catan_test): Add more tests.
12117 (catanh_test): Likewise.
12118 * sysdeps/i386/fpu/libm-test-ulps: Update.
12119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12120
45d69176
SP
121212013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12122
12123 * benchtests/Makefile: Mention files in which fast and slow
12124 paths of math functions are implemented.
12125
87f51853
RM
121262013-04-23 Roland McGrath <roland@hack.frob.com>
12127
12128 * sysdeps/posix/timespec_get.c: New file.
12129
3c026539
AZ
121302013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12131
12132 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12133 POWER.
12134 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12135 for POWER.
12136 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12137 powerpc/power5/fpu folders.
12138 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12139 * benchtests/Makefile: Add modf testcase.
12140 * benchtests/bench-modf.c: New file: Benchmark test for mo
12141
ff491d14
SP
121422013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12143
12144 [BZ #14888]
12145 * time/Makefile (tests): Add tst-strptime-whitespace.
12146 * time/strptime_l.c (get_number): Use ISSPACE.
12147 (__strptime_internal): Likewise.
12148 * time/tst-strptime-whitespace.c: New test case.
12149
7ed3f4e8
AS
121502013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12151
12152 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12153 member.
12154 (_nss_files_init): Set it here.
12155
5c95f7b6
HC
121562013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12157
12158 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12159 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12160 unsigned.
12161
d34c9158
JBG
121622013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12163
12164 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12165
2169712d
SP
121662013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12167
12168 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12169 size just once.
12170
29c5de99
DM
121712013-04-21 David S. Miller <davem@davemloft.net>
12172
12173 * po/ru.po: Update Russion translation from translation project.
12174
ccdad15d
AC
121752013-04-17 Adam Conrad <adconrad@0c3.net>
12176
12177 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12178 and setfsgid.
12179
0f122b8d
CD
121802013-04-17 Carlos O'Donell <carlos@redhat.com>
12181
5c5b07da 12182 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12183 * configure: Regenerate.
5c5b07da 12184 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12185 Add example to error message.
12186 * sysdeps/i386/configure: Regenerate.
12187
037714dd
SP
121882013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12189
12190 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12191 slowtan.
12192 * benchtests/cos-inputs: New file.
12193 * benchtests/slowcos-inputs: New file.
12194 * benchtests/slowcos.c: New file.
12195 * benchtests/slowtan-inputs: New file.
12196 * benchtests/slowtan.c: New file.
12197 * benchtests/tan-inputs: New file.
12198
e913141d
RM
121992013-04-16 Roland McGrath <roland@hack.frob.com>
12200
12201 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12202 considered kosher.
12203
a2964074
SP
122042013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12205
4856bcd2
SP
12206 * benchtests/Makefile: Include cppflags-iterator.mk to add
12207 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12208
a2964074
SP
12209 * Makefile.in (bench-clean): New target.
12210 * benchtests/Makefile (bench-clean): Likewise.
12211
9fbf9aca
DH
122122013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12213
12214 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12215
207d1e2a
TS
122162013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12217
12218 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12219
306dfba9
AS
122202013-04-15 Andreas Schwab <schwab@suse.de>
12221
12222 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12224 * nscd/pwdcache.c (cache_addpw): Likewise.
12225 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12226 more than recsize.
12227
206a6699
SP
122282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12229
12230 * benchtests/Makefile (bench): Write all output to
12231 bench-out.tmp together.
12232
0582f6b3
AS
122332013-04-15 Andreas Schwab <schwab@suse.de>
12234
12235 * nscd/nscd.c (main): Don't fork again after closing files.
12236
acb4325f
SP
122372013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12238
5cb26d0a
SP
12239 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12240
acb4325f
SP
12241 * benchtests/Rules (bench-deps): Collect dependencies into a
12242 single variable. Add Makefile to dependencies.
12243 ($(objpfx)bench-%.c): Depend on bench-deps.
12244
47792506
RM
122452013-04-12 Roland McGrath <roland@hack.frob.com>
12246 Xavier Roche <roche+kml2@exalead.com>
12247
12248 [BZ #15361]
12249 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12250 just that it's a file descriptor.
12251 * manual/llio.texi (Synchronizing AIO Operations): Update description
12252 for EBADF error from aio_fsync.
12253
8fc1bee5
SP
122542013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12255
12256 * Rules (bench): Move target definition...
12257 * benchtests/Makefile: ... here.
12258
aba5e333
CD
122592013-04-11 Carlos O'Donell <carlos@redhat.com>
12260
12261 * math/libm-test.inc (cos_test): Fix PI/2 test.
12262 (sincos_test): Likewise.
12263 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12264 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12265
273cdee8
AS
122662013-04-11 Andreas Schwab <schwab@suse.de>
12267
6ecec3b6
AS
12268 [BZ #13988]
12269 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12270 accept exponent character only when digits were seen.
12271 * stdio-common/Makefile (tests): Add bug26.
12272 * stdio-common/bug26.c: New file.
12273
273cdee8
AS
12274 [BZ #14293]
12275 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12276 non-freeable.
12277
8da491f5
SP
122782013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
01dc6df9
SP
12280 * Makeconfig (rtld-prefix): Define built linker prefix.
12281 * Rules (run-bench): Use it.
12282 * math/Makefile (run-regen-ulps): Likewise.
12283
8da491f5
SP
12284 * Rules (bench): Remove eval.
12285
abe7f530
SP
122862013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12287 Roland McGrath <roland@hack.frob.com>
12288 Ondrej Bilka <neleai@seznam.cz>
12289
12290 [BZ #15346]
12291 * time/getdate.c: Include ctype.h and alloca.h.
12292 (__getdate_r): Trim leading and trailing spaces of input.
12293 * time/tst-getdate.c (tests): Add tests with leading and
12294 trailing spaces.
12295
61c23e62
RM
122962013-04-08 Roland McGrath <roland@hack.frob.com>
12297
12298 [BZ #14280]
12299 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12300 when computing value.
12301
7208a313
CD
123022013-04-06 Carlos O'Donell <carlos@redhat.com>
12303
085b2d41
CD
12304 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12305 Use testrun.sh to run libm tests.
12306
7208a313
CD
12307 [BZ #15309]
12308 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12309
872c0acd
MM
123102013-04-06 Marko Myllynen <myllynen@redhat.com>
12311
12312 [BZ #15264]
12313 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12314
26510bdd
CD
123152013-04-06 Carlos O'Donell <carlos@redhat.com>
12316
12317 * Makefile.in (regen-ulps): New target.
12318 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12319 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12320 [ifneq (no,$(PERL)] (regen-ulps): New target.
12321 [ifeq (no,$(PERL)] (regen-ulps): New target.
12322 * math/libm-test.inc (ulps_file_name): Define.
12323 (output_dir): New variable.
12324 (options): Add "output-dir" option.
12325 (parse_opt): Handle 'o' case.
12326 (main): If output_dir is non-NULL use it as a prefix
12327 otherwise use "".
12328 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12329
a01f19c8
CD
123302013-04-06 Carlos O'Donell <carlos@redhat.com>
12331
12332 [BZ #10060, #10062]
12333 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12334 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12335 fail configure if __sync_val_compare_and_swap is not inlined.
12336 * sysdeps/i386/configure: Regenerate.
12337 * configure.in: Build for i686 when configured for i386.
12338 * configure: Regenerate.
12339 * README: Remove i386 reference.
12340
b7a329a5
CD
123412013-04-06 Carlos O'Donell <carlos@redhat.com>
12342
12343 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12345
bf0f50df
TS
123462013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12347
ee091edf
TS
12348 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12349 (lmsnanval): New variables.
12350 (F): Add conversion tests.
12351 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12352 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12353
a8b792d6
TS
12354 * stdio-common/tstdiomisc.c (F): Properly collect individual
12355 tests' results.
12356
a1cbf437
TS
12357 [BZ #14686, #15336]
12358 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12359 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12360 Instead, use input NaN values or generate a qNaN by arithmetic
12361 operation. Also fix bugs to comply with the standard.
12362 * math/libm-test.inc (remainder_test): Add more tests.
12363
8b43a0c9
TS
12364 [BZ #15335, #15342]
12365 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12367 input NaN values or generate a qNaN by arithmetic operation.
12368
d91da4ce
TS
12369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12370 unreachable code.
12371
bf0f50df
TS
12372 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12373 definitions.
12374
05e166c8
JM
123752013-04-03 Joseph Myers <joseph@codesourcery.com>
12376
12377 [BZ #14478]
12378 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12379 underflowed result.
12380 * math/s_cexpf.c (__cexpf): Likewise.
12381 * math/s_cexpl.c (__cexpl): Likewise.
12382 * math/libm-test.inc (cexp_test): Add more tests.
12383
1cef1b19
AS
123842013-04-03 Andreas Schwab <schwab@suse.de>
12385
12386 [BZ #15330]
12387 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12388 order arrays from heap if bigger than alloca cutoff.
12389
74d87055
TS
123902013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12391
12392 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12393 (SNAN_TESTS_double): Refer to GCC PR56831.
12394 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12395 GCC PR56828.
12396
d755bba4
SP
123972013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12398
90d5d5bb
SP
12399 * Rules (bench): Move bench.out after the run is complete.
12400
73e0cd5d
SP
12401 * Rules (bench): Echo currently running benchmark.
12402
64aabd4b
SP
12403 * benchtests/Makefile (bench): Add atan and slowatan.
12404 * benchtests/atan-inputs: New file.
12405 * benchtests/slowatan-inputs: New file.
12406 * benchtests/slowatan.c: New file.
12407
c871eccd
SP
12408 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12409 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12410 its value.
12411
d755bba4
SP
12412 [BZ #15305]
12413 * sysdeps/unix/sysv/linux/kernel-features.h
12414 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12415 __ASSUME_XFS_RESTRICTED_CHOWN.
12416 * sysdeps/unix/sysv/linux/pathconf.c
12417 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12418 Save and restore errno.
12419
52ce4860
JM
124202013-04-02 Joseph Myers <joseph@codesourcery.com>
12421
12422 [BZ #15327]
12423 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12424 arguments using __kernel_casinh.
12425 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12426 arguments using __kernel_casinhf.
12427 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12428 arguments using __kernel_casinhl.
12429 * math/libm-test.inc (cacosh_test): Add more tests.
12430 * sysdeps/i386/fpu/libm-test-ulps: Update.
12431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12432
81f311c2
SP
124332013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12434
e7906a47
SP
12435 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12437
92e3664b
SP
12438 * bench/Makefile (bench): Add sin and slowsin.
12439 * benchtests/sin-inputs: New file.
12440 * benchtests/slowsin-inputs: New file.
12441 * benchtests/slowsin.c: New file.
12442
81f311c2
SP
12443 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12444 (bench): Add slowexp and slowpow.
12445 (exp-ITER): Increase iterations.
12446 (pow-ITER): Likewise.
12447 * benchtests/exp-inputs: Change input.
12448 * benchtests/pow-inputs: Likewise.
12449 * benchtests/slowexp-inputs: New file.
12450 * benchtests/slowexp.c: New file.
12451 * benchtests/slowpow-inputs: New file.
12452 * benchtests/slowpow.c: New file.
12453
ab0f1aa9
AZ
124542013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12455
12456 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12457 instructions.
12458 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12459 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12461 * benchtests/Makefile: Add rint benchtest.
12462 * benchtests/rint-inputs: Input for rint benchtest.
12463
57267616
TS
124642013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12465
12466 * Versions.def (libm): Add GLIBC_2.18.
12467 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12468 hidden libm prototypes.
12469 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12470 * math/Makefile (libm-calls): Add s_issignaling.
12471 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12472 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12473 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12474 declaration.
12475 * math/math.h [__USE_GNU] (issignaling): New macro.
12476 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12477 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12479 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12482 * manual/arith.texi (issignaling): New section.
12483 * manual/libm-err-tab.pl (@all_functions): Update comment.
12484 * math/gen-libm-test.pl (parse_args): Apply special handling for
12485 issignaling.
12486 * math/libm-test.inc (print_float, issignaling_test): New
12487 functions.
12488 (check_float_internal): Add issignaling checks.
12489 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12490 default definition.
12491 * sysdeps/powerpc/math-tests.h: New file.
12492 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12493 tests.
12494 * math/test-snan.c (TEST_FUNC): Likewise.
12495
6142896d
DM
124962013-03-30 David S. Miller <davem@davemloft.net>
12497
12498 * po/de.po: Update from translation team.
12499
ccc8cadf
JM
125002013-03-30 Joseph Myers <joseph@codesourcery.com>
12501
12502 [BZ #10357]
12503 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12504 imaginary part less than 1.0 and real part less than 0.5
12505 specially.
12506 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12507 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12508 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12509 (cacos_test): Add more tests.
12510 (casin_test): Likewise.
12511 (casinh_test): Likewise.
12512 * sysdeps/i386/fpu/libm-test-ulps: Update.
12513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12514
0f6a8d4b
SP
125152013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12516
0d1029de
SP
12517 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12518 ONE with its value.
12519
c2d94018
SP
12520 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12521 (__pow_mp): Replace ONE and MONE with their values.
12522 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12523 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12525 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12526 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12527 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12528
27ec37f1
SP
12529 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12530
a64d7e0e
SP
12531 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12532 (__pow_mp): Replace ZERO and MZERO with their values.
12533 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12534 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12535 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12537 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12538 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12539 (__sqr): Likewise.
12540
d26dd3eb
SP
12541 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12542
0f6a8d4b
SP
12543 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12544
e57b0c61
RM
125452013-03-28 Roland McGrath <roland@hack.frob.com>
12546
12547 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12548 Declare with __attribute__ ((weak)).
12549 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12550 Call __call_tls_dtors only if it's not NULL.
12551
356b3480
RM
125522013-03-28 Roland McGrath <roland@hack.frob.com>
12553
288f7d79
RM
12554 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12555 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12556 magic __ehdr_start linker symbol if it's defined.
12557 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12558 them up here if it was already done.
12559
dc0a0263
RM
12560 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12561 (_dl_aux_init): Use const in cast when setting it.
12562 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12563 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12564 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12565
3d3436ae
RM
12566 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12567 Declare them here.
12568 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12569 * csu/libc-tls.c: Nor here.
12570 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12571
356b3480
RM
12572 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12573 (__libc_message): Never call vsyslog.
12574
b0f1246a
AM
125752013-03-28 Alan Modra <amodra@gmail.com>
12576
12577 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12578 Define as empty.
12579 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12580 Likewise.
12581
fbbe2b9a
AZ
125822013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12583
12584 [BZ #15214]
12585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12586 underflow.
12587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12588
1728ab37
SP
125892013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12590
7a86be6e
SP
12591 [BZ #15304]
12592 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12593 Don't add gid passed as argument.
12594
1728ab37
SP
12595 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12596
3a7182a1
JM
125972013-03-27 Joseph Myers <joseph@codesourcery.com>
12598
12599 [BZ #15307]
12600 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12601 imaginary part between 1.0 and 1.5 and real part less than 0.5
12602 specially.
12603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12605 * math/libm-test.inc (cacos_test): Add more tests.
12606 (casin_test): Likewise.
12607 (casinh_test): Likewise.
12608 * sysdeps/i386/fpu/libm-test-ulps: Update.
12609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610
6f2e90e7
SP
126112013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12612
5739f705
SP
12613 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12614 constants.
12615 (norm): Likewise.
12616 (denorm): Likewise.
12617 (__dbl_mp): Likewise.
12618 (add_magnitudes): Likewise.
12619 (sub_magnitudes): Likewise.
12620 (__add): Likewise.
12621 (__sub): Likewise.
12622 (__mul): Likewise.
12623 (__sqr): Likewise.
12624 (__inv): Likewise.
12625 (__dvd): Likewise.
12626
e375e83d
SP
12627 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12628 commented code.
12629 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12630 (__dubcos): Likewise.
12631 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12632 (__ieee754_acos): Likewise.
12633 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12634 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12635 (__exp1): Likewise.
12636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12638 (log1): Likewise.
12639 (my_log2): Likewise.
12640 (checkint): Likewise.
12641 * sysdeps/ieee754/dbl-64/e_remainder.c
12642 (__ieee754_remainder): Likewise.
12643 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12644 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12645 (bsloww): Likewise.
12646 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12647
6f2e90e7
SP
12648 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12649 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12650 MANTISSA_STORE_T to store computations on mantissa. Use
12651 macros for rounding and division.
12652 (denorm): Likewise.
12653 (__dbl_mp): Likewise.
12654 (add_magnitudes): Likewise.
12655 (sub_magnitudes): Likewise.
12656 (__mul): Likewise.
12657 (__sqr): Likewise.
12658 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12659 powers of two in terms of TWOPOW macro.
12660 (mp_no): Make type of mantissa as MANTISSA_T.
12661 [!RADIXI]: Define RADIXI.
12662 [!TWO52]: Define TWO52.
12663 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12664
fce14d4e
AZ
126652013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12666
12667 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12668 llroundl symbol when building for PPC32.
12669
9ad027fb
MW
126702013-03-24 Mark H Weaver <mhw@netris.org>
12671
12672 * manual/arith.texi (Normalization Functions): Fix prototypes for
12673 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12674
e42a38dd
AZ
126752013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12676
12677 [BZ #13889]
12678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12679 high value to check if expl overflow.
12680 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12681 to check for underflow and overflow.
12682 * math/libm-test.inc: Add exp test.
12683
2e0fb521
DL
126842013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12685
12686 [BZ #11120]
12687 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12688 with NOT_IN_libc.
12689
b5784d95
AZ
126902013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12691
12692 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12693 symbol.
12694
5aa4a1a1
TS
126952013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12696
bdef0be7
TS
12697 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12698 wrap blocks consisting of several statements.
12699
5aa4a1a1
TS
12700 * sysdeps/generic/math-tests.h: New file.
12701 * sysdeps/i386/fpu/math-tests.h: Likewise.
12702 * math/test-snan.c: Include it.
12703 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12704
98c48fe5
JM
127052013-03-21 Joseph Myers <joseph@codesourcery.com>
12706
12707 [BZ #15285]
12708 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12709 (__ieee754_j0l): Do not improve calculations using cos of twice
12710 input for inputs above LDBL_MAX / 2.0L.
12711 (__ieee754_y0l): Likewise.
12712 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12713 (__ieee754_j1l): Do not improve calculations using cos of twice
12714 input for inputs above LDBL_MAX / 2.0L.
12715 (__ieee754_y1l): Likewise.
12716 * math/libm-test.inc (j0_test): Add another test.
12717 (j1_test): Likewise.
12718 (y0_test): Likewise.
12719 (y1_test): Likewise.
12720 * sysdeps/i386/fpu/libm-test-ulps: Update.
12721
3775a8bc
SP
127222013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12723
12724 * Rules ($(objpfx)bench-%.c): Include code from a C source
12725 file.
12726
0a1b2ae6
JM
127272013-03-21 Joseph Myers <joseph@codesourcery.com>
12728
12729 [BZ #15287]
12730 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12731 imaginary part 1.0 and real part less than 0.5 specially.
12732 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12733 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12734 * math/libm-test.inc (cacos_test): Add more tests.
12735 (casin_test): Likewise.
12736 (casinh_test): Likewise.
12737 * sysdeps/i386/fpu/libm-test-ulps: Update.
12738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12739
b33d4ce4
SP
127402013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12741
12742 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12743 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12744
bef0b507
JM
127452013-03-20 Joseph Myers <joseph@codesourcery.com>
12746
12747 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12748 * config.make.in (config-cflags-sse4): Remove variable.
12749 (config-cflags-avx): Likewise.
12750 (config-cflags-sse2avx): Likewise.
12751 (config-cflags-novzeroupper): Likewise.
12752 (config-asflags-i686): Likewise.
12753 (have-mfma4): Likewise.
12754 (have-as-vis3): Likewise.
12755 (MIG): Likewise.
12756 * configure.in (MIG): Do not AC_SUBST.
12757 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12758 (libc_cv_cc_sse4): Do not AC_SUBST.
12759 (libc_cv_cc_avx): Likewise.
12760 (libc_cv_cc_sse2avx): Likewise.
12761 (libc_cv_cc_novzeroupper): Likewise.
12762 (libc_cv_cc_fma4): Likewise.
12763 (libc_cv_as_i686): Likewise.
12764 (libc_cv_sparc_as_vis3): Likewise.
12765 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12766 LIBC_CONFIG_VAR.
12767 (config-asflags-i686): Likewise.
12768 (config-cflags-avx): Likewise.
12769 (config-cflags-sse2avx): Likewise.
12770 (have-mfma4): Likewise.
12771 (config-cflags-novzeroupper): Likewise.
12772 * sysdeps/mach/configure.in (MIG): Likewise.
12773 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12774 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12775 LIBC_CONFIG_VAR.
12776 (config-cflags-avx): Likewise.
12777 (config-cflags-sse2avx): Likewise.
12778 (have-mfma4): Likewise.
12779 (config-cflags-novzeroupper): Likewise.
12780 * configure: Regenerated.
12781 * sysdeps/i386/configure: Likewise.
12782 * sysdeps/mach/configure: Likewise.
12783 * sysdeps/sparc/configure: Likewise.
12784 * sysdeps/x86_64/configure: Likewise.
12785
912cc4b3
RM
127862013-03-20 Roland McGrath <roland@hack.frob.com>
12787
12788 [BZ #14812]
12789 * locale/programs/localedef.c (options): Put N_ translation marker
12790 on argument names, not just descriptions.
12791
04eed2b0
MS
127922013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12793
12794 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12795
a065ceff
OB
127962013-03-20 Ondřej Bílka <neleai@seznam.cz>
12797
9bb2a810 12798 [BZ #14176]
a065ceff
OB
12799 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12800
a600e5ce
RM
128012013-03-19 Roland McGrath <roland@hack.frob.com>
12802
12803 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12804 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12805 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12806 [!BEFORE_ABORT] (before_abort): New function.
12807 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12808 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12809 (writev_for_fatal): New function.
12810 (WRITEV_FOR_FATAL): New macro; call that.
12811 (backtrace_and_maps): New function.
12812 (BEFORE_ABORT): New macro; call that.
12813 (struct str_list): Type removed.
12814 (__libc_message, __libc_fatal): Functions removed.
12815 Include <sysdeps/posix/libc_fatal.c> instead.
12816
6b18bea6
JM
128172013-03-19 Joseph Myers <joseph@codesourcery.com>
12818
12819 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12820 constants.
12821 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12822 double constants.
12823
aaa8cb4b
AS
128242013-03-19 Andreas Schwab <schwab@suse.de>
12825
44673770
AS
12826 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12827 * sysdeps/gnu/configure: Regenerate.
12828
aaa8cb4b
AS
12829 * configure.in: Substitute libc_cv_rtlddir.
12830 * configure: Regenerate.
12831 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12832 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12833 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12834 * elf/Makefile (install-others, CFLAGS-interp.c)
12835 (ldso_install, common-ldd-rewrite): Likewise.
12836 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12837 $(inst_slibdir)/$(rtld-installed-name).
12838 * scripts/rellns-sh: Add -p option.
12839 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12840 for source.
12841
d3cfc668
SP
128422013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12843
12844 * manual/nptl.texi: Renamed to ...
12845 * manual/threads.texi: ... this.
12846 * manual/Makefile (chapters): Update.
12847
0e2b9cdd
RM
128482013-03-18 Roland McGrath <roland@hack.frob.com>
12849
12850 [BZ #14812]
12851 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12852 on argument names, not just descriptions.
0e2b9cdd
RM
12853 * malloc/memusagestat.c (options): Likewise.
12854 * nss/getent.c (options): Likewise.
63270c24
RM
12855
128562013-03-18 Benno Schulenberg <bensberg@justemail.net>
12857
12858 [BZ #14812]
12859 * iconv/iconv_prog.c (options): Put N_ translation marker
12860 on argument names, not just descriptions.
12861 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12862
b2e1393c
OB
128632013-03-18 Ondrej Bilka <neleai@seznam.cz>
12864
12865 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12866 implementation which is faster on all x86_64 architectures.
12867 Tested on AMD, Intel Nehalem, SNB, IVB.
12868 * sysdeps/x86_64/strnlen.S: Likewise.
12869
12870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12871 Remove all multiarch strlen and strnlen versions.
12872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12873 Remove strlen and strnlen related parts.
12874
12875 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12876 Inline strlen part.
12877 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12878
12879 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12880 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12881 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12882 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12883 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12884 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12885
ec4ff04d
CD
128862013-03-17 Carlos O'Donell <carlos@redhat.com>
12887
12888 * manual/memory.texi (Malloc Tunable Parameters):
12889 Sort parameters alphabetically. Add comments for missing entries.
12890
cd18e90a
DM
128912013-03-17 David S. Miller <davem@davemloft.net>
12892
12893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12894
2a185d32
JM
128952013-03-16 Joseph Myers <joseph@codesourcery.com>
12896
d2f9799e
JM
12897 [BZ #15283]
12898 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12899 for arguments at most half maximum finite value.
12900 * math/libm-test.inc (j0_test): Add more tests.
12901 (j1_test): Likewise.
12902 (y0_test): Likewise.
12903 (y1_test): Likewise.
12904 * sysdeps/i386/fpu/libm-test-ulps: Update.
12905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906
2a185d32
JM
12907 [BZ #14155]
12908 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12909 1 / x and functions P and Q for arguments above 0x1p256L.
12910 (__ieee754_y0l): Likewise.
12911 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12912 (__ieee754_y1l): Likewise.
12913 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12914 (j1_test): Likewise.
12915 (y0_test): Likewise.
12916 (y1_test): Likewise.
12917
6cbec759
TS
129182013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12919
12920 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12921 variable.
12922
bc16e260
RM
129232013-03-15 Roland McGrath <roland@hack.frob.com>
12924
aefc9b8c
RM
12925 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12926 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12927 zero since it's initialized to EXEC_PAGESIZE.
12928
bc16e260
RM
12929 * sysdeps/unix/sysv/linux/ldsodefs.h
12930 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12931 * sysdeps/generic/ldsodefs.h: ... here.
12932
a57da955
TS
129332013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12934
af00a34d
TS
12935 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12936
495ded2c
TS
12937 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12938 math/test-snan.c.
12939 * math/test-snan.c: Renamed from
12940 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12941 * math/Makefile (tests): Add test-snan.
12942 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12943 test-powerpc-snan.
12944
777b0332
TS
12945 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12946 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12947 functions.
12948 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12949 __builtin_nan family of functions.
12950 * math/libm-test.inc (initialize): Initialize qnan_value with
12951 __builtin_nan family of functions.
12952 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12953 Remove variables.
12954 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12955 Remove functions.
12956 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12957 storage class. Initialize qNaN_var and sNaN_var with
12958 __builtin_nan and __builtin_nans families of functions,
12959 respectively.
12960
64d063b8
TS
12961 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12962 (sqrt_test): Remove duplicate test with qNaN input.
12963 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12964 (round_test, signbit_test, significand_test): Note missing +/-Inf
12965 as well as qNaN tests.
12966
67e971f1
TS
12967 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12968 qNaN_var. Fix a few strings, too.
12969 * math/libm-test.inc (nan_value): Rename to qnan_value.
12970 * math/gen-libm-test.pl (%beautify): Adjust to that.
12971 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12972 * math/test-misc.c (main): Likewise.
12973 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12974 to __qnan_bytes, and __qnan_union, respectively.
12975 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12976 Likewise.
12977 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12978 and lqnanval, respectively.
12979 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12980 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12981 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12982 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12983
64487e12
TS
12984 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12985 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12986 doubles.
12987
e015e27b
TS
12988 * math/test-misc.c (main): Fix copy'n'pastos.
12989 * misc/tst-efgcvt.c (special): Likewise.
12990
a57da955
TS
12991 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12992 Remove declarations.
12993
1e380345
SP
129942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12995
12996 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12997 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12998 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12999 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13000
ef26eece
AZ
130012013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13002
13003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13004 macro to return vdso values correctly in IFUNC implementations.
13005 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13006 Optimization by using IFUNC.
13007
8cfdb7e0
SP
130082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13009 Richard Henderson <rth@redhat.com>
13010 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13011
13012 * Makefile.in (bench): New target.
13013 * NEWS: Mention the benchmark framework.
13014 * Rules (bench): Likewise.
13015 (binaries-bench): Generate binaries for functions to
13016 benchmark.
13017 * benchtests/Makefile: New makefile for benchmark tests.
13018 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13019 programs.
13020 * benchtests/exp-inputs: New input file for EXP function.
13021 * benchtests/pow-inputs: New input file for POW function.
13022 * scripts/bench.pl: New script to generate source files for
13023 benchmark programs.
13024
bcda9880
SP
130252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13026
d22ca8cd
SP
13027 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13028 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13029 computations on mantissa. Use macros for rounding and
13030 division.
13031 (denorm): Likewise.
13032 (__dbl_mp): Likewise.
13033 (add_magnitudes): Likewise.
13034 (sub_magnitudes): Likewise.
13035 (__mul): Likewise.
13036 (__sqr): Likewise.
13037 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13038 powers of two in terms of TWOPOW macro.
13039 (mp_no): Make type of mantissa as MANTISSA_T.
13040 [!RADIXI]: Define RADIXI.
13041 [!TWO52]: Define TWO52.
13042 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13043
bcda9880
SP
13044 * manual/nptl.texi (cindex): Modify threads to pthreads.
13045
06d5adfb
JM
130462013-03-15 Joseph Myers <joseph@codesourcery.com>
13047
13048 * sysdeps/x86_64/preconfigure: Regenerated.
13049
41c7328e
JM
130502013-03-14 Joseph Myers <joseph@codesourcery.com>
13051
13052 [BZ #14155]
13053 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13054 0x1p28 and above.
13055 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13056 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13057 0x1p28 and above.
13058 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13059 * math/libm-test.inc (j0_test): Do not allow one spurious
13060 underflow exception.
13061 (y1_test): Likewise.
13062
e25cfa60
SP
130632013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13064
0409959c
SP
13065 * manual/Makefile (chapters): Add nptl.
13066 * manual/debug.texi (Debugging Support): Add link to Threads
13067 chapter.
13068 * manual/nptl.texi: New file.
13069
e25cfa60
SP
13070 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13071
58a1335e
PB
130722013-03-14 Petr Baudis <pasky@ucw.cz>
13073
13074 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13075 for non-NULL pointer before the memory validity test. Pointed
13076 out by Holger Brunck <holger.brunck@keymile.com>.
13077
9dc7c64f
AS
130782013-03-13 Andreas Schwab <schwab@suse.de>
13079
13080 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13081 instead of .os.
13082
54206aa6
JM
130832013-03-13 Joseph Myers <joseph@codesourcery.com>
13084
13085 * timezone/zic.c: Update from tzcode 2013b.
13086
e98cdb38
CD
130872013-03-12 Carlos O'Donell <carlos@redhat.com>
13088
13089 * manual/install.texi (Configuring and compiling):
13090 Mention i686 and i586.
13091 * INSTALL: Regenerate.
13092
9967e003
RM
130932013-03-12 Roland McGrath <roland@hack.frob.com>
13094
13095 * sysdeps/init_array/elf-init.c: New file.
13096 * csu/elf-init.c
13097 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13098 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13099
13100 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13101 __gmon_start__ as global, but as static with a .preinit_array pointer.
13102 * sysdeps/init_array/gmon-start.c: New file. Use that.
13103 * sysdeps/init_array/crti.S: New file, empty except for comments.
13104 * sysdeps/init_array/crtn.S: Likewise.
13105
e6b5a293 131062013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13107
13108 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13109 definining bcopy.
80f844c9
OB
13110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13111 Remove Prefer_SSE_for_memop.
13112 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13113 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13114 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13116 memset-x86-64.
80f844c9 13117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13118 Remove bzero, memset ifunc support.
80f844c9
OB
13119 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13120 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13121 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13122 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13123
fb6b0fcb
AS
131242013-03-11 Andreas Schwab <schwab@suse.de>
13125
13126 [BZ #15234]
13127 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13128 by SHLIB_COMPAT.
13129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13130 (GLIBC_2.16): Remove pthread_atfork.
13131
3e6bd4b1
PP
131322013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13133
13134 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13135 (ptestcases.h): Likewise.
13136
222d7f00
RM
131372013-03-08 Roland McGrath <roland@hack.frob.com>
13138
13139 * Makeconfig ($(common-objpfx)config.status): Depend on
13140 sysdeps/*/preconfigure{,.in} too.
13141
1ba4f030
JM
131422013-03-08 Joseph Myers <joseph@codesourcery.com>
13143
a222d91a
JM
13144 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13145 (__free_hook): Use void * instead of __malloc_ptr_t.
13146 (__malloc_hook): Likewise.
13147 (__realloc_hook): Likewise.
13148 (__memalign_hook): Likewise.
13149 (__after_morecore_hook): Likewise.
13150 * malloc/arena.c (save_malloc_hook): Likewise.
13151 (save_free_hook): Likewise.
13152 * malloc/hooks.c (malloc_hook_ini): Likewise.
13153 (realloc_hook_ini): Likewise.
13154 (memalign_hook_ini): Likewise.
13155 * malloc/malloc.c (malloc_hook_ini): Likewise.
13156 (realloc_hook_ini): Likewise.
13157 (memalign_hook_ini): Likewise.
13158 (__free_hook): Likewise.
13159 (__malloc_hook): Likewise.
13160 (__realloc_hook): Likewise.
13161 (__memalign_hook): Likewise.
13162 (__libc_malloc): Likewise.
13163 (__libc_free): Likewise.
13164 (__libc_realloc): Likewise.
13165 (__libc_memalign): Likewise.
13166 (__libc_valloc): Likewise.
13167 (__libc_pvalloc): Likewise.
13168 (__libc_calloc): Likewise.
13169 (__posix_memalign): Likewise.
13170 * malloc/morecore.c (__sbrk): Likewise.
13171 (__default_morecore): Likewise.
13172
5cc45e10
JM
13173 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13174
dd54b864
JM
13175 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13176 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13177 __malloc_ptrdiff_t.
13178
1ba4f030
JM
13179 * malloc/malloc.h (__malloc_size_t): Remove macro.
13180 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13181 __malloc_size_t.
13182 (old_memalign_hook): Likewise.
13183 (old_realloc_hook): Likewise.
13184 (struct hdr): Likewise.
13185 (flood): Likewise.
13186 (mallochook): Likewise.
13187 (memalignhook): Likewise.
13188 (reallochook): Likewise.
13189 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13190 (tr_old_realloc_hook): Likewise.
13191 (tr_old_memalign_hook): Likewise.
13192 (tr_mallochook): Likewise.
13193 (tr_reallochook): Likewise.
13194 (tr_memalignhook): Likewise.
13195
edf66e57
AZ
131962013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13197
13198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13199 default_ldbl_pack and using as default implementation.
13200 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13201 implementation.
13202 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13203 redundant definition.
13204 (ldbl_insert_mantissa): Likewise.
13205 (ldbl_canonicalize): Likewise.
13206 (ldbl_nearbyint): Likewise.
13207 (ldbl_pack): Rename to ldbl_pack_ppc.
13208 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13209 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13210 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13211
6d9145d8
SP
132122013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
13214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13215 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13216 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13217 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13219 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13220 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13221 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13222
4dd4e157
AJ
132232013-03-07 Andreas Jaeger <aj@suse.de>
13224
13225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13226 bits/mman-linux.h.
13227
adbb8027
SP
132282013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13229
ce544b5b
SP
13230 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13231 Include mpa.h and declare __MPEXP.
13232 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13233 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13234 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13235 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13236 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13237 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13238 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13239
4cc149fd
SP
13240 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13241 (__slowpow): Use long double EXPL and LOGL functions to
13242 compute POW.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13244 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13246 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13247 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13249
e6ebd4a7
SP
13250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13251 intermediate variable to calculate exponent.
13252 (__sqr): Likewise.
13253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13254 Likewise.
13255 (__sqr): Likewise.
13256
82a9811d
SP
13257 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13258 [!NO__SQR]: Define __sqr.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13260 and NO__SQR. Remove all code except __mul and __sqr. Include
13261 sysdeps/ieee754/dbl-64/mpa.c.
13262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13263
adbb8027
SP
13264 [BZ #12723]
13265 * posix/Makefile (tests): Add tst-pathconf.
13266 * posix/tst-pathconf.c: New test case.
13267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13268 _PC_PIPE_BUF.
13269 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13270
39120df9
PF
132712013-03-06 Patsy Franklin <pfrankli@redhat.com>
13272
13273 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13274
67525cb8
AJ
132752013-03-06 Andreas Jaeger <aj@suse.de>
13276
664a9ce4
AJ
13277 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13278 definition via __MAP_ANONYMOUS.
13279
8e39047d
AJ
13280 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13281 it's not part of Linux headers.
13282
67525cb8
AJ
13283 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13284 (MAP_HUGE_MASK): Define.
13285
13286 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13287 Define.
13288 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13290 Define.
13291 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13292 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13293 Define.
13294 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13296 Define.
13297 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13298
13299 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13300 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13301 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13302 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13303 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13305
13306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13307 Handle f2fs.
13308
13309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13310 Handle f2fs and efivarfs.
13311
13312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13313 f2fs.
13314
13315 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13316 (EFIVARFS_MAGIC): Add.
13317 (F2FS_LINK_MAX): Add.
13318
e1b42695
PP
133192013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13320
13321 * stdio-common/vfprintf.c: Replace __builtin_expect with
13322 __glibc_unlikely.
13323
2d67d91a
JM
133242013-03-06 Joseph Myers <joseph@codesourcery.com>
13325
13326 [BZ #13550]
13327 * sysdeps/generic/bp-sym.h: Remove file.
13328 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13329 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13330 <bp-sym.h> and <bp-asm.h>.
13331 (__longjmp): Don't use BP_SYM.
13332 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13333 and <bp-asm.h>.
13334 (memcpy): Don't use BP_SYM.
13335 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13336 <bp-sym.h> and <bp-asm.h>.
13337 (memcpy): Don't use BP_SYM.
13338 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13339 <bp-asm.h>.
13340 (memcpy): Don't use BP_SYM.
13341 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13342 <bp-asm.h>.
13343 (memset): Don't use BP_SYM.
13344 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13345 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13346 (__bzero): Don't use BP_SYM.
13347 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13348 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13349 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13350 <bp-sym.h> and <bp-asm.h>.
13351 (memcmp): Don't use BP_SYM. Remove comment about bounded
13352 pointers.
13353 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13354 <bp-sym.h> and <bp-asm.h>.
13355 (memcpy): Don't use BP_SYM.
13356 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13357 <bp-sym.h> and <bp-asm.h>.
13358 (memset): Don't use BP_SYM.
13359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13361 (__bzero): Don't use BP_SYM.
13362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13365 <bp-sym.h> and <bp-asm.h>.
13366 (strncmp): Don't use BP_SYM. Remove comment about bounded
13367 pointers.
13368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13369 <bp-sym.h> and <bp-asm.h>.
13370 (memcpy): Don't use BP_SYM.
13371 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13372 <bp-sym.h> and <bp-asm.h>.
13373 (memset): Don't use BP_SYM.
13374 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13375 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13376 (__bzero): Don't use BP_SYM.
13377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13379 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13380 <bp-sym.h> and <bp-asm.h>.
13381 (__memchr): Don't use BP_SYM.
13382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13383 <bp-sym.h> and <bp-asm.h>.
13384 (memcmp): Don't use BP_SYM. Remove comment about bounded
13385 pointers.
13386 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13387 <bp-sym.h> and <bp-asm.h>.
13388 (memcpy): Don't use BP_SYM.
13389 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13390 <bp-sym.h> and <bp-asm.h>.
13391 (__mempcpy): Don't use BP_SYM.
13392 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13393 <bp-sym.h> and <bp-asm.h>.
13394 (__memrchr): Don't use BP_SYM.
13395 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13396 <bp-sym.h> and <bp-asm.h>.
13397 (memset): Don't use BP_SYM.
13398 (__bzero): Likewise.
13399 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13400 <bp-sym.h> and <bp-asm.h>.
13401 (__rawmemchr): Don't use BP_SYM.
13402 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13403 <bp-sym.h> and <bp-asm.h>.
13404 (__STRCMP): Don't use BP_SYM.
13405 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13406 <bp-sym.h> and <bp-asm.h>.
13407 (strchr): Don't use BP_SYM.
13408 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13409 <bp-sym.h> and <bp-asm.h>.
13410 (__strchrnul): Don't use BP_SYM.
13411 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13412 <bp-sym.h> and <bp-asm.h>.
13413 (strlen): Don't use BP_SYM.
13414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13415 <bp-sym.h> and <bp-asm.h>.
13416 (strncmp): Don't use BP_SYM. Remove comment about bounded
13417 pointers.
13418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13419 <bp-sym.h> and <bp-asm.h>.
13420 (__strnlen): Don't use BP_SYM.
13421 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13422 <bp-sym.h> and <bp-asm.h>.
13423 (__GI__setjmp): Don't use BP_SYM.
13424 (_setjmp): Likewise.
13425 (__sigsetjmp): Likewise.
13426 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13427 (L(start_addresses)): Don't use BP_SYM.
13428 (_start): Likewise.
13429 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13430 <bp-asm.h>.
13431 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13432 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13433 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13434 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13435 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13436 <bp-asm.h>.
13437 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13438 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13439 about bounded pointers.
13440 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13441 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13442 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13443 <bp-asm.h>.
13444 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13445 about bounded pointers. Remove GKM FIXME comments.
13446 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13447 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13448 <bp-asm.h>.
13449 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13450 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13451 Remove GKM FIXME comments.
13452 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13453 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13454 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13455 <bp-asm.h>.
13456 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13457 about bounded pointers. Remove GKM FIXME comment.
13458 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13459 and <bp-asm.h>.
13460 (strncmp): Don't use BP_SYM. Remove comment about bounded
13461 pointers.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13463 <bp-sym.h> and <bp-asm.h>.
13464 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13466 <bp-sym.h> and <bp-asm.h>.
13467 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13468 comment.
13469
cdcf361f
PP
134702013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13471
13472 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13473 call free(NULL).
13474
3c4a2b15
DM
134752013-03-05 David S. Miller <davem@davemloft.net>
13476
13477 * po/es.po: Update from translation team.
13478
cdcf361f 134792013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13480
13481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13482 <bits/mman-linux.h>.
13483 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13484 is fine.
13485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13486 <bits/mman-linux.h> to end of file.
13487 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13488 is fine.
13489 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13490 <bits/mman-linux.h> to end of file.
13491 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13492 is fine.
13493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13494 <bits/mman-linux.h> to end of file.
13495
13496 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13497 (MCL_CURRENT, MCL_FUTURE): Define here.
13498
5f67c04f
AK
134992013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13500
8a4473cc 13501 [BZ #15232]
5f67c04f
AK
13502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13503 attribute_hidden.
13504 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13505
c3e94a95
AK
135062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13507
13508 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13509 fourth parameter needed for rt_sigprocmask syscall.
13510 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13511 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13512 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13513 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13514 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13515 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13516
cfb6382a
JM
135172013-03-04 Joseph Myers <joseph@codesourcery.com>
13518
13519 [BZ #13550]
13520 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13521 comment about bounded pointers.
13522 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13523 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13524
539d8e01
AJ
135252013-03-04 Andreas Jaeger <aj@suse.de>
13526
13527 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13528 common definitions.
13529
13530 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13531 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13533 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13535 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13536
2e167a70 135372013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13538
13539 [BZ #15055]
13540 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13541 __ieee754_sqrl instead of __sqrl.
13542
68508633
JM
135432013-03-01 Joseph Myers <joseph@codesourcery.com>
13544
13545 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13546 * sysdeps/powerpc/fpu_control.h: ... here.
13547 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13548 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13549 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13550 * sysdeps/powerpc/bits/mathinline.h: ... here.
13551
7775448e
RM
135522013-03-01 Roland McGrath <roland@hack.frob.com>
13553
13554 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13555 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13556 to just [NEED_DL_SYSINFO_DSO].
13557 * elf/dl-support.c: Likewise.
13558 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13559 * elf/rtld.c (dl_main): Likewise.
13560 * elf/setup-vdso.h (setup_vdso): Likewise.
13561 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13562 * sysdeps/unix/sysv/linux/dl-sysdep.c
13563 (_dl_discover_osversion): Likewise.
13564
4e9b5995
CD
135652013-03-01 Carlos O'Donell <carlos@redhat.com>
13566
13567 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13568 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13569
e23872c8
SP
135702013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13571
e5c74c63
SP
13572 * NEWS: Mention libm performance improvements and non-x86 PI
13573 futex support.
13574
e23872c8
SP
13575 * csu/libc-start.c (__pthread_initialize_minimal): Change
13576 function arguments.
13577 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13578
b5510883
JM
135792013-02-28 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #13550]
13582 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13583 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13584 <bp-sym.h> and <bp-asm.h>.
13585 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13586 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13587 and <bp-asm.h>.
13588 (memcpy): Don't use BP_SYM.
13589 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13590 <bp-asm.h>.
13591 (__mpn_add_n): Don't use BP_SYM.
13592 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13593 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13594 and <bp-asm.h>.
13595 (__mpn_addmul_1): Don't use BP_SYM.
13596 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13597 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13598 <bp-sym.h>.
13599 (_setjmp): Don't use BP_SYM.
13600 (__novmx_setjmp): Likewise.
13601 (__GI__setjmp): Likewise.
13602 (__vmx_setjmp): Likewise.
13603 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13604 <bp-sym.h>.
13605 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13606 (__bzero): Don't use BP_SYM.
13607 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13608 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13609 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13610 <bp-sym.h> and <bp-asm.h>.
13611 (memcpy): Don't use BP_SYM.
13612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13613 <bp-sym.h> and <bp-asm.h>.
13614 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13615 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13616 <bp-sym.h> and <bp-asm.h>.
13617 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13618 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13619 <bp-asm.h>.
13620 (__mpn_lshift): Don't use BP_SYM.
13621 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13622 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13623 <bp-asm.h>.
13624 (memset): Don't use BP_SYM.
13625 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13626 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13627 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13628 <bp-asm.h>.
13629 (__mpn_mul_1): Don't use BP_SYM.
13630 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13631 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13632 <bp-sym.h> and <bp-asm.h>.
13633 (memcmp): Don't use BP_SYM.
13634 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13635 <bp-sym.h> and <bp-asm.h>.
13636 (memcpy): Don't use BP_SYM.
13637 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13638 <bp-sym.h> and <bp-asm.h>.
13639 (memset): Don't use BP_SYM.
13640 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13641 <bp-sym.h> and <bp-asm.h>.
13642 (strncmp): Don't use BP_SYM.
13643 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13644 <bp-sym.h> and <bp-asm.h>.
13645 (memcpy): Don't use BP_SYM.
13646 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13647 <bp-sym.h> and <bp-asm.h>.
13648 (memset): Don't use BP_SYM.
13649 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13650 <bp-sym.h> and <bp-asm.h>.
13651 (__memchr): Don't use BP_SYM.
13652 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13653 <bp-sym.h> and <bp-asm.h>.
13654 (memcmp): Don't use BP_SYM.
13655 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13656 <bp-sym.h> and <bp-asm.h>.
13657 (memcpy): Don't use BP_SYM.
13658 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13659 <bp-sym.h> and <bp-asm.h>.
13660 (__mempcpy): Don't use BP_SYM.
13661 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13662 <bp-sym.h> and <bp-asm.h>.
13663 (__memrchr): Don't use BP_SYM.
13664 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13665 <bp-sym.h> and <bp-asm.h>.
13666 (memset): Don't use BP_SYM.
13667 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13668 <bp-sym.h> and <bp-asm.h>.
13669 (__rawmemchr): Don't use BP_SYM.
13670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13671 <bp-sym.h> and <bp-asm.h>.
13672 (__STRCMP): Don't use BP_SYM.
13673 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13674 <bp-sym.h> and <bp-asm.h>.
13675 (strchr): Don't use BP_SYM.
13676 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13677 <bp-sym.h> and <bp-asm.h>.
13678 (__strchrnul): Don't use BP_SYM.
13679 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13680 <bp-sym.h> and <bp-asm.h>.
13681 (strlen): Don't use BP_SYM.
13682 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13683 <bp-sym.h> and <bp-asm.h>.
13684 (strncmp): Don't use BP_SYM.
13685 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13686 <bp-sym.h> and <bp-asm.h>.
13687 (__strnlen): Don't use BP_SYM.
13688 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13689 <bp-asm.h>.
13690 (__mpn_rshift): Don't use BP_SYM.
13691 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13692 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13693 <bp-sym.h> and <bp-asm.h>.
13694 (__sigsetjmp): Don't use BP_SYM.
13695 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13696 (L(start_addresses)): Don't use BP_SYM.
13697 (_start): Likewise.
13698 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13699 <bp-asm.h>.
13700 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13701 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13702 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13703 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13704 <bp-asm.h>.
13705 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13706 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13707 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13708 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13709 <bp-asm.h>.
13710 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13711 comments.
13712 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13713 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13714 <bp-asm.h>.
13715 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13716 FIXME comments.
13717 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13718 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13719 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13720 <bp-asm.h>.
13721 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13722 comment.
13723 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13724 and <bp-asm.h>.
13725 (strncmp): Don't use BP_SYM,
13726 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13727 <bp-asm.h>.
13728 (__mpn_sub_n): Don't use BP_SYM.
13729 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13730 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13731 and <bp-asm.h>.
13732 (__mpn_submul_1): Don't use BP_SYM.
13733 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13735 <bp-sym.h> and <bp-asm.h>.
13736 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13738 <bp-sym.h> and <bp-asm.h>.
13739 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13740 comment.
13741
8d19fe64
SP
137422013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13743
13744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13745 Use ZK to minimize writes to Z.
13746 (sub_magnitudes): Simplify code a bit.
13747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13748 Use ZK to minimize writes to Z.
13749 (sub_magnitudes): Simplify code a bit.
13750
85bd816a
RM
137512013-02-27 Roland McGrath <roland@hack.frob.com>
13752
13753 * csu/gmon-start.c: Add special exception to license text.
13754
b5977bf2
RH
137552013-02-27 Richard Henderson <rth@redhat.com>
13756
13757 * scripts/config.guess: Update from config.git.
13758 * scripts/config.sub: Likewise.
13759
11d6e2f2
SP
137602013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13761
09c14ed2
SP
13762 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13763
a688864e
SP
13764 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13765
6295157a
SP
13766 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13767
b8de2202
SP
13768 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13769
11d6e2f2
SP
13770 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13771
7e80ddb8
RM
137722013-02-26 Roland McGrath <roland@hack.frob.com>
13773
13774 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13775 [$(build-shared = yes].
7e80ddb8 13776
7da6d9ed
SP
137772013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13778
45f05884
SP
13779 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13780 (__mul): Reduce iterations for calculating mantissa.
13781
2236d359
SP
13782 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13783 MPTWO.
13784 (__mpranred): Likewise.
13785
7da6d9ed
SP
13786 [BZ #15160]
13787 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13788 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13789
b7688c42
PE
137902013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13791
13792 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13793 Define __attribute__.
13794
53a5c423
SP
137952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13796
13797 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13798 unused.
13799 * posix/regex_internal.h (__attribute): Remove.
13800 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13801 (re_string_context_at): Likewise.
13802 (bitset_not): Use __attribute__ and mark function as possibly
13803 unused.
13804 (bitset_merge): Likewise.
13805 (bitset_mask): Likewise.
13806 (re_string_char_size_at): Likewise.
13807 (re_string_wchar_at): Likewise.
13808 (re_string_elem_size_at): Likewise.
13809
60f5a8b5
SP
138102013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13811
2a983a2e
SP
13812 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13813 code.
13814 (cc32): Likewise.
13815
e69804d1
SP
13816 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13817 (__acr): Likewise.
13818 (__cpy): Likewise.
13819 (norm): Likewise.
13820 (denorm): Likewise.
13821 (__dbl_mp): Likewise.
13822 (add_magnitudes): Likewise.
13823 (sub_magnitudes): Likewise.
13824 (__mul): Likewise.
13825 (__inv): Likewise.
13826
2f22a1e8
SP
13827 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13828 style.
13829
8930ddc7
SP
13830 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13831 style.
13832
dc60cb11
SP
13833 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13834 code.
13835
60f5a8b5
SP
13836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13837 up changes with default code.
13838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13839 Likewise.
13840
b4d1fd33
AM
138412013-02-24 Allan McRae <allan@archlinux.org>
13842
faf6f8bc
AM
13843 * manual/socket.texi (The Internet Namespace): Order menu items
13844 to match that in the file.
13845
b4d1fd33
AM
13846 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13847 node listing of the info page menu.
13848
2366713d
JM
138492013-02-21 Joseph Myers <joseph@codesourcery.com>
13850
13851 [BZ #13550]
13852 * sysdeps/i386/bp-asm.h: Remove file.
13853 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13854 (PARMS): Do not use macros from bp-asm.h.
13855 (S1): Likewise.
13856 (S2): Likewise.
13857 (SIZE): Likewise.
13858 (__mpn_add_n): Do not use BP_SYM
13859 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13860 "bp-asm.h".
13861 (PARMS): Do not use macros from bp-asm.h.
13862 (S1): Likewise.
13863 (SIZE): Likewise.
13864 (__mpn_addmul_1): Do not use BP_SYM
13865 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13866 "bp-asm.h".
13867 (PARMS): Do not use macros from bp-asm.h.
13868 (SIGMSK): Likewise.
13869 (_setjmp): Likewise. Do not use BP_SYM.
13870 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13871 "bp-asm.h".
13872 (PARMS): Do not use macros from bp-asm.h.
13873 (SIGMSK): Likewise.
13874 (setjmp): Likewise. Do not use BP_SYM.
13875 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13876 "bp-asm.h".
13877 (PARMS): Do not use macros from bp-asm.h.
13878 (__frexp): Do not use BP_SYM.
13879 (frexp): Likewise.
13880 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13881 "bp-asm.h".
13882 (PARMS): Do not use macros from bp-asm.h.
13883 (__frexpf): Do not use BP_SYM.
13884 (frexpf): Likewise.
13885 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13886 "bp-asm.h".
13887 (PARMS): Do not use macros from bp-asm.h.
13888 (__frexpl): Do not use BP_SYM.
13889 (frexpl): Likewise.
13890 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13891 "bp-asm.h".
13892 (PARMS): Do not use macros from bp-asm.h.
13893 (__remquo): Do not use BP_SYM.
13894 (remquo): Likewise.
13895 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13896 "bp-asm.h".
13897 (PARMS): Do not use macros from bp-asm.h.
13898 (__remquof): Do not use BP_SYM.
13899 (remquof): Likewise.
13900 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13901 "bp-asm.h".
13902 (PARMS): Do not use macros from bp-asm.h.
13903 (__remquol): Do not use BP_SYM.
13904 (remquol): Likewise.
13905 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13906 "bp-asm.h".
13907 (PARMS): Do not use macros from bp-asm.h.
13908 (DEST): Likewise.
13909 (SRC): Likewise.
13910 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13911 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13912 "bp-asm.h".
13913 (PARMS): Do not use macros from bp-asm.h.
13914 (strlen): Do not use BP_SYM.
13915 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13916 "bp-asm.h".
13917 (PARMS): Do not use macros from bp-asm.h.
13918 (S1): Likewise.
13919 (S2): Likewise.
13920 (SIZE): Likewise.
13921 (__mpn_add_n): Do not use BP_SYM.
13922 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13923 "bp-asm.h".
13924 (PARMS): Do not use macros from bp-asm.h.
13925 (S1): Likewise.
13926 (SIZE): Likewise.
13927 (__mpn_addmul_1): Do not use BP_SYM.
13928 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13929 weak_alias.
13930 (bzero): Likewise.
13931 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13932 "bp-asm.h".
13933 (PARMS): Do not use macros from bp-asm.h.
13934 (S): Likewise.
13935 (SIZE): Likewise.
13936 (__mpn_lshift): Do not use BP_SYM.
13937 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13938 "bp-asm.h".
13939 (PARMS): Do not use macros from bp-asm.h.
13940 (DEST): Likewise.
13941 (SRC): Likewise.
13942 (LEN): Likewise.
13943 (memcpy): Likewise. Do not use BP_SYM.
13944 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13945 libc_hidden_def and weak_alias.
13946 (mempcpy): Do not use BP_SYM in weak_alias.
13947 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13948 "bp-asm.h".
13949 (PARMS): Do not use macros from bp-asm.h.
13950 (DEST): Likewise.
13951 (LEN): Likewise.
13952 [!BZERO_P] (CHR): Likewise.
13953 (memset): Likewise. Do not use BP_SYM.
13954 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13955 "bp-asm.h".
13956 (PARMS): Do not use macros from bp-asm.h.
13957 (S1): Likewise.
13958 (SIZE): Likewise.
13959 (__mpn_mul_1): Do not use BP_SYM.
13960 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13961 "bp-asm.h".
13962 (PARMS): Do not use macros from bp-asm.h.
13963 (S): Likewise.
13964 (SIZE): Likewise.
13965 (__mpn_rshift): Do not use BP_SYM.
13966 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13967 "bp-asm.h".
13968 (PARMS): Do not use macros from bp-asm.h.
13969 (STR): Likewise.
13970 (CHR): Likewise.
13971 (strchr): Likewise. Do not use BP_SYM.
13972 (index): Do not use BP_SYM in weak_alias.
13973 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13974 "bp-asm.h".
13975 (PARMS): Do not use macros from bp-asm.h.
13976 (DEST): Likewise.
13977 (SRC): Likewise.
13978 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13979 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13980 "bp-asm.h".
13981 (PARMS): Do not use macros from bp-asm.h.
13982 (strlen): Do not use BP_SYM.
13983 * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
13990 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13991 "bp-asm.h".
13992 (PARMS): Do not use macros from bp-asm.h.
13993 (S1): Likewise.
13994 (SIZE): Likewise.
13995 (__mpn_submul_1): Do not use BP_SYM.
13996 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13997 "bp-asm.h".
13998 (PARMS): Do not use macros from bp-asm.h.
13999 (S1): Likewise.
14000 (S2): Likewise.
14001 (SIZE): Likewise.
14002 (__mpn_add_n): Do not use BP_SYM.
14003 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14004 weak_alias.
14005 (bzero): Likewise.
14006 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14007 "bp-asm.h".
14008 (PARMS): Do not use macros from bp-asm.h.
14009 (BLK2): Likewise.
14010 (LEN): Likewise.
14011 (memcmp): Do not use BP_SYM.
14012 (bcmp): Do not use BP_SYM in weak_alias.
14013 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14014 "bp-asm.h".
14015 (PARMS): Do not use macros from bp-asm.h.
14016 (DEST): Likewise.
14017 (SRC): Likewise.
14018 (LEN): Likewise.
14019 (memcpy): Likewise. Do not use BP_SYM.
14020 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14021 "bp-asm.h".
14022 (PARMS): Do not use macros from bp-asm.h.
14023 (DEST): Likewise.
14024 (SRC): Likewise.
14025 (LEN): Likewise.
14026 (memmove): Likewise. Do not use BP_SYM.
14027 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14028 "bp-asm.h".
14029 (PARMS): Do not use macros from bp-asm.h.
14030 (DEST): Likewise.
14031 (SRC): Likewise.
14032 (LEN): Likewise.
14033 (__mempcpy): Likewise. Do not use BP_SYM.
14034 (mempcpy): Do not use BP_SYM in weak_alias.
14035 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14036 "bp-asm.h".
14037 (PARMS): Do not use macros from bp-asm.h.
14038 (DEST): Likewise.
14039 (LEN): Likewise.
14040 [!BZERO_P] (CHR): Likewise.
14041 (memset): Likewise. Do not use BP_SYM.
14042 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14043 "bp-asm.h".
14044 (PARMS): Do not use macros from bp-asm.h.
14045 (STR2): Likewise.
14046 (strcmp): Do not use BP_SYM.
14047 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14048 "bp-asm.h".
14049 (PARMS): Do not use macros from bp-asm.h.
14050 (STR): Likewise.
14051 (DELIM): Likewise.
14052 [USE_AS_STRTOK_R] (SAVE): Likewise.
14053 (FUNCTION): Likewise. Do not use BP_SYM.
14054 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14055 aliases.
14056 (strtok_r): Likewise.
14057 (__GI___strtok_r): Likewise.
14058 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14059 (PARMS): Do not use macros from bp-asm.h.
14060 (S): Likewise.
14061 (SIZE): Likewise.
14062 (__mpn_lshift): Do not use BP_SYM.
14063 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14064 (PARMS): Do not use macros from bp-asm.h.
14065 (STR): Likewise.
14066 (CHR): Likewise.
14067 (__memchr): Do not use BP_SYM.
14068 (memchr): Do not use BP_SYM in weak_alias.
14069 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14070 (PARMS): Do not use macros from bp-asm.h.
14071 (BLK2): Likewise.
14072 (LEN): Likewise.
14073 (memcmp): Do not use BP_SYM.
14074 (bcmp): Do not use BP_SYM in weak_alias.
14075 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14076 (PARMS): Do not use macros from bp-asm.h.
14077 (S1): Likewise.
14078 (SIZE): Likewise.
14079 (__mpn_mul_1): Do not use BP_SYM.
14080 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14081 "bp-asm.h".
14082 (PARMS): Do not use macros from bp-asm.h.
14083 (STR): Likewise.
14084 (CHR): Likewise.
14085 (__rawmemchr): Do not use BP_SYM.
14086 (rawmemchr): Do not use BP_SYM in weak_alias.
14087 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14088 (PARMS): Do not use macros from bp-asm.h.
14089 (S): Likewise.
14090 (SIZE): Likewise.
14091 (__mpn_rshift): Do not use BP_SYM.
14092 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14093 (PARMS): Do not use macros from bp-asm.h.
14094 (SIGMSK): Likewise.
14095 (__sigsetjmp): Likewise. Do not use BP_SYM.
14096 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14097 (_start): Do not use BP_SYM.
14098 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14099 (PARMS): Do not use macros from bp-asm.h.
14100 (DEST): Likewise.
14101 (SRC): Likewise.
14102 (__stpcpy): Likewise. Do not use BP_SYM.
14103 (stpcpy): Do not use BP_SYM in weak_alias.
14104 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14105 "bp-asm.h".
14106 (PARMS): Do not use macros from bp-asm.h.
14107 (DEST): Likewise.
14108 (SRC): Likewise.
14109 (LEN): Likewise.
14110 (__stpncpy): Likewise. Do not use BP_SYM.
14111 (stpncpy): Do not use BP_SYM in weak_alias.
14112 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14113 (PARMS): Do not use macros from bp-asm.h.
14114 (STR): Likewise.
14115 (CHR): Likewise.
14116 (strchr): Likewise. Do not use BP_SYM.
14117 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14118 "bp-asm.h".
14119 (PARMS): Do not use macros from bp-asm.h.
14120 (STR): Likewise.
14121 (CHR): Likewise.
14122 (__strchrnul): Likewise. Do not use BP_SYM.
14123 (strchrnul): Do not use BP_SYM in weak_alias.
14124 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14125 "bp-asm.h".
14126 (PARMS): Do not use macros from bp-asm.h.
14127 (STOP): Likewise.
14128 (strcspn): Do not use BP_SYM.
14129 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14130 "bp-asm.h".
14131 (PARMS): Do not use macros from bp-asm.h.
14132 (STR): Likewise.
14133 (STOP): Likewise.
14134 (strpbrk): Likewise. Do not use BP_SYM.
14135 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14136 "bp-asm.h".
14137 (PARMS): Do not use macros from bp-asm.h.
14138 (STR): Likewise.
14139 (CHR): Likewise.
14140 (strrchr): Likewise. Do not use BP_SYM.
14141 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14142 (PARMS): Do not use macros from bp-asm.h.
14143 (SKIP): Likewise.
14144 (strspn): Do not use BP_SYM.
14145 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14146 (PARMS): Do not use macros from bp-asm.h.
14147 (STR): Likewise.
14148 (DELIM): Likewise.
14149 (SAVE): Likewise.
14150 (FUNCTION): Likewise. Do not use BP_SYM.
14151 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14152 aliases.
14153 (strtok_r): Likewise.
14154 (__GI___strtok_r): Likewise.
14155 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14156 (PARMS): Do not use macros from bp-asm.h.
14157 (S1): Likewise.
14158 (S2): Likewise.
14159 (SIZE): Likewise.
14160 (__mpn_sub_n): Do not use BP_SYM.
14161 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14162 "bp-asm.h".
14163 (PARMS): Do not use macros from bp-asm.h.
14164 (S1): Likewise.
14165 (SIZE): Likewise.
14166 (__mpn_submul_1): Do not use BP_SYM.
14167 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14168 <bp-sym.h>.
14169 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14170 and <bp-asm.h>.
14171 (PARMS): Do not use macros from bp-asm.h.
14172 (FLAGS): Likewise.
14173 (PTID): Likewise.
14174 (TLS): Likewise.
14175 (CTID): Likewise.
14176 (__clone): Do not use BP_SYM.
14177 (clone): Do not use BP_SYM in weak_alias.
14178 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14179 and <bp-asm.h>.
14180 (PARMS): Do not use macros from bp-asm.h.
14181 (LEN): Likewise.
14182 (__mmap64): Do not use BP_SYM.
14183 (mmap64): Do not use BP_SYM in weak_alias.
14184 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14185 <bp-sym.h> and <bp-asm.h>.
14186 (PARMS): Do not use macros from bp-asm.h.
14187 (__posix_fadvise64_l64): Do not use BP_SYM.
14188 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14189 (PARMS): Do not use macros from bp-asm.h.
14190 (NSOPS): Likewise.
14191 (semtimedop): Do not use BP_SYM.
14192 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14193 and <bp-asm.h>.
14194
582a3cff
AM
141952013-02-21 Allan McRae <allan@archlinux.org>
14196
14197 * manual/message.texi (Charset conversion in gettext):
14198 Move @end statement to beginning of line.
14199
bab8a695
SP
142002013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14201
80945231
SP
14202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14203 static.
14204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14205 Likewise.
14206
bab8a695
SP
14207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14208 (denorm): Likewise.
14209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14211
e21d7aa7
AK
142122013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14213
14214 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14215 tail-call to the resolved function if pltexit isn't needed.
14216
4c7a4263
SP
142172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14218
14219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14220 or Y being zero as being unlikely.
14221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14222 Likewise.
14223
41f49342
CD
142242013-02-20 Carlos O'Donell <carlos@redhat.com>
14225
14226 * manual/nss.texi (System Databases and Name Service Switch):
14227 Remove frobnicate @pxref.
14228
50022a93
TS
142292013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14230
14231 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14232 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14233
08cbd996
PM
142342013-02-20 Petr Machata <pmachata@redhat.com>
14235
14236 * elf/elf.h (R_ARM_TARGET1): New macro.
14237 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14238 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14239 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14240 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14241 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14242 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14243 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14244 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14245 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14246 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14247 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14248 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14249 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14250 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14251 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14252 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14253 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14254 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14255 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14256 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14257 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14258 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14259 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14260 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14261 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14262 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14263 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14264 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14265 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14266 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14267 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14268 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14269 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14270 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14271 (R_ARM_THM_GOT_BREL12): Likewise.
14272 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14273 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14274 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14275 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14276 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14277 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14278 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14279 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14280 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14281
c7b275d6
TS
142822013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14283
14284 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14285 __attribute_used__ to __attribute__ ((unused)).
14286
20cd7fb3
SP
142872013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14288
14289 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14290 powerpc mpa.c.
14291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14292 comment formatting.
14293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14294
92945b52
JM
142952013-02-19 Joseph Myers <joseph@codesourcery.com>
14296
14297 [BZ #13550]
14298 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14299 Remove macro.
14300 (ENTER): Remove both macro definitions.
14301 (LEAVE): Likewise.
14302 (CHECK_BOUNDS_LOW): Likewise.
14303 (CHECK_BOUNDS_HIGH): Likewise.
14304 (CHECK_BOUNDS_BOTH): Likewise.
14305 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14306 (RETURN_BOUNDED_POINTER): Likewise.
14307 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14308 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14309 (POP_ERRNO_LOCATION_RETURN): Likewise.
14310 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14311 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14312 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14313 macros.
14314 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14315 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14316 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14317 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14318 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14319 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14320 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14321 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14322 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14323 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14324 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14325 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14326 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14327 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14328 removed macros.
14329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14330 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14331 macros.
14332 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14333 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14334 * sysdeps/i386/i586/memset.S (memset): Likewise.
14335 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14336 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14337 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14338 macros.
14339 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14340 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14341 Change uses of L(2) to L(out).
14342 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14343 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14344 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14345 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14346 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14347 removed macros.
14348 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14349 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14350 macros.
14351 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14352 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14353 (RETURN): Do not use macro LEAVE.
14354 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14355 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14356 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14357 * sysdeps/i386/i686/memset.S (memset): Likewise.
14358 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14359 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14360 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14361 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14362 Likewise.
14363 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14364 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14365 L(1_2) and L(1_3) into L(1).
14366 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14367 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14368 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14369 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14370 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14371 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14372 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14373 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14374 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14375 macros.
14376 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14377 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14378 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14379 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14380 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14381 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14382 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14383 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14384 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14385 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14386 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14387 * sysdeps/i386/strspn.S (strspn): Likewise.
14388 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14389 conditional code.
14390 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14391 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14392 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14393 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14394 L(1_3) into L(1_1).
14395 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14396 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14397 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14398 macros.
14399 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14400
2389741a
JJ
144012013-02-19 Jakub Jelinek <jakub@redhat.com>
14402
14403 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14404 macro.
14405
2016b3cd
SP
144062013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14407
e4f22324
SP
14408 * math/atest-exp.c (exp_mpn): Remove ROUND.
14409 * math/atest-exp2.c (exp_mpn): Likewise.
14410 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14411
2016b3cd
SP
14412 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14413 * stdlib/tst-tls-atexit-lib.c: Likewise.
14414 * stdlib/tst-tls-atexit.c: Likewise.
14415
4be9b544
MF
144162013-02-18 Mike Frysinger <vapier@gentoo.org>
14417
14418 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14419 and __attribute_alloc_size__.
14420
2f62b9ee
MF
144212013-02-18 Mike Frysinger <vapier@gentoo.org>
14422
14423 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14424 __attribute_alloc_size__.
14425 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14426 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14427
6ff444c4
MF
144282013-02-18 Mike Frysinger <vapier@gentoo.org>
14429
14430 * include/programs/xmalloc.h: New file.
14431 * catgets/gencat.c: Include it.
14432 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14433 * elf/pldd.c: Likewise.
14434 * iconv/iconv_charmap.c: Likewise.
14435 * iconv/iconvconfig.c: Likewise.
14436 * iconv/strtab.c: Likewise.
14437 * locale/programs/locale.c: Likewise.
14438 * locale/programs/localedef.h: Likewise.
14439 * locale/programs/simple-hash.c: Likewise.
14440 * nscd/nscd.h: Likewise.
14441 * nss/makedb.c: Likewise.
14442 * sysdeps/generic/ldconfig.h: Likewise.
14443
be179c8a
SP
144442013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14445
ba384f6e
SP
14446 * Versions.def: Add GLIBC_2.18.
14447 * include/link.h (struct link_map): New member l_tls_dtor_count.
14448 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14449 (__call_tls_dtors): Likewise.
14450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14451 __cxa_thread_atexit_impl.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14453 Likewise.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14455 Likewise.
14456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14457 Likewise.
14458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14459 Likewise.
14460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14462 Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14464 Likewise.
14465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14467 Likewise.
14468 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14469 (tests): Add test case tst-tls-atexit.
14470 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14471 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14472 (GLIBC_PRIVATE): Add __call_tls_dtors.
14473 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14474 for libstdc++.
14475 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14476 * stdlib/tst-tls-atexit.c: New test case.
14477 * stdlib/tst-tls-atexit-lib.c: New test case.
14478
ffaa74cf 14479 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14480
be179c8a
SP
14481 * elf/Versions (ld): Add _dl_find_dso_for_object.
14482 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14483 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14484 (dl_open_worker): Use _dl_find_dso_for_object.
14485 * elf/dl-sym.c (do_sym): Likewise.
14486 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14487
f78b5caa
AK
144882013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14489
14490 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14491 Syntactic changes only.
14492 (_dl_runtime_profile): Do a tail-call to the resolved function.
14493
29691210
JM
144942013-02-17 Joseph Myers <joseph@codesourcery.com>
14495
14496 [BZ #13550]
14497 * sysdeps/x86_64/bp-asm.h: Remove file.
14498 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14499 <bp-sym.h> and <bp-asm.h>.
14500 (__clone): Do not use BP_SYM.
14501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14502 <bp-sym.h> and <bp-asm.h>.
14503 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14504 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14505 "bp-asm.h".
14506 (_setjmp): Do not use BP_SYM.
14507 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14508 "bp-asm.h".
14509 (setjmp): Do not use BP_SYM.
14510 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14511 libc_hidden_def.
14512 (mempcpy): Do not use BP_SYM in weak_alias.
14513 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14514 "bp-asm.h".
14515 (strchr): Do not use BP_SYM.
14516 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14517 "bp-asm.h".
14518 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14519 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14520 (_start): Do not use BP_SYM.
14521 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14522 "bp-asm.h".
14523 (strcat): Do not use BP_SYM.
14524 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14525 "bp-asm.h".
14526 (STRCMP): Do not use BP_SYM.
14527 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14528 "bp-asm.h".
14529 (STRCPY): Do not use BP_SYM.
14530 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14531 "bp-asm.h".
14532 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14533 "bp-asm.h".
14534 (FUNCTION): Do not use BP_SYM.
14535 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14536 weak_alias.
14537 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14538
f238fd19
AJ
145392013-02-17 Andreas Jaeger <aj@suse.de>
14540
14541 * time/Versions: Sort entries.
14542 * string/Versions: Likewise.
14543 * resolv/Versions: Likewise.
14544 * posix/Versions: Likewise.
14545 * iconv/Versions: Likewise.
14546 * elf/Versions: Likewise.
14547 * wcsmbs/Versions: Likewise.
14548
bd07f23c 145492013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14550
22af19f9
SP
14551 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14552 loop termination condition.
14553
4709fe76
SP
14554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14555 variable to calculate EZ.
14556 (__sqr): Likewise.
2d0e0f29
SP
14557
14558 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14559 the lower precision input.
14560
daaa7713
JM
145612013-02-15 Joseph Myers <joseph@codesourcery.com>
14562
14563 [BZ #13550]
14564 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14565 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14566 (run-via-rtld-prefix): Do not handle %-bp tests.
14567 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14568 (all-object-suffixes): Remove .ob.
14569 (bppfx): Remove variable.
14570 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14571 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14572 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14573 [$(build-bounded) = yes] (libtype.ob): Likewise.
14574 * Makerules (elide-routines.ob): Remove variable.
14575 (do-tests-clean): Do not handle *-bp.out.
14576 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14577 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14578 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14579 (tests): Do not include $(tests-bp.out).
14580 (xtests): Do not include $(xtests-bp.out).
14581 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14582 [$(build-bounded) = yes] ($(addprefix
14583 $(objpfx),$(binaries-bounded))): Remove rule.
14584 ($(objpfx)%-bp.out): Remove rule.
14585 * config.make.in (build-bounded): Remove variable.
14586 * crypt/Makefile [$(build-bounded) = yes]
14587 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14588 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14589 append to variable.
14590 [$(build-bounded) = yes] (install-lib): Likewise.
14591 [$(build-bounded) = yes] (generated): Likewise.
14592 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14593 Remove rule.
14594 * intl/Makefile [$(build-bounded) = yes]
14595 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14596 * math/Makefile [$(build-bounded) = yes]
14597 ($(tests:%=$(objpfx)%-bp): Likewise.
14598 * misc/Makefile [$(build-bounded) = yes]
14599 ($(objpfx)tst-tsearch-bp): Likewise.
14600 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14601 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14602 Remove dependency.
14603 * string/Makefile (o-objects.ob): Remove variable.
14604 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14605 (CFLAGS-.ob): Remove variable.
14606 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14607 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14608 both definitions of variable.
14609 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14610 (ASFLAGS-.ob): Remove variable.
14611
e97ed6dd
JM
146122013-02-14 Joseph Myers <joseph@codesourcery.com>
14613
2bdd4ca6
JM
14614 [BZ #13550]
14615 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14616 Remove __BOUNDED_POINTERS__ from condition.
14617 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14618 * string/bits/string2.h [!__NO_STRING_INLINES &&
14619 !__BOUNDED_POINTERS__]: Likewise.
14620 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14621 Likewise.
14622 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14623 Remove conditional code.
14624 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14625 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14626 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14627 condition.
14628
e97ed6dd
JM
14629 [BZ #13550]
14630 * csu/libc-start.c: Do not include <bp-sym.h>.
14631 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14632 * elf/dl-open.c: Do not include <bp-sym.h>.
14633 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14634 * math/fegetenv.c: Do not include <bp-sym.h>.
14635 (fegetenv): Do not use BP_SYM in versioned symbols.
14636 * nptl/sysdeps/pthread/bits/libc-lockP.h
14637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14638 <bp-sym.h>.
14639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14640 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14642 (__pthread_mutex_destroy): Likewise.
14643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14644 (__pthread_mutex_lock): Likewise.
14645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14646 (__pthread_mutex_trylock): Likewise.
14647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14648 (__pthread_mutex_unlock): Likewise.
14649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14650 (__pthread_mutexattr_init): Likewise.
14651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14652 (__pthread_mutexattr_destroy): Likewise.
14653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14654 (__pthread_mutexattr_settype): Likewise.
14655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14656 (__pthread_rwlock_init): Likewise.
14657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14658 (__pthread_rwlock_destroy): Likewise.
14659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14660 (__pthread_rwlock_rdlock): Likewise.
14661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14662 (__pthread_rwlock_tryrdlock): Likewise.
14663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14664 (__pthread_rwlock_wrlock): Likewise.
14665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14666 (__pthread_rwlock_trywrlock): Likewise.
14667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14668 (__pthread_rwlock_unlock): Likewise.
14669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14670 (__pthread_key_create): Likewise.
14671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14672 (__pthread_setspecific): Likewise.
14673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14674 (__pthread_getspecific): Likewise.
14675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14676 Likewise.
14677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14678 (_pthread_cleanup_push_defer): Likewise.
14679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14680 (_pthread_cleanup_pop_restore): Likewise.
14681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14682 (pthread_setcancelstate): Likewise.
14683 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14684 <bp-sym.h>.
14685 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14686 (memchr): Do not use BP_SYM in weak_alias.
14687 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14688 (fegetenv): Do not use BP_SYM in versioned symbols.
14689 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14690 (fesetenv): Do not use BP_SYM in versioned symbols.
14691 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14692 (feupdateenv): Do not use BP_SYM in versioned symbols.
14693 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14694 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14695 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14696 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14697 (open64): Do not use BP_SYM in weak_alias.
14698 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14699 (fegetenv): Do not use BP_SYM in versioned symbols.
14700 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14701 (fesetenv): Do not use BP_SYM in versioned symbols.
14702 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14703 (feupdateenv): Do not use BP_SYM in versioned symbols.
14704 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14705 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14706 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14707 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14708 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14709 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14710 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14711 <bp-sym.h>.
14712 (__libc_start_main): Do not use BP_SYM.
14713
d6752ccd
SP
147142013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14715
cb57ce60
SP
14716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14717 redundant return line.
14718 (norm): Likewise.
14719 (denorm): Likewise.
14720 (dbl_mp): Likewise.
14721 (sub_magnitudes): Likewise.
14722 (__add): Likewise.
14723 (__sub): Likewise.
14724 (__mul): Likewise.
14725 (__inv): Likewise.
14726 (__dvd): Likewise.
14727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14728 (norm): Likewise.
14729 (denorm): Likewise.
14730 (dbl_mp): Likewise.
14731 (sub_magnitudes): Likewise.
14732 (__add): Likewise.
14733 (__sub): Likewise.
14734 (__mul): Likewise.
14735 (__inv): Likewise.
14736 (__dvd): Likewise.
14737
f414520d
SP
14738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14739 instead of __mul.
14740 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14741 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14742 (cc32): Likewise.
14743
d6752ccd
SP
14744 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14745 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14747 of __mul for squares.
14748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14749 function
14750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14751 Likewise.
14752 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14753 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14754
70d9946a
JM
147552013-02-13 Joseph Myers <joseph@codesourcery.com>
14756
14757 [BZ #13550]
14758 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14759 code.
14760 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14761 prototype or function definition. Rename ubp_* variables and
14762 parameters. Remove argv definitions conditional on
14763 [__BOUNDED_POINTERS__].
14764 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14765 * elf/dl-runtime.c (_dl_fixup): Likewise.
14766 * include/set-hooks.h (RUN_HOOK): Likewise.
14767 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14768 definition.
14769 * string/strcpy.c (strcpy): Do not use __unbounded.
14770 * sysdeps/generic/frame.h (struct layout): Likewise.
14771 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14772 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14773 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14774 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14775 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14776 (__backtrace): Likewise.
14777 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14778 use __ptrvalue.
14779 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14780 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14781 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14782 Likewise.
14783 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14784 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14785 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14786 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14787 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14788 Do not use __unbounded.
14789 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14790 Rename __unboundedrlimits parameter to rlimits in prototype.
14791 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14792 Do not use __unbounded.
14793 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14794 not use __ptrvalue.
14795 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14796 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14797 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14798 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14799 __ptrvalue or __unbounded.
14800 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14802 use __unbounded.
14803 (__new_msgctl): Do not use __ptrvalue.
14804 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14805 __unbounded.
14806 (__libc_msgrcv): Do not use __ptrvalue.
14807 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14808 startup_info): Do not use __unbounded.
14809 (__libc_start_main): Likewise. Rename ubp_* variables and
14810 parameters. Remove argv definitions conditional on
14811 [__BOUNDED_POINTERS__].
14812 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14813 __ptrvalue.
14814 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14815 use __unbounded.
14816 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14817 or __ptrvalue.
14818 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14819 use __unbounded.
14820 (__new_shmctl): Do not use __ptrvalue.
14821 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14822 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14823 Likewise.
14824 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14826 (__libc_sigaction): Likewise.
14827 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14829 Likewise.
14830 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14831
cc7834d6
OB
148322013-02-13 Ondřej Bílka <neleai@seznam.cz>
14833
ffb1ec7b 14834 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14835
14836 * string/mempcpy.c: Implement by calling memcpy.
14837
bdf02814
SP
148382013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14839
c2af38aa
SP
14840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14841
4e92d59e
SP
14842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14843 evaluation.
14844
909279a5
SP
14845 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14846 values in the mantissa.
14847
bdf02814
SP
14848 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14849 minimize writes to Z.
14850 (sub_magnitudes): Simplify code a bit.
14851
cd525923
RM
148522013-02-12 Roland McGrath <roland@hack.frob.com>
14853
14854 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14855 from the message. The linker prefixes all warnings with that already.
14856
7e2f0d2d
AS
148572013-02-12 Andreas Schwab <schwab@suse.de>
14858
a445af0b
AS
14859 [BZ #15078]
14860 * posix/regexec.c (extend_buffers): Add parameter min_len.
14861 (check_matching): Pass minimum needed length.
14862 (clean_state_log_if_needed): Likewise.
14863 (get_subexp): Likewise.
14864 * posix/Makefile (tests): Add bug-regex34.
14865 (bug-regex34-ENV): Define.
14866 * posix/bug-regex34.c: New file.
14867
7e2f0d2d
AS
14868 [BZ #11561]
14869 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14870 elements compare against the byte sequence of it, not its name.
14871 * posix/Makefile (tests): Add bug-regex35.
14872 (bug-regex35-ENV): Define.
14873 * posix/bug-regex35.c: New file.
14874
a175b684
TV
148752013-02-11 Tom de Vries <tom@codesourcery.com>
14876
14877 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14878 comment.
14879 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14880 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14881 (CHECK_EOL): Add undef.
14882
310998fe 148832013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14884
14885 * bits/stdlib-bsearch.h: New file.
14886 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14887 * stdlib/stdlib.h: Likewise.
41eda41d 14888
8ded91fb
RM
148892013-02-11 Roland McGrath <roland@hack.frob.com>
14890
14891 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14892 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14893 declaration.
14894 * manual/search.texi (Array Search Function): Add missing const in
14895 lfind prototype.
14896 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14897 declaration to use rlim_t.
14898 (Basic Scheduling Functions): Remove erroneous const from
14899 sched_getparam prototype. Remove erroneous * from
14900 sched_get_priority_max and sched_get_priority_min prototypes.
14901 (Resource Usage): Fix summary @comment on vtimes to refer to
14902 sys/vtimes.h rather than vtimes.h.
14903 Add missing *s in vtimes prototype.
14904 (Limits on Resources): Fix ulimit prototype to return long int.
14905 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14906 prototypes to use long int rather than double.
14907 (BSD Random): Fix initstate and setstate to use char *, not void *.
14908 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14909 prototype to make second argument 'struct aiocb64 *const[]'.
14910 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14911 (Status of AIO Operations): Remove erroneous const in aio_return and
14912 aio_return64 prototypes.
14913 (Synchronizing I/O): Fix sync prototype to return void.
14914 * manual/startup.texi (Suboptions): Remove an erroneous const in
14915 getsubopt prototype.
14916 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14917 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14918 use size_t rather than int.
14919 (Scanning All Users): Likewise for getpwent_r.
14920 (Setting Groups): Add missing const to setgroups prototype.
14921 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14922 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14923 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14924 'const void *' rather than 'const char *'.
14925 (Host Address Functions): Likewise for inet_ntop.
14926 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14927 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14928 ssize_t for return value.
14929 (Sending Data): Likewise for send, sendto, sendmsg.
14930 (Socket Option Functions): Add a missing const in setsockopt prototype.
14931 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14932 use wchar_t for the argument.
14933 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14934 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14935 take no arguments.
14936 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14937 double/float/long double for second argument.
14938 Fix return types of significand, significandf, significandl.
14939 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14940 argument in fchmod prototype.
14941 (File Owner): Use uid_t and gid_t in fchown prototype.
14942 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14943 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14944 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14945 use 'const struct dirent **' as argument types to CMP function pointer
14946 argument.
14947 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14948 (File Times): Fix summary magic @comment for struct utimbuf and utime
14949 to refer to utime.h, not time.h.
14950 * manual/string.texi (Argz Functions): Add missing const in
14951 argz_extract and argz_next prototypes.
14952 (Finding Tokens in a String): Likewise for basename.
14953 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14954 (Copying and Concatenation): Fix typo in wmemmove prototype.
14955 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14956 (Signal Stack): Remove erroneous const in sigstack prototype.
14957 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14958 prototype.
14959 (Simple Calendar Time): Likewise for stime.
14960 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14961 prototype.
14962 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14963 say sys/sysctl.h instead.
14964 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14965 and vsyslog prototypes.
14966
fe77fe6d
TV
149672013-02-11 Tom de Vries <tom@codesourcery.com>
14968
14969 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14970 Remove.
14971
3a09b620
RM
149722013-02-11 Roland McGrath <roland@hack.frob.com>
14973
14974 * misc/sys/mman.h: Fix typo in mremap comment.
14975
550a0b89
RM
149762013-02-08 Roland McGrath <roland@hack.frob.com>
14977
14978 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14979 the '\0' terminator.
14980
a2da1673
JM
149812013-02-08 Joseph Myers <joseph@codesourcery.com>
14982
14983 [BZ #13550]
14984 * debug/segfault.c: Don't include <bp-checks.h>.
14985 * sysdeps/generic/bp-checks.h: Remove file.
14986 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14987 (__GETDENTS): Don't use CHECK_N.
14988 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14989 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14990 (__getgroups): Don't use CHECK_N.
14991 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14992 (setgroups): Don't use CHECK_N.
14993 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14994 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14995 (__libc_msgrcv): Don't use CHECK_N.
14996 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14997 (__libc_msgsnd): Don't use CHECK_N.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14999 <bp-checks.h>.
15000 (__libc_pread): Don't use CHECK_N.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15002 include <bp-checks.h>.
15003 (__libc_pread64): Don't use CHECK_N.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15005 include <bp-checks.h>.
15006 (__libc_pwrite): Don't use CHECK_N.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15008 include <bp-checks.h>.
15009 (__libc_pwrite64): Don't use CHECK_N.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15011 <bp-checks.h>.
15012 (__libc_pread): Don't use CHECK_N.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15014 include <bp-checks.h>.
15015 (__libc_pread64): Don't use CHECK_N.
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15017 include <bp-checks.h>.
15018 (__libc_pwrite): Don't use CHECK_N.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15020 include <bp-checks.h>.
15021 (__libc_pwrite64): Don't use CHECK_N.
15022 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15023 (do_pread): Don't use CHECK_N.
15024 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15025 (do_pread64): Don't use CHECK_N.
15026 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15027 (do_pwrite): Don't use CHECK_N.
15028 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15029 (do_pwrite64): Don't use CHECK_N.
15030 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15031 (__libc_readv): Don't use CHECK_N.
15032 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15033 (semop): Don't use CHECK_N.
15034 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15035 <bp-checks.h>.
15036 (semtimedop): Don't use CHECK_N.
15037 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15038 (__libc_pread): Don't use CHECK_N.
15039 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15040 <bp-checks.h>.
15041 (__libc_pread64): Don't use CHECK_N.
15042 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15043 <bp-checks.h>.
15044 (__libc_pwrite): Don't use CHECK_N.
15045 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15046 <bp-checks.h>.
15047 (__libc_pwrite64): Don't use CHECK_N.
15048 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15049 <bp-checks.h>.
15050 (__libc_msgrcv): Don't use CHECK_N.
15051 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15052 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15053 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15054 (__libc_writev): Don't use CHECK_N.
15055
b84660a8
RM
150562013-02-08 Roland McGrath <roland@hack.frob.com>
15057
7f3e75f8
RM
15058 * string/strcpy.c: Removed unused variable.
15059
b84660a8
RM
15060 * Makeconfig (+sysdep-includes): Define with := rather than =.
15061 Use an existing include/ subdir of each sysdeps dir before it.
15062
471514d3
CD
150632013-02-08 Carlos O'Donell <carlos@redhat.com>
15064
15065 * nscd/connection.c (register_traced_file): Comment function.
15066 [HAVE_INOTIFY] (union __inev): Define.
15067 [HAVE_INOTIFY] (inotify_check_files): New function.
15068 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15069 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15070 clear_db_cache.
15071 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15072
b2d3c3be
CD
150732013-02-08 Carlos O'Donell <carlos@redhat.com>
15074
15075 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15076 loaded if not already and that a failure is permanent.
15077
b39949d2
CD
150782013-02-08 Carlos O'Donell <carlos@redhat.com>
15079
ddacd1db 15080 [BZ #15006]
b39949d2
CD
15081 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15082 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15083
b2c9eff4
JM
150842013-02-08 Joseph Myers <joseph@codesourcery.com>
15085
f3aae3f3
JM
15086 [BZ #13550]
15087 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15088 (CHECK_1_NULL_OK): Likewise.
15089 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15090 (__fxstat): Do not use CHECK_1.
15091 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15092 <bp-checks.h>.
15093 (___fxstat64): Do not use CHECK_1.
15094 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15095 <bp-checks.h>.
15096 (__fxstatat): Do not use CHECK_1.
15097 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15098 <bp-checks.h>.
15099 (__fxstatat64): Do not use CHECK_1.
15100 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15101 <bp-checks.h>.
15102 (__fxstat): Do not use CHECK_1.
15103 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15104 <bp-checks.h>.
15105 (__fxstatat): Do not use CHECK_1.
15106 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15107 <bp-checks.h>.
15108 (__getresgid): Do not use CHECK_1.
15109 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15110 <bp-checks.h>.
15111 (__getresuid): Do not use CHECK_1.
15112 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15113 <bp-checks.h>.
15114 (__lxstat): Do not use CHECK_1.
15115 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15116 <bp-checks.h>.
15117 (__old_msgctl): Do not use CHECK_1.
15118 (__new_msgctl): Likewise.
15119 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15120 <bp-checks.h>.
15121 (__new_setrlimit): Do not use CHECK_1.
15122 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15123 <bp-checks.h>.
15124 (__old_shmctl): Do not use CHECK_1.
15125 (__new_shmctl): Likewise.
15126 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15127 <bp-checks.h>.
15128 (__xstat): Do not use CHECK_1.
15129 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15130 (__lxstat): Do not use CHECK_1.
15131 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15132 <bp-checks.h>.
15133 (___lxstat64): Do not use CHECK_1.
15134 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15135 (__old_msgctl): Do not use CHECK_1.
15136 (__new_msgctl): Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15138 <bp-checks.h>.
15139 (__gettimeofday): Do not use CHECK_1.
15140 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15141 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15142 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15143 <bp-checks.h>.
15144 (__gettimeofday): Do not use CHECK_1.
15145 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15146 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15147 (__new_shmctl): Do not use CHECK_1.
15148 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15149 <bp-checks.h>.
15150 (do_sigtimedwait): Do not use CHECK_1.
15151 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15152 <bp-checks.h>.
15153 (do_sigwaitinfo): Do not use CHECK_1.
15154 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15155 <bp-checks.h>.
15156 (msgctl): Do not use CHECK_1.
15157 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15158 <bp-checks.h>.
15159 (shmctl): Do not use CHECK_1.
15160 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15161 (ustat): Do not use CHECK_1.
15162 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15163 <bp-checks.h>.
15164 (__fxstat): Do not use CHECK_1.
15165 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15166 <bp-checks.h>.
15167 (__fxstatat): Do not use CHECK_1.
15168 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15169 <bp-checks.h>.
15170 (__lxstat): Do not use CHECK_1.
15171 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15172 <bp-checks.h>.
15173 (__xstat): Do not use CHECK_1.
15174 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15175 (__xstat): Do not use CHECK_1.
15176 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15177 (___xstat64): Do not use CHECK_1.
15178
b2c9eff4
JM
15179 [BZ #13550]
15180 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15181 definitions.
15182 (CHECK_BOUNDS_HIGH): Likewise.
15183 * string/strcpy.c: Do not include <bp-checks.h>.
15184 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15185
f1d70dad
RM
151862013-02-07 Roland McGrath <roland@hack.frob.com>
15187
15188 * nscd/nscd-client.h (__nscd_drop_map_ref):
15189 Add __attribute__ ((unused)).
15190 * nis/nss-nisplus.h (niserr2nss): Likewise.
15191
15192 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15193 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15194
15195 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15196 Remove inline keyword.
15197 * include/rounding-mode.h (round_away): Likewise.
15198 * libio/wfileops.c (adjust_wide_data): Likewise.
15199 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15200 (__m128i_strloadu_tolower): Likewise.
15201 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15202 (__m128i_strloadu_tolower): Likewise.
15203 * time/mktime.c (ydhms_diff): Likewise.
15204 * locale/elem-hash.h (elem_hash): Likewise.
15205 * locale/setlocale.c (setdata): Likewise.
15206 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15207 (re_string_wchar_at): Likewise.
15208 (bitset_not, bitset_merge, bitset_mask): Likewise.
15209 [!(__GNUC__ > 3)] (inline): Remove macro.
15210 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15211 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15212 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15213 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15214 * string/memcmp.c (memcmp_bytes): Likewise.
15215 * locale/programs/locarchive.c (compute_hashval): Likewise.
15216 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15217 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15218 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15219 * nss/getent.c (print_rpc, print_protocols): Likewise.
15220 (print_passwd, print_group, print_aliases): Likewise.
15221 * nis/nss-nisplus.h (niserr2nss): Likewise.
15222 * nscd/connections.c (restart_p): Likewise.
15223 Change return type to bool.
15224
eab55bfb
RM
152252013-02-05 Roland McGrath <roland@hack.frob.com>
15226
7bd642f5
RM
15227 * Makeconfig (all-Depend-files): Add existing
15228 $(sorted-subdirs:=/Depend) files.
15229 (all-subdirs): Remove nss.
15230 * sysdeps/unix/inet/Subdirs: Add it here instead.
15231 * hesiod/Depend: New file.
15232
573c29b2
RM
15233 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15234 instead of calling alloca.
15235
b2e25af0
RM
15236 * io/lseek.c (__lseek): Rename to __libc_lseek.
15237 Define __lseek as an alias.
15238
eab55bfb
RM
15239 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15240
9a0d1941
CD
152412013-02-04 Carlos O'Donell <carlos@redhat.com>
15242
15243 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15244 else clause and remove check for non-standard endianness.
15245
b83bbec4
DM
152462013-02-04 David S. Miller <davem@davemloft.net>
15247
15248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15249
6277fdab
JM
152502013-02-04 Joseph Myers <joseph@codesourcery.com>
15251
15252 [BZ #13550]
15253 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15254 (__ubp_memchr): Remove prototype.
15255 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15256 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15257 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15258 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15259 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15260 Remove alias.
15261 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15262 (__ubp_memchr): Likewise.
15263 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15264 (__ubp_memchr): Likewise.
15265 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15266 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15267 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15268 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15269 CHECK_STRING.
15270 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15271 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15272 (__getcwd): Do not use CHECK_STRING.
15273 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15274 <bp-checks.h>.
15275 (__real_chown): Do not use CHECK_STRING.
15276 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15277 <bp-checks.h>.
15278 (fchownat): Do not use CHECK_STRING.
15279 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15280 CHECK_STRING.
15281 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15282 <bp-checks.h>.
15283 (__lchown): Do not use CHECK_STRING.
15284 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15285 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15286 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15287 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15289 include <bp-checks.h>.
15290 (truncate64): Do not use CHECK_STRING.
15291 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15292 <bp-checks.h>.
15293 (__real_chown): Do not use CHECK_STRING.
15294 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15295 <bp-checks.h>.
15296 (__lchown): Do not use CHECK_STRING.
15297 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15298 <bp-checks.h>.
15299 (__chown): Do not use CHECK_STRING.
15300 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15301 <bp-checks.h>.
15302 (truncate64): Do not use CHECK_STRING.
15303 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15304 Likewise.
15305 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15306 (__xmknod): Do not use CHECK_STRING.
15307 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15308 <bp-checks.h>.
15309 (__xmknodat): Do not use CHECK_STRING.
15310 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15311 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15312
903ae060
AS
153132013-02-04 Andreas Schwab <schwab@suse.de>
15314
15315 [BZ #14142]
15316 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15317 * include/netdb.h: Likewise for h_errno.
15318 * elf/tst-stackguard1.c: Include <tls.h>.
15319
542f9466
JK
153202013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15321
15322 * elf/link.h (struct link_map): Extend the l_addr comment.
15323 * include/link.h (struct link_map): Likewise.
15324
e782a927
JM
153252013-02-01 Joseph Myers <joseph@codesourcery.com>
15326
15327 [BZ #13550]
15328 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15329 (BOUNDED_1): Remove macro.
15330 * debug/backtrace.c: Don't include <bp-checks.h>.
15331 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15332 (__backtrace): Likewise.
15333 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15334 <bp-checks.h>.
15335 (__backtrace): Don't use BOUNDED_1.
15336 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15337 <bp-checks.h>.
15338 (__backtrace): Don't use BOUNDED_1.
15339 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15340 (__backtrace): Don't use BOUNDED_1.
15341 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15342 (shmat): Don't use BOUNDED_N.
15343
8cf28c5e
JM
153442013-01-31 Joseph Myers <joseph@codesourcery.com>
15345
3a7ac8a0
JM
15346 [BZ #13550]
15347 * sysdeps/generic/bp-start.h: Remove file.
15348 * csu/libc-start.c: Don't include <bp-start.h>.
15349 (LIBC_START_MAIN): Set up __environ directly instead of using
15350 INIT_ARGV_and_ENVIRON.
15351 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15352 <bp-start.h>.
15353
f3499f95
JM
15354 [BZ #13550]
15355 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15356 definitions.
15357 (CHECK_FCNTL): Likewise.
15358 (CHECK_N_PAGES): Likewise.
15359
32a45bea
JM
15360 [BZ #13550]
15361 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15362 definitions.
15363 (CHECK_SIGSET_NULL_OK): Likewise.
15364 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15365 <bp-checks.h>.
15366 (sigpending): Don't use CHECK_SIGSET.
15367 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15368 <bp-checks.h>.
15369 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15370 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15371 <bp-checks.h>.
15372 (do_sigsuspend): Don't use CHECK_SIGSET.
15373 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15374 use CHECK_SIGSET.
15375 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15376 (do_sigwait): Don't use CHECK_SIGSET.
15377 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15378 use CHECK_SIGSET.
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15380 include <bp-checks.h>.
15381 (sigpending): Don't use CHECK_SIGSET.
15382 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15383 include <bp-checks.h>.
15384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15385 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15386 <bp-checks.h>.
15387 (sigpending): Don't use CHECK_SIGSET.
15388 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15389 <bp-checks.h>.
15390 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15391
2e8a5c8c
JM
15392 [BZ #13550]
15393 * sysdeps/generic/bp-semctl.h: Remove file.
15394 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15395 <bp-checks.h> and <bp-semctl.h>.
15396 (__old_semctl): Don't use CHECK_SEMCTL.
15397 (__new_semctl): Likewise.
15398 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15399 and <bp-semctl.h>.
15400 (__old_semctl): Don't use CHECK_SEMCTL.
15401 (__new_semctl): Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15403 <bp-checks.h> and <bp-semctl.h>.
15404 (__old_semctl): Don't use CHECK_SEMCTL.
15405 (__new_semctl): Likewise.
15406 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15407 <bp-checks.h> and <bp-semctl.h>.
15408 (semctl): Don't use CHECK_SEMCTL.
15409
c2d54929
JM
15410 [BZ #13550]
15411 * Makerules (elide-bp-thunks): Remove variable.
15412 (elide-routines.oS): Don't use $(elide-bp-thunks).
15413 (elide-routines.os): Likewise.
15414 (elide-routines.o): Likewise.
15415 (elide-routines.op): Likewise.
15416 (elide-routines.og): Likewise.
15417 (objects): Don't use $(bp-thunks).
15418 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15419 include.
15420 (common-generated): Do not add s-proto-bp.d.
15421 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15422 (int): Likewise.
15423 (typ): Likewise.
15424 Do not generate makefile rules for bounded-pointer thunks.
15425 * sysdeps/generic/bp-thunks.h: Remove file.
15426 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15427 * sysdeps/unix/s-proto-bp.S: Likewise.
15428
8cf28c5e
JM
15429 [BZ #15062]
15430 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15431 parts of result separately when argument is not close to line from
15432 -i to i and one part of argument is small.
15433 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15434 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15435 * math/libm-test.inc (cacos_test): Add more tests.
15436 (casin_test): Likewise.
15437 (casinh_test): Likewise.
15438 * sysdeps/i386/fpu/libm-test-ulps: Update.
15439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15440
c4e33b8d
DM
154412013-01-31 David S. Miller <davem@davemloft.net>
15442
15443 * po/de.po: Update from translation team.
15444
3b60b421
MK
154452013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15446
15447 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15448
bb931195
TS
154492013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15450
b5a5da23
TS
15451 * configure.in (_AC_PROG_CC_C89): New definition.
15452 * configure: Regenerate.
15453
bb931195
TS
15454 * configure.in (AC_PROG_CPP): New definition.
15455 * configure: Regenerate.
15456
8c53a12c
JM
154572013-01-23 Joseph Myers <joseph@codesourcery.com>
15458
15459 * debug/tst-backtrace.h: New file.
15460 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15461 (ret): Remove variable.
15462 (x): Likewise.
15463 (FAIL): Remove macro.
15464 (NO_INLINE): Likewise.
15465 (fn1): Use match function instead of strstr.
15466 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15467 (ret): Remove variable.
15468 (x): Likewise.
15469 (FAIL): Remove macro.
15470 (NO_INLINE): Likewise.
15471 (fn): Use match function instead of strstr.
15472 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15473 (ret): Remove variable.
15474 (x): Likewise.
15475 (FAIL): Remove macro.
15476 (NO_INLINE): Likewise.
15477 (handle_signal): Use match function instead of strstr.
15478 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15479 (ret): Remove variable.
15480 (x): Likewise.
15481 (FAIL): Remove macro.
15482 (NO_INLINE): Likewise.
15483 (handle_signal): Use match function instead of strstr.
15484
4858fa2a
RM
154852013-01-23 Roland McGrath <roland@hack.frob.com>
15486
15487 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15488
bae8e7f5
DM
154892013-01-23 David S. Miller <davem@davemloft.net>
15490
15491 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15492 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15493 argument of CAS if possible.
15494 * sysdeps/sparc/sparc64/bits/atomic.h
15495 (__arch_compare_and_exchange_val_32_acq): Likewise.
15496 (__arch_compare_and_exchange_val_64_acq): Likewise.
15497
9cbbc4ae
PT
154982013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15499
15500 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15501 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15502 Include <limits.h>.
67b3f58c 15503 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15504
5655a0b5
AC
155052013-01-23 Adam Conrad <adconrad@0c3.net>
15506
15507 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15508 (LDFLAGS-tst-array5): Likewise.
15509
052aff95
JM
155102013-01-23 Joseph Myers <joseph@codesourcery.com>
15511
15512 [BZ #15036]
15513 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15514 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15515 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15516 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15517
7c1e01aa
DM
155182013-01-21 David S. Miller <davem@davemloft.net>
15519
15520 * sysdeps/sparc/backtrace.c: New file.
15521 * sysdeps/sparc/sparc32/backtrace.h: New file.
15522 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15523 * sysdeps/sparc/sparc64/backtrace.h: New file.
15524 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15525 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15526 -funwind-tables.
15527
ab087e0a
AS
155282013-01-21 Andreas Schwab <schwab@suse.de>
15529
15530 [BZ #15020]
15531 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15532 closed its stdout.
15533
ed689c2f
AS
155342013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15535
15536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15537 "mpa2.h".
15538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15539
31d470ac
JM
155402013-01-18 Joseph Myers <joseph@codesourcery.com>
15541 Mark Mitchell <mark@codesourcery.com>
15542 Tom de Vries <tom@codesourcery.com>
15543 Paul Pluzhnikov <ppluzhnikov@google.com>
15544
15545 * debug/tst-backtrace2.c: New file.
15546 * debug/tst-backtrace3.c: Likewise.
15547 * debug/tst-backtrace4.c: Likewise.
15548 * debug/tst-backtrace5.c: Likewise.
15549 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15550 (CFLAGS-tst-backtrace3.c): Likewise.
15551 (CFLAGS-tst-backtrace4.c): Likewise.
15552 (CFLAGS-tst-backtrace5.c): Likewise.
15553 (LDFLAGS-tst-backtrace2): Likewise.
15554 (LDFLAGS-tst-backtrace3): Likewise.
15555 (LDFLAGS-tst-backtrace4): Likewise.
15556 (LDFLAGS-tst-backtrace5): Likewise.
15557 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15558 tst-backtrace4 and tst-backtrace5.
15559
90567f30 155602013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15561 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15562
15563 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15564 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15565 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15566 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15568 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15569 "+r" and remove output regs list as redundant. Add explicit inline
15570 asm to specify register of return val to work around compiler codegen
15571 bug. Remove (int) cast on return value. Add return type parameter to
15572 use in macro so that this macro does not truncate return value for
15573 64-bit values.
15574 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15575 pass to INTERNAL_VSYSCALL_NCS.
15576 (INLINE_VSYSCALL): Add 'long int' as return type to
15577 INTERNAL_VSYSCALL_NCS macro invocation.
15578 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15579 INTERNAL_VSYSCALL_NCS macro invocation.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15581
d3b9ea61
SP
155822013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15583
0b57daeb
SP
15584 [BZ #14496]
15585 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15586 Fix application of SIMD FP exception mask.
15587
caa99d06
SP
15588 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15589 mp_no from a power of two.
15590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15591 __mpexp_twomm1. Use __pow_mp.
15592
d3b9ea61
SP
15593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15594 multiplication.
15595
1dbaee3c
DM
155962013-01-17 David S. Miller <davem@davemloft.net>
15597
15598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15599
728d7b43
JM
156002013-01-17 Joseph Myers <joseph@codesourcery.com>
15601
15602 [BZ #15023]
15603 * include/complex.h: Condition contents on [!_COMPLEX_H].
15604 (__kernel_casinhf): New prototype.
15605 (__kernel_casinh): Likewise.
15606 (__kernel_casinhl): Likewise.
15607 * math/Makefile (libm_calls): Add k_casinh.
15608 * math/k_casinh.c: New file.
15609 * math/k_casinhf.c: Likewise.
15610 * math/k_casinhl.c: Likewise.
15611 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15612 finite nonzero arguments.
15613 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15614 finite nonzero arguments.
15615 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15616 finite nonzero arguments.
15617 * math/s_casinh.c: Do not include <float.h>.
15618 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15619 * math/s_casinhf.c: Do not include <float.h>.
15620 (__casinhf): Move code for finite nonzero arguments to
15621 k_casinhf.c.
15622 * math/s_casinhl.c: Do not include <float.h>.
15623 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15624 redefine.
15625 (__casinhl): Move code for finite nonzero arguments to
15626 k_casinhl.c.
15627 * math/libm-test.inc (cacos_test): Add more tests.
15628 * sysdeps/i386/fpu/libm-test-ulps: Update.
15629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15630
2a26ef3a
PT
156312013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15632
15633 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15634 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15635 [!HAVE_MREMAP]: Remove [defined linux] case.
15636 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15637
a897655d
SP
156382013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15639
15640 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15641
881ebe89 156422013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15643
15644 * elf/elf.h (R_386_SIZE32): New relocation.
15645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15646 R_386_SIZE32.
15647 (elf_machine_rela): Likewise.
15648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15649 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15650
59981e9b
JM
156512013-01-17 Joseph Myers <joseph@codesourcery.com>
15652
15653 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15654 (FP_FAST_FMA): Do not define.
15655 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15656 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15657 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15658 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15659 !_SOFT_FLOAT]: Likewise.
15660 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15661 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15662 value.
15663 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15664 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15665 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15666 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15667 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15668 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15669 file.
15670
cfa8054f
AS
156712013-01-16 Andreas Schwab <schwab@suse.de>
15672
15673 [BZ #14327]
15674 * include/stdlib.h (__mktemp): Add declaration.
15675 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15676 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15677
dd930cc5
SP
156782013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15679
881ebe89
SP
15680 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15681 definitions.
15682 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15683 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15684 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15685 definitions here.
15686 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15687 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15688 definitions.
15689 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15690 and ONE.
15691 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15692 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15693 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15694 definitions.
15695 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15696 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15697 definitions.
15698 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15699
dd930cc5
SP
15700 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15701
c19a9f89
DM
157022013-01-15 David S. Miller <davem@davemloft.net>
15703
1aa61767
DM
15704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15705 trunc{,f} to libm-sysdep_routes.
15706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15708 file.
15709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15711 file.
15712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15713 file.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15716 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15717 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15718 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15719 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15720 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15721 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15722
c42d5e98
DM
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15724 nearbyint{,f} to libm-sysdep_routes.
15725 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15727 New file.
15728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15729 file.
15730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15731 New file.
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15733 file.
15734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15736 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15737 file.
15738 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15739 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15740 file.
15741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15742 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15743 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15744
c19a9f89
DM
15745 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15746 libc_feholdexcept and libc_fesetenv.
15747
357679d2
MF
157482013-01-15 Mike Frysinger <vapier@gentoo.org>
15749
15750 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15751
65a82e3d
DM
157522013-01-14 David S. Miller <davem@davemloft.net>
15753
8b954ab9
DM
15754 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15755 (SPARC_ASM_VIS2_IFUNC): Likewise.
15756 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15758 use of 'siam' instruction.
15759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15760 Likewise.
15761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15762 Likewise.
15763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15764 Likewise.
15765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15770 file.
15771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15772 file.
15773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15774 file.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15776 file.
15777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15782 new VIS2 routines.
15783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15786 Likewise.
15787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15792 routines to libm-sysdep_routines.
15793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15794
65a82e3d
DM
15795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15796 fdim/fdimf to libm-sysdep_routines.
15797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15798 file.
15799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15801 file.
15802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15805 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15806 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15807 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15808 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15809
e34ab705
SP
158102013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15811
2a91b573
SP
15812 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15813 to optimize copies.
15814
1066a534
SP
15815 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15818
e34ab705
SP
15819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15820 local variable MPTWO.
15821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15822 Likewise.
15823
aba5e596
MF
158242013-01-13 Mike Frysinger <vapier@gentoo.org>
15825
15826 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15827 GLOB_NOESCAPE.
15828
e557e9e5
MF
158292013-01-13 Mike Frysinger <vapier@gentoo.org>
15830
15831 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15832
0428cec9
MF
158332013-01-13 Mike Frysinger <vapier@gentoo.org>
15834
15835 * manual/pattern.texi (glob_t): Document gl_flags.
15836 (glob64_t): Likewise.
15837
8794a964
DM
158382013-01-11 David S. Miller <davem@davemloft.net>
15839
66438c3f
RM
15840 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15841 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15842 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15843 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15844 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15845 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15846 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15847 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15848 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15849 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15850 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15851 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15852 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15853
4ae4244d
DM
15854 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15855 sparc V9 rather than using V8 code.
15856 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15857 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15858
8794a964
DM
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15860 Move to...
15861 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15862 Here.
15863
6270516e
RM
158642013-01-11 Roland McGrath <roland@hack.frob.com>
15865
15866 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15867 not in the main loop.
15868 * configure: Regenerated.
15869
6a57d931
JM
158702013-01-11 Joseph Myers <joseph@codesourcery.com>
15871
15872 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15873 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15874 to just #else.
15875 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15876 [!__GLIBC_HAVE_LONG_LONG] case.
15877 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15878 condition to just #else.
15879 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15880 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15881 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15882 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15883 unconditional.
15884 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15885 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15886 #elif condition to just #else.
15887 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15888 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15889 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15890 #elif condition to just #else.
15891
0e8529e9
SE
158922013-01-11 Steve Ellcey <sellcey@mips.com>
15893
15894 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15895 (EF_MIPS_ARCH_64): Fix value.
15896 (EF_MIPS_ARCH_32R2): New.
15897 (EF_MIPS_ARCH_64R2): New.
15898
740b3dbe
L
158992013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 * Makeconfig (+link-pie-before-libc): New.
15902 (+link-pie-after-libc): Likewise.
15903 (+link-pie-tests): Likewise.
15904 (+link-pie): Rewritten.
15905 (link-before-libc): Remove $(config-LDFLAGS).
15906 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15907 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15908 (config-LDFLAGS): Renamed to ...
15909 (rtld-LDFLAGS): This.
15910 (rtld-tests-LDFLAGS): New macro.
15911 (link-libc-rpath-link): Likewise.
15912 (link-libc-tests-rpath-link): Likewise.
15913 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15914 (link-libc): Prepand $(link-libc-rpath-link).
15915 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15916 (test-program-prefix): New macro.
15917 (test-via-rtld-prefix): Likewise.
15918 (test-program-cmd): Likewise.
15919 (host-test-program-cmd): Likewise.
15920 * Makefile ($(common-objpfx)testrun.sh): Replace
15921 $(run-program-prefix) with $(test-program-prefix).
15922 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15923 $(rtld-LDFLAGS).
15924 ($(common-objpfx)shlib.lds): Likewise.
15925 (build-module-helper): Likewise.
15926 ($(common-objpfx)format.lds): Likewise.
15927 * Rules (binaries-pie-tests): New.
15928 (binaries-pie-notests): Likewise.
15929 (binaries-pie): Rewritten.
15930 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15931 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15932 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15933 (make-test-out): Replace $(host-built-program-cmd) with
15934 $(host-test-program-cmd).
15935 * config.make.in (build-hardcoded-path-in-tests): New variable.
15936 * configure.in (--enable-hardcoded-path-in-tests): New configure
15937 option.
15938 (hardcoded_path_in_tests): New AC_SUBST.
15939 * configure: Regenerated.
15940 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15941 $(built-program-cmd) with $(test-program-cmd).
15942 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15943 (test_program_cmd): This.
15944 * elf/Makefile ($(objpfx)order.out): Run test with
15945 $(test-program-prefix).
15946 ($(objpfx)order2.out): Likewise.
15947 ($(objpfx)tst-initorder.out): Likewise.
15948 ($(objpfx)tst-initorder2.out): Likewise.
15949 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15950 $(test-program-cmd).
15951 ($(objpfx)tst-array1-static.out): Likewise.
15952 ($(objpfx)tst-array2.out): Likewise.
15953 ($(objpfx)tst-array3.out): Likewise.
15954 ($(objpfx)tst-array4.out): Likewise.
15955 ($(objpfx)tst-array5.out): Likewise.
15956 ($(objpfx)tst-array5-static.out): Likewise.
15957 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15958 $(test-program-cmd).
15959 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15960 $(run-program-prefix) with $(test-program-prefix).
15961 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15962 (test_program_prefix): This.
15963 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15964 $(run-program-prefix) with $(test-program-prefix).
15965 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15966 (test_program_prefix): This.
15967 * iconvdata/tst-tables.sh: Likewise.
15968 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15969 $(run-program-prefix) with $(test-program-prefix).
15970 ($(objpfx)tst-translit.out): Likewise.
15971 ($(objpfx)tst-gettext2.out): Likewise.
15972 ($(objpfx)tst-gettext4.out): Likewise.
15973 ($(objpfx)tst-gettext6.out): Likewise.
15974 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15975 (test_program_prefix): This.
15976 * intl/tst-gettext2.sh: Likewise.
15977 * intl/tst-gettext4.sh Likewise.
15978 * intl/tst-gettext6.sh: Likewise.
15979 * intl/tst-translit.sh: Likewise.
15980 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15981 with $(test-program-cmd).
15982 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15983 $(run-program-prefix) with $(test-program-prefix).
15984 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15985 (test_program_prefix): This.
15986 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15987 $(run-program-prefix) with $(test-program-prefix).
15988 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15989 (test_program_prefix): This.
15990 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15991 * posix/Makefile ($(objpfx)globtest.out): Replace
15992 $(run-via-rtld-prefix) and $(test-wrapper) with
15993 $(test-program-prefix) and $(test-via-rtld-prefix).
15994 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15995 $(test-program-prefix).
15996 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15997 $(host-test-program-cmd).
15998 (tst-spawn-ARGS): Likewise.
15999 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16000 $(test-program-prefix).
16001 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16002 (test_via_rtld_prefix): This.
16003 (test_wrapper): Renamed to ...
16004 (test_program_prefix): This.
16005 (run_program_prefix): Replaced by test_program_prefix.
16006 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16007 (test_program_prefix): This.
16008 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16009 with $(host-test-program-cmd).
16010 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16011 $(run-program-prefix) with $(test-program-prefix).
16012 ($(objpfx)tst-printf.out): Likewise.
16013 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16014 $(test-program-cmd).
16015 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16016 (test_program_prefix): This.
16017 * stdio-common/tst-unbputc.sh: Likewise.
16018 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16019 $(run-program-prefix) with $(test-program-prefix).
16020 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16021 (test_program_prefix): This.
16022 * string/Makefile ($(objpfx)tst-svc.out): Replace
16023 $(built-program-cmd) with $(test-program-cmd).
16024
c6fe55cf
AJ
160252013-01-11 Andreas Jaeger <aj@suse.de>
16026
16027 [BZ #15003]
16028 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16029 value. Sync with Linux 3.7.
16030
9e6919c8
DM
160312013-01-10 David S. Miller <davem@davemloft.net>
16032
16033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16034 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16035 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16036
1c9f1a02
RM
160372013-01-10 Roland McGrath <roland@hack.frob.com>
16038
16039 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16040 never set.
16041 * configure: Regenerated.
16042
b9de2dde
DM
160432013-01-10 David S. Miller <davem@davemloft.net>
16044
16045 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16046 sparc V9 rather than using V8 code.
16047 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16048 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16049
e7f68ef4
RM
160502013-01-10 Roland McGrath <roland@hack.frob.com>
16051
16052 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16053 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16054 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16055 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16056 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16057 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16058 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16059 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16060 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16061 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16062 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16063 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16064 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16065 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16066 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16067 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16068 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16069 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16070 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16071 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16072 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16073 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16074 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16075 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16076 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16077 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16078 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16079
5a47cc9c
DM
160802013-01-10 David S. Miller <davem@davemloft.net>
16081
16082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16083
4cf8f209
L
160842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 * posix/Makefile (tests-static): New variable.
16087 (tests): Add $(tests-static).
16088 (tst-exec-static-ARGS): New variable.
16089 (tst-spawn-static-ARGS): Likewise.
16090 * posix/tst-exec-static.c: New file.
16091 * posix/tst-spawn-static.c: Likewise.
16092 * posix/tst-exec.c: Support run directly.
16093 * posix/tst-spawn.c: Likewise.
16094
fed0faa1
JM
160952013-01-10 Joseph Myers <joseph@codesourcery.com>
16096
828beb13
JM
16097 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16098 long.
16099 * math/bits/mathcalls.h (llrint): Likewise.
16100 (llround): Likewise.
16101 * stdlib/stdlib.h (struct drand48_data): Likewise.
16102 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16103 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16105 Likewise.
16106 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16107 Likewise.
16108 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16109 (elf_greg_t): Likewise.
16110 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16111 (__jmp_buf): Likewise.
16112 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16113 definitions.
16114 (llrint): Likewise, for all definitions.
16115 (llrintl): Likewise.
16116
fed0faa1
JM
16117 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16118 Remove [__GNUC__] condition.
16119 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16120 condition to just [__USE_ISOC99].
16121 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16122
1a20cb20
L
161232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16124
16125 [BZ #14200]
16126 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16127 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16128 defined.
16129 (_POSIX_V6_ILP32_OFF32): Likewise.
16130 (_XBS5_ILP32_OFF32): Likewise.
16131 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16132 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16133
751b85f7
SP
161342013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16135
7490eb81
SP
16136 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16137
751b85f7
SP
16138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16139 doubles __mpexp_twomm1. Adjust usage.
16140 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16141 Remove.
16142
988197f0
AS
161432013-01-10 Andreas Schwab <schwab@suse.de>
16144
16145 [BZ #14964]
16146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16147 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16148
e83d7298
DM
161492013-01-09 David S. Miller <davem@davemloft.net>
16150
034ed64b 16151 [BZ #15003]
e83d7298
DM
16152 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16153 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16154 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16155 TCP_FASTOPEN): Define.
16156 (tcp_repair_opt): New structure.
16157 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16158 enum values.
16159 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16160 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16161 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16162 (tcp_cookie_transactions): New structure.
16163
d5e0b9bd
AB
161642013-01-09 Anton Blanchard <anton@samba.org>
16165
16166 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16167 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16168 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16169 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16170
0c07e3ea
JM
161712013-01-09 Joseph Myers <joseph@codesourcery.com>
16172
16173 * include/features.h (__USE_ANSI): Remove.
16174
232f7002
RM
161752013-01-09 Roland McGrath <roland@hack.frob.com>
16176
ad98e30c
RM
16177 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16178
232f7002
RM
16179 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16180
950c99ca
SP
161812013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16182
b5792741
SP
16183 * sysdeps/s390/fpu/libm-test-ulps: Update.
16184
47cf2278
SP
16185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16186
950c99ca
SP
16187 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16188 (__acr): Likewise.
16189 (__cpy): Likewise.
16190 (norm): Likewise.
16191 (denorm): Likewise.
16192 (__mp_dbl): Likewise.
16193 (__dbl_mp): Likewise.
16194 (add_magnitudes): Likewise.
16195 (sub_magnitudes): Likewise.
16196 (__add): Likewise.
16197 (__sub): Likewise.
16198 (__mul): Likewise.
16199 (__inv): Likewise.
16200 (__dvd): Likewise.
16201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16202 (__acr): Likewise.
16203 (__cpy): Likewise.
16204 (norm): Likewise.
16205 (denorm): Likewise.
16206 (__mp_dbl): Likewise.
16207 (__dbl_mp): Likewise.
16208 (add_magnitudes): Likewise.
16209 (sub_magnitudes): Likewise.
16210 (__add): Likewise.
16211 (__sub): Likewise.
16212 (__mul): Likewise.
16213 (__inv): Likewise.
16214 (__dvd): Likewise.
16215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16216 (__acr): Likewise.
16217 (__cpy): Likewise.
16218 (norm): Likewise.
16219 (denorm): Likewise.
16220 (__mp_dbl): Likewise.
16221 (__dbl_mp): Likewise.
16222 (add_magnitudes): Likewise.
16223 (sub_magnitudes): Likewise.
16224 (__add): Likewise.
16225 (__sub): Likewise.
16226 (__mul): Likewise.
16227 (__inv): Likewise.
16228 (__dvd): Likewise.
16229
eede9df9
JM
162302013-01-08 Joseph Myers <joseph@codesourcery.com>
16231
16232 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16233 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16234 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16235 2 && __USE_EXTERN_INLINES]: Likewise.
16236
c40ea3d9
AJ
162372013-01-08 Andreas Jaeger <aj@suse.de>
16238
16239 [BZ# 14985]
16240 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16241 Remove.
16242 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16243 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16244
2ccdea26
AB
162452013-01-07 Anton Blanchard <anton@samba.org>
16246
16247 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16248 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16249 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16250 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16251 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16252 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16253 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16254 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16256 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16257 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16258 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16261 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16262 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16263 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16265 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16266 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16267 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16268 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16269 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16270 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16271 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16272 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16273 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16274 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16275 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16276 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16277 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16279 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16280 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16281 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16282 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16283 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16284 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16285 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16288 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16289 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16290
a9708fed
JM
162912013-01-07 Joseph Myers <joseph@codesourcery.com>
16292
375607b9
JM
16293 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16294 (__MALLOC_PMT): Likewise.
16295 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16296 [__GNUC__], only on [_LIBC].
16297 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16298 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16299 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16300 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16301 forward declaration.
16302 (realloc_hook_ini): Likewise.
16303 (memalign_hook_ini): Likewise.
16304 (__libc_memalign): Do not use __MALLOC_PMT in variable
16305 declaration.
16306 (__libc_valloc): Likewise.
16307 (__libc_pvalloc): Likewise.
16308 (__libc_calloc): Likewise.
16309 (__posix_memalign): Likewise.
16310
a9708fed
JM
16311 [BZ #14996]
16312 * math/s_casinh.c: Include <float.h>.
16313 (__casinh): Do not do computation with squaring and square root
16314 for large arguments.
16315 * math/s_casinhf.c: Include <float.h>.
16316 (__casinhf): Do not do computation with squaring and square root
16317 for large arguments.
16318 * math/s_casinhl.c: Include <float.h>.
16319 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16320 (__casinhl): Do not do computation with squaring and square root
16321 for large arguments.
16322 * math/libm-test.inc (casin_test): Add more tests.
16323 (casinh_test): Likewise.
16324 * sysdeps/i386/fpu/libm-test-ulps: Update.
16325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16326
afec409a
L
163272013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16328
16329 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16330 (__x86_64_raw_data_cache_size): Likewise.
16331 (__x86_64_data_cache_size_half): Likewise.
16332 (__x86_64_raw_data_cache_size_half): Likewise.
16333 (__x86_64_shared_cache_size): Likewise.
16334 (__x86_64_raw_shared_cache_size): Likewise.
16335 (__x86_64_shared_cache_size_half): Likewise.
16336 (__x86_64_raw_shared_cache_size_half): Likewise.
16337 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16338 to ...
16339 (__x86_data_cache_size): This.
16340 (__x86_64_raw_data_cache_size): Renamed to ...
16341 (__x86_raw_data_cache_size): This.
16342 (__x86_64_data_cache_size_half): Renamed to ...
16343 (__x86_data_cache_size_half): This.
16344 (__x86_64_raw_data_cache_size_half): Renamed to ...
16345 (__x86_raw_data_cache_size_half): This.
16346 (__x86_64_shared_cache_size): Renamed to ...
16347 (__x86_shared_cache_size): This.
16348 (__x86_64_raw_shared_cache_size): Renamed to ...
16349 (__x86_raw_shared_cache_size): This.
16350 (__x86_64_shared_cache_size_half): Renamed to ...
16351 (__x86_shared_cache_size_half): This.
16352 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16353 (__x86_raw_shared_cache_size_half): This.
16354 * sysdeps/x86_64/memcpy.S: Updated.
16355 * sysdeps/x86_64/memset.S: Likewise.
16356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16357 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16358 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16359
0b3986d0
DM
163602013-01-04 David S. Miller <davem@davemloft.net>
16361
16362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16363
e47686e9
AS
163642013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16365
d643bac1
AS
16366 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16367 1 to avoid redefinition warning.
16368 (__USE_GNU): Don't define.
16369 (init_signaling_nan): Protoize.
16370
e47686e9
AS
16371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16372
b18decba
SP
163732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16374
fffb407f
SP
16375 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16377 (__cpymn): Likewise.
16378 (norm): Remove commented code.
16379 (denorm): Likewise.
16380 (__mp_dbl): Likewise.
16381 (__inv): Likewise.
16382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16383 (__cpymn): Likewise.
16384 (norm): Remove commented code.
16385 (denorm): Likewise.
16386 (__mp_dbl): Likewise.
16387 (__inv): Likewise.
16388
b18decba
SP
16389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16390 mp_no value for 1.0 and 2.0.
16391 (norm): Use RADIXI instead of radixi.d.
16392 (denorm): Likewise.
16393 (__mul): Use 0.0 instead of zero.d.
16394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16395 mp_no value for 1.0 and 2.0.
16396 (norm): Use RADIXI instead of radixi.d.
16397 (denorm): Likewise.
16398 (__mul): Use 0.0 instead of zero.d.
16399
cdc1c96f
JM
164002013-01-04 Joseph Myers <joseph@codesourcery.com>
16401
16402 [BZ #14994]
16403 * math/s_casinh.c (__casinh): Reduce finite argument to first
16404 quadrant then set signs of results at the end.
16405 * math/s_casinhf.c (__casinhf): Likewise.
16406 * math/s_casinhl.c (__casinhl): Likewise.
16407 * math/libm-test.inc (casin_test): Add more tests.
16408 (casinh_test): Likewise.
16409 * sysdeps/i386/fpu/libm-test-ulps: Update.
16410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16411
302913e1
SP
164122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16413
6420d207
SP
16414 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16415
a9e48ab4
SP
16416 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16417
b7837264
SP
16418 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16419 declarations.
16420 (denorm): Likewise.
16421 (__mp_dbl): Likewise.
16422 (__inv): Likewise.
16423
f8af25d2
SP
16424 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16425 and adjust the header comment.
16426
302913e1
SP
16427 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16428 variable name from declaration.
16429
5d7dd1ca
L
164302013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16431
16432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16433 Initialize COMMON_CPUID_INDEX_7 element.
16434 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16435 (CPUID_RTM): Likewise.
16436 (HAS_RTM): Likewise.
16437 (COMMON_CPUID_INDEX_7): New enum.
16438
2f5f40f4
AS
164392013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16440
16441 [BZ #14981]
16442 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16443 size is zero, record memory as freed.
16444
4056f4a0
AJ
164452013-01-03 Andreas Jaeger <aj@suse.de>
16446
16447 * po/ia.po: Add new Interlingua translation.
16448
ab15736f 164492012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16450
16451 * locale/programs/localedef.c: Fix description of '--posix' flag.
16452
568035b7
JM
164532013-01-02 Joseph Myers <joseph@codesourcery.com>
16454
e6898b8d
JM
16455 * NEWS: Update dates in second copyright notice.
16456 * README: Update copyright dates in example.
16457 * manual/libc.texinfo: Update copyright dates.
16458 * scripts/test-installation.pl: Update copyright date in --version
16459 output.
16460
0e2f9562
JM
16461 * hurd/ctty-input.c: Fix copyright notice formatting.
16462 * hurd/ctty-output.c: Likewise.
16463 * hurd/dtable.c: Likewise.
16464 * hurd/hurd-raise.c: Likewise.
16465 * hurd/hurdprio.c: Likewise.
16466 * hurd/msgportdemux.c: Likewise.
16467 * misc/sys/file.h: Likewise.
16468 * misc/sys/ioctl.h: Likewise.
16469 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16470 * sysdeps/mach/hurd/chdir.c: Likewise.
16471 * sysdeps/mach/hurd/fchdir.c: Likewise.
16472 * sysdeps/mach/hurd/rename.c: Likewise.
16473 * sysdeps/mach/hurd/rmdir.c: Likewise.
16474 * sysdeps/mach/hurd/seekdir.c: Likewise.
16475 * sysdeps/mach/hurd/setsid.c: Likewise.
16476 * sysdeps/posix/wait3.c: Likewise.
16477
568035b7
JM
16478 * All files with FSF copyright notices: Update copyright dates
16479 using scripts/update-copyrights.
16480 * intl/plural.c: Regenerated.
16481 * locale/programs/charmap-kw.h: Likewise.
16482 * locale/programs/locfile-kw.h: Likewise.
16483
da08f647
SP
164842013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16485
0f5477af
SP
16486 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16487 four values.
16488
44e0d4c2
SP
16489 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16490 calculation loop and add branch prediction.
16491
4d55b4e5
SP
16492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16493 check access beyond bounds of m1np.
16494
da08f647
SP
16495 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16496 MPTWO.
16497 (__inv): Remove local variable MPTWO to use the global
16498 constant.
16499 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16501 variable MPTWO.
16502 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16503 MP3HALFS static const.
16504
8e051029
DM
165052013-01-01 David S. Miller <davem@davemloft.net>
16506
16507 * po/ca.po: Update from translation team.
16508
f4cf5f2d
JM
165092013-01-01 Joseph Myers <joseph@codesourcery.com>
16510
16511 * scripts/update-copyrights: New file.
16512 * Makeconfig: Reformat copyright notice.
16513 * ctype/ctype.h: Likewise.
16514 * debug/swprintf_chk.c: Likewise.
16515 * elf/dl-cache.c: Likewise.
16516 * elf/dl-debug.c: Likewise.
16517 * elf/dl-object.c: Likewise.
16518 * grp/initgroups.c: Likewise.
16519 * hurd/Makefile: Likewise.
16520 * hurd/hurd/signal.h: Likewise.
16521 * hurd/hurdfault.c: Likewise.
16522 * hurd/hurdioctl.c: Likewise.
16523 * hurd/hurdlookup.c: Likewise.
16524 * hurd/intr-msg.c: Likewise.
16525 * iconv/gconv_open.c: Likewise.
16526 * libio/swprintf.c: Likewise.
16527 * locale/lc-ctype.c: Likewise.
16528 * locale/nl_langinfo.c: Likewise.
16529 * mach/Machrules: Likewise.
16530 * mach/Makefile: Likewise.
16531 * malloc/obstack.h: Likewise.
16532 * manual/Makefile: Likewise.
16533 * manual/tsort.awk: Likewise.
16534 * misc/bits/stab.def: Likewise.
16535 * nis/nis_print_group_entry.c: Likewise.
16536 * nis/nis_table.c: Likewise.
16537 * nis/nss_compat/compat-pwd.c: Likewise.
16538 * nis/nss_compat/compat-spwd.c: Likewise.
16539 * po/Makefile: Likewise.
16540 * posix/fnmatch.c: Likewise.
16541 * posix/regex.h: Likewise.
16542 * resolv/Makefile: Likewise.
16543 * resolv/nss_dns/dns-network.c: Likewise.
16544 * resolv/res_hconf.c: Likewise.
16545 * scripts/gen-sorted.awk: Likewise.
16546 * soft-fp/soft-fp.h: Likewise.
16547 * stdio-common/printf.h: Likewise.
16548 * stdlib/monetary.h: Likewise.
16549 * stdlib/random.c: Likewise.
16550 * stdlib/random_r.c: Likewise.
16551 * sysdeps/generic/Makefile: Likewise.
16552 * sysdeps/gnu/Makefile: Likewise.
16553 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16576 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16577 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16578 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16579 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16580 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16581 * sysdeps/mach/hurd/errnos.awk: Likewise.
16582 * sysdeps/mach/hurd/fork.c: Likewise.
16583 * sysdeps/mach/hurd/getcwd.c: Likewise.
16584 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16585 * sysdeps/mach/hurd/mmap.c: Likewise.
16586 * sysdeps/mach/hurd/utimes.c: Likewise.
16587 * sysdeps/mach/hurd/xmknod.c: Likewise.
16588 * sysdeps/posix/profil.c: Likewise.
16589 * sysdeps/posix/readdir_r.c: Likewise.
16590 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16591 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16592 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16593 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16595 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16596 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16597 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16599 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16601 * sysdeps/pthread/lio_listio.c: Likewise.
16602 * sysdeps/sparc/dl-procinfo.h: Likewise.
16603 * sysdeps/unix/i386/sysdep.S: Likewise.
16604 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16605 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16606 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16607 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16609 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16610 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16611 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16612 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16613 * sysdeps/wordsize-32/divdi3.c: Likewise.
16614 * time/sys/time.h: Likewise.
16615 * wcsmbs/Makefile: Likewise.
16616
0549fbba
DM
166172013-01-01 David S. Miller <davem@davemloft.net>
16618
a141f1a7
DM
16619 * po/fr.po: Update from translation team.
16620
0549fbba
DM
16621 * catgets/gencat.c: Update copyright year.
16622 * csu/version.c: Likewise.
16623 * debug/catchsegv.sh: Likewise.
16624 * debug/pcprofiledump.c: Likewise.
16625 * debug/xtrace.sh: Likewise.
16626 * elf/ldconfig.c: Likewise.
16627 * elf/ldd.bash.in: Likewise.
16628 * elf/pldd.c: Likewise.
16629 * elf/sotruss.ksh: Likewise.
16630 * elf/sprof.c: Likewise.
16631 * iconv/iconv_prog.c: Likewise.
16632 * iconv/iconvconfig.c: Likewise.
16633 * locale/programs/locale.c: Likewise.
16634 * locale/programs/localedef.c: Likewise.
16635 * login/programs/pt_chown.c: Likewise.
16636 * malloc/memusage.sh: Likewise.
16637 * malloc/memusagestat.c: Likewise.
16638 * malloc/mtrace.pl: Likewise.
16639 * nscd/nscd.c: Likewise.
16640 * nss/getent.c: Likewise.
16641 * nss/makedb.c: Likewise.
16642 * posix/getconf.c: Likewise.
16643
18ea052c
SP
166442012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16645
16646 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16647 numbers.
16648
9c89fca6
MF
166492012-12-30 Mike Frysinger <vapier@gentoo.org>
16650
16651 * math/bits/mathcalls.h (modf): Use __nonnull.
16652
085ec079
SP
166532012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16654
16655 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16656 (split): Use macro CN instead of the bare value.
16657 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16658 could be used.
16659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16660 instead of the bare value.
16661 (power1): Likewise.
16662
6d9f97e1
SP
166632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16664
d63f73be
SP
16665 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16666 __ATAN_TWOM.
16667 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16668
6d9f97e1
SP
16669 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16670 their values.
16671 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16672 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16673 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16674 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16675
4c4febf5
AJ
166762012-12-28 Andreas Jaeger <aj@suse.de>
16677
af5843ef
AJ
16678 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16679 values are from Linux 3.7.
16680
4c4febf5
AJ
16681 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16682 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16683
99136f82
SP
166842012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16685
2f216c3c 16686 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16687 TRUE case.
16688
99136f82
SP
16689 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16690 (norm): Likewise.
16691 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16692 variables with preprocessor constants.
16693 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16694 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16695 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16696
7fffbdff
BH
166972012-12-27 Bruno Haible <bruno@clisp.org>
16698
16699 [BZ #14317]
16700 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16701 only if needed.
16702
b76eb5f0
SP
167032012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16704
31a7fe5c
SP
16705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16706 and use variable directly.
16707 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16708
b76eb5f0
SP
16709 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16710 MPONE.
16711 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16712 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16713 variable MPONE.
16714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16716 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16717 include directive. Remove local variable MPONE.
16718 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16721
2c8bfe7d
DM
167222012-12-25 David S. Miller <davem@davemloft.net>
16723
16724 * version.h (RELEASE): Set to "development".
16725 (VERSION): Set to "2.17.90".
16726 * NEWS: Add 2.18 section.
16727
147d03b0
DM
167282012-12-21 David S. Miller <davem@davemloft.net>
16729
16730 * po/hr.po: Update from translation team.
16731
a8ebb2b9
AK
167322012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16733
16734 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16735
95b4f1b6
SE
167362012-12-19 Steve Ellcey <sellcey@mips.com>
16737
b2d94007 16738 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16739
cedb2a90
MS
167402012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16741
16742 * manual/contrib.texi (Contributors): Spelling correction.
16743
bbf527d6
DM
167442012-12-15 David S. Miller <davem@davemloft.net>
16745
16746 * po/ru.po: Update from translation team.
16747
bc38c906
DM
167482012-12-13 David S. Miller <davem@davemloft.net>
16749
85429b1a
DM
16750 * NEWS: Mention IFUNC testsuite enhancements.
16751
d283e353
DM
16752 * po/pl.po: Update from translation team.
16753 * po/bg.po: Likewise.
16754
bc38c906
DM
16755 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16756 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16757
a181b0d7
DM
167582012-12-11 David S. Miller <davem@davemloft.net>
16759
4641d57e
DM
16760 * po/sv.po: Update from translation team.
16761
f7bc6495
DM
16762 * po/vi.po: Update from translation team.
16763
6fc9048f
DM
16764 * po/cs.po: Update from translation team.
16765
a181b0d7
DM
16766 * po/de.po: Update from translation team.
16767 * po/eo.po: Likewise.
16768 * po/nl.po: Likewise.
16769
f70bfe80
SP
167702012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16771
3c8b4190
SP
16772 [BZ #14246]
16773 * manual/argp.texi (Argp Helper Functions): Move node to follow
16774 Argp Parsing State.
16775
f70bfe80
SP
16776 [BZ #14872]
16777 * manual/conf.texi (Limits on File System Capacity): Mention if
16778 terminating null is included in the max size.
16779
188f0adf
AJ
167802012-12-10 Andreas Jaeger <aj@suse.de>
16781
16782 * po/cs.po: Update from translation team.
16783
56e7d3ad
SP
167842012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16785
16786 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16787 void pointer and cast to uintptr_t.
16788 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16789 path.
16790 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16791 * sysdeps/s390/s390-64/memset.S: Likewise.
16792
76f2d2ea 167932012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16794
16795 [BZ #14833]
16796 * menual/message.texi (Message Translation): Fix typos.
16797 (Helper programs for gettext): Likewise.
16798
67cbf9a2
AS
167992012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16800
16801 [BZ #14898]
16802 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16803 Change to -1.
16804
682d0e9a
DM
168052012-12-07 David S. Miller <davem@davemloft.net>
16806
16807 * po/libc.pot: Update.
16808
573cd484
RH
168092012-12-07 Richard Henderson <rth@redhat.com>
16810
7e9da188 16811 [BZ #10114]
573cd484
RH
16812 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16813 normal/normal case to before the switch.
16814 (_FP_DIV): Likewise.
16815
e933a943
MF
168162012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16817 Mike Frysinger <vapier@gentoo.org>
16818
16819 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16820 check for __NR_fadvise64_64.
16821
82123268
CM
168222012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16823
16824 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16825 0, not just to plain "0" as a statement.
16826 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16827 with cw.
16828
d9814526
JM
168292012-12-06 Joseph Myers <joseph@codesourcery.com>
16830
16831 * NEWS: Use sourceware.org in Bugzilla URL.
16832
7728c574
SP
168332012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16834
f16946dd
SP
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16836 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16837
5704bbcb
SP
16838 * stdio-common/tst-put-error.c (do_test): Add newline to the
16839 padded test to ensure flush.
16840
17aa0516
JL
168412012-12-05 Jeff Law <law@redhat.com>
16842
16843 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16844
363313b5
JM
168452012-12-05 Joseph Myers <joseph@codesourcery.com>
16846
effbd42a
JM
16847 * README: Don't refer to ports add-on as distributed separately.
16848 Mention AArch64 in list of systems supported in the ports add-on.
16849
87600365
JM
16850 * LICENSES: Add more non-FSF copyright and license notices.
16851
a0d7066a
JM
16852 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16853 ((unused)).
16854
66ca5a5b
JM
16855 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16856
363313b5
JM
16857 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16858 10000 as width of padded output.
16859
b37984ad
JM
168602012-12-04 Joseph Myers <joseph@codesourcery.com>
16861
9003570a
JM
16862 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16863
b37984ad
JM
16864 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16865 variable LX with __attribute__ ((unused)).
16866 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16867 Likewise.
16868 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16871 with __attribute__ ((unused)).
16872
c8df52ec
DM
168732012-12-04 David S. Miller <davem@abraco.davemloft.net>
16874
16875 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16876
b3b099af
JM
168772012-12-04 Joseph Myers <joseph@codesourcery.com>
16878
c33aa6e3
JM
16879 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16880 (CFLAGS-nldbl-acos.c): New variable.
16881 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16882 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16883 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16884 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16885 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16886 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16887 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16888 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16889 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16890 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16891 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16892 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16893 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16894 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16895 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16896 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16897 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16898 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16899 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16900 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16901 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16902 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16903 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16904 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16905 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16906 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16907 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16908 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16909 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16910 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16911 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16912 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16913 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16914 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16915 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16916 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16917 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16918 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16919 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16920 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16921 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16922 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16923 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16924 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16925 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16926 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16927 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16928 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16929 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16930 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16931 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16932 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16933 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16934 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16935 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16936 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16937 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16938 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16939 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16940 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16941 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16942 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16943 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16944 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16945 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16946 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16947 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16948 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16949 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16950 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16951 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16952 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16953 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16954 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16955 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16956 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16957 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16958 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16959 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16960 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16961 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16962 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16963 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16964 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16965 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16966 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16967 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16968 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16969 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16970 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16971 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16972 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16973 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16974 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16975 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16976 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16977 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16978
20f0018d
JM
16979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16980 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16981
b3b099af
JM
16982 [BZ #14914]
16983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16984 whole low double instead of just low 47 bits when splitting values
16985 into two parts.
16986
029264d1
AM
169872012-12-03 Allan McRae <allan@archlinux.org>
16988
16989 * manual/stdio.texi (Predefined Printf Handlers): Remove
16990 @hsep and @vsep usage.
16991
c9d6789e
MF
169922012-12-03 Mike Frysinger <vapier@gentoo.org>
16993
16994 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16995 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16996
4b7634a5
JL
169972012-12-03 Jeff Law <law@redhat.com>
16998
16999 * time/sys/time.h (settimeofday): Do not mark TV argument
17000 as __nonnull.
17001
eb6cbd24
MF
170022012-12-01 Mike Frysinger <vapier@gentoo.org>
17003
17004 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17005 when currently writing and seek to current position when not.
17006 * libio/Makefile (tests): Remove bug-fclose1.
17007 * libio/bug-fclose1.c: Delete.
17008
f638872a
JM
170092012-12-01 Joseph Myers <joseph@codesourcery.com>
17010
17011 * manual/arith.texi (feenableexcept): Fix typo.
17012 (fedisableexcept): Likewise.
17013
48085d14
RM
170142012-11-30 Roland McGrath <roland@hack.frob.com>
17015
17016 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17017 second, differently-typed declaration, rather than a cast.
17018
1a538b9f
SP
170192012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17022 * include/rpc/svc.h: ... here.
17023
d07f2ff1 170242012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17025
17026 [BZ #13013]
17027 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17028 depending n and resplen2 to catch cases where answer
17029 equals answerp2.
17030
c93ec1f0
CD
170312012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17032
17033 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17034 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17035
37db69de
MF
170362012-11-29 Mike Frysinger <vapier@gentoo.org>
17037
17038 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17039
e10c4e4f
RM
170402012-11-29 Roland McGrath <roland@hack.frob.com>
17041
17042 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17043
2af1b328
JL
170442012-11-28 Jeff Law <law@redhat.com>
17045
17046 [BZ #13761]
17047 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17048 dataset_temporary. Track alloca usage into alloca_used.
17049 If dataset is large allocate and release it via malloc/free.
17050
111db5b1
FW
170512012-06-04 Florian Weimer <fweimer@redhat.com>
17052
f06cc227 17053 [BZ #14197]
111db5b1
FW
17054 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17055
dd694abd
DM
170562012-11-28 David S. Miller <davem@davemloft.net>
17057
17058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17059
9984dd01
JM
170602012-11-28 Joseph Myers <joseph@codesourcery.com>
17061
17062 [BZ #14803]
17063 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17064 of pi/2 rounded to nearest to 64 bits.
17065 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17066 nearest to 64 bits.
17067 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17068 bits.
17069
14bc93a9
JL
170702012-11-28 Jeff Law <law@redhat.com>
17071 Martin Osvald <mosvald@redhat.com>
17072
17073 [BZ #14889]
17074 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17075 * sunrpc/svc.c: Include time.h.
17076 (__svc_accept_failed): New function.
17077 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17078 any reason other than EINTR, call __svc_accept_failed.
17079 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17080 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17081
e3c6aa3a
AS
170822012-11-28 Andreas Schwab <schwab@suse.de>
17083
17084 * scripts/abilist.awk: Also handle indirect functions in .opd
17085 section.
17086
1bead169
JM
170872012-11-28 Joseph Myers <joseph@codesourcery.com>
17088
17089 [BZ #13881]
17090 * sysdeps/x86/fpu/powl_helper.c: New file.
17091 * sysdeps/x86/fpu/Makefile: Likewise.
17092 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17093 (p3): New object.
17094 (__ieee754_powl): Use __powl_helper for finite arguments except
17095 integer exponents below 8.
17096 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17097 (p3): New object.
17098 (__ieee754_powl): Use __powl_helper for finite arguments except
17099 integer exponents below 8.
17100 * math/libm-test.inc (pow_test): Add more tests and enable some
17101 previously disabled tests.
17102 * sysdeps/i386/fpu/libm-test-ulps: Update.
17103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17104
0817d63d
SP
171052012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17106 Carlos O'Donell <carlos_odonell@mentor.com>
17107
17108 * nss/makedb.c (is_prime): Assert that input is odd and greater
17109 than 4. Note that fact in a comment too.
17110 (next_prime): Add 4 to input.
17111
de2fd463
SP
171122012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17113
17114 [BZ #11741]
17115 * libio/Makefile (tests): Add test case tst-fwrite-error.
17116 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17117 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17118 * libio/tst-fwrite-error.c: New test case.
17119
c515fb51
L
171202012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17121
17122 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17123 before casting to void *.
17124 * include/libc-internal.h (__pointer_type): New macro.
17125 (__integer_if_pointer_type_sub): Likewise.
17126 (__integer_if_pointer_type): Likewise.
17127 (cast_to_integer): Likewise.
17128 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17129 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17130 before casting to atomic64_t.
17131 (atomic_exchange_acq): Likewise.
17132 (__arch_exchange_and_add_body): Likewise.
17133 (__arch_add_body): Likewise.
17134 (atomic_add_negative): Likewise.
17135 (atomic_add_zero): Likewise.
17136
4cf77aa9
JM
171372012-11-26 Joseph Myers <joseph@codesourcery.com>
17138
17139 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17140 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17141 (add_fdes): Likewise.
17142 (linear_search_fdes): Likewise.
17143 (binary_search_unencoded_fdes): Likewise.
17144
d260b3b4
AS
171452012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17146
17147 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17148
67060746
AC
171492012-11-24 Adam Conrad <adconrad@0c3.net>
17150
17151 * configure.in: Autodetect C++ header directories.
17152 * configure: Regenerated.
17153
800938a1
MF
171542012-11-23 Mike Frysinger <vapier@gentoo.org>
17155
17156 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17157
4e6e34e6
AS
171582012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17159
17160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17161
7c7feb47
JM
171622012-11-22 Joseph Myers <joseph@codesourcery.com>
17163
7184dcdf
JM
17164 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17165 LDBL_MANT_DIG == 106]: Disable some tests.
17166 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17167 Likewise.
17168 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17169 Likewise.
17170
0a42601f
JM
17171 [BZ #14871]
17172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17173 input for small inputs. Return +/- pi/2 for large inputs.
17174 * math/libm-test.inc (atan_test): Add more tests.
17175
79c9b9fe
JM
17176 * sysdeps/generic/unwind-dw2-fde-glibc.c
17177 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17178 __attribute__ ((unused)).
17179
c60d3bf2
JM
17180 [BZ #14645]
17181 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17182 x * y if x and y are nonzero and z is zero.
17183
ef1e0867
JM
17184 [BZ #14811]
17185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17186 nonzero exponents with absolute value below 0x1p-117 to +/-
17187 0x1p-117.
17188
1468ded3
JM
17189 [BZ #14869]
17190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17191 up arguments below 2**-450, not just those below 2**-500.
17192 * math/libm-test.inc (hypot_test): Add another test.
17193
8e27e3cc
JM
17194 [BZ #14868]
17195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17196 Return a+b for ratio over 2**120, not 2**60.
17197 * math/libm-test.inc (hypot_test): Add another test.
17198
c9c0279b
JM
17199 * math/libm-test.inc (clog_test): Use
17200 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17201 (clog10_test): Likewise.
17202
7c7feb47
JM
17203 [BZ #6778]
17204 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17205
fff1530e
AS
172062012-11-22 Andreas Schwab <schwab@suse.de>
17207
17208 * sysdeps/i386/fpu/libm-test-ulps: Update.
17209
94558d30
PT
172102012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17211
17212 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17213 printf output with newline.
17214
7e1be741
L
172152012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17216
6bfea974
L
17217 [BZ #14865]
17218 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17219 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17220 -z nodlopen, -z initfirst and -z execstack support.
17221 * configure: Regenerated.
17222
7e1be741
L
17223 * elf/elf.h (DF_1_NODIRECT): New macro.
17224 (DF_1_IGNMULDEF): Likewise.
17225 (DF_1_NOKSYMS): Likewise.
17226 (DF_1_NOHDR): Likewise.
17227 (DF_1_EDITED): Likewise.
17228 (DF_1_NORELOC): Likewise.
17229 (DF_1_SYMINTPOSE): Likewise.
17230 (DF_1_GLOBAUDIT): Likewise.
17231 (DF_1_SINGLETON): Likewise.
17232 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17233 DT_1_SUPPORTED_MASK bits.
17234 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17235
105ce2ce
CD
172362012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17237
17238 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17239
123be9de
TS
172402012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17241
d072f3f7
TS
17242 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17243 macro.
17244
123be9de
TS
17245 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17246 (sendmmsg): Move declarations...
17247 * socket/sys/socket.h: ... here.
17248 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17249 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17250 include it from...
17251 * socket/recvmmsg.c: ... this new file.
17252 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17253 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17254 definition of __sendmmsg hidden.
17255 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17256 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17257 Move ENOSYS stub into and include it from...
17258 * socket/sendmmsg.c: ... this new file.
17259 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17260 (sysdep_routines): Move recvmmsg and sendmmsg...
17261 * socket/Makefile (routines): ... here.
17262 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17263 (GLIBC_PRIVATE): Add __sendmmsg.
17264 * include/sys/socket.h (__sendmmsg): Add declarations.
17265 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17266 sendmmsg.
17267
cf9a5d18
JM
172682012-11-20 Joseph Myers <joseph@codesourcery.com>
17269
17270 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17271 variable I1 with __attribute__ ((unused)).
17272 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17273
ecd4caf9
JM
172742012-11-19 Joseph Myers <joseph@codesourcery.com>
17275
be14d48f
JM
17276 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17277 DUMMY variables with __attribute__ ((unused)).
17278
ecd4caf9
JM
17279 * bits/byteswap.h: Include <bits/types.h>.
17280 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17281
986cab95
PT
172822012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17283
17284 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17285 string_t. Do not manually set errno.
17286 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17287 length with __strnlen. Make sure to both set errno and return it on
17288 failure.
17289
6d33cc9d
DM
172902012-11-19 David S. Miller <davem@davemloft.net>
17291
17292 With help from Joseph Myers.
17293 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17294 very large arguments properly.
17295 * math/libm-test.inc (atan_test): New tests.
17296 (atan2_test): New tests.
17297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17299
ee663277
JM
173002012-11-19 Joseph Myers <joseph@codesourcery.com>
17301
877f2d8e
JM
17302 [BZ #14856]
17303 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17304 Define to 3.
17305
116fc08a
JM
17306 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17307 [POSIX] (EADDRNOTAVAIL): Likewise.
17308 [POSIX] (EAFNOSUPPORT): Likewise.
17309 [POSIX] (EALREADY): Likewise.
17310 [POSIX] (ECONNABORTED): Likewise.
17311 [POSIX] (ECONNREFUSED): Likewise.
17312 [POSIX] (ECONNRESET): Likewise.
17313 [POSIX] (EDESTADDRREQ): Likewise.
17314 [POSIX] (EDQUOT): Likewise.
17315 [POSIX] (EHOSTUNREACH): Likewise.
17316 [POSIX] (EIDRM): Likewise.
17317 [POSIX] (EISCONN): Likewise.
17318 [POSIX] (ELOOP): Likewise.
17319 [POSIX] (EMULTIHOP): Likewise.
17320 [POSIX] (ENETDOWN): Likewise.
17321 [POSIX] (ENETUNREACH): Likewise.
17322 [POSIX] (ENOBUFS): Likewise.
17323 [POSIX] (ENODATA): Likewise.
17324 [POSIX] (ENOLINK): Likewise.
17325 [POSIX] (ENOMSG): Likewise.
17326 [POSIX] (ENOPROTOOPT): Likewise.
17327 [POSIX] (ENOSR): Likewise.
17328 [POSIX] (ENOSTR): Likewise.
17329 [POSIX] (ENOTCONN): Likewise.
17330 [POSIX] (ENOTSOCK): Likewise.
17331 [POSIX] (EOPNOTSUPP): Likewise.
17332 [POSIX] (EOVERFLOW): Likewise.
17333 [POSIX] (EPROTO): Likewise.
17334 [POSIX] (EPROTONOSUPPORT): Likewise.
17335 [POSIX] (EPROTOTYPE): Likewise.
17336 [POSIX] (ESTALE): Likewise.
17337 [POSIX] (ETIME): Likewise.
17338 [POSIX] (ETXTBSY): Likewise.
17339 [POSIX] (EWOULDBLOCK): Likewise.
17340 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17341 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17342 [POSIX] (SEEK_CUR): Likewise.
17343 [POSIX] (SEEK_END): Likewise.
17344 [POSIX || UNIX98] (mode_t): Do not require.
17345 [POSIX] (off_t): Likewise.
17346 [POSIX] (pid_t): Likewise.
17347 [POSIX] (sys/stat.h): Do not allow header.
17348 [POSIX] (unistd.h): Likewise.
17349 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17350 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17351 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17352 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17353 require.
17354 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17355 sigevent): Specify elements.
17356 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17357 entry.
17358 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17359 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17360
a483863f
JM
17361 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17362 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17363 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17364 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17365 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17366 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17367 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17368 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17369 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17370 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17371 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17372 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17373 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17374 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17375 Likewise.
17376 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17377 Likewise.
17378 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17379 Likewise.
17380 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17381 Likewise.
17382 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17383 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17384 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17385 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17386 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17387 Specify lower bound on value.
17388 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17389 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17390 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17391 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17392 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17393 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17394 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17395 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17396 value.
17397 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17398 as optional.
17399 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17400 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17401 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17402 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17403 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17404 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17405 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17406 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17407 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17408 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17409 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17410 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17411 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17412 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17413 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17414 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17415 entry.
17416 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17417 optional.
17418 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17419 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17420 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17421 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17422 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17423 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17424 Likewise.
17425 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17426 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17427 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17428 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17429 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17430 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17431 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17432 as optional.
17433 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17434 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17435 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17436 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17437 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17438 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17439 specify as optional.
17440 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17441 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17442 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17443 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17444 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17445 [XPG3] (NL_LANGMAX): Likewise.
17446 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17447 [POSIX || XPG3] (NL_NMAX): Likewise.
17448 [POSIX || XPG3] (NL_SETMAX): Likewise.
17449 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17450 [XPG3] (NZERO): Likewise.
17451 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17452 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17453 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17454 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17455 (REG_ERANGE): Expect.
17456 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17457 optional-constant.
17458 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17459 Use (void) in prototype.
17460 [POSIX] (*_t): Allow.
17461 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17462 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17463 (WRDE_BADVAL): Expect.
17464
5ba924e3
JM
17465 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17466 expect.
17467 [XPG3 || XPG4] (O_RSYNC): Likewise.
17468 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17469 Likewise.
17470 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17471 [XPG3 || XPG4] (sigqueue): Likewise.
17472 [XPG3 || XPG4] (sigtimedwait): Likewise.
17473 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17474 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17475 [XPG3 || XPG4] (vsnprintf): Likewise.
17476 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17477 Likewise.
17478 [XPG3 || XPG4] (blksize_t): Likewise.
17479 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17480 Likewise.
17481 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17482 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17483 [XPG3 || XPG4] (struct itimerspec): Likewise.
17484 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17485 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17486 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17487 [XPG3 || XPG4] (clockid_t): Likewise.
17488 [XPG3 || XPG4] (timer_t): Likewise.
17489 [XPG3 || XPG4] (clock_getres): Likewise.
17490 [XPG3 || XPG4] (clock_gettime): Likewise.
17491 [XPG3 || XPG4] (clock_settime): Likewise.
17492 [XPG3 || XPG4] (nanosleep): Likewise.
17493 [XPG3 || XPG4] (timer_create): Likewise.
17494 [XPG3 || XPG4] (timer_delete): Likewise.
17495 [XPG3 || XPG4] (timer_gettime): Likewise.
17496 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17497 [XPG3 || XPG4] (timer_settime): Likewise.
17498 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17499 [XPG3 || XPG4] (getlogin_r): Likewise.
17500 [XPG3 || XPG4] (pread): Likewise.
17501 [XPG3 || XPG4] (pthread_atfork): Likewise.
17502 [XPG3 || XPG4] (pwrite): Likewise.
17503
ee663277
JM
17504 [BZ #14835]
17505 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17506 <bits/siginfo.h>.
17507
942caa16
PT
175082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17509
e19af380
PT
17510 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17511 finalizing MALLSTREAM.
17512
942caa16
PT
17513 * sysdeps/mach/hurd/syncfs.c: New file.
17514
cfde9b46
SP
175152012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17516
17517 [BZ #14719]
17518 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17519 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17520 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17521 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17522 (_nss_dns_gethostbyname4_r): Likewise.
17523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17524 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17525
f6da27e5
PH
175262012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17527
17528 [BZ #13763]
17529 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17530
6665d4a2
SM
175312012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17532
1f51ee92
SM
17533 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17534 * elf/cache.c (print_entry): Print ",AArch64" for
17535 FLAG_AARCH64_LIB64
17536
6665d4a2
SM
17537 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17538 * elf/cache.c (print_entry): Print ",hard-float" for
17539 FLAG_ARM_LIBHF.
17540
05b227bd
DM
175412012-11-18 David S. Miller <davem@davemloft.net>
17542
17543 With help from Joseph Myers.
17544 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17545 cutoff to 2**-13.
17546 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17547 cutoff to 2**-25.
17548 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17549 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17550 small.
17551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17552 * math/libm-test.inc (y0_test): New tests.
17553 (y1_test): New tests.
17554 * sysdeps/i386/fpu/libm-test-ulps: Update.
17555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17557
786b0b67
AS
175582012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17559
17560 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17561 64-bit targets.
17562 * configure: Regenerated.
17563
8e18b86d
DM
175642012-11-17 David S. Miller <davem@davemloft.net>
17565
17566 [BZ #14811]
17567 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17568 nonzero exponents with absolute value below 0x1p-128 to +/-
17569 0x1p-128.
17570
531f1ae0
JM
175712012-11-17 Joseph Myers <joseph@codesourcery.com>
17572
12df29e2
JM
17573 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17574
150dc1a0
JM
17575 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17576
531f1ae0
JM
17577 * posix/getconf-speclist.c: New file.
17578 * posix/posix-envs.def: Likewise.
17579 * posix/confstr.c (START_ENV_GROUP): New macro.
17580 (END_ENV_GROUP): Likewise.
17581 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17582 (KNOWN_PRESENT_ENV_STRING): Likewise.
17583 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17584 (UNKNOWN_ENVIRONMENT): Likewise.
17585 (confstr): Include posix-envs.def instead of handling
17586 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17587 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17588 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17589 (END_ENV_GROUP): Likewise.
17590 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17591 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17592 (UNKNOWN_ENVIRONMENT): Likewise.
17593 (__sysconf): Include posix-envs.def instead of handling associated
17594 cases directly here.
17595 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17596 preprocessing getconf-speclist.c rather than running getconf or
17597 generating empty file.
17598
a93f9cbc
PT
175992012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17600
17601 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17602
d64d9f87
AL
176032012-11-16 Andrej Lajovic <natrij@gmail.com>
17604
17605 [BZ #14672]
17606 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17607
447885eb
DM
176082012-11-16 David S. Miller <davem@davemloft.net>
17609
17610 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17611 smaller than LDBL_EPSILON/2.0L, just return xm1.
17612
bcbf9830
L
176132012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * elf/tst-array1.c (init): Set constructor priority to 1000.
17616 (fini): Set destructor priority to 1000.
17617 * elf/tst-array2dep.c: Likewise.
17618
2b766585
SP
176192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17620
17621 [BZ #11741]
17622 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17623 (_IO_new_file_xsputn): Also return EOF if none of the input
17624 data was written when overflow failed.
17625 * libio/iopadn.c (_IO_padn): Likewise.
17626 * libio/iowpadn.c (_IO_wpadn): Likewise.
17627 * stdio-common/tst-put-error.c: Add copyright notice.
17628 (do_test): Add case for printing padded string.
17629 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17630 _IO_padn returned error.
17631 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17632 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17633 return EOF.
17634
b1848fde
SP
176352012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17636
17637 * libio/libioP.h: Add comment note that the references to C++
17638 bits are now obsolete.
17639
2fd89785
MS
176402012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17641
17642 * math/libm-test.inc (check_complex): Use asprintf.
17643
e3ea5409
JM
176442012-11-14 Joseph Myers <joseph@codesourcery.com>
17645
17646 * debug/pcprofiledump.c (print_version): Update copyright year.
17647 * malloc/memusagestat.c (print_version): Likewise.
17648
2e64d265
L
176492012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17650
17651 [BZ #14831]
17652 * elf/Makefile (tests): Add tst-audit8.
17653 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17654 ($(objpfx)tst-audit8.out): New target.
17655 (tst-audit8-ENV): New variable.
17656 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17657 audit if l_reloc_result is NULL.
17658 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17659 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17660 * elf/tst-audit8.c: New file.
17661
c485e4d2
MS
176622012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17663
17664 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17665 * misc/Makefile (CFLAGS-select.c): Define.
17666 * posix/Makefile (CFLAGS-pause.c): Define.
17667
3a0d900a
DM
176682012-11-13 David S. Miller <davem@davemloft.net>
17669
17670 * crypt/Makefile: Move test targets after toplevel Rules
17671 inclusion. Grab any necessary sysdep routines when linking.
17672 * crypt/md5.c (md5_process_block): Remove define, we will always
17673 name it __md5_process_block.
17674 (md5_finish_ctx): Update md5_process_block call.
17675 (md5_stream): Likewise.
17676 (md5_process_bytes): Likewise.
17677 (md5_process_block): Rename to __md5_process_block and move to ...
17678 * crypt/md5-block.c: ... here.
17679 * crypt/sha256.c (sha256_process_block): Move to ...
17680 * crypt/sha256-block.c: ... here.
17681 * crypt/sha512.c (sha512_process_block): Move to ...
17682 * crypt/sha512-block.c: ... here.
17683 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17684 path.
17685 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17686 * sysdeps/sparc/sparc64/multiarch/Makefile
17687 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17688 crypt subdir.
17689 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17690 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17691 multiarch changes.
17692 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17693 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17694 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17695 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17696 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17697 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17698 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17699 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17700 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17701 file.
17702 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17703 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17704 file.
17705 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17706
8ca89318
JM
177072012-11-13 Joseph Myers <joseph@codesourcery.com>
17708
e27d476a
JM
17709 * timezone/tzselect.ksh: Update from tzcode git revision
17710 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17711 * timezone/zdump.c: Likewise.
17712 * timezone/zic.c: Likewise.
17713 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17714 in TZVERSION setting, not $(PKGVERSION).
17715 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17716 REPORT_BUGS_TO settings.
17717
8ca89318
JM
17718 [BZ #14838]
17719 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17720 macro.
17721
47594329
MS
177222012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17723
17724 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17725 detection to immediately after _FP_ROUND().
17726 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17727 bits are 0.
17728
640ac3f1
DM
177292012-11-11 David S. Miller <davem@davemloft.net>
17730
17731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17732 inttypes.h
17733 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17734 __close rather than their public counterparts.
17735
3d2577bb
JM
177362012-11-10 Joseph Myers <joseph@codesourcery.com>
17737
17738 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17739 file.
17740 [UNIX98] (sem_timedwait): Do not expect.
17741 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17742 [XPG4 || UNIX98] (sockatmark): Do not expect.
17743 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17744 (clock_getcpuclockid): Do not expect.
17745 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17746 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17747 Do not expect.
17748 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17749 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17750 [UNIX98] (vwscanf): Likewise.
17751 [UNIX98] (vswscanf): Likewise.
17752
fb1ae1ee
JM
177532012-11-09 Joseph Myers <joseph@codesourcery.com>
17754
9ec6f8bd
JM
17755 * timezone/version.h: Remove file.
17756 * timezone/README: Do not refer to version.h.
17757 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17758 $(objpfx)version.h.
17759 ($(objpfx)zdump.o): Likewise.
c3f81911 17760 ($(objpfx)version.h): New target.
9ec6f8bd 17761
0aa8f8a1
JM
17762 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17763 2012i.
17764 * timezone/README: Don't mention modification to tzselect.ksh.
17765 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17766 work on unmodified tzselect.ksh. Substitute version numbers in
17767 tzselect.ksh.
17768
4e87147f
JM
17769 * Makefile (format-me): Remove.
17770 (INSTALL): Adjust indentation. Use commands directly instead of
17771 using $(format-me).
17772
8b748aed
JM
17773 * aclocal.m4 (ACX_PKGVERSION): New macro.
17774 (ACX_BUGURL): Likewise.
17775 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17776 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17777 (REPORT_BUGS_TO): Likewise.
17778 * configure: Regenerated.
17779 * config.h.in (PKGVERSION): New macro.
17780 (REPORT_BUGS_TO): Likewise.
17781 * config.make.in (PKGVERSION): New variable.
17782 (PKGVERSION_TEXI): Likewise.
17783 (REPORT_BUGS_TO): Likewise.
17784 (REPORT_BUGS_TEXI): Likewise.
17785 * Makefile (format-me): Use -I$(common-objpfx)manual.
17786 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17787 ($(common-objpfx)manual/%): New target.
17788 (manual/%): Remove target.
17789 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17790 (print_version): Use PKGVERSION.
17791 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17792 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17793 and REPORT_BUGS_TO.
17794 ($(objpfx)xtrace): Likewise.
17795 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17796 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17797 (print_version): Use PKGVERSION.
17798 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17799 (do_version): Use PKGVERSION.
17800 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17801 REPORT_BUGS_TO.
17802 (common-ldd-rewrite): Likewise.
17803 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17804 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17805 (print_version): Use PKGVERSION.
17806 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17807 * elf/pldd.c (argp_program_bug_address): Remove variable.
17808 (more_help): New function.
17809 (argp): Use more_help.
17810 (print_version): Use PKGVERSION.
17811 * elf/sln.c (main): Use PKGVERSION.
17812 (usage): Use REPORT_BUGS_TO.
17813 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17814 (top level): Use PKGVERSION.
17815 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17816 (print_version): Use PKGVERSION.
17817 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17818 (print_version): Use PKGVERSION.
17819 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17820 (print_version): Use PKGVERSION.
17821 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17822 (print_version): Use PKGVERSION.
17823 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17824 (print_version): Use PKGVERSION.
17825 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17826 (print_version): Use PKGVERSION.
17827 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17828 and BUGURL.
17829 ($(objpfx)memusage): Likewise.
17830 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17831 (do_version): Use PKGVERSION.
17832 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17833 (print_version): Use PKGVERSION.
17834 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17835 ($PKGVERSION): New variable.
17836 ($REPORT_BUGS_TO): Likewise.
17837 (usage): Use $REPORT_BUGS_TO.
17838 (top level): Use $PKGVERSION.
17839 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17840 ($(objpfx)pkgvers.texi): New rule.
17841 ($(objpfx)stamp-pkgvers): Likewise.
17842 * manual/install.texi: Include pkgvers.texi.
17843 (--with-pkgversion): Document new configure option.
17844 (--with-bugurl): Likewise.
17845 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17846 than necessarily for this particular distribution. Use
17847 REPORT_BUGS_TO for where to report bugs.
17848 * INSTALL: Regenerated.
17849 * manual/libc.texinfo: Include pkgvers.texi.
17850 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17851 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17852 (print_version): Use PKGVERSION.
17853 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17854 (print_version): Use PKGVERSION.
17855 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17856 (print_version): Use PKGVERSION.
17857 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17858 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17859 macro.
17860 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17861 (print_version): Use PKGVERSION.
17862 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17863 (print_version): Use PKGVERSION.
17864 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17865 and PKGVERSION.
17866
92e4b6a9
JM
17867 * timezone/checktab.awk: Update from tzcode 2012i.
17868 * timezone/ialloc.c: Likewise.
17869 * timezone/private.h: Likewise.
17870 * timezone/scheck.c: Likewise.
17871 * timezone/tzfile.h: Likewise.
17872 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17873 (TZVERSION): Hardcode tzcode version number.
17874 * timezone/zdump.c: Update from tzcode 2012i.
17875 * timezone/zic.c: Likewise.
17876 * timezone/version.h: New file.
17877 * timezone/README: Describe version.h. Update upstream location.
17878
9bde902c
JM
17879 [BZ #14824]
17880 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17881 (mktemp): Enable declaration.
17882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17886 Likewise.
17887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17888 Likewise.
17889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17890 Likewise.
17891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17892 Likewise.
17893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17894 Likewise.
17895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17896 Likewise.
17897
fb1ae1ee
JM
17898 [BZ #14821]
17899 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17900 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17901 for copies of such integer values.
17902 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17903 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17904
2c1adbcb
AJ
179052012-11-09 Andreas Jaeger <aj@suse.de>
17906
17907 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17908 definitions and declarations that are provided by
17909 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17910
d0f8457e
AK
179112012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17912
3a235abb 17913 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17914 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17915 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17916 definition.
17917
57241e26
MS
179182012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17919
17920 * elf/elf.h: Update comment before AArch64 relocations.
17921
60e8270d
DM
179222012-11-07 David S. Miller <davem@davemloft.net>
17923
17924 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17925 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17926 (__start_context): Declare.
17927 (__makecontext_ret): Delete.
17928 (__makecontext): Hook up __start_context instead of
17929 __makecontext_ret.
17930 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17931 (sysdep_routines): Add __start_context when in stdlib.
17932
0fbb0fbc
JM
179332012-11-07 Joseph Myers <joseph@codesourcery.com>
17934
17935 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17936 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17937 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17938 hardcoded "nm".
17939 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17940 (READELF): New variable. Use it instead of hardcoded "readelf".
17941
eb48db7e
L
179422012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17943
17944 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17945 * sysdeps/x86/Makefile: Here.
17946 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17947 * sysdeps/x86/tst-xmmymm.sh: This.
17948
05bcf62a
JM
179492012-11-07 Joseph Myers <joseph@codesourcery.com>
17950
c4b6cf53
JM
17951 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17952 expectations.
17953 [UNIX98] (pthread_barrier_t): Do not expect.
17954 [UNIX98] (pthread_barrierattr_t): Likewise.
17955 [UNIX98] (pthread_spinlock_t): Likewise.
17956 [UNIX98] (pthread_barrier_destroy): Likewise.
17957 [UNIX98] (pthread_barrier_init): Likewise.
17958 [UNIX98] (pthread_barrier_wait): Likewise.
17959 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17960 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17961 [UNIX98] (pthread_barrierattr_init): Likewise.
17962 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17963 [UNIX98] (pthread_getcpuclockid): Likewise.
17964 [UNIX98] (pthread_mutex_timedlock): Likewise.
17965 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17966 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17967 [UNIX98] (pthread_sigmask): Likewise.
17968 [UNIX98] (pthread_spin_destroy): Likewise.
17969 [UNIX98] (pthread_spin_init): Likewise.
17970 [UNIX98] (pthread_spin_lock): Likewise.
17971 [UNIX98] (pthread_spin_trylock): Likewise.
17972 [UNIX98] (pthread_spin_unlock): Likewise.
17973 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17974 Do not expect.
17975 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17977 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17978 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17979 [XPG3 || XPG4] (pthread_key_t): Likewise.
17980 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17981 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17982 [XPG3 || XPG4] (pthread_once_t): Likewise.
17983 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17984 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17986 [XPG3 || XPG4] (pthread_t): Likewise.
17987
cbe6e120
JM
17988 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17989 not expect.
17990 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17991
1b126443
JM
17992 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17993 Change function return type to int.
17994
b961a573
JM
17995 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17996 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17997 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17998 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17999 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18000 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18001 [!POSIX] (posix_madvise): Likewise.
18002 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18003 && !UNIX98].
18004 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18005 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18006 (mode_t): Likewise.
18007 (posix_mem_offset): Likewise.
18008 (posix_typed_mem_get_info): Likewise.
18009 (posix_typed_mem_open): Likewise.
18010
9e188909
JM
18011 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18012 Change condition to [XOPEN2K8].
18013
05bcf62a
JM
18014 * conform/conformtest.pl: Preprocess allow-header data with -x c
18015 instead of from stdin.
18016 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18017 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18018 [C99-based standards] (cerfc): Likewise.
18019 [C99-based standards] (cexp2): Likewise.
18020 [C99-based standards] (cexpm1): Likewise.
18021 [C99-based standards] (clog10): Likewise.
18022 [C99-based standards] (clog1p): Likewise.
18023 [C99-based standards] (clog2): Likewise.
18024 [C99-based standards] (clgamma): Likewise.
18025 [C99-based standards] (ctgamma): Likewise.
18026 [C99-based standards] (cerff): Likewise.
18027 [C99-based standards] (cerfcf): Likewise.
18028 [C99-based standards] (cexp2f): Likewise.
18029 [C99-based standards] (cexpm1f): Likewise.
18030 [C99-based standards] (clog10f): Likewise.
18031 [C99-based standards] (clog1pf): Likewise.
18032 [C99-based standards] (clog2f): Likewise.
18033 [C99-based standards] (clgammaf): Likewise.
18034 [C99-based standards] (ctgammaf): Likewise.
18035 [C99-based standards] (cerfl): Likewise.
18036 [C99-based standards] (cerfcl): Likewise.
18037 [C99-based standards] (cexp2l): Likewise.
18038 [C99-based standards] (cexpm1l): Likewise.
18039 [C99-based standards] (clog10l): Likewise.
18040 [C99-based standards] (clog1pl): Likewise.
18041 [C99-based standards] (clog2l): Likewise.
18042 [C99-based standards] (clgammal): Likewise.
18043 [C99-based standards] (ctgammal): Likewise.
18044 * conform/data/inttypes.h-data [C99-based standards]: Include
18045 stdint.h-data. Remove all expectations for stdint.h contents.
18046 [C99-based standards] (PRI*): Do not allow.
18047 [C99-based standards] (SCN*): Likewise.
18048 [C99-based standards] (*_t): Likewise.
18049 [C99-based-standards] (PRId8): Expect macro.
18050 [C99-based-standards] (PRIi8): Likewise.
18051 [C99-based-standards] (PRIo8): Likewise.
18052 [C99-based-standards] (PRIu8): Likewise.
18053 [C99-based-standards] (PRIx8): Likewise.
18054 [C99-based-standards] (PRIX8): Likewise.
18055 [C99-based-standards] (SCNd8): Likewise.
18056 [C99-based-standards] (SCNi8): Likewise.
18057 [C99-based-standards] (SCNo8): Likewise.
18058 [C99-based-standards] (SCNu8): Likewise.
18059 [C99-based-standards] (SCNx8): Likewise.
18060 [C99-based-standards] (PRIdLEAST8): Likewise.
18061 [C99-based-standards] (PRIiLEAST8): Likewise.
18062 [C99-based-standards] (PRIoLEAST8): Likewise.
18063 [C99-based-standards] (PRIuLEAST8): Likewise.
18064 [C99-based-standards] (PRIxLEAST8): Likewise.
18065 [C99-based-standards] (PRIXLEAST8): Likewise.
18066 [C99-based-standards] (SCNdLEAST8): Likewise.
18067 [C99-based-standards] (SCNiLEAST8): Likewise.
18068 [C99-based-standards] (SCNoLEAST8): Likewise.
18069 [C99-based-standards] (SCNuLEAST8): Likewise.
18070 [C99-based-standards] (SCNxLEAST8): Likewise.
18071 [C99-based-standards] (PRIdFAST8): Likewise.
18072 [C99-based-standards] (PRIiFAST8): Likewise.
18073 [C99-based-standards] (PRIoFAST8): Likewise.
18074 [C99-based-standards] (PRIuFAST8): Likewise.
18075 [C99-based-standards] (PRIxFAST8): Likewise.
18076 [C99-based-standards] (PRIXFAST8): Likewise.
18077 [C99-based-standards] (SCNdFAST8): Likewise.
18078 [C99-based-standards] (SCNiFAST8): Likewise.
18079 [C99-based-standards] (SCNoFAST8): Likewise.
18080 [C99-based-standards] (SCNuFAST8): Likewise.
18081 [C99-based-standards] (SCNxFAST8): Likewise.
18082 [C99-based-standards] (PRId16): Likewise.
18083 [C99-based-standards] (PRIi16): Likewise.
18084 [C99-based-standards] (PRIo16): Likewise.
18085 [C99-based-standards] (PRIu16): Likewise.
18086 [C99-based-standards] (PRIx16): Likewise.
18087 [C99-based-standards] (PRIX16): Likewise.
18088 [C99-based-standards] (SCNd16): Likewise.
18089 [C99-based-standards] (SCNi16): Likewise.
18090 [C99-based-standards] (SCNo16): Likewise.
18091 [C99-based-standards] (SCNu16): Likewise.
18092 [C99-based-standards] (SCNx16): Likewise.
18093 [C99-based-standards] (PRIdLEAST16): Likewise.
18094 [C99-based-standards] (PRIiLEAST16): Likewise.
18095 [C99-based-standards] (PRIoLEAST16): Likewise.
18096 [C99-based-standards] (PRIuLEAST16): Likewise.
18097 [C99-based-standards] (PRIxLEAST16): Likewise.
18098 [C99-based-standards] (PRIXLEAST16): Likewise.
18099 [C99-based-standards] (SCNdLEAST16): Likewise.
18100 [C99-based-standards] (SCNiLEAST16): Likewise.
18101 [C99-based-standards] (SCNoLEAST16): Likewise.
18102 [C99-based-standards] (SCNuLEAST16): Likewise.
18103 [C99-based-standards] (SCNxLEAST16): Likewise.
18104 [C99-based-standards] (PRIdFAST16): Likewise.
18105 [C99-based-standards] (PRIiFAST16): Likewise.
18106 [C99-based-standards] (PRIoFAST16): Likewise.
18107 [C99-based-standards] (PRIuFAST16): Likewise.
18108 [C99-based-standards] (PRIxFAST16): Likewise.
18109 [C99-based-standards] (PRIXFAST16): Likewise.
18110 [C99-based-standards] (SCNdFAST16): Likewise.
18111 [C99-based-standards] (SCNiFAST16): Likewise.
18112 [C99-based-standards] (SCNoFAST16): Likewise.
18113 [C99-based-standards] (SCNuFAST16): Likewise.
18114 [C99-based-standards] (SCNxFAST16): Likewise.
18115 [C99-based-standards] (PRId32): Likewise.
18116 [C99-based-standards] (PRIi32): Likewise.
18117 [C99-based-standards] (PRIo32): Likewise.
18118 [C99-based-standards] (PRIu32): Likewise.
18119 [C99-based-standards] (PRIx32): Likewise.
18120 [C99-based-standards] (PRIX32): Likewise.
18121 [C99-based-standards] (SCNd32): Likewise.
18122 [C99-based-standards] (SCNi32): Likewise.
18123 [C99-based-standards] (SCNo32): Likewise.
18124 [C99-based-standards] (SCNu32): Likewise.
18125 [C99-based-standards] (SCNx32): Likewise.
18126 [C99-based-standards] (PRIdLEAST32): Likewise.
18127 [C99-based-standards] (PRIiLEAST32): Likewise.
18128 [C99-based-standards] (PRIoLEAST32): Likewise.
18129 [C99-based-standards] (PRIuLEAST32): Likewise.
18130 [C99-based-standards] (PRIxLEAST32): Likewise.
18131 [C99-based-standards] (PRIXLEAST32): Likewise.
18132 [C99-based-standards] (SCNdLEAST32): Likewise.
18133 [C99-based-standards] (SCNiLEAST32): Likewise.
18134 [C99-based-standards] (SCNoLEAST32): Likewise.
18135 [C99-based-standards] (SCNuLEAST32): Likewise.
18136 [C99-based-standards] (SCNxLEAST32): Likewise.
18137 [C99-based-standards] (PRIdFAST32): Likewise.
18138 [C99-based-standards] (PRIiFAST32): Likewise.
18139 [C99-based-standards] (PRIoFAST32): Likewise.
18140 [C99-based-standards] (PRIuFAST32): Likewise.
18141 [C99-based-standards] (PRIxFAST32): Likewise.
18142 [C99-based-standards] (PRIXFAST32): Likewise.
18143 [C99-based-standards] (SCNdFAST32): Likewise.
18144 [C99-based-standards] (SCNiFAST32): Likewise.
18145 [C99-based-standards] (SCNoFAST32): Likewise.
18146 [C99-based-standards] (SCNuFAST32): Likewise.
18147 [C99-based-standards] (SCNxFAST32): Likewise.
18148 [C99-based-standards] (PRId64): Likewise.
18149 [C99-based-standards] (PRIi64): Likewise.
18150 [C99-based-standards] (PRIo64): Likewise.
18151 [C99-based-standards] (PRIu64): Likewise.
18152 [C99-based-standards] (PRIx64): Likewise.
18153 [C99-based-standards] (PRIX64): Likewise.
18154 [C99-based-standards] (SCNd64): Likewise.
18155 [C99-based-standards] (SCNi64): Likewise.
18156 [C99-based-standards] (SCNo64): Likewise.
18157 [C99-based-standards] (SCNu64): Likewise.
18158 [C99-based-standards] (SCNx64): Likewise.
18159 [C99-based-standards] (PRIdLEAST64): Likewise.
18160 [C99-based-standards] (PRIiLEAST64): Likewise.
18161 [C99-based-standards] (PRIoLEAST64): Likewise.
18162 [C99-based-standards] (PRIuLEAST64): Likewise.
18163 [C99-based-standards] (PRIxLEAST64): Likewise.
18164 [C99-based-standards] (PRIXLEAST64): Likewise.
18165 [C99-based-standards] (SCNdLEAST64): Likewise.
18166 [C99-based-standards] (SCNiLEAST64): Likewise.
18167 [C99-based-standards] (SCNoLEAST64): Likewise.
18168 [C99-based-standards] (SCNuLEAST64): Likewise.
18169 [C99-based-standards] (SCNxLEAST64): Likewise.
18170 [C99-based-standards] (PRIdFAST64): Likewise.
18171 [C99-based-standards] (PRIiFAST64): Likewise.
18172 [C99-based-standards] (PRIoFAST64): Likewise.
18173 [C99-based-standards] (PRIuFAST64): Likewise.
18174 [C99-based-standards] (PRIxFAST64): Likewise.
18175 [C99-based-standards] (PRIXFAST64): Likewise.
18176 [C99-based-standards] (SCNdFAST64): Likewise.
18177 [C99-based-standards] (SCNiFAST64): Likewise.
18178 [C99-based-standards] (SCNoFAST64): Likewise.
18179 [C99-based-standards] (SCNuFAST64): Likewise.
18180 [C99-based-standards] (SCNxFAST64): Likewise.
18181 [C99-based-standards] (PRIdMAX): Likewise.
18182 [C99-based-standards] (PRIiMAX): Likewise.
18183 [C99-based-standards] (PRIoMAX): Likewise.
18184 [C99-based-standards] (PRIuMAX): Likewise.
18185 [C99-based-standards] (PRIxMAX): Likewise.
18186 [C99-based-standards] (PRIXMAX): Likewise.
18187 [C99-based-standards] (SCNdMAX): Likewise.
18188 [C99-based-standards] (SCNiMAX): Likewise.
18189 [C99-based-standards] (SCNoMAX): Likewise.
18190 [C99-based-standards] (SCNuMAX): Likewise.
18191 [C99-based-standards] (SCNxMAX): Likewise.
18192 [C99-based-standards] (PRIdPTR): Likewise.
18193 [C99-based-standards] (PRIiPTR): Likewise.
18194 [C99-based-standards] (PRIoPTR): Likewise.
18195 [C99-based-standards] (PRIuPTR): Likewise.
18196 [C99-based-standards] (PRIxPTR): Likewise.
18197 [C99-based-standards] (PRIXPTR): Likewise.
18198 [C99-based-standards] (SCNdPTR): Likewise.
18199 [C99-based-standards] (SCNiPTR): Likewise.
18200 [C99-based-standards] (SCNoPTR): Likewise.
18201 [C99-based-standards] (SCNuPTR): Likewise.
18202 [C99-based-standards] (SCNxPTR): Likewise.
18203 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18204 allow.
18205 * conform/data/stdint.h-data: Update comments to clarify
18206 requirements.
18207 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18208 type.
18209 [C99-based standards] (INT8_MAX): Likewise.
18210 [C99-based standards] (INT16_MIN): Likewise.
18211 [C99-based standards] (INT16_MAX): Likewise.
18212 [C99-based standards] (INT32_MIN): Likewise.
18213 [C99-based standards] (INT32_MAX): Likewise.
18214 [C99-based standards] (INT64_MIN): Likewise.
18215 [C99-based standards] (INT64_MAX): Likewise.
18216 [C99-based standards] (UINT8_MAX): Likewise.
18217 [C99-based standards] (UINT16_MAX): Likewise.
18218 [C99-based standards] (UINT32_MAX): Likewise.
18219 [C99-based standards] (UINT64_MAX): Likewise.
18220 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18221 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18222 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18223 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18224 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18225 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18226 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18227 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18228 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18229 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18230 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18231 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18232 [C99-based standards] (INT_FAST8_MIN): Likewise.
18233 [C99-based standards] (INT_FAST8_MAX): Likewise.
18234 [C99-based standards] (INT_FAST16_MIN): Likewise.
18235 [C99-based standards] (INT_FAST16_MAX): Likewise.
18236 [C99-based standards] (INT_FAST32_MIN): Likewise.
18237 [C99-based standards] (INT_FAST32_MAX): Likewise.
18238 [C99-based standards] (INT_FAST64_MIN): Likewise.
18239 [C99-based standards] (INT_FAST64_MAX): Likewise.
18240 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18241 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18242 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18243 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18244 [C99-based standards] (INTPTR_MIN): Likewise.
18245 [C99-based standards] (INTPTR_MAX): Likewise.
18246 [C99-based standards] (UINTPTR_MAX): Likewise.
18247 [C99-based standards] (INTMAX_MIN): Likewise.
18248 [C99-based standards] (INTMAX_MAX): Likewise.
18249 [C99-based standards] (UINTMAX_MAX): Likewise.
18250 [C99-based standards] (PTRDIFF_MIN): Likewise.
18251 [C99-based standards] (PTRDIFF_MAX): Likewise.
18252 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18253 [C99-based standards] (SIZE_MAX): Likewise.
18254 [C99-based standards] (WCHAR_MAX): Likewise.
18255 [C99-based standards] (WINT_MAX): Likewise.
18256 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18257 constraint on value.
18258 [C99-based standards] (WCHAR_MIN): Likewise.
18259 [C99-based standards] (WINT_MIN): Likewise.
18260 [C99-based standards] (*_t): Allow.
18261 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18262 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18263 Include math.h-data and complex.h-data. Remove all expectations
18264 of math.h and complex.h contents.
18265 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18266 at end of line.
18267 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18268 (struct tm): Expect tag.
18269 [C99-based-standards] (wcstof): Expect function.
18270 [C99-based-standards] (wcstold): Likewise.
18271 [C99-based-standards] (wcstoll): Likewise.
18272 [C99-based-standards] (wcstoull): Likewise.
18273 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18274 macro-int-constant. Specify type.
18275 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18276 constraint on value.
18277 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18278 Specify type.
18279 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18280 Specify value.
18281 [ISO C standards]: Do not allow headers.
18282 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18283 wcs[abcdefghijklmnopqrstuvwxyz]*.
18284 [ISO C standards] (*_t): Do not allow.
18285 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18286 Expect function.
18287 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18288 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18289 Specify type.
18290 [ISO C standards]: Do not allow headers.
18291 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18292 is[abcdefghijklmnopqrstuvwxyz]*.
18293 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18294 to[abcdefghijklmnopqrstuvwxyz]*.
18295 [ISO C standards] (*_t): Do not allow.
18296 * conform/data/stdalign.h-data: New file.
18297 * conform/data/stdbool.h-data: Likewise.
18298 * conform/data/stdnoreturn.h-data: Likewise.
18299
7514feb8
RM
183002012-11-07 Roland McGrath <roland@hack.frob.com>
18301
18302 [BZ #14815]
18303 * manual/filesys.texi (Directory Entries): Typo fix.
18304 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18305
19b2ecfc
MS
183062012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18307
18308 * elf/elf.h (EM_AARCH64): New macro.
18309 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18310 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18311 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18312 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18313 (R_AARCH64_TLSDESC): Likewise.
18314 (NT_ARM_TLS): Likewise.
18315 (NT_ARM_HW_BREAK): Likewise.
18316 (NT_ARM_HW_WATCH): Likewise.
18317
60e235ee
JM
183182012-11-07 Joseph Myers <joseph@codesourcery.com>
18319
18320 [BZ #14811]
18321 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18322 (__ieee754_powl): Saturate nonzero exponents with absolute value
18323 below 0x1p-79 to +/- 0x1p-79.
18324 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18325 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18326 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18327 nonzero exponents with absolute value below 0x1p-32 to +/-
18328 0x1p-32.
18329 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18330 (__ieee754_powl): Saturate nonzero exponents with absolute value
18331 below 0x1p-79 to +/- 0x1p-79.
18332 * math/libm-test.inc (pow_test): Add more tests.
18333
0ab234b7
AK
183342012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18335
18336 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18337 _dl_s390_cap_flags with kernel. Increase string length.
18338 (_dl_s390_platforms): Add z196 and zEC12.
18339
45832f74
JM
183402012-11-07 Joseph Myers <joseph@codesourcery.com>
18341
18342 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18343 Change XOPEN21K to XOPEN2K.
18344
19218757
MK
183452012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18346
18347 * string/memmove.c: Use memcpy when possible.
18348
c5f45721
AJ
183492012-11-06 Andreas Jaeger <aj@suse.de>
18350
18351 * po/eo.po: Update from translation team.
18352
82477c28
JM
183532012-11-06 Joseph Myers <joseph@codesourcery.com>
18354
18355 [BZ #14793]
18356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18357 exponent and small x and y exponents, scale x or y up. Increase
18358 by 2 the exponent used in scaling up.
18359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18361 * math/libm-test.inc (fma_test): Add more tests.
18362 (fma_test_towardzero): Likewise.
18363 (fma_test_downward): Likewise.
18364 (fma_test_upward): Likewise.
18365
99252c8c
JM
183662012-11-05 Joseph Myers <joseph@codesourcery.com>
18367
acfa885f
JM
18368 [BZ #14805]
18369 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18370 fenv_t *.
18371
99252c8c
JM
18372 [BZ #14801]
18373 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18374 namespace for names of struct fields.
18375 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18376 fenv_t fields.
18377 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18378 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18379
d6d98dea
ST
183802012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18381
18382 [BZ #3665]
18383 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18384
e10bb107
TS
183852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18386
18387 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18388 PTR_DEMANGLE.
18389
18390 [BZ #5246]
18391 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18392 PTR_DEMANGLE.
18393
a0c2940d
JM
183942012-11-04 Joseph Myers <joseph@codesourcery.com>
18395
18396 [BZ #14797]
18397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18398 definitely overflow as x * y not x * y + z.
18399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18401 * math/libm-test.inc (fma_test): Add more tests.
18402 (fma_test_towardzero): Likewise.
18403 (fma_test_downward): Likewise.
18404 (fma_test_upward): Likewise.
18405
b830319d
TS
184062012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18407
18408 [BZ #157]
18409
18410 * include/stub-tag.h: Remove file.
18411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18412 '#include' of it.
18413 * manual/maint.texi (Porting): Don't reference it.
18414 * Makerules ($(objpfx)stubs): Likewise.
18415 * dirent/closedir.c: Don't include <stub-tag.h>.
18416 * dirent/dirfd.c: Likewise.
18417 * dirent/fdopendir.c: Likewise.
18418 * dirent/getdents.c: Likewise.
18419 * dirent/getdents64.c: Likewise.
18420 * dirent/opendir.c: Likewise.
18421 * dirent/readdir.c: Likewise.
18422 * dirent/readdir64.c: Likewise.
18423 * dirent/readdir64_r.c: Likewise.
18424 * dirent/readdir_r.c: Likewise.
18425 * dirent/rewinddir.c: Likewise.
18426 * dirent/seekdir.c: Likewise.
18427 * dirent/telldir.c: Likewise.
18428 * gmon/profil.c: Likewise.
18429 * grp/setgroups.c: Likewise.
18430 * inet/if_index.c: Likewise.
18431 * io/access.c: Likewise.
18432 * io/chdir.c: Likewise.
18433 * io/chmod.c: Likewise.
18434 * io/chown.c: Likewise.
18435 * io/close.c: Likewise.
18436 * io/dup.c: Likewise.
18437 * io/dup2.c: Likewise.
18438 * io/dup3.c: Likewise.
18439 * io/euidaccess.c: Likewise.
18440 * io/faccessat.c: Likewise.
18441 * io/fchdir.c: Likewise.
18442 * io/fchmod.c: Likewise.
18443 * io/fchmodat.c: Likewise.
18444 * io/fchown.c: Likewise.
18445 * io/fchownat.c: Likewise.
18446 * io/fcntl.c: Likewise.
18447 * io/flock.c: Likewise.
18448 * io/fstatfs.c: Likewise.
18449 * io/fstatfs64.c: Likewise.
18450 * io/fstatvfs.c: Likewise.
18451 * io/fstatvfs64.c: Likewise.
18452 * io/futimens.c: Likewise.
18453 * io/fxstat.c: Likewise.
18454 * io/fxstat64.c: Likewise.
18455 * io/fxstatat.c: Likewise.
18456 * io/fxstatat64.c: Likewise.
18457 * io/getcwd.c: Likewise.
18458 * io/isatty.c: Likewise.
18459 * io/lchmod.c: Likewise.
18460 * io/lchown.c: Likewise.
18461 * io/link.c: Likewise.
18462 * io/linkat.c: Likewise.
18463 * io/lseek.c: Likewise.
18464 * io/lseek64.c: Likewise.
18465 * io/lxstat64.c: Likewise.
18466 * io/mkdir.c: Likewise.
18467 * io/mkdirat.c: Likewise.
18468 * io/mkfifo.c: Likewise.
18469 * io/mkfifoat.c: Likewise.
18470 * io/open.c: Likewise.
18471 * io/open64.c: Likewise.
18472 * io/openat.c: Likewise.
18473 * io/openat64.c: Likewise.
18474 * io/pipe.c: Likewise.
18475 * io/pipe2.c: Likewise.
18476 * io/poll.c: Likewise.
18477 * io/posix_fadvise.c: Likewise.
18478 * io/posix_fadvise64.c: Likewise.
18479 * io/posix_fallocate.c: Likewise.
18480 * io/posix_fallocate64.c: Likewise.
18481 * io/read.c: Likewise.
18482 * io/readlink.c: Likewise.
18483 * io/readlinkat.c: Likewise.
18484 * io/rmdir.c: Likewise.
18485 * io/sendfile.c: Likewise.
18486 * io/sendfile64.c: Likewise.
18487 * io/statfs.c: Likewise.
18488 * io/statfs64.c: Likewise.
18489 * io/statvfs.c: Likewise.
18490 * io/statvfs64.c: Likewise.
18491 * io/symlink.c: Likewise.
18492 * io/symlinkat.c: Likewise.
18493 * io/ttyname.c: Likewise.
18494 * io/ttyname_r.c: Likewise.
18495 * io/umask.c: Likewise.
18496 * io/unlink.c: Likewise.
18497 * io/unlinkat.c: Likewise.
18498 * io/utime.c: Likewise.
18499 * io/utimensat.c: Likewise.
18500 * io/write.c: Likewise.
18501 * io/xmknod.c: Likewise.
18502 * io/xmknodat.c: Likewise.
18503 * io/xstat.c: Likewise.
18504 * io/xstat64.c: Likewise.
18505 * login/getpt.c: Likewise.
18506 * login/grantpt.c: Likewise.
18507 * login/unlockpt.c: Likewise.
18508 * math/e_acoshl.c: Likewise.
18509 * math/e_acosl.c: Likewise.
18510 * math/e_asinl.c: Likewise.
18511 * math/e_atan2l.c: Likewise.
18512 * math/e_atanhl.c: Likewise.
18513 * math/e_coshl.c: Likewise.
18514 * math/e_expl.c: Likewise.
18515 * math/e_fmodl.c: Likewise.
18516 * math/e_gammal_r.c: Likewise.
18517 * math/e_hypotl.c: Likewise.
18518 * math/e_j0l.c: Likewise.
18519 * math/e_j1l.c: Likewise.
18520 * math/e_jnl.c: Likewise.
18521 * math/e_lgammal_r.c: Likewise.
18522 * math/e_log10l.c: Likewise.
18523 * math/e_log2l.c: Likewise.
18524 * math/e_logl.c: Likewise.
18525 * math/e_powl.c: Likewise.
18526 * math/e_rem_pio2l.c: Likewise.
18527 * math/e_sinhl.c: Likewise.
18528 * math/e_sqrtl.c: Likewise.
18529 * math/fclrexcpt.c: Likewise.
18530 * math/fedisblxcpt.c: Likewise.
18531 * math/feenablxcpt.c: Likewise.
18532 * math/fegetenv.c: Likewise.
18533 * math/fegetexcept.c: Likewise.
18534 * math/fegetround.c: Likewise.
18535 * math/feholdexcpt.c: Likewise.
18536 * math/fesetenv.c: Likewise.
18537 * math/fesetround.c: Likewise.
18538 * math/feupdateenv.c: Likewise.
18539 * math/fgetexcptflg.c: Likewise.
18540 * math/fraiseexcpt.c: Likewise.
18541 * math/fsetexcptflg.c: Likewise.
18542 * math/ftestexcept.c: Likewise.
18543 * math/k_cosl.c: Likewise.
18544 * math/k_rem_pio2l.c: Likewise.
18545 * math/k_sinl.c: Likewise.
18546 * math/k_tanl.c: Likewise.
18547 * math/s_asinhl.c: Likewise.
18548 * math/s_atanl.c: Likewise.
18549 * math/s_cbrtl.c: Likewise.
18550 * math/s_erfl.c: Likewise.
18551 * math/s_expm1l.c: Likewise.
18552 * math/s_log1pl.c: Likewise.
18553 * math/s_tanhl.c: Likewise.
18554 * misc/acct.c: Likewise.
18555 * misc/brk.c: Likewise.
18556 * misc/chflags.c: Likewise.
18557 * misc/chroot.c: Likewise.
18558 * misc/fchflags.c: Likewise.
18559 * misc/fgetxattr.c: Likewise.
18560 * misc/flistxattr.c: Likewise.
18561 * misc/fremovexattr.c: Likewise.
18562 * misc/fsetxattr.c: Likewise.
18563 * misc/fsync.c: Likewise.
18564 * misc/ftruncate.c: Likewise.
18565 * misc/futimes.c: Likewise.
18566 * misc/futimesat.c: Likewise.
18567 * misc/getdomain.c: Likewise.
18568 * misc/getdtsz.c: Likewise.
18569 * misc/gethostid.c: Likewise.
18570 * misc/gethostname.c: Likewise.
18571 * misc/getloadavg.c: Likewise.
18572 * misc/getpagesize.c: Likewise.
18573 * misc/getsysstats.c: Likewise.
18574 * misc/getxattr.c: Likewise.
18575 * misc/gtty.c: Likewise.
18576 * misc/ioctl.c: Likewise.
18577 * misc/lgetxattr.c: Likewise.
18578 * misc/listxattr.c: Likewise.
18579 * misc/llistxattr.c: Likewise.
18580 * misc/lremovexattr.c: Likewise.
18581 * misc/lsetxattr.c: Likewise.
18582 * misc/lutimes.c: Likewise.
18583 * misc/madvise.c: Likewise.
18584 * misc/mincore.c: Likewise.
18585 * misc/mlock.c: Likewise.
18586 * misc/mlockall.c: Likewise.
18587 * misc/mmap.c: Likewise.
18588 * misc/mprotect.c: Likewise.
18589 * misc/msync.c: Likewise.
18590 * misc/munlock.c: Likewise.
18591 * misc/munlockall.c: Likewise.
18592 * misc/munmap.c: Likewise.
18593 * misc/preadv.c: Likewise.
18594 * misc/preadv64.c: Likewise.
18595 * misc/ptrace.c: Likewise.
18596 * misc/pwritev.c: Likewise.
18597 * misc/pwritev64.c: Likewise.
18598 * misc/readv.c: Likewise.
18599 * misc/reboot.c: Likewise.
18600 * misc/remap_file_pages.c: Likewise.
18601 * misc/removexattr.c: Likewise.
18602 * misc/revoke.c: Likewise.
18603 * misc/select.c: Likewise.
18604 * misc/setdomain.c: Likewise.
18605 * misc/setegid.c: Likewise.
18606 * misc/seteuid.c: Likewise.
18607 * misc/sethostid.c: Likewise.
18608 * misc/sethostname.c: Likewise.
18609 * misc/setregid.c: Likewise.
18610 * misc/setreuid.c: Likewise.
18611 * misc/setxattr.c: Likewise.
18612 * misc/sstk.c: Likewise.
18613 * misc/stty.c: Likewise.
18614 * misc/swapoff.c: Likewise.
18615 * misc/swapon.c: Likewise.
18616 * misc/sync.c: Likewise.
18617 * misc/syncfs.c: Likewise.
18618 * misc/syscall.c: Likewise.
18619 * misc/truncate.c: Likewise.
18620 * misc/ualarm.c: Likewise.
18621 * misc/usleep.c: Likewise.
18622 * misc/ustat.c: Likewise.
18623 * misc/utimes.c: Likewise.
18624 * misc/vhangup.c: Likewise.
18625 * misc/writev.c: Likewise.
18626 * posix/_exit.c: Likewise.
18627 * posix/alarm.c: Likewise.
18628 * posix/execve.c: Likewise.
18629 * posix/fexecve.c: Likewise.
18630 * posix/fork.c: Likewise.
18631 * posix/fpathconf.c: Likewise.
18632 * posix/getaddrinfo.c: Likewise.
18633 * posix/getegid.c: Likewise.
18634 * posix/geteuid.c: Likewise.
18635 * posix/getgid.c: Likewise.
18636 * posix/getgroups.c: Likewise.
18637 * posix/getlogin.c: Likewise.
18638 * posix/getlogin_r.c: Likewise.
18639 * posix/getpgid.c: Likewise.
18640 * posix/getpid.c: Likewise.
18641 * posix/getppid.c: Likewise.
18642 * posix/getresgid.c: Likewise.
18643 * posix/getresuid.c: Likewise.
18644 * posix/getsid.c: Likewise.
18645 * posix/getuid.c: Likewise.
18646 * posix/glob64.c: Likewise.
18647 * posix/nanosleep.c: Likewise.
18648 * posix/pathconf.c: Likewise.
18649 * posix/pause.c: Likewise.
18650 * posix/posix_madvise.c: Likewise.
18651 * posix/pread.c: Likewise.
18652 * posix/pread64.c: Likewise.
18653 * posix/pwrite.c: Likewise.
18654 * posix/pwrite64.c: Likewise.
18655 * posix/sched_getaffinity.c: Likewise.
18656 * posix/sched_getp.c: Likewise.
18657 * posix/sched_gets.c: Likewise.
18658 * posix/sched_primax.c: Likewise.
18659 * posix/sched_primin.c: Likewise.
18660 * posix/sched_rr_gi.c: Likewise.
18661 * posix/sched_setaffinity.c: Likewise.
18662 * posix/sched_setp.c: Likewise.
18663 * posix/sched_sets.c: Likewise.
18664 * posix/sched_yield.c: Likewise.
18665 * posix/setgid.c: Likewise.
18666 * posix/setlogin.c: Likewise.
18667 * posix/setpgid.c: Likewise.
18668 * posix/setresgid.c: Likewise.
18669 * posix/setresuid.c: Likewise.
18670 * posix/setsid.c: Likewise.
18671 * posix/setuid.c: Likewise.
18672 * posix/sleep.c: Likewise.
18673 * posix/spawni.c: Likewise.
18674 * posix/sysconf.c: Likewise.
18675 * posix/times.c: Likewise.
18676 * posix/wait.c: Likewise.
18677 * posix/wait3.c: Likewise.
18678 * posix/wait4.c: Likewise.
18679 * posix/waitpid.c: Likewise.
18680 * resolv/gai_sigqueue.c: Likewise.
18681 * resource/getpriority.c: Likewise.
18682 * resource/getrlimit.c: Likewise.
18683 * resource/getrusage.c: Likewise.
18684 * resource/nice.c: Likewise.
18685 * resource/setpriority.c: Likewise.
18686 * resource/setrlimit.c: Likewise.
18687 * resource/ulimit.c: Likewise.
18688 * rt/aio_cancel.c: Likewise.
18689 * rt/aio_fsync.c: Likewise.
18690 * rt/aio_read.c: Likewise.
18691 * rt/aio_sigqueue.c: Likewise.
18692 * rt/aio_suspend.c: Likewise.
18693 * rt/aio_write.c: Likewise.
18694 * rt/clock_getres.c: Likewise.
18695 * rt/clock_gettime.c: Likewise.
18696 * rt/clock_nanosleep.c: Likewise.
18697 * rt/clock_settime.c: Likewise.
18698 * rt/lio_listio.c: Likewise.
18699 * rt/mq_close.c: Likewise.
18700 * rt/mq_getattr.c: Likewise.
18701 * rt/mq_notify.c: Likewise.
18702 * rt/mq_open.c: Likewise.
18703 * rt/mq_receive.c: Likewise.
18704 * rt/mq_send.c: Likewise.
18705 * rt/mq_setattr.c: Likewise.
18706 * rt/mq_timedreceive.c: Likewise.
18707 * rt/mq_timedsend.c: Likewise.
18708 * rt/mq_unlink.c: Likewise.
18709 * rt/shm_open.c: Likewise.
18710 * rt/shm_unlink.c: Likewise.
18711 * rt/timer_create.c: Likewise.
18712 * rt/timer_delete.c: Likewise.
18713 * rt/timer_getoverr.c: Likewise.
18714 * rt/timer_gettime.c: Likewise.
18715 * rt/timer_settime.c: Likewise.
18716 * setjmp/__longjmp.c: Likewise.
18717 * setjmp/setjmp.c: Likewise.
18718 * signal/kill.c: Likewise.
18719 * signal/killpg.c: Likewise.
18720 * signal/raise.c: Likewise.
18721 * signal/sigaction.c: Likewise.
18722 * signal/sigaltstack.c: Likewise.
18723 * signal/sigblock.c: Likewise.
18724 * signal/sigignore.c: Likewise.
18725 * signal/sigintr.c: Likewise.
18726 * signal/signal.c: Likewise.
18727 * signal/sigpause.c: Likewise.
18728 * signal/sigpending.c: Likewise.
18729 * signal/sigqueue.c: Likewise.
18730 * signal/sigreturn.c: Likewise.
18731 * signal/sigset.c: Likewise.
18732 * signal/sigsetmask.c: Likewise.
18733 * signal/sigstack.c: Likewise.
18734 * signal/sigsuspend.c: Likewise.
18735 * signal/sigtimedwait.c: Likewise.
18736 * signal/sigvec.c: Likewise.
18737 * signal/sigwait.c: Likewise.
18738 * signal/sigwaitinfo.c: Likewise.
18739 * signal/sysv_signal.c: Likewise.
18740 * socket/accept.c: Likewise.
18741 * socket/accept4.c: Likewise.
18742 * socket/bind.c: Likewise.
18743 * socket/connect.c: Likewise.
18744 * socket/getpeername.c: Likewise.
18745 * socket/getsockname.c: Likewise.
18746 * socket/getsockopt.c: Likewise.
18747 * socket/isfdtype.c: Likewise.
18748 * socket/listen.c: Likewise.
18749 * socket/recv.c: Likewise.
18750 * socket/recvfrom.c: Likewise.
18751 * socket/recvmsg.c: Likewise.
18752 * socket/send.c: Likewise.
18753 * socket/sendmsg.c: Likewise.
18754 * socket/sendto.c: Likewise.
18755 * socket/setsockopt.c: Likewise.
18756 * socket/shutdown.c: Likewise.
18757 * socket/sockatmark.c: Likewise.
18758 * socket/socket.c: Likewise.
18759 * socket/socketpair.c: Likewise.
18760 * stdio-common/ctermid.c: Likewise.
18761 * stdio-common/cuserid.c: Likewise.
18762 * stdio-common/remove.c: Likewise.
18763 * stdio-common/rename.c: Likewise.
18764 * stdio-common/renameat.c: Likewise.
18765 * stdio-common/tempname.c: Likewise.
18766 * stdlib/getcontext.c: Likewise.
18767 * stdlib/makecontext.c: Likewise.
18768 * stdlib/setcontext.c: Likewise.
18769 * stdlib/swapcontext.c: Likewise.
18770 * stdlib/system.c: Likewise.
18771 * streams/fattach.c: Likewise.
18772 * streams/fdetach.c: Likewise.
18773 * streams/getmsg.c: Likewise.
18774 * streams/getpmsg.c: Likewise.
18775 * streams/putmsg.c: Likewise.
18776 * streams/putpmsg.c: Likewise.
18777 * sysdeps/unix/bsd/getpt.c: Likewise.
18778 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18779 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18780 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18782 Likewise.
18783 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18784 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18785 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18786 * sysvipc/msgctl.c: Likewise.
18787 * sysvipc/msgget.c: Likewise.
18788 * sysvipc/msgrcv.c: Likewise.
18789 * sysvipc/msgsnd.c: Likewise.
18790 * sysvipc/semctl.c: Likewise.
18791 * sysvipc/semget.c: Likewise.
18792 * sysvipc/semop.c: Likewise.
18793 * sysvipc/semtimedop.c: Likewise.
18794 * sysvipc/shmat.c: Likewise.
18795 * sysvipc/shmctl.c: Likewise.
18796 * sysvipc/shmdt.c: Likewise.
18797 * sysvipc/shmget.c: Likewise.
18798 * termios/tcdrain.c: Likewise.
18799 * termios/tcflow.c: Likewise.
18800 * termios/tcflush.c: Likewise.
18801 * termios/tcgetattr.c: Likewise.
18802 * termios/tcgetpgrp.c: Likewise.
18803 * termios/tcsendbrk.c: Likewise.
18804 * termios/tcsetattr.c: Likewise.
18805 * termios/tcsetpgrp.c: Likewise.
18806 * time/adjtime.c: Likewise.
18807 * time/clock.c: Likewise.
18808 * time/getitimer.c: Likewise.
18809 * time/gettimeofday.c: Likewise.
18810 * time/setitimer.c: Likewise.
18811 * time/settimeofday.c: Likewise.
18812 * time/stime.c: Likewise.
18813 * time/time.c: Likewise.
18814
188152012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18816
a20492cf
PT
18817 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18818 /usr/old/bin.
18819
72e182e3
PT
18820 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18821 instead of spaces.
18822 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18823
fbeafede
JM
188242012-11-03 Joseph Myers <joseph@codesourcery.com>
18825
5b5b04d6
JM
18826 [BZ #14796]
18827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18828 FE_TONEAREST before applying Dekker multiplication and Knuth
18829 addition. Clear inexact exceptions and check for exact zero
18830 results afterwards.
18831 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18832 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18834 * math/libm-test.inc (fma_test): Add more tests.
18835 (fma_test_towardzero): Likewise.
18836 (fma_test_downward): Likewise.
18837 (fma_test_upward): Likewise.
18838 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18839 function.
18840 (libc_fesetround): New macro.
18841 (libc_fesetroundf): Likewise.
18842 (libc_fesetroundl): Likewise.
18843 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18844 function.
18845 (libc_fesetround_387): Likewise.
18846 (libc_fesetroundf): New macro.
18847 (libc_fesetround): Likewise.
18848 (libc_fesetroundl): Likewise.
18849 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18850 function.
18851 (libc_fesetroundf): New macro.
18852 (libc_fesetround): Likewise.
18853 (libc_fesetroundl): Likewise.
18854 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18855 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18856 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18857 libm_hidden_ver.
18858 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18859 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18860 libm_hidden_def.
18861 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18862 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18863 libm_hidden_ver.
18864 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18865 libm_hidden_def.
18866
fbeafede
JM
18867 [BZ #3439]
18868 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18869 integer constant usable in #if and use that to give value to enum
18870 constant.
18871 (FE_DIVBYZERO): Likewise.
18872 (FE_UNDERFLOW): Likewise.
18873 (FE_OVERFLOW): Likewise.
18874 (FE_INVALID): Likewise.
18875 (FE_INVALID_SNAN): Likewise.
18876 (FE_INVALID_ISI): Likewise.
18877 (FE_INVALID_IDI): Likewise.
18878 (FE_INVALID_ZDZ): Likewise.
18879 (FE_INVALID_IMZ): Likewise.
18880 (FE_INVALID_COMPARE): Likewise.
18881 (FE_INVALID_SOFTWARE): Likewise.
18882 (FE_INVALID_SQRT): Likewise.
18883 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18884 (FE_TONEAREST): Likewise.
18885 (FE_TOWARDZERO): Likewise.
18886 (FE_UPWARD): Likewise.
18887 (FE_DOWNWARD): Likewise.
18888 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18889 (FE_DIVBYZERO): Likewise.
18890 (FE_OVERFLOW): Likewise.
18891 (FE_UNDERFLOW): Likewise.
18892 (FE_INEXACT): Likewise.
18893 (FE_TONEAREST): Likewise.
18894 (FE_DOWNWARD): Likewise.
18895 (FE_UPWARD): Likewise.
18896 (FE_TOWARDZERO): Likewise.
18897 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18898 (FE_UNDERFLOW): Likewise.
18899 (FE_OVERFLOW): Likewise.
18900 (FE_DIVBYZERO): Likewise.
18901 (FE_INVALID): Likewise.
18902 (FE_TONEAREST): Likewise.
18903 (FE_TOWARDZERO): Likewise.
18904 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18905 (FE_OVERFLOW): Likewise.
18906 (FE_UNDERFLOW): Likewise.
18907 (FE_DIVBYZERO): Likewise.
18908 (FE_INEXACT): Likewise.
18909 (FE_TONEAREST): Likewise.
18910 (FE_TOWARDZERO): Likewise.
18911 (FE_UPWARD): Likewise.
18912 (FE_DOWNWARD): Likewise.
18913 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18914 (FE_DIVBYZERO): Likewise.
18915 (FE_OVERFLOW): Likewise.
18916 (FE_UNDERFLOW): Likewise.
18917 (FE_INEXACT): Likewise.
18918 (FE_TONEAREST): Likewise.
18919 (FE_DOWNWARD): Likewise.
18920 (FE_UPWARD): Likewise.
18921 (FE_TOWARDZERO): Likewise.
18922
105ca950
CM
189232012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18924
18925 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18926
a542b389
AS
189272012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18928
18929 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18930 commands. Quote $PWD.
18931 (blacklist_exports): Don't use remove_newlines. Replace "declare
18932 -x" by "export".
18933 (remove_newlines): Remove.
18934
f62c8abc
L
189352012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18936
18937 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18938 * stdlib/stdlib.h (atof): Moved to ...
18939 * include/bits/stdlib-float.h: Here. New file.
18940 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18941 * stdlib/bits/stdlib-float.h: New file.
18942 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18943 -mno-sse -mno-mmx.
18944 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18945 <xmmintrin.h>.
18946
0155d5b2
JM
189472012-11-02 Joseph Myers <joseph@codesourcery.com>
18948
a68d0680
JM
18949 * conform/conformtest.pl (@headers): Add fenv.h.
18950 * conform/data/fenv.h-data: New file.
18951 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18952 include of <math/fenv.h>.
18953
caf7f573
JM
18954 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18955 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18956 && !UNIX98]. Enables tests for XOPEN2K8.
18957 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18958 POSIX2008]: Likewise.
18959
6c073ad6
JM
18960 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18961 (struct rusage): Do not expect type or its members.
18962
0155d5b2
JM
18963 [BZ #3439]
18964 * math/math.h (FP_NAN): Define macro to integer constant usable in
18965 #if and use that to give value to enum constant.
18966 (FP_INFINITE): Likewise.
18967 (FP_ZERO): Likewise.
18968 (FP_SUBNORMAL): Likewise.
18969 (FP_NORMAL): Likewise.
18970
b5dcacb4
AS
189712012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18972
18973 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18974 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18975 arguments.
18976
f7934be8
RM
189772012-11-02 Roland McGrath <roland@hack.frob.com>
18978
18979 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18980 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18981 autoconf-time if not.
18982 * configure.in: Remove AC_PREREQ.
18983
d7d08bde
TMQMF
189842012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18985
18986 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18987 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18988 of the internal implementation.
18989
dcdae19a
JM
189902012-11-02 Joseph Myers <joseph@codesourcery.com>
18991
18992 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18993 except include of <misc/sys/syslog.h>.
18994
d6cffd3e
AS
189952012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18996
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18998 function returns with a NULL context exit with zero.
18999
b3563932
TMQMF
190002012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19001
19002 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19003
b288a93d
L
190042012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19007 (run_program_cmd): This.
19008 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19009 (tst_langinfo): New variable. Use it.
19010
a2421a68
SAS
190112012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19012
19013 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19014 floating point opcodes.
19015
6f796e1b
TS
190162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19017
7402596b
TS
19018 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19019 variable.
19020
d0d4f868
TS
19021 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19022
6f796e1b
TS
19023 * sysdeps/mach/hurd/powerpc: Remove directory.
19024 * sysdeps/mach/powerpc: Likewise.
19025
4da224a2
AS
190262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19027
19028 * scripts/check-local-headers.sh: Ignore c++ headers.
19029
341dd673
TS
190302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19031
19032 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19033 __libc_cleanup_region_start argument.
19034
473611b2
JM
190352012-11-01 Joseph Myers <joseph@codesourcery.com>
19036
19037 [BZ #14784]
19038 [BZ #14785]
19039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19040 x * y using scaling, not as x * y + z.
19041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19043 * math/libm-test.inc (fma_test): Add more tests.
19044 (fma_test_towardzero): Likewise.
19045 (fma_test_downward): Likewise.
19046 (fma_test_upward): Likewise.
19047
4078da3d
TS
190482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19049
19050 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19051
903252aa
JM
190522012-10-31 Joseph Myers <joseph@codesourcery.com>
19053
19054 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19055 New variable.
19056
cbc818d0
TS
190572012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19058
19059 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19060
5a03cb1e
AS
190612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19062
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19064 Fix sort order.
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19066 Likewise.
19067
90aff2ff
TMQMF
190682012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19069
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19071 Fix the order of the list for glibc 2.17.
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19073 Likewise.
19074
1818fcb7
AS
190752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19076
19077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19078
ef82f4da
JM
190792012-10-31 Joseph Myers <joseph@codesourcery.com>
19080
16a0e2ec
JM
19081 [BZ #14610]
19082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19083 for low part of x being zero before using __atanl (y).
19084 * math/libm-test.inc (atan2_test): Add another test.
19085
0eb69512
JM
19086 * manual/install.texi (Configuring and compiling): Document
19087 general use of test-wrapper and test-wrapper-env.
19088 * INSTALL: Regenerated.
19089
ef82f4da
JM
19090 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19091 (__fma): Do not extract and scale down low bits on after-rounding
19092 systems when result rounded to normal precision would have normal
19093 exponent.
19094 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19095 (__fmal): Do not extract and scale down low bits on after-rounding
19096 systems when result rounded to normal precision would have normal
19097 exponent.
19098 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19099 (__fmal): Do not extract and scale down low bits on after-rounding
19100 systems when result rounded to normal precision would have normal
19101 exponent.
19102 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19103 macro.
19104 (fma_test): Add more tests.
19105 (fma_test_towardzero): Likewise.
19106 (fma_test_downward): Likewise.
19107 (fma_test_upward): Likewise.
19108
954ef0d9
L
191092012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * sysdeps/i386/tininess.h: Renamed to ...
19112 * sysdeps/x86/tininess.h: This.
19113 * sysdeps/x86_64/tininess.h: Removed.
19114
df61ffb2
JM
191152012-10-30 Joseph Myers <joseph@codesourcery.com>
19116
19117 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19118 input. Use $(build-program-cmd).
19119 ($(objpfx)tst-array1-static.out): Likewise.
19120 ($(objpfx)tst-array2.out): Likewise.
19121 ($(objpfx)tst-array3.out): Likewise.
19122 ($(objpfx)tst-array4.out): Likewise.
19123 ($(objpfx)tst-array5.out): Likewise.
19124 ($(objpfx)tst-array5-static.out): Likewise.
19125
01767843
CM
191262012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19127
47cc1490
CM
19128 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19129 if defined.
19130
01767843
CM
19131 * nss/nsswitch.h (nss_interface_function): Provide new
19132 macro for use with NSS functions.
19133 * grp/initgroups.c: Use new macro.
19134 * nss/getXXbyYY.c: Likewise.
19135 * nss/getXXbyYY_r.c: Likewise.
19136 * nss/getXXent.c: Likewise.
19137 * nss/getXXent_r.c: Likewise.
19138 * sysdeps/posix/getaddrinfo.c: Likewise.
19139
8321aa97
AJ
191402012-10-30 Andreas Jaeger <aj@suse.de>
19141
19142 * po/ru.po: Update Russion translation from translation project.
19143
2a27fd6d
JM
191442012-10-30 Joseph Myers <joseph@codesourcery.com>
19145
8627a232
JM
19146 [BZ #14152]
19147 [BZ #14783]
19148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19149 result and shift together with sticky bit instead of replicating
19150 round-to-nearest rounding.
19151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19153 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19154 missing underflow exceptions.
19155 (fma_test_towardzero): Add more tests.
19156 (fma_test_downward): Likewise.
19157 (fma_test_upward): Likewise.
19158
2a27fd6d
JM
19159 [BZ #14047]
19160 * sysdeps/generic/tininess.h: New file.
19161 * sysdeps/i386/tininess.h: Likewise.
19162 * sysdeps/sh/tininess.h: Likewise.
19163 * sysdeps/x86_64/tininess.h: Likewise.
19164 * stdlib/tst-strtod-underflow.c: Likewise.
19165 * stdlib/tst-tininess.c: Likewise.
19166 * stdlib/strtod_l.c: Include <tininess.h>.
19167 (round_and_return): Do not set errno for exact underflow cases.
19168 Force an underflow exception when setting errno for underflow.
19169 Determine underflow based on rounding to normal precision if
19170 TININESS_AFTER_ROUNDING.
19171 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19172 ERANGE for exact underflow cases.
19173 * stdlib/Makefile (tests): Add tst-tininess and
19174 tst-strtod-underflow.
19175 ($(objpfx)tst-tininess): Use $(link-libm).
19176 ($(objpfx)tst-strtod-underflow): Likewise.
19177
e7170363
AJ
191782012-10-30 Andreas Jaeger <aj@suse.de>
19179
e5088dc6
AJ
19180 [BZ#14767]
19181 * elf/Makefile (tests): Remove conditional for have-initfini-array
19182 since this is now always required and the variable does not exist
19183 anymore.
19184 (tests-static): Likewise.
19185 (modules-names): Likewise.
19186
e7170363 19187 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19188
19189 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19190 merged with constructor/destructor.
19191 (init_array): Likewise.
19192 * elf/tst-array2dep.c (fini_array): Likewise.
19193 (init_array): Likewise.
19194
60457d8a
MF
191952012-10-29 Mike Frysinger <vapier@gentoo.org>
19196
19197 * manual/message.texi: Delete @cartouche tags.
19198
8bece752
PT
191992012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19200
94ce799f
PT
19201 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19202 EOPNOTSUPP.
19203 * sysdeps/mach/hurd/fsync.c: Likewise.
19204
8bece752
PT
19205 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19206 [_POSIX_REALTIME_SIGNALS]: Change condition to
19207 [_POSIX_REALTIME_SIGNALS > 0].
19208
86ebe6b1
AJ
192092012-10-27 Andreas Jaeger <aj@suse.de>
19210
19211 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19212 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19214 [__WORDSIZE != 64]: Likewise.
19215
54399c08
L
192162012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19217
19218 * iconvdata/tst-table.sh: Remove ${SHELL}.
19219 * iconvdata/tst-tables.sh: Likewise.
19220
e2211bed
DM
192212012-10-25 David S. Miller <davem@davemloft.net>
19222
19223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19224 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19225 of strtoull.
19226
f303f97c
DM
19227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19228 ifunc-impl-list.c
19229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19230 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19231 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19232 file.
19233
1e9d84cd
RM
192342012-10-25 Roland McGrath <roland@hack.frob.com>
19235
19236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19237 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19238 __getdirentries.
19239
df381762
JM
192402012-10-25 Joseph Myers <joseph@codesourcery.com>
19241 Jim Blandy <jimb@codesourcery.com>
19242
19243 * scripts/cross-test-ssh.sh: New file.
19244 * manual/install.texi (Configuring and compiling): Document use of
19245 cross-test-ssh.sh.
19246 * INSTALL: Regenerated.
19247
bff64913
PT
192482012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19249
19250 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19251 EOPNOTSUPP.
19252
25fe8932
JM
192532012-10-25 Joseph Myers <joseph@codesourcery.com>
19254
19255 * Makeconfig (run-program-prefix): Fix comment.
19256
cc1290d0
JM
192572012-10-24 Joseph Myers <joseph@codesourcery.com>
19258 Jim Blandy <jimb@codesourcery.com>
19259
19260 * Makeconfig (test-wrapper): New variable,
19261 (test-wrapper-env): Likewise.
19262 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19263 (run-built-tests): Define to yes.
19264 (run-program-prefix): Use $(test-wrapper).
19265 (built-program-cmd): Likewise.
19266 * Rules (make-test-out): Use $(test-wrapper-env) and
19267 $(host-built-program-cmd).
19268 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19269 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19270 tst-pathopt.sh.
19271 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19272 $(test-wrapper-env) to tst-rtld-load-self.sh.
19273 ($(objpfx)order2.out): Use $(test-wrapper).
19274 ($(objpfx)tst-initorder.out): Likewise.
19275 ($(objpfx)tst-initorder2.out): Likewise.
19276 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19277 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19278 (test_wrapper_env): New variable. Use it to run ld.so.
19279 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19280 Use it to run ld.so.
19281 (test_wrapper_env): Likewise.
19282 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19283 $(test-wrapper) to run-iconv-test.sh.
19284 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19285 (ICONV): Use $test_wrapper.
19286 * posix/Makefile ($(objpfx)globtest.out): Pass
19287 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19288 globtest.sh, not $(run-program-prefix).
19289 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19290 (test_wrapper): Likewise.
19291 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19292 set together with run_via_rtld_prefix.
19293 (run_program_prefix): Define in terms of test_wrapper and
19294 run_via_rtld_prefix.
19295
6e6249d0
RM
192962012-10-24 Roland McGrath <roland@hack.frob.com>
19297
19298 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19299 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19300 Targets removed.
19301
19302 [BZ #14743]
19303 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19304 Declare __clock_getres, __clock_gettime, __clock_settime,
19305 __clock_nanosleep, and __clock_getcpuclockid.
19306 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19307 Remove librt_hidden_def (clock_gettime).
19308 * sysdeps/unix/clock_gettime.c: Likewise.
19309 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19310 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19311 * rt/clock_getres.c: Define __clock_getres as an alias.
19312 * sysdeps/posix/clock_getres.c: Likewise.
19313 * rt/clock_settime.c: Define __clock_settime as an alias.
19314 * sysdeps/unix/clock_settime.c: Likewise.
19315 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19316 * sysdeps/unix/clock_nanosleep.c: Likewise.
19317 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19318 * rt/clock-compat.c: New file.
19319 * rt/Makefile (librt-routines): Add clock-compat and move
19320 $(clock-routines) to ...
19321 (routines): ... here, new variable.
19322 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19323 Don't add get_clockfreq here.
19324 * rt/Versions (libc: GLIBC_2.17): New version set.
19325 Add clock_* symbols here.
19326 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19327 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19328 (GLIBC_2.17): Add clock_* symbols.
19329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19333 Likewise.
19334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19335 Likewise.
19336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19340 * NEWS: Mention the move.
19341
19342 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19343 Use __open, __read, __close rather than their public counterparts.
19344 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19345 (__get_clockfreq_via_cpuinfo): Likewise.
19346 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19347 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19348
19349 * config.h.in (HAVE_IFUNC): New #undef.
19350 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19351 was successful.
19352 * configure: Regenerated.
19353
0cae3f4b
MF
193542012-10-24 Mike Frysinger <vapier@gentoo.org>
19355
19356 * configure.in: Move READELF check to start of file.
19357 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19358 libc_cv_asm_gnu_indirect_function in the process.
19359 * configure: Regenerated.
19360
8175a253
MF
193612012-10-24 Mike Frysinger <vapier@gentoo.org>
19362
19363 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19364 send the output to /dev/null.
19365 (libc_cv_cc_with_libunwind): Likewise.
19366 (libc_cv_as_noexecstack): Likewise.
19367 * configure: Regenerate.
19368
0708a7d1
JM
193692012-10-24 Joseph Myers <joseph@codesourcery.com>
19370
10b40d85
JM
19371 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19372
0708a7d1
JM
19373 * posix/globtest.sh (TMPDIR): Do not set.
19374 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19375 (testout): Likewise.
19376
9fddec1a
AJ
193772012-10-24 Andreas Jaeger <aj@suse.de>
19378
3a8db22f
AJ
19379 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19380 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19381 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19382 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19383 posix_fadvise64, posix_fallocate64.
19384
9fddec1a
AJ
19385 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19386 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19387 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19388 Likewise.
19389 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19390 Likewise.
19391 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19392
19393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19394 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19395 <bits/fcntl-linux.h>.
19396 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19397
19398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19399 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19400 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19401 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19402 [__WORDSIZE != 64]: Likewise.
19403
ebfd1bbd
JM
194042012-10-23 Joseph Myers <joseph@codesourcery.com>
19405
03ac099f
JM
19406 * Makeconfig (run-built-tests): New variable.
19407 * Rules [$(cross-compiling) = yes]: Change condition to
19408 [$(run-built-tests) = no].
19409 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19410 to [$(run-built-tests) = yes].
19411 * elf/Makefile [$(cross-compiling) = no]: Likewise
19412 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19413 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19414 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19415 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19416 * io/Makefile [$(cross-compiling) = no]: Likewise.
19417 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19418 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19419 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19420 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19421 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19422 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19423 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19424 * string/Makefile [$(cross-compiling) = no]: Likewise.
19425
ebfd1bbd
JM
19426 * posix/Makefile ($(objpfx)globtest.out): Pass
19427 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19428 $(rtld-installed-name).
19429 * posix/globtest.sh (elf_objpfx): Remove variable.
19430 (rtld_installed_name): Likewise.
19431 (library_path): Likewise.
19432 (run_program_prefix): New variable. Use for running globtest
19433 binary.
19434
166bca24
JB
194352012-10-23 Jim Blandy <jimb@codesourcery.com>
19436 Joseph Myers <joseph@codesourcery.com>
19437
19438 * Makeconfig (host-built-program-cmd): New variable.
19439 * elf/Makefile (tst-stackguard1-ARGS): Use
19440 $(host-built-program-cmd).
19441 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19442 (tst-spawn-ARGS): Likewise.
19443 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19444
88866099
JM
194452012-10-23 Joseph Myers <joseph@codesourcery.com>
19446 Jim Blandy <jimb@codesourcery.com>
19447
19448 * Makeconfig (run-via-rtld-prefix): New variable.
19449 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19450 (built-program-cmd): Likewise.
19451
b4b4c296
AJ
194522012-10-22 Andreas Jaeger <aj@suse.de>
19453
19454 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19455 __O_RSYNC if it exists, otherwise to O_SYNC.
19456
6fb54a22
JB
194572012-10-22 Jim Blandy <jimb@codesourcery.com>
19458 Joseph Myers <joseph@codesourcery.com>
19459
19460 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19461 /dev/null.
19462 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19463 from /dev/null
19464 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19465 /dev/null.
19466
481b90b9
AJ
194672012-10-22 Andreas Jaeger <aj@suse.de>
19468
2a0e2669
AJ
19469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19470 Define always.
19471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19472
76e38f9a
AJ
19473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19474 bits/fcntl-linux.h.
19475
7cd37b43
AJ
19476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19477 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19478
481b90b9
AJ
19479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19480 to __O_LARGEFILE.
19481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19482 to __O_LARGEFILE.
19483
aba75984
JB
194842012-10-21 Jim Blandy <jimb@codesourcery.com>
19485 Joseph Myers <joseph@codesourcery.com>
19486
19487 * config.make.in (NM): New variable.
19488
88d4247f
AJ
194892012-10-21 Andreas Jaeger <aj@suse.de>
19490
19491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19492 definitions and declarations that are provided by
19493 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19494
f2eed205
L
194952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19496
19497 [BZ #14683]
19498 * elf/Makefile (tests-static): Add tst-leaks1-static.
19499 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19500 ($(objpfx)tst-leaks1-static): New rule.
19501 ($(objpfx)tst-leaks1-static-mem): Likewise.
19502 (tst-leaks1-static-ENV): New macro.
19503 * elf/dl-open.c (dl_open_worker): Check the main application
19504 only if SHARED is defined.
19505 * elf/tst-leaks1-static.c: New file.
19506
335e6931
AJ
195072012-10-20 Andreas Jaeger <aj@suse.de>
19508
19509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19510 generic values for Linux.
19511 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19512 and declarations that are provided by <bits/fcntl-linux.h> and
19513 include <bits/fcntl-linux.h>.
19514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19515 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19516
ac5c94d3
RM
195172012-10-20 Roland McGrath <roland@hack.frob.com>
19518
19519 * io/fcntl.h: Move include of <bits/types.h> to the top and
19520 include it unconditionally.
19521
de54b33a
L
195222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19523
228cfb01
L
19524 * wcsmbs/Makefile (tests-ifunc): New variable.
19525 (tests): Add $(tests-ifunc).
19526 * wcsmbs/test-wcschr-ifunc.c: New file.
19527 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19528 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19529 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19530 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19531 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19532
69f07e5f
L
19533 * string/Makefile (tests-ifunc): New variable.
19534 (tests): Add $(tests-ifunc).
19535 * string/test-memccpy.c (TEST_NAME): New macro.
19536 * string/test-memchr.c (TEST_NAME): Likewise.
19537 * string/test-memcmp.c (TEST_NAME): Likewise.
19538 * string/test-memcpy.c (TEST_NAME): Likewise.
19539 * string/test-memmem.c (TEST_NAME): Likewise.
19540 * string/test-memmove.c (TEST_NAME): Likewise.
19541 * string/test-memset.c (TEST_NAME): Likewise.
19542 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19543 * string/test-stpcpy.c (TEST_NAME): Likewise.
19544 * string/test-stpncpy.c (TEST_NAME): Likewise.
19545 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19546 * string/test-strcasestr.c (TEST_NAME): Likewise.
19547 * string/test-strcat.c (TEST_NAME): Likewise.
19548 * string/test-strchr.c (TEST_NAME): Likewise.
19549 * string/test-strcmp.c(TEST_NAME): Likewise.
19550 * string/test-strcpy.c (TEST_NAME): Likewise.
19551 * string/test-strcspn.c (TEST_NAME): Likewise.
19552 * string/test-strlen.c (TEST_NAME): Likewise.
19553 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19554 * string/test-strncmp.c (TEST_NAME): Likewise.
19555 * string/test-strncpy.c (TEST_NAME): Likewise.
19556 * string/test-strnlen.c (TEST_NAME): Likewise.
19557 * string/test-strpbrk.c (TEST_NAME): Likewise.
19558 * string/test-strrchr.c (TEST_NAME): Likewise.
19559 * string/test-strspn.c (TEST_NAME): Likewise.
19560 * string/test-strstr.c (TEST_NAME): Likewise.
19561 * string/test-bcopy-ifunc.c: New file.
19562 * string/test-bzero-ifunc.c: Likewise.
19563 * string/test-memccpy-ifunc.c: Likewise.
19564 * string/test-memchr-ifunc.c: Likewise.
19565 * string/test-memcmp-ifunc.c: Likewise.
19566 * string/test-memcpy-ifunc.c: Likewise.
19567 * string/test-memmem-ifunc.c: Likewise.
19568 * string/test-memmove-ifunc.c: Likewise.
19569 * string/test-mempcpy-ifunc.c: Likewise.
19570 * string/test-memset-ifunc.c: Likewise.
19571 * string/test-rawmemchr-ifunc.c: Likewise.
19572 * string/test-stpcpy-ifunc.c: Likewise.
19573 * string/test-stpncpy-ifunc.c: Likewise.
19574 * string/test-strcasecmp-ifunc.c: Likewise.
19575 * string/test-strcasestr-ifunc.c: Likewise.
19576 * string/test-strcat-ifunc.c: Likewise.
19577 * string/test-strchr-ifunc.c: Likewise.
19578 * string/test-strchrnul-ifunc.c: Likewise.
19579 * string/test-strcmp-ifunc.c: Likewise.
19580 * string/test-strcpy-ifunc.c: Likewise.
19581 * string/test-strcspn-ifunc.c: Likewise.
19582 * string/test-strlen-ifunc.c: Likewise.
19583 * string/test-strncasecmp-ifunc.c: Likewise.
19584 * string/test-strncat-ifunc.c: Likewise.
19585 * string/test-strncmp-ifunc.c: Likewise.
19586 * string/test-strncpy-ifunc.c: Likewise.
19587 * string/test-strnlen-ifunc.c: Likewise.
19588 * string/test-strpbrk-ifunc.c: Likewise.
19589 * string/test-strrchr-ifunc.c: Likewise.
19590 * string/test-strspn-ifunc.c: Likewise.
19591 * string/test-strstr-ifunc.c: Likewise.
19592
de54b33a
L
19593 * debug/Makefile (tests-ifunc): New variable.
19594 (tests): Add $(tests-ifunc).
19595 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19596 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19597 * debug/test-stpcpy_chk-ifunc.c: New file.
19598 * debug/test-strcpy_chk-ifunc.c: Likewise.
19599
88481c16
SP
196002012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19601
19602 [BZ #13601]
19603 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19604 header is not read in.
19605
135948bd
JM
196062012-10-19 Joseph Myers <joseph@codesourcery.com>
19607
89f1c388
JM
19608 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19609 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19610 directly. Pass built executable to script as
19611 $(built-program-cmd).
19612 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19613 $testprogram without using LD_LIBRARY_PATH and $ldso.
19614
e40a0d21
JM
19615 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19616 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19617 $(rtld-installed-name).
19618 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19619 (rtld_installed_name): Likewise.
19620 (library_path): Likewise.
19621 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19622 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19623 $(run-program-prefix) to tst-tables.sh.
19624 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19625 it to run tst-table-from and tst-table-to.
19626 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19627 Pass it to tst-table.sh.
19628 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19629 $(run-program-prefix) to tst-gettext.sh.
19630 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19631 tst-translit.sh.
19632 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19633 tst-gettext2.sh.
19634 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19635 to run tst-gettext.
19636 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19637 to run tst-gettext2.
19638 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19639 to run tst-translit.
19640 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19641 $(run-program-prefix) to tst-mtrace.sh.
19642 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19643 to run tst-mtrace.
19644 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19645 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19646 $(rtld-installed-name).
19647 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19648 (rtld_installed_name): Likewise.
19649 (run_program_prefix): New variable. Use it to run wordexp-test.
19650
728e272a
JM
19651 * Makeconfig (ARCH): Remove all definitions.
19652 (machine): Likewise.
19653 [ARCH]: Remove conditional code.
19654 [!objdir]: Give error.
19655 [!objdir] (objpfx): Remove.
19656 [!objdir] (common-objpfx): Likewise.
19657 [!objdir] (common-objdir): Likewise.
19658 * configure.in (config_makefile): Remove. Hardcode Makefile in
19659 AC_CONFIG_FILES call.
19660 * configure: Regenerated.
19661
d528cdcf
JM
19662 [BZ #13888]
19663 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19664 or TMPDIR.
19665 (testout): Likewise.
19666
135948bd
JM
19667 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19668 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19669 $(rtld-installed-name).
19670 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19671 (rtld_installed_name): Likwise.
19672 (runit): Remove function.
19673 (run_getconf): New variable, Use it for running getconf binary.
19674
38c78296
L
196752012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19676
19677 [BZ #14716]
19678 * string/test-memmem.c (check_result): New function.
19679 (do_one_test): Use it.
19680 (check1): New function.
19681 (test_main): Use it.
19682
d077f65f
MT
196832012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19684
19685 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19686
ced52c71
JM
196872012-10-18 Joseph Myers <joseph@codesourcery.com>
19688
19689 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19690 (_G_LSEEK64): Likewise.
19691 (_G_MMAP64): Likewise.
19692 (_G_FSTAT64): Likewise.
19693 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19694 (_G_LSEEK64): Likewise.
19695 (_G_MMAP64): Likewise.
19696 (_G_FSTAT64): Likewise.
19697 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19698 unconditional. Call __mmap64 directly.
19699 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19700 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19701 __lseek64 directly.
19702 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19703 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19704 __mmap64 directly.
19705 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19706 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19707 __lseek64 directly.
19708 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19709 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19710 __lseek64 directly.
19711 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19712 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19713 __lseek64 directly.
19714 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19715 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19716 __fxstat64 directly.
19717 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19718 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19719 unconditional.
19720 (freopen64) [!_G_OPEN64]: Remove conditional code.
19721 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19722 unconditional.
19723 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19724 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19725 unconditional.
19726 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19727 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19728 unconditional.
19729 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19730 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19731 unconditional.
19732 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19733 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19734 unconditional.
19735 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19736 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19737 unconditional.
19738 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19739 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19740 unconditional.
19741 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19742
b741de23
SP
197432012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19744
19745 [BZ #12140]
19746 * manual/memory.texi (Malloc Tunable Parameters): Add note
19747 about free list pointers overwriting some perturb bytes.
19748 Wording suggested by Roland McGrath.
19749
f9b9d9c9
JM
197502012-10-17 Joseph Myers <joseph@codesourcery.com>
19751
19752 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19753 (lgamma_test): Likewise.
19754 (tgamma_test): Likewise.
19755
172a631a
FW
197562012-10-16 Florian Weimer <fweimer@redhat.com>
19757
19758 [BZ #14700]
19759 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19760 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19761
e9f37252
MK
197622012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19763
19764 * NEWS: Mention BZ #14716.
19765 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19766 when removing AVAILABLE1_USES_J macro.
19767
d394eb74
L
197682012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19769
19770 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19771 (__bswap_64): __uint64_t for unsigned 64-bit int.
19772
ca38dc17
AS
197732012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19774
19775 * include/string.h (memmem): Declare libc hidden alias.
19776 * string/memmem.c (memmem): Define libc hidden alias.
19777 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19778 __read, __close instead of open, read, close.
19779
9a387d1f
L
197802012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19781
ac49ecaf
L
19782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19783 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19784 global and hidden.
19785 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19786 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19787 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19788 Likewise.
19789 (__rawmemchr_sse2): Likewise.
19790 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19791 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19792 (__strchr_sse2): Likewise.
19793 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19794 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19795 (__strcasecmp_sse2): Likewise.
19796 (__strncasecmp_sse2): Likewise.
19797 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19798 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19799 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19800 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19801 (__strrchr_sse2): Likewise.
19802 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19803 ifunc-impl-list.c.
19804 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19805 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19806 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19807 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19808 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19809 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19810 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19811 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19812 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19813 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19814 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19815 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19816 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19817 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19818 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19819 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19820 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19821 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19822 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19823 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19824 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19825 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19826 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19827 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19828 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19829 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19830 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19831 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19832 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19833 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19834
b090e8ea
L
19835 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19836 global and hidden.
19837 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19838 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19839 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19840 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19841 Likewise.
19842 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19843 Likewise.
19844 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19845 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19846 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19847 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19848 ifunc-impl-list.c.
19849 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19850 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19851 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19852 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19853 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19854 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19855 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19856 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19857 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19858 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19859 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19860 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19861 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19862 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19863 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19864 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19865 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19866 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19867 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19868 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19869 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19870 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19871 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19872 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19874 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19875 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19876 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19877 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19878 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19879 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19880 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19881 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19882 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19883 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19884 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19885 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19886 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19887 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19888 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19889 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19890
11dd4af6
L
19891 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19892 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19893 * include/ifunc-impl-list.h: New file.
19894 * misc/ifunc-impl-list.c: Likewise.
19895 * misc/Makefile (routines): Add ifunc-impl-list.
19896 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19897 * string/test-string.h: Include <ifunc-impl-list.h>.
19898 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19899 impl_array): New variables.
19900 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19901 are defined.
19902 (test_init): Call __libc_ifunc_impl_list to initialize
19903 func_list if TEST_IFUNC and TEST_NAME are defined.
19904
9a387d1f
L
19905 * string/Makefile (strop-tests): Add bcopy and bzero.
19906 * string/test-bcopy.c: New file.
19907 * string/test-bzero.c: Likewise.
19908 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19909 defined.
19910 * string/test-memset.c: Support bzero test if TEST_BZERO is
19911 defined.
19912 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19913 __libc_memmove.
19914 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19915 __libc_memset.
19916 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19917 of memset.
19918
472371b9
JM
199192012-10-10 Joseph Myers <joseph@codesourcery.com>
19920
1e4a9536
JM
19921 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19922 * configure: Regenerated.
19923
d173d12e
JM
19924 * Makeconfig (+link-static-before-libc): Don't include
19925 $(link-static-libc).
19926
472371b9
JM
19927 * libio/libio.h (_IO_pos_t): Remove.
19928
89a3ad0b
AO
199292012-10-10 Alexandre Oliva <aoliva@redhat.com>
19930
19931 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19932 McGrath.
19933
e7451425
AO
199342012-10-10 Alexandre Oliva <aoliva@redhat.com>
19935
19936 * crypt/crypt-entry.c: Include fips-private.h.
19937 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19938 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19939 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19940 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19941
4ba74a35
AO
199422012-10-10 Alexandre Oliva <aoliva@redhat.com>
19943
19944 * crypt/crypt-private.h: Include stdbool.h.
19945 (_ufc_setup_salt_r): Return bool.
19946 * crypt/crypt-entry.c: Include errno.h.
19947 (__crypt_r): Return NULL with EINVAL for bad salt.
19948 * crypt/crypt_util.c (bad_for_salt): New.
19949 (_ufc_setup_salt_r): Check that salt is long enough and within
19950 the specified alphabet.
19951 * crypt/badsalttest.c: New file.
19952 * crypt/Makefile (tests): Add it.
19953 ($(objpfx)badsalttest): New.
19954
f96f1242
MK
199552012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19956
19957 * NEWS: Add entry for BZ #14602.
19958
0e8e0c1c
JM
199592012-10-09 Joseph Myers <joseph@codesourcery.com>
19960
19961 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19962 type-generic.
19963 * math/libm-test.inc: Update comment listing what functions and
19964 macros are tested.
19965 (isgreater_test): New function.
19966 (isgreaterequal_test): Likewise.
19967 (isless_test): Likewise.
19968 (islessequal_test): Likewise.
19969 (islessgreater_test): Likewise.
19970 (isunordered_test): Likewise.
19971 (main): Call the new functions.
19972
273edc5e
RM
199732012-10-09 Roland McGrath <roland@hack.frob.com>
19974
b8493de0
RM
19975 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19976 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19977 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19978 * sysdeps/i386/configure: Regenerated.
19979 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19980 * sysdeps/mach/configure: Regenerated.
19981 * sysdeps/mach/hurd/configure: Regenerated.
19982 * sysdeps/powerpc/configure: Regenerated.
19983 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19984 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19985 * sysdeps/s390/s390-32/configure: Regenerated.
19986 * sysdeps/s390/s390-64/configure: Regenerated.
19987 * sysdeps/sh/configure: Regenerated.
19988 * sysdeps/sparc/configure: Regenerated.
19989 * sysdeps/unix/sysv/linux/configure: Regenerated.
19990 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19991 * sysdeps/x86_64/configure: Regenerated.
19992
273edc5e
RM
19993 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19994 defined. Don't check if MAP is NULL.
19995
c8450f70
JM
199962012-10-09 Joseph Myers <joseph@codesourcery.com>
19997
19998 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19999 (_G_stat64): Likewise.
20000 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20001 (_G_stat64): Likewise.
20002 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20003 instead of struct _G_stat64.
20004 * libio/fileops.c (mmap_remap_check): Likewise.
20005 (decide_maybe_mmap): Likewise.
20006 (_IO_new_file_seekoff): Likewise.
20007 (_IO_file_stat): Likewise.
20008 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20009 _G_off64_t.
20010 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20011 instead of struct _G_stat64.
20012 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20013
57e605ba
MK
200142012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20015
20016 [BZ #14602]
20017 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20018 Replace with ...
20019 (CHECK_EOL): New macro.
20020 (two_way_short_needle): Check beginning of haystack for EOL. Use
20021 CHECK_EOL.
20022 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20023 Replace with CHECK_EOL.
20024 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20025 Replace with CHECK_EOL.
20026
ef1bb361
JM
200272012-10-08 Joseph Myers <joseph@codesourcery.com>
20028
20029 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20030 type-generic.
20031 * math/libm-test.inc: Update comment listing what functions and
20032 macros are tested.
20033 (finite_test): New function.
20034 (isinf_test): Likewise.
20035 (isnan_test): Likewise.
20036 (fpclassify_test): Test subnormal input.
20037 (isfinite_test): Likewise.
20038 (isnormal_test): Likewise.
20039 (main): Call the new functions.
20040
55f11534
JN
200412012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20042
20043 [BZ #14660]
20044 * Makerules (%.dynsym): Force C locale when running
20045 $(OBJDUMP) --dynamic-syms.
20046
1ab29350
AS
200472012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20048
20049 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20050 <stdint.h>.
20051
f1ecb7ef
DM
200522012-10-06 David S. Miller <davem@davemloft.net>
20053
20054 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20055 upper 32-bits of the length value in %o2 since we use branch-on-register
20056 tests which consider the entire 64-bit register.
20057
5d41d91a
L
200582012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20059
20060 * string/test-strstr.c (check2): Add a test for page boundary.
20061
3baddb72
DM
200622012-10-05 David S. Miller <davem@davemloft.net>
20063
20064 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20065 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20066 file.
20067 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20068 sysdep_routines.
20069 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20070 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20071 and bzero when HWCAP_SPARC_CRYPTO is present.
20072
9cee5585
L
200732012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20074
d7e0dab9
L
20075 [BZ #14602]
20076 * string/test-strstr.c (check2): New function.
20077 (test_main): Call check2.
20078
03759f47
L
20079 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20080 and bug-strchr1.
20081 * string/bug-strcasestr1.c (do_test): Moved to ...
20082 * string/test-strcasestr.c (check1): Here. New function.
20083 (do_one_test): Break out result checking code into ...
20084 (check_result): This. New function.
20085 (do_one_test): Call check_result.
20086 (test_main): Call check1.
20087 * string/bug-strchr1.c (do_test): Moved to ...
20088 * string/test-strchr.c (check1): Here. New function.
20089 (do_one_test): Break out result checking code into ...
20090 (check_result): This. New function.
20091 (do_one_test): Call check_result.
20092 (test_main): Call check1.
20093 * string/bug-strstr1.c (main): Moved to ...
046f153e 20094 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20095 (do_one_test): Break out result checking code into ...
20096 (check_result): This. New function.
20097 (do_one_test): Call check_result.
20098 (test_main): Call check1.
20099 * string/bug-strcasestr1.c: Removed.
20100 * string/bug-strchr1.c: Likewise.
20101 * string/bug-strstr1.c: Likewise.
20102
53cea63e
L
20103 * elf/Makefile (dl-routines): Add hwcaps.
20104 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20105 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20106 (_dl_important_hwcaps): Moved to ...
20107 * elf/dl-hwcaps.c: Here. New file.
20108 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20109
9cee5585 20110 [BZ #14557]
bb859b06
L
20111 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20112 if IS_IN_rtld isn't defined.
20113
9cee5585
L
20114 * elf/dl-support.c (_dl_sysinfo_map): New.
20115 Include "get-dynamic-info.h" and "setup-vdso.h".
20116 (_dl_non_dynamic_init): Call setup_vdso.
20117 * elf/dynamic-link.h: Don't include <assert.h>.
20118 (elf_get_dynamic_info): Moved to ...
20119 * elf/get-dynamic-info.h: Here. New file.
20120 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20121 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20122 * elf/setup-vdso.h: Here. New file.
20123 * elf/rtld.c: Include "setup-vdso.h".
20124 (dl_main): Call setup_vdso.
20125
23c31b76
JM
201262012-10-05 Joseph Myers <joseph@codesourcery.com>
20127
28234b07
JM
20128 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20129 creal in comment listing functions tested. List finite, isinf,
20130 isnan, isless, islessequal, isgreater, isgreaterequal,
20131 islessgreater, isunordered, lgamma_r and pow10 as functions and
20132 macros not tested. Mention which functions not tested are aliases
20133 for other functions. Fix typo. Note that signs of NaNs are not
20134 tested.
20135
23c31b76
JM
20136 * scripts/config.guess: Update from config.git.
20137 * scripts/config.sub: Likewise.
20138
9043e228
RM
201392012-10-04 Roland McGrath <roland@hack.frob.com>
20140
20141 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20142 * misc/madvise.c (madvise): Renamed to __madvise.
20143 Make madvise a weak alias.
20144 * include/sys/mman.h: Declare __madvise.
20145 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20146 * sysdeps/unix/syscalls.list
20147 (madvise): Make __madvise the strong name, and madvise a weak alias.
20148 * sysdeps/unix/sysv/linux/syscalls.list
20149 (madvise, mmap): Remove redundant entries.
20150 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20151 * malloc/malloc.c (mtrim): Likewise.
20152 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20153
f57f8055
RM
201542012-10-03 Roland McGrath <roland@hack.frob.com>
20155
20156 * sysdeps/mach/hurd/dl-cache.c: File removed.
20157 * config.h.in (USE_LDCONFIG): New #undef.
20158 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20159 * configure: Regenerated.
20160 * elf/Makefile (dl-routines): Add dl-cache only under
20161 [$(use-ldconfig) = yes].
20162 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20163 cache on [USE_LDCONFIG].
20164 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20165 [USE_LDCONFIG].
20166 * elf/rtld.c (dl_main): Likewise.
20167
5bb0c10a
PT
201682012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20169
20170 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20171 _SC_LEVEL4_CACHE_LINESIZE.
20172
010188c6
RM
201732012-10-03 Roland McGrath <roland@hack.frob.com>
20174
20175 * sysdeps/unix/bsd/confstr.h: File removed.
20176
b6c5ec07
AO
201772012-10-02 Alexandre Oliva <aoliva@redhat.com>
20178
20179 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20180 sys/sdt-config.h.
20181
408223d4
RM
201822012-10-02 Roland McGrath <roland@hack.frob.com>
20183
20184 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20185 Make 'mapoff' field ElfW(Off) rather than off_t.
20186
bb9510dc
DL
201872012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20188
fc997c6e
DL
20189 * nscd/Makefile: Remove nscd-cflags and all its users.
20190 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20191 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20192
bb9510dc
DL
20193 [BZ #10631]
20194 * malloc.c (malloc_printerr): Clarify error message.
20195
05699367
L
201962012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20197
20198 [BZ #14648]
20199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20200 Set bit_FMA_Usable if FMA is supported.
20201 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20202 macro.
20203 (bit_FMA4_Usable): Updated.
20204 (index_FMA_Usable): New macro.
20205 (CPUID_FMA): Likewise
20206 (HAS_FMA): Defined with bit_FMA_Usable.
20207
51367701
RM
202082012-10-01 Roland McGrath <roland@hack.frob.com>
20209
20210 * bits/types.h (__swblk_t): Type removed.
20211 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20212 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20214 (__SWBLK_T_TYPE): Likewise.
20215 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20216 (__SWBLK_T_TYPE): Likewise.
20217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20218 (__SWBLK_T_TYPE): Likewise.
20219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20220 (__SWBLK_T_TYPE): Likewise.
20221
4d57bf63 202222012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20223 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20224
20225 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20226 (xdr_mapname): Use YPMAXMAP as maxsize.
20227 (xdr_peername): Use YPMAXPEER as maxsize.
20228 (xdr_keydat): Use YPAXRECORD as maxsize.
20229 (xdr_valdat): Use YPMAXRECORD as maxsize.
20230
93c65d43
RM
202312012-10-01 Roland McGrath <roland@hack.frob.com>
20232
497a03d6
RM
20233 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20234
93c65d43
RM
20235 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20236 * csu/init-first.c: ... here.
20237 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20238 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20239 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20240 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20241 * sysdeps/i386/init-first.c: File removed.
20242 * sysdeps/sh/init-first.c: File removed.
20243
bec749fd
JM
202442012-10-01 Joseph Myers <joseph@codesourcery.com>
20245
20246 [BZ #14645]
20247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20248 if x * y might underflow to zero and z is zero.
20249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20251 * math/libm-test.inc (min_subnorm_value): New variable.
20252 (fma_test): Add more tests.
20253 (fma_test_towardzero): Likewise.
20254 (fma_test_downward): Likewise
20255 (fma_test_upward): Likewise.
20256 (initialize): Set min_subnorm_value.
20257
8ec5b013
JM
202582012-09-29 Joseph Myers <joseph@codesourcery.com>
20259
20260 [BZ #14638]
20261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20262 0 + 0.
20263 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20264 mode for addition resulting in exact zero.
20265 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20267 exact 0 + 0.
20268 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20269 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20270 * math/libm-test.inc (fma_test): Add more tests.
20271 (fma_test_towardzero): New function.
20272 (fma_test_downward): Likewise.
20273 (fma_test_upward): Likewise.
20274 (main): Call the new functions.
20275
b1fa802e
DM
202762012-09-28 David S. Miller <davem@davemloft.net>
20277
20278 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20279
d3b9fd9e
RM
202802012-09-28 Roland McGrath <roland@hack.frob.com>
20281
ea4d37b3
RM
20282 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20283 instead of SIGALRM.
20284
ac51c949
RM
20285 * sysdeps/gnu/_G_config.h: Moved to ...
20286 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20287 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20288 * sysdeps/generic/_G_config.h: ... here.
20289
28c195f7
RM
20290 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20291
848917f9
RM
20292 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20293
6bacf05b
RM
20294 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20295 Conditionalize target on [libnss_test1.so-version].
20296
91363dbb
RM
20297 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20298
cc87f7d8
RM
20299 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20300 (elfobjdir): Move out of conditionals.
20301
b1c608fe
RM
20302 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20303 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20304 (__nss_lookup_function): Conditionalize label remove_from_tree on
20305 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20306
1d9a6d96
DM
203072012-09-28 David S. Miller <davem@davemloft.net>
20308
20309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20310 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20311 file.
20312 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20313 sysdep_routines.
20314 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20316 when HWCAP_SPARC_CRYPTO is present.
20317
72581615
PT
203182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20319
20320 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20321
715a900c
JL
203222012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20323
20324 [BZ #6530]
20325 * stdio-common/vfprintf.c (process_string_arg): Revert
20326 2000-07-22 change.
20327
203282011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20329
20330 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20331 for testcase.
20332 * stdio-common/tst-sprintf.c: Include <locale.h>
20333 (main): Test sprintf's handling of incomplete multibyte
20334 characters.
20335
9bac1d86
L
203362012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20337
20338 * elf/dl-runtime.c (VERSYMIDX): Removed.
20339 * elf/dl-version.c (VERSYMIDX): Likewise.
20340 * elf/do-rel.h (VERSYMIDX): Likewise.
20341 (VALIDX): Likewise.
20342 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20343 * elf/rtld.c (VALIDX): Likewise.
20344 (ADDRIDX): Likewise.
9bac1d86
L
20345 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20346 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20347 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20348 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20349 (VALIDX): Likewise.
20350 (ADDRIDX): Likewise.
9bac1d86 20351
b31606c0
PT
203522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20353
20354 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20355
11541177
JL
203562012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20357
20358 [BZ #11438]
20359 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20360 to global scope.
20361 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20362 addresses are in the same scope as 192.0.2/24.
20363 * posix/gai.conf: Document new scope table defaults.
20364
adb26fae
SP
203652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20366
20367 [BZ #5298]
20368 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20369 for ftell. Compute offsets from write pointers instead.
20370 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20371
4573c6b0
SP
203722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20373
20374 [BZ #14543]
20375 * libio/Makefile (tests): New test case tst-fseek.
20376 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20377 combination works in wide mode.
20378 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20379 state when the external buffer state changes.
20380
aa9bbfe6
DM
203812012-09-27 David S. Miller <davem@davemloft.net>
20382
20383 [BZ #14376]
20384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20385 pass reloc->r_addend in as the 'high' argument to
20386 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20387
784421e7
DM
20388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20389
c39bc8b8
PT
203902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20391
20392 * rt/tst-aio2.c: Include <pthread.h>.
20393 * rt/tst-aio3.c: Likewise.
20394
1ccc2399
SE
203952012-09-27 Steve Ellcey <sellcey@mips.com>
20396
20397 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20398
31ed4153
L
203992012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20400
25f5f885
L
20401 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20402 contents on [SHARED].
31ed4153 20403
b7bfe116
MP
204042012-09-26 Marek Polacek <polacek@redhat.com>
20405
20406 [BZ #14530]
20407 [BZ #13741]
20408 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20409 for C++ and GCC <4.3 as well as for non GCC compilers.
20410
43c4edba
MT
204112012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20412
20413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20414
6a1bf82f
RM
204152012-09-25 Roland McGrath <roland@hack.frob.com>
20416
20417 * Makefile.in (all, install): Declare with .PHONY.
20418 Reported by Michael Hope <michael.hope@linaro.org>.
20419
8ad11b9a
TMQMF
204202012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20421
20422 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20423 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20424 system header.
20425 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20426 Likewise.
20427 (sydep_routines): Add the new and the internal functions.
20428 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20429 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20431 (GLIBC_2.17): Add the new function.
20432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20433 (GLIBC_2.17): Likewise.
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20435 (GLIBC_2.17): Likewise.
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20437 (GLIBC_2.17): Likewise.
20438 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20439
7e2fca8d
AM
204402012-09-25 Alan Modra <amodra@gmail.com>
20441
20442 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20443 Add release barrier before setting once_control to say
20444 initialisation is done. Add hints on lwarx. Use macro in
20445 place of isync.
20446 (clear_once_control): Add release barrier.
20447
b87c4b24
JM
204482012-09-25 Joseph Myers <joseph@codesourcery.com>
20449
d032e0d2
JM
20450 [BZ #13629]
20451 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20452 specially.
20453 * math/s_clog10.c (__clog10): Likewise.
20454 * math/s_clog10f.c (__clog10f): Likewise.
20455 * math/s_clog10l.c (__clog10l): Likewise.
20456 * math/s_clogf.c (__clogf): Likewise.
20457 * math/s_clogl.c (__clogl): Likewise.
20458 * math/Makefile (libm-calls): Add x2y2m1.
20459 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20460 (__x2y2m1): Likewise.
20461 (__x2y2m1l): Likewise.
20462 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20463 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20464 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20465 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20468 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20469 * sysdeps/i386/fpu/libm-test-ulps: Update.
20470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20471
b87c4b24
JM
20472 [BZ #14621]
20473 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20474 int as type of variable DEPTH.
20475 (glob): Use size_t instead of int as type of variables NEWCOUNT
20476 and OLD_PATHC.
20477
6d3bf199
LD
204782012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20479
22bf5c17
LD
20480 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20481 Add s_sincosf-sse2.
20482 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20483 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20484 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20485 macros for using routine as __sincosf_ia32.
20486 Use macro for function declaration and weak_alias.
20487 * sysdeps/i386/fpu/libm-test-ulps: Update.
20488
20489 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20491
20492 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20493 subnormal argument.
20494 * math/s_cexpf.c (__cexpf): Likewise.
20495 * math/s_csinf.c (__csinf): Likewise.
20496 * math/s_csinhf.c (__csinhf): Likewise.
20497 * math/s_ctanf.c (__ctanf): Likewise.
20498 * math/s_ctanhf.c (__ctanhf): Likewise.
20499 * math/s_ccosh.c (__ccoshf): Likewise.
20500 * math/s_cexp.c (__cexpl): Likewise.
20501 * math/s_csin.c (__csin): Likewise.
20502 * math/s_csinh.c (__csinh): Likewise.
20503 * math/s_ctan.c (__ctan): Likewise.
20504 * math/s_ctanh.c (ctanh): Likewise.
20505 * math/s_ccoshl.c (__ccoshl): Likewise.
20506 * math/s_cexpl.c (__cexpl): Likewise.
20507 * math/s_csinl.c (__csinl): Likewise.
20508 * math/s_csinhl.c (__csinhl): Likewise.
20509 * math/s_ctanl.c (__ctanl): Likewise.
20510 * math/s_ctanhl.c (__ctanhl): Likewise.
20511
203e5603
JM
205122012-09-25 Joseph Myers <joseph@codesourcery.com>
20513
20514 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20515 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20516 (_IO_off_t): Define to __off_t, not _G_off_t.
20517 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20518 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20519 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20520 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20521 type of __dummy and __dummy2 fields.
20522 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20523 (_G_ssize_t): Likewise.
20524 (_G_off_t): Likewise.
20525 (_G_pid_t): Likewise.
20526 (_G_uid_t): Likewise.
20527 (_G_wchar_t): Likewise.
20528 (_G_wint_t): Likewise.
20529 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20530 (_G_ssize_t): Likewise.
20531 (_G_off_t): Likewise.
20532 (_G_pid_t): Likewise.
20533 (_G_uid_t): Likewise.
20534 (_G_wchar_t): Likewise.
20535 (_G_wint_t): Likewise.
20536 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20537 (_G_ssize_t): Likewise.
20538 (_G_off_t): Likewise.
20539 (_G_pid_t): Likewise.
20540 (_G_uid_t): Likewise.
20541 (_G_wchar_t): Likewise.
20542 (_G_wint_t): Likewise.
20543
9fab36eb
SP
205442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20545
20546 * malloc/arena.c: Include malloc-sysdep.h.
20547 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20548 is sufficient to shrink the heap or an unmap is needed.
20549 * sysdeps/generic/malloc-sysdep.h: New file. Define
20550 new function check_may_shrink_heap.
20551 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20552 new function check_may_shrink_heap.
20553
2b4f00d1
SP
205542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20555
20556 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20557 comments.
20558
9a9028b1
DL
205592012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20560
57c69bef
DL
20561 * catgets/test-gencat.sh: Add "set -e".
20562 * elf/tst-pathopt.sh: Likewise.
20563 * grp/tst_fgetgrent.sh: Likewise.
20564 * iconvdata/run-iconv-test.sh: Likewise.
20565 * intl/tst-gettext.sh: Likewise.
20566 * intl/tst-gettext2.sh: Likewise.
20567 * intl/tst-gettext4.sh: Likewise.
20568 * intl/tst-gettext6.sh: Likewise.
20569 * intl/tst-translit.sh: Likewise.
20570 * io/ftwtest-sh: Likewise.
20571 * libio/test-freopen.sh: Likewise.
20572 * malloc/tst-mtrace.sh: Likewise.
20573 * posix/globtest.sh: Likewise.
20574 * posix/tst-getconf.sh: Likewise.
20575 * posix/wordexp-tst.sh: Likewise.
20576 * stdio-common/tst-printf.sh: Likewise.
20577 * stdio-common/tst-unbputc.sh: Likewise.
20578 * stdlib/tst-fmtmsg.sh: Likewise.
20579 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20580 * catgets/Makefile: Do not specify -e option when running
20581 testsuite shell scripts.
20582 * elf/Makefile: Likewise.
20583 * grp/Makefile: Likewise.
20584 * iconvdata/Makefile: Likewise.
20585 * intl/Makefile: Likewise.
20586 * io/Makefile: Likewise.
20587 * libio/Makefile: Likewise.
20588 * malloc/Makefile: Likewise.
20589 * posix/Makefile: Likewise.
20590 * stdio-common/Makefile: Likewise.
20591 * stdlib/Makefile: Likewise.
20592 * sysdeps/x86_64/Makefile: Likewise.
20593
9a9028b1
DL
20594 * io/ftwtest-sh: Add copyright header.
20595 * posix/globtest.sh: Likewise.
20596 * posix/tst-getconf.sh: Likewise.
20597 * posix/wordexp-tst.sh: Likewise.
20598 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20599
ced6f16e
L
206002012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20601
94b32c39
L
20602 [BZ #13679]
20603 * Makeconfig (+link): Defined as $(+link-static) if
20604 $(build-shared) isn't yes.
20605 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20606 isn't yes.
20607 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20608
189e935b
L
20609 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20610
ced6f16e
L
20611 [BZ #14562]
20612 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20613 new chunk size with MALLOC_ALIGN_MASK.
20614
a9f8e53a
JM
206152012-09-24 Joseph Myers <joseph@codesourcery.com>
20616
20617 [BZ #5044]
20618 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20619 <rounding-mode.h>.
20620 (__printf_fphex): Determine rounding using get_rounding_mode and
20621 round_away.
20622 * stdio-common/tst-printf-round.c (struct hex_test): New
20623 structure.
20624 (hex_tests): New variable.
20625 (test_hex_in_one_mode): New function.
20626 (do_test): Also run tests for hex float output.
20627
43153109
JM
206282012-09-21 Joseph Myers <joseph@codesourcery.com>
20629
20630 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20631 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20632 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20633 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20634 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20635 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20636 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20638
8a26625d
JM
206392012-09-20 Joseph Myers <joseph@codesourcery.com>
20640
20641 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20642 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20643 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20644 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20645
f3fd569c
DL
206462012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20647
20648 [BZ #14579]
20649 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20650 mode only.
20651 * elf/tst-rtld-load-self.sh: New test.
20652 * elf/Makefile: Run it.
20653
63bbedd4
JM
206542012-09-18 Joseph Myers <joseph@codesourcery.com>
20655
20656 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20657 (tst-writev-ENV): Remove.
20658 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20659
626f8b6a
CM
206602012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20661
20662 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20663
b7aaa4d6
JM
206642012-09-17 Joseph Myers <joseph@codesourcery.com>
20665
20666 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20667 unconditional.
20668 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20669 Likewise.
20670 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20671 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20672 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20673 Likewise.
20674
65513990
L
206752012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20676
20677 [BZ #14587]
20678 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20679 * config.make.in (have-cpp-asm-debuginfo): Removed.
20680 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20681 * configure: Regenerated.
20682
784761be
JM
206832012-09-14 Joseph Myers <joseph@codesourcery.com>
20684
20685 [BZ #5044]
20686 * stdio-common/printf_fp.c: Include <stdbool.h> and
20687 <rounding-mode.h>.
20688 (___printf_fp): Determine rounding using get_rounding_mode and
20689 round_away.
20690 * stdio-common/tst-printf-round.c: New file.
20691 * stdio-common/Makefile (tests): Add tst-printf-round.
20692 (link-libm): New variable.
20693 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20694
9503345f
L
206952012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20696
20697 [BZ #14576]
20698 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20699 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20700 Likewise.
20701 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20702 Likewise.
20703
ad35fc00
JM
207042012-09-13 Joseph Myers <joseph@codesourcery.com>
20705
20706 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20707 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20708 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20709 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20710
6c9b0f68
JM
207112012-09-12 Joseph Myers <joseph@codesourcery.com>
20712
20713 [BZ #14518]
20714 * include/rounding-mode.h: New file.
20715 * sysdeps/generic/get-rounding-mode.h: Likewise.
20716 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20717 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20718 (MAX_VALUE): New macro.
20719 (MIN_VALUE): Likewise.
20720 (overflow_value): New function.
20721 (underflow_value): Likewise.
20722 (round_and_return): Use overflow_value and underflow_value to
20723 determine return values in overflow and underflow cases. Use
20724 round_away to determine rounding depending on rounding mode.
20725 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20726 determine return values in overflow and underflow cases.
20727 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20728 (struct test_results): New structure.
20729 (struct test): Use struct test_results to store expected results
20730 for all rounding modes.
20731 (TEST): Include expected results for all rounding modes.
20732 (test_in_one_mode): New function.
20733 (do_test): Use test_in_one_mode to compute and check results.
20734 Check results for all rounding modes.
20735 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20736 $(link-libm).
20737
19fcedd5
AM
207382012-12-09 Allan McRae <allan@archlinux.org>
20739
1e9d84cd 20740 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20741
8bbfd2f1
JM
207422012-09-11 Joseph Myers <joseph@codesourcery.com>
20743
20744 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20745 (_G_int32_t): Likewise.
20746 (_G_uint16_t): Likewise.
20747 (_G_uint32_t): Likewise.
20748 (_G_HAVE_BOOL): Likewise.
20749 (_G_HAVE_ATEXIT): Likewise.
20750 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20751 (_G_HAVE_IO_FILE_OPEN): Likewise.
20752 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20753 (_G_int32_t): Likewise.
20754 (_G_uint16_t): Likewise.
20755 (_G_uint32_t): Likewise.
20756 (_G_HAVE_BOOL): Likewise.
20757 (_G_HAVE_ATEXIT): Likewise.
20758 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20759 (_G_HAVE_IO_FILE_OPEN): Likewise.
20760 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20761 (_G_int32_t): Likewise.
20762 (_G_uint16_t): Likewise.
20763 (_G_uint32_t): Likewise.
20764 (_G_HAVE_BOOL): Likewise.
20765 (_G_HAVE_ATEXIT): Likewise.
20766 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20767 (_G_HAVE_IO_FILE_OPEN): Likewise.
20768
b1dc5912
L
207692012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20770
20771 * csu/libc-tls.c: Update copyright years.
20772
0e886ef9
JM
207732012-09-10 Joseph Myers <joseph@codesourcery.com>
20774
28361c5e
JM
20775 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20776 [!_G_USING_THUNKS]: Remove conditional code.
20777 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20778 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20779
0e886ef9
JM
20780 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20781 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20782 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20783 (_G_VTABLE_LABEL_PREFIX): Likewise.
20784 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20785 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20786 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20787 (_G_VTABLE_LABEL_PREFIX): Likewise.
20788 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20789 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20790 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20791 (_G_VTABLE_LABEL_PREFIX): Likewise.
20792 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20793
bcba7aa2
L
207942012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20795
20796 * libio/Makefile: Include ../Makeconfig before tests.
20797 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20798 only if $(build-shared) is yes.
20799
06585ee8
L
20800 * iconv/gconv_db.c: Update copyright years.
20801
80ccd52c
LD
208022012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20803
20804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20805 unwind info if defined PIC. Fix special cases description.
20806 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20807
20808 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20809 DP_HI_MASK entry.
20810 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20811
691bc9c1
L
208122012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20813
3d9b46b3
L
20814 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20815
de2139a9
L
20816 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20817 is NULL.
20818
5ca78dd0
L
20819 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20820 (LDLIBS-tst-chk4): This.
20821 (LDFLAGS-tst-chk5): Renamed to ...
20822 (LDLIBS-tst-chk5): This.
20823 (LDFLAGS-tst-chk6): Renamed to ...
20824 (LDLIBS-tst-chk6): This.
20825 (LDFLAGS-tst-lfschk4): Renamed to ...
20826 (LDLIBS-tst-lfschk4): This.
20827 (LDFLAGS-tst-lfschk5): Renamed to ...
20828 (LDLIBS-tst-lfschk5): This.
20829 (LDFLAGS-tst-lfschk6): Renamed to ...
20830 (LDLIBS-tst-lfschk6): This.
20831
691bc9c1
L
20832 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20833 on $(common-objpfx)soversions.mk.
20834
65cafb1c
JM
208352012-09-07 Joseph Myers <joseph@codesourcery.com>
20836
20837 [BZ #10014]
20838 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20839 example host name.
20840
c78ab094
SP
208412012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20842
20843 * malloc/arena.c (arena_get_retry): New function that gets
20844 another arena for the caller to try its request on.
20845 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20846 current arena cannot fulfill the request.
20847 (__libc_memalign): Likewise.
20848 (__libc_memalign): Likewise.
20849 (__libc_pvalloc): Likewise.
20850 (__libc_calloc): Likewise.
20851
01f49f59
JT
208522012-09-05 John Tobey <john.tobey@gmail.com>
20853
20854 [BZ #13542]
20855 * manual/arith.texi (Operations on Complex): Fix description
20856 of carg branch cut.
20857
4c23fed5
JM
208582012-09-06 Joseph Myers <joseph@codesourcery.com>
20859
1d3c8572
JM
20860 [BZ #10014]
20861 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20862 host name.
20863
4c23fed5
JM
20864 [BZ #10038]
20865 * manual/memory.texi (Memory): Make order of menu items match
20866 order of sections.
20867
04570aaa
L
208682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20869
20870 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20871 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20872 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20873
b80af2f4
L
208742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20875
20876 * csu/libc-tls.c (static_dtv): Renamed to ...
20877 (_dl_static_dtv): This. Make it global.
20878 (_dl_initial_dtv): Removed.
20879 (__libc_setup_tls): Updated.
20880 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20881 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20882 DL_INITIAL_DTV.
20883
2abe9f15
PM
208842012-09-06 Petr Machata <pmachata@redhat.com>
20885
20886 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20887 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20888 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20889 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20890
0948c3af
L
208912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20892
20893 [BZ #14545]
20894 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20895 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20896 freeing dtv[-1].
20897
a5055ad1
L
208982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20899
20900 [BZ #14544]
20901 * Makeconfig (link-static-before-libc): Replace $(+prector)
20902 with $(+prectorT).
20903 (link-static-after-libc): Replace $(+postctor) with
20904 $(+postctorT).
20905 (link-bounded): Replace $(+prector)/$(+postctor) with
20906 $(+prectorT)/$(+postctorT).
20907 (+prectorT): New macro.
20908 (+postctorT): Likewise.
20909
ed8c2ecd
JM
209102012-09-06 Joseph Myers <joseph@codesourcery.com>
20911
20912 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20913 (round_str): Handle values above the maximum for IBM long double
20914 as inexact.
20915 * stdlib/tst-strtod-round.c (tests): Regenerated.
20916
14c996c8
AK
209172012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20918
20919 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20920 assembler flag.
20921 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20922 zarch_nohighgprs around the zarch optimized routines.
20923 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20924 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20925 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20926 for zarch.
20927
430d6ce6
DM
209282012-09-05 David S. Miller <davem@davemloft.net>
20929
20930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20931
ff04dda4
DM
20932 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20933 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20934 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20935 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20936 entries.
20937
24d4e01b
AO
209382012-09-05 Alexandre Oliva <aoliva@redhat.com>
20939
20940 * malloc/arena.c: Fold copyright years.
20941 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20942
61d58174
AO
209432012-09-05 Alexandre Oliva <aoliva@redhat.com>
20944
20945 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20946
20196a5e
AO
209472012-09-05 Alexandre Oliva <aoliva@redhat.com>
20948
20949 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20950
5c447383
AO
209512012-09-05 Alexandre Oliva <aoliva@redhat.com>
20952
20953 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20954 change internal state upon failure.
20955
fad64255
AO
209562012-09-05 Alexandre Oliva <aoliva@redhat.com>
20957
20958 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20959 * malloc/memusage.c (mmap): Likewise.
20960 (mmap64, mremap): Likewise. Adjust name in comment.
20961
1ffb8c90
SP
209622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20963
20964 * libio/fileops.c: Fix typos in comments.
20965 * libio/oldfileops.c: Likewise.
20966 * libio/wfileops.c: Likewise.
20967
6ef9cc37
SP
209682012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20969
20970 [BZ #1349]
20971 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20972 (tst-malloc-usable-ENV): Set environment for test case.
20973 * malloc/hooks.c (malloc_check_get_size): New function to get
20974 requested size.
20975 * malloc/malloc.c (musable): Use malloc_check_get_size.
20976 * malloc/tst-malloc-usable.c: New test case.
20977
4d038ae3
AS
209782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20979
20980 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20981
c4e85184
AM
209822012-09-05 Allan McRae <allan@archlinux.org>
20983
b9dafc56 20984 [BZ #13966]
c4e85184
AM
20985 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20986 determine header location.
20987 * configure: Regenerated.
20988
e1343020
AS
209892012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20990
20991 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20992 float format.
20993 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20994 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20995 format.
e1343020
AS
20996 (test): Regenerate.
20997
0a9f1987
DM
209982012-09-04 David S. Miller <davem@davemloft.net>
20999
21000 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21001 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21002 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21003
29237804
FW
210042012-09-04 Florian Weimer <fweimer@redhat.com>
21005
21006 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21007 failures.
21008
edb3cb88
FW
21009 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21010
60160d83
JM
210112012-09-04 Joseph Myers <joseph@codesourcery.com>
21012
21013 [BZ #9914]
21014 * libio/iogetdelim.c: Include <limits.h>.
21015 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21016 + len + 1 would overflow.
21017
bcd6c8dc
AJ
210182012-09-03 Andreas Jaeger <aj@suse.de>
21019
21020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21021 * sysdeps/i386/fpu/libm-test-ulps: Update.
21022
4ffffbd2
LD
210232012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21024
21025 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21026 Add s_sinf-sse2, s_conf-sse2.
21027
21028 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21029 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21030 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21031 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21032
21033 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21034 for using routine as __sinf_ia32.
21035 Use macro for function declaration and weak_alias.
21036 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21037 for using routine as __cosf_ia32.
21038 Use macro for function declaration and weak_alias.
21039
21040 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21041 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21042
21043 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21044 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21046
21047 * math/libm-test.inc (cos_test): Add more test cases.
21048 (sin_test): Likewise.
21049 (sincos_test): Likewise.
21050
511fa286
AK
210512012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21052
21053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21054 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21055 hidden.
21056 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21057
5f30cfec
L
210582012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21059
21060 [BZ #14538]
21061 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21062 first element of the GOT.
21063 (elf_machine_load_address): Return the difference between
21064 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21065
0786794f
AM
210662012-09-01 Allan McRae <allan@archlinux.org>
21067
5f30cfec
L
21068 [BZ #13412]
21069 * configure.in (AWK): Require gawk version 3.0 or later.
21070 * configure: Regenerated.
0786794f 21071
26889eac
JM
210722012-09-01 Joseph Myers <joseph@codesourcery.com>
21073
21074 * sysdeps/unix/sysv/linux/kernel-features.h
21075 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21077 [__NR_clock_getres]: Make code unconditional.
21078 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21079 (clock_getcpuclockid): Remove code left unreachable by removal of
21080 conditionals.
21081 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21082 code unconditional.
21083 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21084 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21085 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21086 Make code unconditional.
21087 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21088 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21089 * sysdeps/unix/sysv/linux/clock_settime.c
21090 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21091 conditional code.
21092 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21093 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21094
d22e28b0
L
210952012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21096
21097 [BZ #14476]
21098 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21099 scripts/test-installation.pl.
21100
21101 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21102 and $ld_so_version if it is set.
21103
050af9c4
SP
211042012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21105
21106 [BZ #14516]
21107 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21108 failure if reading from procfs failed.
21109 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21110
ad845c0b
JM
211112012-08-27 Joseph Myers <joseph@codesourcery.com>
21112
21113 * sysdeps/unix/sysv/linux/kernel-features.h
21114 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21115 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21116 Remove conditional code.
21117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21118 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21119 Remove conditional code.
21120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21121 * sysdeps/unix/sysv/linux/i386/fxstat.c
21122 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21124 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21125 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21127 * sysdeps/unix/sysv/linux/i386/lxstat.c
21128 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21130 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21131 Remove conditional code.
21132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21133 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21134 Remove conditional code.
21135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21136 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21137 <kernel-features.h>.
21138 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21139 Remove.
21140 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21141 Remove conditional code.
21142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21143 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21144 Remove conditional.
21145
5dbf56af
MF
211462012-08-27 Mike Frysinger <vapier@gentoo.org>
21147
21148 [BZ #5400]
21149 * NEWS: Add fixed bug number.
21150
d6e70f43
JM
211512012-08-27 Joseph Myers <joseph@codesourcery.com>
21152
7efb4737
JM
21153 [BZ #14519]
21154 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21155 underflowing exponent in case of negative sign.
21156 * stdlib/tst-strtod-round-data: Add more tests.
21157 * stdlib/tst-strtod-round.c (tests): Regenerated.
21158
af92131a
JM
21159 [BZ #3479]
21160 * stdlib/strtod_l.c (NDIG): Remove.
21161 (HEXNDIG): Likewise.
21162 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21163 smallest representable value.
21164 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21165 lie within an exact representation of 1/2 ulp of the result.
21166 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21167 unconditionally.
21168 (TENS_P9_IDX): Define unconditionally.
21169 (TENS_P9_SIZE): Likewise.
21170 (TENS_P10_IDX): Likewise.
21171 (TENS_P10_SIZE): Likewise.
21172 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21173 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21174 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21175 entries for 10^2^13 and 10^2^14.
21176 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21177 (TENS_P13_IDX): Define.
21178 (TENS_P13_SIZE): Likewise.
21179 (TENS_P14_IDX): Likewise.
21180 (TENS_P14_SIZE): Likewise.
21181 (_fpioconst_pow10): Change array size to
21182 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21183 unconditional.
21184 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21185 1024]: Add entries for 10^2^13 and 10^2^14.
21186 [LAST_POW10 > _LAST_POW10]: Remove #error.
21187 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21188 (_fpioconst_pow10): Change array size to
21189 FPIOCONST_POW10_ARRAY_SIZE.
21190 * stdlib/gen-fpioconst.c: New file.
21191 * stdlib/gen-tst-strtod-round.c: Likewise.
21192 * stdlib/tst-strtod-round-data: Likewise.
21193 * stdlib/tst-strtod-round.c: Likewise.
21194 * stdlib/Makefile (tests): Add tst-strtod-round.
21195
d6e70f43
JM
21196 [BZ #14459]
21197 * stdlib/strtod_l.c: Include <stdint.h>.
21198 (NDEBUG): Do not define.
21199 (round_and_return): Change EXPONENT parameter to type intmax_t.
21200 Rearrange calculations to avoid internal overflow possibilities.
21201 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21202 Rearrange calculations to avoid internal overflow possibilities.
21203 Assert that number fits inside MPNSIZE limbs.
21204 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21205 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21206 calculations and add assertions to avoid internal overflow
21207 possibilities. Add casts to avoid signed/unsigned operations.
21208 * stdlib/tst-strtod-overflow.c: New file.
21209 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21210
1f529f7d
MP
212112012-08-25 Marek Polacek <polacek@redhat.com>
21212
21213 * time/time.h: Fix some typos in comments.
21214
59a629f1
RM
212152012-08-23 Roland McGrath <roland@hack.frob.com>
21216
21217 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21218 * posix/tst-rfc3484-2.c: Likewise.
21219 * posix/tst-rfc3484-3.c: Likewise.
21220
d3bafbc9
SM
212212012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21222
21223 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21224 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21225
4efcc022
JM
212262012-08-23 Joseph Myers <joseph@codesourcery.com>
21227
21228 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21229 #include of fxstatat64.c.
21230
3cc3ef96
RM
212312012-08-22 Roland McGrath <roland@hack.frob.com>
21232
f04e2132
RM
21233 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21234 * shadow/getspent_r.c: Likewise.
21235 * shadow/getspnam.c: Likewise.
21236 * shadow/getspnam_r.c: Likewise.
21237 * gshadow/getsgent.c: Likewise.
21238 * gshadow/getsgent_r.c: Likewise.
21239 * gshadow/getsgnam.c: Likewise.
21240 * gshadow/getsgnam_r.c: Likewise.
21241 * inet/getnetbyad.c: Likewise.
21242 * inet/getnetbyad_r.c: Likewise.
21243 * inet/getnetbynm.c: Likewise.
21244 * inet/getnetbynm_r.c: Likewise.
21245 * inet/getnetent.c: Likewise.
21246 * inet/getnetent_r.c: Likewise.
21247 * inet/getproto.c: Likewise.
21248 * inet/getproto_r.c: Likewise.
21249 * inet/getprtent.c: Likewise.
21250 * inet/getprtent_r.c: Likewise.
21251 * inet/getprtname.c: Likewise.
21252 * inet/getprtname_r.c: Likewise.
21253 * inet/getrpcbyname.c: Likewise.
21254 * inet/getrpcbyname_r.c: Likewise.
21255 * inet/getrpcbynumber.c: Likewise.
21256 * inet/getrpcbynumber_r.c: Likewise.
21257 * inet/getrpcent.c: Likewise.
21258 * inet/getrpcent_r.c: Likewise.
21259 * inet/getaliasent.c: Likewise.
21260 * inet/getaliasent_r.c: Likewise.
21261 * inet/getaliasname.c: Likewise.
21262 * inet/getaliasname_r.c: Likewise.
21263 * nscd/getgrgid_r.c: Likewise.
21264 * nscd/getgrnam_r.c: Likewise.
21265 * nscd/gethstbyad_r.c: Likewise.
21266 * nscd/gethstbynm3_r.c: Likewise.
21267 * nscd/getpwnam_r.c: Likewise.
21268 * nscd/getpwuid_r.c: Likewise.
21269 * nscd/getsrvbynm_r.c: Likewise.
21270 * nscd/getsrvbypt_r.c: Likewise.
21271 * nscd/gai.c: Likewise.
21272
c53d909c
RM
21273 * configure.in (build_nscd): New substituted variable, set
21274 by --disable-build-nscd and defaults to $use_nscd.
21275 * configure: Regenerated.
21276 * config.make.in (build-nscd): New substituted variable.
21277 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21278 Change conditional to require [$(build-nscd) = yes] as well.
21279 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21280
3cc3ef96
RM
21281 [BZ# 13696]
21282 * configure.in (use_nscd): New substituted variable, set by
21283 --disable-nscd. If enabled, define USE_NSCD.
21284 * configure: Regenerated.
21285 * config.h.in: Add USE_NSCD.
21286 * config.make.in (use-nscd): New substituted variable.
21287 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21288 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21289 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21290 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21291 (CFLAGS-getgrnam_r.c): Likewise.
21292 (CFLAGS-initgroups.c): Likewise.
21293 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21294 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21295 Variables removed.
21296 * inet/getnetgrent_r.c
21297 (nscd_setnetgrent): New function, broken out of ...
21298 (setnetgrent): ... here. Call it.
21299 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21300 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21301 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21302 * nscd/Makefile (routines, aux): Move definitions after include of
21303 Makeconfig. Conditionalize on [$(use-nscd) != no].
21304 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21305 Conditionalize on [USE_NSCD].
21306 (is_nscd, nscd_init_cb): Likewise.
21307 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21308 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21309 * nss/nss_db/db-init.c: Likewise.
21310 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21311 [USE_NSCD].
21312 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21313 (make_request): Use it.
21314 (cache_valid_p): New function.
21315 (__check_pf): Use it.
21316 * NEWS: Add item for --disable-nscd.
21317
07e51550
DL
213182012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21319
21320 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21321 to support sed >= 4.2.1-20-ga9bf076.
21322 * configure: Regenerated.
21323
35a5b08b
RM
213242012-08-22 Roland McGrath <roland@hack.frob.com>
21325
21326 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21327 Conditionalize whole body on [IREL].
21328
8479f23a
JL
213292012-08-22 Jeff Law <law@redhat.com>
21330
21331 [BZ #14505]
21332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21333 if the family is PF_UNSPEC.
21334
48da0b21
MF
213352012-08-22 Mike Frysinger <vapier@gentoo.org>
21336
21337 * Makerules (lib-version): Rename from V.
21338 (install-lib-nosubdir): Change V to lib-version.
21339
15d0da8c
WS
213402012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21341
21342 [BZ #14252]
21343 * powerpc32/power6/wcschr.c: New file.
21344 * powerpc32/power6/wcscpy.c: New file.
21345 * powerpc32/power6/wcsrchr.c: New file.
21346 * powerpc64/power6/wcschr.c: New file.
21347 * powerpc64/power6/wcscpy.c: New file.
21348 * powerpc64/power6/wcsrchr.c: New file.
21349
bcca0895
MK
213502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21351
21352 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21353 (two_way_short_needle): Use it.
5a4aaa33
RM
21354 * string/strstr.c (AVAILABLE1_USES_J): Define.
21355 * string/strcasestr.c: Likewise.
99677e57
MK
21356
21357 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21358 array references.
21359 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21360
400726de
MK
21361 [BZ #11607]
21362 * NEWS: Add an entry.
21363 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21364 define their defaults.
21365 (two_way_short_needle): Detect end-of-string on-the-fly.
21366 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21367 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21368 * string/bug-strcasestr1.c: New test.
21369 * string/Makefile: Run it.
21370
20a71f2c
MK
213712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21372
21373 [BZ #11607]
21374 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21375 the first character.
21376
21ad0558
RM
213772012-08-21 Roland McGrath <roland@hack.frob.com>
21378
21379 * csu/elf-init.c (__libc_csu_irel): Function removed.
21380 * csu/libc-start.c (apply_irel): New function.
21381 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21382
0e1d9911
JM
213832012-08-21 Joseph Myers <joseph@codesourcery.com>
21384
21385 * sysdeps/unix/sysv/linux/kernel-features.h
21386 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21387 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21388 <kernel-features.h>.
21389 [__NR_fadvise64_64]: Make code unconditional.
21390 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21391 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21392 !__NR_fadvise64_64)]: Likewise.
21393 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21394 !__NR_fadvise64_64))]: Likewise.
21395 [__NR_fadvise64]: Make code unconditional.
21396 [!__NR_fadvise64]: Remove conditional code.
21397 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21398 <kernel-features.h>.
21399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21400 unconditional.
21401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21402 conditional code.
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21404 not include <kernel-features.h>.
21405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21406 unconditional.
21407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21408 conditional code.
21409 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21410 include <kernel-features.h>.
21411 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21412 unconditional.
21413 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21414 conditional code.
21415
14a50c9d
WS
214162012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21417
21418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21419 slight instruction rearrangements per scrollpipe analysis.
21420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21421
c0f4faf0
RM
214222012-08-20 Roland McGrath <roland@hack.frob.com>
21423
696da859
RM
21424 * manual/syslog.texi (syslog; vsyslog, closelog):
21425 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21426 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21427
c0f4faf0
RM
21428 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21429 DSOCAPS to match condition on defining it.
21430
348363b2
JM
214312012-08-20 Joseph Myers <joseph@codesourcery.com>
21432
a35cbf28
JM
21433 * sysdeps/unix/sysv/linux/kernel-features.h
21434 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21436 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21437 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21439 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21440 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21442 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21443 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21444
445f7ecd
JM
21445 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21446 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21447
348363b2
JM
21448 * sysdeps/unix/sysv/linux/kernel-features.h
21449 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21450 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21451 unconditional.
21452 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21453 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21454 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21455 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21456 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21457 Make code unconditional.
21458 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21459 (__mmap64) [!__NR_mmap2]: Likewise.
21460 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21461 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21462 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21463 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21464 [__NR_mmap2]: Make code unconditional.
21465 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21466 (__mmap64) [!__NR_mmap2]: Likewise.
21467
bc5bc0e5
AK
214682012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21469
21470 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21471
88d506de
AJ
214722012-08-18 Andreas Jaeger <aj@suse.de>
21473
21474 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21475
493387d2
MF
214762012-08-18 Mike Frysinger <vapier@gentoo.org>
21477
21478 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21479 * include/unistd.h (__have_sock_cloexec): Likewise.
21480 (__have_pipe2): Likewise.
21481 (__have_dup3): Likewise.
21482
a277af22
MF
214832012-08-18 Mike Frysinger <vapier@gentoo.org>
21484
21485 [BZ #9685]
21486 * include/unistd.h (__have_pipe2): Change define into an extern int.
21487 (__have_dup3): Likewise.
21488 * socket/have_sock_cloexec.c: Include fcntl.h.
21489 (__have_pipe2): New variable.
21490 (__have_dup3): Likewise.
21491
fdab8fd3
MF
214922012-08-17 Mike Frysinger <vapier@gentoo.org>
21493
21494 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21495
31035e80
MP
214962012-08-17 Marek Polacek <polacek@redhat.com>
21497
21498 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21499 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21500
3bd9e993
RM
215012012-08-17 Roland McGrath <roland@hack.frob.com>
21502
c91c505f
RM
21503 * configure.in: Add AC_SUBST for sysheaders.
21504 * configure: Regenerated.
21505 * config.make.in (sysheaders): New substituted variable.
21506
7c6f9d53
RM
21507 * sysdeps/unix/mkfifo.c: Moved ...
21508 * sysdeps/posix/mkfifo.c: ... here.
21509 * sysdeps/unix/mkfifoat.c: Moved ...
21510 * sysdeps/posix/mkfifoat.c: ... here.
21511
21512 * sysdeps/unix/utime.c: Moved ...
21513 * sysdeps/posix/utime.c: ... here.
21514
21515 * sysdeps/unix/time.c: Moved ...
21516 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21517 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21518 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21519
21520 * sysdeps/unix/nice.c: Moved ...
21521 * sysdeps/posix/nice.c: ... here.
21522
21523 * sysdeps/unix/alarm.c: Moved ...
21524 * sysdeps/posix/alarm.c: ... here.
21525
3bd9e993
RM
21526 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21527
d1f09384
JL
215282012-08-17 Jeff Law <law@redhat.com>
21529
21530 * intl/Makefile (codeset_mo): New variable.
21531 ($(codeset_mo)): New target.
21532 (tst-codeset.out): Depend on that. Remove explicit rule.
21533 (tst-gettext3.out, tst-gettext5.out): Likewise.
21534 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21535 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21536 * intl/tst-codeset.sh: Remove.
21537 * intl/tst-gettext3.sh: Likewise.
21538 * intl/tst-gettext5.sh: Likewise.
21539
2ae1ae5c
RM
215402012-08-17 Roland McGrath <roland@hack.frob.com>
21541
c31fdb83
RM
21542 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21543 * sysdeps/unix/syscalls.list: ... here.
21544
a0844057
RM
21545 * sysdeps/posix/getaddrinfo.c
21546 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21547 (gaiconf_init, gaiconf_reload): Use them.
21548 [!_STATBUF_ST_NSEC]
21549 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21550 Define using time_t rather than struct timespec.
21551
750c1f2a
RM
21552 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21553 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21554 Macros removed.
21555 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21556 [!NO_THREADS].
21557 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21558 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21559 Likewise.
21560
2ae1ae5c
RM
21561 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21562 __libc_cleanup_push argument.
21563
e66a42f5
RM
21564 * bits/param.h: New file.
21565 * misc/sys/param.h: New file.
21566 * include/sys/param.h: New file.
21567 * misc/Makefile (headers): Add bits/param.h.
21568 * sysdeps/generic/sys/param.h: File removed.
21569 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21570 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21571 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21572 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21573
b7c08a66
RM
21574 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21575 last change.
21576
b2e1c562
RM
21577 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21578 [_IO_MTSAFE_IO].
21579 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21580 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21581 New macros.
21582
c75ccd4c
RM
21583 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21584 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21585 rather than -D_IO_MTSAFE_IO conditionally.
21586 * stdio-common/Makefile (CPPFLAGS): Likewise.
21587 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21588 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21589 Use $(libio-mtsafe).
21590 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21591 of -D_IO_MTSAFE_IO.
21592 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21593 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21594 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21595 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21596 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21597 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21598 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21599 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21600 (CFLAGS-fread_u_chk.c): Likewise.
21601 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21602 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21603 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21604 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21605 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21606 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21607 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21608 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21609 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21610
21611 * libio/Makefile: Test [$(libc-reentrant) = yes]
21612 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21613
21614 * Makeconfig
21615 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21616 * sysdeps/pthread/configure: File removed.
21617 * sysdeps/pthread/Makeconfig: New file.
21618 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21619 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21620
d9195db8
GB
216212012-08-16 Gary Benson <gbenson@redhat.com>
21622
21623 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21624 unmapping the first object in a namespace.
21625
86466cd9
RM
216262012-08-16 Roland McGrath <roland@hack.frob.com>
21627
21628 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21629 (__internal_setnetgrent): ... this. Add internal_function to
21630 definition. Add libc_hidden_def.
21631 (setnetgrent): Update caller.
21632 (internal_endnetgrent): Renamed to ...
21633 (__internal_endnetgrent): ... this. Add internal_function to
21634 definition. Add libc_hidden_def.
21635 (endnetgrent): Update caller.
21636 (internal_getnetgrent_r): Renamed to ...
21637 (__internal_getnetgrent_r): ... this. Add internal_function to
21638 definition. Add libc_hidden_def.
21639 (__getnetgrent_r): Update caller.
21640 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21641
c3c8283c
JM
216422012-08-16 Joseph Myers <joseph@codesourcery.com>
21643
21644 * stdlib/longlong.h: Update from GCC.
21645
db1ee0a8
RM
216462012-08-16 Roland McGrath <roland@hack.frob.com>
21647
21648 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21649 on _QL, which is set by umul_ppmm but never used.
21650 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21651 variables, which are set by GMP macros but never used.
21652 * stdio-common/_itowa.c (_itowa): Likewise.
21653 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21654 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21655
30f69637
CD
216562012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21657
21658 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21659 struct La_sh_regs is not constant.
21660 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21661 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21662 and struct La_sparc64_regs are not constant.
21663
93a78ac4
JM
216642012-08-16 Joseph Myers <joseph@codesourcery.com>
21665
21666 * sysdeps/unix/sysv/linux/kernel-features.h
21667 (__ASSUME_POSIX_TIMERS): Remove.
21668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21670 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21671 Make code unconditional.
21672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21673 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21674 Make code unconditional.
21675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21676 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21677 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21679 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21680 Make code unconditional.
21681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21682 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21683 (__libc_missing_posix_timers): Remove.
21684
dd924cd7
RM
216852012-08-15 Roland McGrath <roland@hack.frob.com>
21686
4b4f2771
RM
21687 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21688 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21689
601c888b
RM
21690 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21691
176790a7
RM
21692 * elf/dl-sym.c: Include <stdlib.h>.
21693
329bc018
RM
21694 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21695 constants, which avoids warnings in 32-bit builds.
21696
e04e272d
RM
21697 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21698 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21699
952bf94a
RM
21700 * misc/lseek.c: File moved to ...
21701 * io/lseek.c: ... here.
21702
7c99b50a
RM
21703 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21704
dd924cd7
RM
21705 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21706 shifting LEN more than 31 bits at once.
21707
b3f479a8
LD
217082012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21709
21710 [BZ #14195]
8c4ae0d4
RM
21711 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21712 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21713 * string/test-strncasecmp.c (check1): Renamed to...
21714 (bz12205): ...this.
21715 (bz14195): Add new testcase for two empty input strings and N > 0.
21716 (test_main): Call new testcase, adapt for renamed function.
21717
9c55864e
AJ
217182012-08-15 Andreas Jaeger <aj@suse.de>
21719
21720 [BZ #14090]
21721 * crypt/md5test2.c: New test, based on test supplied by Serge
21722 Belyshev <belyshev@depni.sinp.msu.ru>.
21723 * crypt/Makefile (xtests): Add md5test-giant..
21724 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21725
02dcb6c5
PE
217262012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21727
21728 [BZ #14090]
21729 * crypt/md5.c (md5_process_block): Don't assume the buffer
21730 length is less than 2**32.
21731 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21732 length is less than 2**64.
21733
a3f95dcc
RM
217342012-08-15 Roland McGrath <roland@hack.frob.com>
21735
be75d758
RM
21736 * string/str-two-way.h: Include <sys/param.h>.
21737 (MAX): Macro removed.
21738
7312ca90
RM
21739 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21740 Move #define and #undef of memmove to just before and after
21741 including <string.h>.
21742
9a0a5486
RM
21743 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21744 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21745 and after including <string.h>. Move declarations of
21746 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21747 to before #include "string/memmove.c".
21748
67cc348d
RM
21749 * include/dirent.h: Declare __getdirentries.
21750
a3f95dcc
RM
21751 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21752 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21753
ca98e171
MF
217542012-08-14 Mike Frysinger <vapier@gentoo.org>
21755
21756 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21757 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21758 * sysdeps/i386/configure: Regenerated.
21759 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21760 STABS_CURRENT_FILE, and STABS_FUN.
21761 (END): Remove call to STABS_FUN_END.
21762 (STABS_CURRENT_FILE1): Delete.
21763 (STABS_CURRENT_FILE): Likewise.
21764 (STABS_FUN): Likewise.
21765 (STABS_FUN_END): Likewise.
21766 (STABS_FUN2): Likewise.
21767 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21768 * sysdeps/x86_64/configure: Regenerated.
21769
5908bf46
RM
217702012-08-14 Roland McGrath <roland@hack.frob.com>
21771
21772 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21773 * elf/dl-lookup.c: Likewise.
5908bf46 21774
f2c05b9e
JM
217752012-08-14 Joseph Myers <joseph@codesourcery.com>
21776
21777 * sysdeps/unix/sysv/linux/kernel-features.h
21778 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21779 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21780 unconditionally.
21781 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21782 unconditionally.
21783 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21784 condition on __ASSUME_CLONE_THREAD_FLAGS.
21785
e11f5155
AJ
217862012-08-14 Andreas Jaeger <aj@suse.de>
21787
21788 * sysdeps/i386/fpu/libm-test-ulps: Update.
21789
51a9ba86
MK
217902012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21791
2fdd4f78
AJ
21792 * include/atomic.h (atomic_exchange_and_add): Split into ...
21793 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21794 New atomic macros.
51a9ba86 21795
ba6cba9e
MT
217962012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21797
21798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21799
42443a47
JL
218002012-08-13 Jeff Law <law@redhat.com>
21801
21802 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21803 null byte in the output string.
21804
121dce05
JM
218052012-08-10 Joseph Myers <joseph@codesourcery.com>
21806
21807 * sysdeps/unix/sysv/linux/kernel-features.h
21808 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21809 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21810 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21811 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21812 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21813 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21814 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21815
bf51f568
JL
218162012-08-09 Jeff Law <law@redhat.com>
21817
21818 [BZ #13939]
21819 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21820 When avoid_arena is set, don't retry in the that arena. Pick the
21821 next one, whatever it might be.
21822 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21823 (arena_lock): Pass in new parameter to arena_get2.
21824 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21825 arena_get2.
21826 (__libc_malloc): Unify retrying after main arena failure with
21827 __libc_memalign version.
21828 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21829
f85fa270
L
218302012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21831
21832 [BZ #14166]
21833 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21834 to __redirect_strstr.
21835 (__strstr_sse42): Use typeof __redirect_strstr.
21836 (__strstr_ia32): Likewise.
21837 (__libc_strstr): New prototype.
21838 (strstr): Renamed to ...
21839 (__libc_strstr): This.
21840 (strstr): New strong alias of __libc_strstr.
21841 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21842 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21843 __redirect_time.
21844 Include <time.h>.
21845 (__libc_time): New prototype.
21846 (time_ifunc): Replace time with __libc_time.
21847 (time): New strong alias and hidden definition of __libc_time.
21848 (__GI_time): Remove strong alias.
21849 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21850 Include <stddef.h>.
21851 (memmove): Redefined to __redirect_memmove.
21852 (__memmove_sse2): Use typeof __redirect_memmove.
21853 (__memmove_ssse3): Likewise.
21854 (__memmove_ssse3_back): Likewise.
21855 (__libc_memmove): New prototype.
21856 (memmove): Renamed to ...
21857 (__libc_memmove): This.
21858 (memmove): New strong alias of __libc_memmove.
21859
33b4a91e
MS
218602012-08-08 Mark Salter <msalter@redhat.com>
21861
21862 * elf/elf.h
21863 (R_MN10300_TLS_GD): Define.
21864 (R_MN10300_TLS_LD): Likewise.
21865 (R_MN10300_TLS_LDO): Likewise.
21866 (R_MN10300_TLS_GOTIE): Likewise.
21867 (R_MN10300_TLS_IE): Likewise.
21868 (R_MN10300_TLS_LE): Likewise.
21869 (R_MN10300_TLS_DTPMOD): Likewise.
21870 (R_MN10300_TLS_DTPOFF): Likewise.
21871 (R_MN10300_TLS_TPOFF): Likewise.
21872 (R_MN10300_SYM_DIFF): Likewise.
21873 (R_MN10300_ALIGN): Likewise.
21874 (R_MN10300_NUM): Update.
21875
b36137f1
JM
218762012-08-08 Joseph Myers <joseph@codesourcery.com>
21877
21878 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21879 Remove.
21880
cdd915fd
RM
218812012-08-08 Roland McGrath <roland@hack.frob.com>
21882
a2433aac
RM
21883 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21884
cdd915fd
RM
21885 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21886 sysdeps/unix -> sysdeps/posix move.
21887 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21888
bf9b740a
AM
218892012-08-07 Allan McRae <allan@archlinux.org>
21890
21891 [BZ #14303]
21892 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21893 (SUNOS_CPP): Likewise.
21894 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21895 not found.
21896 (open_input): Call CPP using execvp.
21897
93df14ee
JM
218982012-08-07 Joseph Myers <joseph@codesourcery.com>
21899
21900 * sysdeps/unix/sysv/linux/kernel-features.h
21901 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21902 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21903 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21904 (__ASSUME_WAITID_SYSCALL): Likewise.
21905 * sysdeps/unix/sysv/linux/dl-execstack.c
21906 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21907 code unconditional.
21908 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21909 conditional code.
21910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21911 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21912 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21913 code.
21914 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21915 unconditional.
21916 [__ASSUME_WAITID_SYSCALL]: Likewise.
21917 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21918
d34689de
RM
219192012-08-07 Roland McGrath <roland@hack.frob.com>
21920
a281decc
RM
21921 * sysdeps/unix/closedir.c: Renamed to ...
21922 * sysdeps/posix/closedir.c: ... here.
21923 * sysdeps/unix/dirfd.c: Renamed to ...
21924 * sysdeps/posix/dirfd.c: ... here.
21925 * sysdeps/unix/dirstream.h: Renamed to ...
21926 * sysdeps/posix/dirstream.h: ... here.
21927 * sysdeps/unix/fdopendir.c: Renamed to ...
21928 * sysdeps/posix/fdopendir.c: ... here.
21929 * sysdeps/unix/opendir.c: Renamed to ...
21930 * sysdeps/posix/opendir.c: ... here.
21931 * sysdeps/unix/readdir.c: Renamed to ...
21932 * sysdeps/posix/readdir.c: ... here.
21933 * sysdeps/unix/readdir_r.c: Renamed to ...
21934 * sysdeps/posix/readdir_r.c: ... here.
21935 * sysdeps/unix/rewinddir.c: Renamed to ...
21936 * sysdeps/posix/rewinddir.c: ... here.
21937 * sysdeps/unix/seekdir.c: Renamed to ...
21938 * sysdeps/posix/seekdir.c: ... here.
21939 * sysdeps/unix/telldir.c: Renamed to ...
21940 * sysdeps/posix/telldir.c: ... here.
21941 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21942 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21943 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21944 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21945
22895b47
RM
21946 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21947 * bits/fcntl.h: ... here.
21948
707a53b6
RM
21949 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21950 not 0.
21951 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21952 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21953 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21954 (struct flock): Move l_start, l_len to the beginning.
21955 Use __pid_t for l_pid.
21956 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21957 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21958 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21959 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21960 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21961 [__USE_LARGEFILE64] (struct flock64): New type.
21962 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21963
f0bd3e25
RM
21964 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21965 * bits/dirent.h: ... here.
21966
d34689de
RM
21967 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21968 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21969
6dad2c06
JM
219702012-08-07 Joseph Myers <joseph@codesourcery.com>
21971
21972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21973 Change from 2.6.0 to 2.6.16.
21974 * sysdeps/unix/sysv/linux/configure: Regenerated.
21975 * sysdeps/unix/sysv/linux/kernel-features.h
21976 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21977 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21978 version.
21979 (__ASSUME_UTIMES): Likewise.
21980 (__ASSUME_CLONE_STOPPED): Remove.
21981 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21982 architectures, not kernel version.
21983 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21984 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21985 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21986 (__ASSUME_WAITID_SYSCALL): Likewise.
21987 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21988 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21989 * README: State 2.6.16 as minimum Linux kernel version. Do not
21990 refer to older versions.
21991
03af9520
RM
219922012-08-06 Roland McGrath <roland@hack.frob.com>
21993
8e49df1d
RM
21994 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21995 Define alphasort64 as an alias.
21996 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21997 Define versionsort64 as an alias.
21998 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21999 Define scandir64 as an alias.
22000 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22001 Define scandirat64 as an alias.
22002 * dirent/alphasort64.c (alphasort64):
22003 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22004 * dirent/versionsort64.c: Likewise.
22005 * dirent/scandir64.c: Likewise.
22006 * dirent/scandirat64.c: Likewise.
22007 * sysdeps/wordsize-64/alphasort.c: File removed.
22008 * sysdeps/wordsize-64/alphasort64.c: File removed.
22009 * sysdeps/wordsize-64/scandir.c: File removed.
22010 * sysdeps/wordsize-64/scandir64.c: File removed.
22011 * sysdeps/wordsize-64/scandirat.c: File removed.
22012 * sysdeps/wordsize-64/scandirat64.c: File removed.
22013 * sysdeps/wordsize-64/versionsort.c: File removed.
22014 * sysdeps/wordsize-64/versionsort64.c: File removed.
22015 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22016 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22017 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22018 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22019 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22020 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22021 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22022 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22023
22024 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22026 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22028 [defined __arch64__ || defined __sparcv9]
22029 (__INO_T_MATCHES_INO64_T): New macro.
22030 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22031 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22032 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22033 * sysdeps/unix/sysv/linux/bits/dirent.h
22034 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22035 (_DIRENT_MATCHES_DIRENT64): New macro.
22036
03af9520
RM
22037 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22038 Define lockf64 as an alias.
22039 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22040 Define fseeko64 as an alias.
22041 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22042 Define ftello64 as an alias.
22043 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22044 Define _IO_fgetpos64 and fgetpos64 as aliases.
22045 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22046 Define _IO_fsetpos64 and fsetpos64 as aliases.
22047 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22048 Conditionalize body on this.
22049 * libio/fseeko64.c: Likewise.
22050 * libio/ftello64.c: Likewise.
22051 * libio/iofgetpos64.c: Likewise.
22052 * libio/iofsetpos64.c: Likewise.
22053 * sysdeps/wordsize-64/lockf.c: File removed.
22054 * sysdeps/wordsize-64/lockf64.c: File removed.
22055 * sysdeps/wordsize-64/fseeko.c: File removed.
22056 * sysdeps/wordsize-64/fseeko64.c: File removed.
22057 * sysdeps/wordsize-64/ftello.c: File removed.
22058 * sysdeps/wordsize-64/ftello64.c: File removed.
22059 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22060 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22061 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22062 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22063 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22064 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22065 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22066 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22067 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22068 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22070 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22072 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22073
22074 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22075 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22076 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22078 [defined __arch64__ || defined __sparcv9]
22079 (__OFF_T_MATCHES_OFF64_T): New macro.
22080 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22081 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22083 (__OFF_T_MATCHES_OFF64_T): New macro.
22084
c5757acd
L
220852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22086
22087 * stdlib/secure-getenv.c (__secure_getenv): Replace
22088 GLIBC_2_16 with GLIBC_2_17.
22089
3a31811e
L
220902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22091
22092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22094
faa2bccb
DM
220952012-08-03 David S. Miller <davem@davemloft.net>
22096
22097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22098
85fe1997
JM
220992012-08-03 Joseph Myers <joseph@codesourcery.com>
22100
22101 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22102 Remove.
22103 (__ASSUME_CORRECT_SI_PID): Likewise.
22104 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22105 (__ASSUME_TMPFS_NAME): Likewise.
22106 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22107 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22108 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22109 (HAVE_AUX_SECURE): Make definition unconditional.
22110 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22111 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22112
4f75b7a0
RM
221132012-08-03 Roland McGrath <roland@hack.frob.com>
22114
22115 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22116 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22117 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22118 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22119 __eloop_threshold instead of SYMLOOP_MAX.
22120
22121 * sysdeps/generic/eloop-threshold.h: New file.
22122 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22123 of MAXSYMLINKS.
22124 * elf/chroot_canon.c (chroot_canon): Likewise.
22125
7aab07e4
JM
221262012-08-03 Joseph Myers <joseph@codesourcery.com>
22127
22128 [BZ #13717]
22129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22130 Change to 2.6.0 everywhere.
22131 * sysdeps/unix/sysv/linux/configure: Regenerated.
22132 * sysdeps/unix/sysv/linux/kernel-features.h
22133 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22134 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22135 kernel versions.
22136 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22137 (__ASSUME_FUTEX_REQUEUE): Remove.
22138 (__ASSUME_STATFS64): Define unconditionally.
22139 (__ASSUME_AT_SECURE): Likewise.
22140 (__ASSUME_CORRECT_SI_PID): Likewise.
22141 (__ASSUME_TGKILL): Define without depending on kernel version for
22142 i386.
22143 (__ASSUME_UTIMES): Likewise.
22144 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22145 kernel version.
22146 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22147 (__ASSUME_TMPFS_NAME): Likewise.
22148 * README: Update reference to Linux kernel versions.
22149
b67e9372
MP
221502012-08-02 Marek Polacek <polacek@redhat.com>
22151
1f529f7d 22152 [BZ# 14150]
b67e9372
MP
22153 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22154 libc_cv_asm_type_prefix with %.
22155 * configure: Regenerated.
d2441631
RM
22156 * include/libc-symbols.h: Remove comment about
22157 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22158 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22159 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22160 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22161 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22162 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22163 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22164 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22165 * elf/tst-unique2mod1.c: Likewise.
22166 * elf/tst-unique1mod2.c: Likewise.
22167 * elf/tst-unique1mod1.c: Likewise.
22168 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22169 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22170 Replace ASM_TYPE_DIRECTIVE with .type.
22171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22172 * sysdeps/i386/sysdep.h: Likewise.
22173 * sysdeps/x86_64/sysdep.h: Likewise.
22174 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22176 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22177 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22178 * sysdeps/powerpc/powerpc32/sysdep.h:
22179 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22180 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22181 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22182 * sysdeps/i386/fpu/e_powf.S: Likewise.
22183 * sysdeps/i386/fpu/e_expl.S: Likewise.
22184 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22185 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22186 * sysdeps/i386/fpu/e_pow.S: Likewise.
22187 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22188 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22189 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22190 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22191 * sysdeps/i386/fpu/e_log2.S: Likewise.
22192 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22193 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22194 * sysdeps/i386/fpu/e_powl.S: Likewise.
22195 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22196 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22197 * sysdeps/i386/fpu/e_logl.S: Likewise.
22198 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22199 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22200 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22201 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22202 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22203 * sysdeps/i386/fpu/e_log.S: Likewise.
22204 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22205 * sysdeps/i386/fpu/e_logf.S: Likewise.
22206 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22207 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22208 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22209 * sysdeps/i386/fpu/e_log10.S: Likewise.
22210 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22211 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22212 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22213 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22214 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22215 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22216 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22217 * sysdeps/i386/i686/strtok.S: Likewise.
22218 * sysdeps/i386/i386-mcount.S: Likewise.
22219 * sysdeps/i386/strtok.S: Likewise.
22220 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22221 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22222 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22223 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22224 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22225 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22226 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22227 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22228 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22229 * sysdeps/x86_64/_mcount.S: Likewise.
22230 * sysdeps/x86_64/strtok.S: Likewise.
22231 * sysdeps/sh/_mcount.S: Likewise.
22232
2747bf9a
RM
222332012-08-01 Roland McGrath <roland@hack.frob.com>
22234
22235 * libio/iofopen.c: Include <fcntl.h>.
22236 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22237 (_IO_fopen64, fopen64): Define as aliases.
22238 * libio/iofopen64.c: Include <fcntl.h>.
22239 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22240 Conditionalize body on this.
22241 * sysdeps/wordsize-64/iofopen.c: File removed.
22242 * sysdeps/wordsize-64/iofopen64.c: File removed.
22243
3fb791b8
MP
222442012-08-01 Marek Polacek <polacek@redhat.com>
22245
22246 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22247 Use dlfcn directly instead of a variable.
22248 (binfmt-subdir): Do not define.
22249 (dlfcn): Likewise.
22250
a9f1039f
JM
222512012-08-01 Joseph Myers <joseph@codesourcery.com>
22252
23bddc06
JM
22253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22254 Remove all definitions.
22255 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22256 <kernel-features.h>.
22257 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22258 (miss_F_GETOWN_EX): Remove all definitions.
22259 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22260 macro definition.
22261 [!__ASSUME_FCNTL64]: Remove conditional code.
22262 [__ASSUME_FCNTL64]: Make code unconditional.
22263 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22264 <kernel-features.h>.
22265 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22266 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22267 (lockf64) [__NR_fcntl64]: Make code unconditional.
22268 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22269
a9f1039f
JM
22270 * sysdeps/unix/sysv/linux/kernel-features.h
22271 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22272 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22273 Make code unconditional.
22274 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22275 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22277 [__NR_vfork]: Make code unconditional.
22278 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22279 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22281 [__NR_vfork]: Make code unconditional.
22282 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22283 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22284
09c0ee5f
RM
222852012-08-01 Roland McGrath <roland@hack.frob.com>
22286
48aec5b9
RM
22287 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22288 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22289
cd97c966
RM
22290 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22291 Define mkstemp64 as an alias.
3f55550c
RM
22292 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22293 Define mkstemps64 as an alias.
cd97c966
RM
22294 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22295 Define mkostemp64 as an alias.
b8625cfc
RM
22296 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22297 Define mkostemps64 as an alias.
cd97c966
RM
22298 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22299 Conditionalize body on this.
22300 * misc/mkostemp64.c: Likewise.
b8625cfc 22301 * misc/mkostemps64.c: Likewise.
3f55550c 22302 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22303 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22304 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22305 * sysdeps/wordsize-64/mkostemp.c: File removed.
22306 * sysdeps/wordsize-64/mkstemp.c: File removed.
22307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22311
09c0ee5f
RM
22312 [BZ #14138]
22313 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22314 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22315 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22316 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22317
22318 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22319 compat_symbol macros from <shlib-compat.h> rather than the underlying
22320 default_symbol_version and symbol_version macros, so that DEFAULT
22321 lines in shlib-versions are respected.
22322 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22323
7e66ee51
FW
223242012-08-01 Florian Weimer <fweimer@redhat.com>
22325
22326 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22327 Declare with warn_unused_result.
22328 (setgid, setregid, setegid, setresgid): Likewise.
22329 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22330 Likewise.
22331 * WUR-REPORT: Remove set*id functions.
22332
d2a54255
PT
223332012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22334
22335 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22336
7ecdb005
RM
223372012-07-31 Roland McGrath <roland@hack.frob.com>
22338
b4180a5e 22339 [BZ #10191]
789bd351
RM
22340 * include/sys/socket.h (__libc_accept, __libc_accept4):
22341 Add attribute_hidden.
22342 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22343
40ce302d
RM
22344 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22345 use of PTR_MANGLE.
22346 * inet/getnetgrent_r.c (setup): Likewise.
22347
7ecdb005
RM
22348 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22349
e2eabb2c
DM
223502012-07-31 David S. Miller <davem@davemloft.net>
22351
22352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22353
d0419dbf
JM
223542012-07-31 Joseph Myers <joseph@codesourcery.com>
22355
22356 [BZ #13629]
22357 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22358 value between 1.0 and 2.0 and smaller part has absolute value less
22359 than 1.0.
22360 * math/s_clog10.c (__clog10): Likewise.
22361 * math/s_clog10f.c (__clog10f): Likewise.
22362 * math/s_clog10l.c (__clog10l): Likewise.
22363 * math/s_clogf.c (__clogf): Likewise.
22364 * math/s_clogl.c (__clogl): Likewise.
22365 * math/libm-test.inc (clog_test): Add more tests.
22366 (clog10_test): Likewise.
22367 * sysdeps/i386/fpu/libm-test-ulps: Update.
22368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22369
2bc13872
FW
223702012-07-31 Florian Weimer <fweimer@redhat.com>
22371
22372 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22373 Exit with zero in case no suitable GID is found, and write a
22374 message to standard error.
22375
bea9b193
RM
223762012-07-30 Roland McGrath <roland@hack.frob.com>
22377
22378 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22379 rather than to 1.
22380 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22381 (MAXPATHLEN): Removed.
22382 (NOGROUP, NODEV): New macros.
22383 (setbit, clrbit, isset, isclr): New macros.
22384 (howmany, roundup, powerof2): New macros.
22385 (DEV_BSIZE): New macro.
22386
22387 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22388 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22389
22390 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22391 definition on [!__NO_LONG_DOUBLE_MATH].
22392
22393 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22394 PTR_MANGLE and PTR_DEMANGLE.
22395
22396 * socket/accept4.c (accept4): Rename to __libc_accept4.
22397 Define accept4 as a weak alias.
22398
22399 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22400 on [_DIRENT_HAVE_D_TYPE].
22401 * io/ftw.c (ftw_dir): Likewise.
22402
22403 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22404
22405 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22406
22407 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22408 Use the BSD numbers rather than the arbitrary ones we had.
22409 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22410 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22411 (SIGXCPU, SIGXFSZ): New macros.
22412 (_NSIG): Now 32.
22413
22414 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22415 initializer on [_LIBC_REENTRANT].
22416
22417 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22418 definitions inside [_POSIX_MAPPED_FILES].
22419
22420 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22421
22422 * dirent/opendir.c: Include <fcntl.h>.
22423
22424 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22425 (__libc_getspecific): Likewise.
22426 (__libc_key_create): Likewise.
22427
22428 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22429 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22430 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22431 (tmpfile64): Define as alias.
22432 * sysdeps/wordsize-64/tmpfile.c: File removed.
22433 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22434 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22435 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22436
22437 * stdio-common/vfscanf.c: Include <stdbool.h>.
22438 * nss/makedb.c: Likewise.
22439 * stdio-common/_i18n_number.h: Likewise.
22440 * argp/argp-help.c: Likewise.
22441 * posix/wordexp.c: Likewise.
22442 * sysdeps/posix/spawni.c: Likewise.
22443 * nss/nss_files/files-initgroups.c: Likewise.
22444 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22445 * nss/nss_files/files-initgroups.c: Likewise.
22446 * nss/nss_db/db-netgrp.c: Likewise.
22447 * nss/nss_db/db-initgroups.c: Likewise.
22448 * io/fchmodat.c: Include <sys/stat.h>.
22449
22450 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22451 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22452
22453 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22454 [HAVE_MMAP].
22455
22456 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22457 Add multiple inclusion protection.
22458
e5abc686
DM
224592012-07-27 David S. Miller <davem@davemloft.net>
22460
22461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22462
815e6fa3
GB
224632012-07-27 Gary Benson <gbenson@redhat.com>
22464
22465 [BZ #14298]
22466 * elf/rtld.c: Include <stap-probe.h>.
22467 (dl_main): Added static probes "init_start" and "init_complete".
22468 * elf/dl-load.c: Include <stap-probe.h>.
22469 (lose): Take new parameter "nsid".
22470 Added static probe "map_failed".
22471 (_dl_map_object_from_fd): Pass namespace id to lose.
22472 Added static probe "map_start".
22473 (open_verify): Pass namespace id to lose.
22474 * elf/dl-open.c: Include <stap-probe.h>.
22475 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22476 and "reloc_complete".
22477 * elf/dl-close.c: Include <stap-probe.h>.
22478 (_dl_close_worker): Added static probes "unmap_start" and
22479 "unmap_complete".
22480 * elf/rtld-debugger-interface.txt: New file documenting the above.
22481
9f98c16c
RM
224822012-07-26 Roland McGrath <roland@hack.frob.com>
22483
22484 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22485 rather than a string variable.
22486 * sunrpc/rpc_main.c (h_output): Likewise.
22487 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22488
f3c22df3
PT
224892012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22490
22491 * inet/check_native.c: New file.
22492
3129cfc6
JM
224932012-07-26 Joseph Myers <joseph@codesourcery.com>
22494
da865e95
JM
22495 [BZ #13629]
22496 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22497 if larger part has absolute value 1.0.
22498 * math/s_clog10.c (__clog10): Likewise.
22499 * math/s_clog10f.c (__clog10f): Likewise.
22500 * math/s_clog10l.c (__clog10l): Likewise.
22501 * math/s_clogf.c (__clogf): Likewise.
22502 * math/s_clogl.c (__clogl): Likewise.
22503 * math/libm-test.inc (clog_test): Add more tests.
22504 (clog10_test): Likewise.
22505 * sysdeps/i386/fpu/libm-test-ulps: Update.
22506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22507
3129cfc6
JM
22508 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22509 (pltexit): Likewise.
22510 (La_regs): Likewise.
22511 (La_retval): Likewise.
22512 (int_retval): Likewise.
22513 Update #error for removed macros to refer only to definitions in
22514 tst-audit.h.
22515 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22516 macro.
22517 (pltexit): Likewise.
22518 (La_regs): Likewise.
22519 (La_retval): Likewise.
22520 (int_retval): Likewise.
22521 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22522 macro.
22523 (pltexit): Likewise.
22524 (La_regs): Likewise.
22525 (La_retval): Likewise.
22526 (int_retval): Likewise.
22527 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22528 macro.
22529 (pltexit): Likewise.
22530 (La_regs): Likewise.
22531 (La_retval): Likewise.
22532 (int_retval): Likewise.
22533 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22534 macro.
22535 (pltexit): Likewise.
22536 (La_regs): Likewise.
22537 (La_retval): Likewise.
22538 (int_retval): Likewise.
22539 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22540 macro.
22541 (pltexit): Likewise.
22542 (La_regs): Likewise.
22543 (La_retval): Likewise.
22544 (int_retval): Likewise.
22545 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22546 macro.
22547 (pltexit): Likewise.
22548 (La_regs): Likewise.
22549 (La_retval): Likewise.
22550 (int_retval): Likewise.
22551 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22552 macro definitions in tst-audit.h.
22553 * sysdeps/i386/tst-audit.h: New file.
22554 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22555 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22556 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22557 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22558 * sysdeps/sh/tst-audit.h: Likewise.
22559 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22560 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22561 * sysdeps/x86_64/tst-audit.h: Likewise.
22562
bfc07087
AJ
225632012-07-26 Andreas Jaeger <aj@suse.de>
22564
b1b2aaf8
AJ
22565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22566 ptrace.
22567
22568 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22569 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22570 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22571 PTRACE_O_MASK.
22572 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22573 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22574 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22575
bfc07087
AJ
22576 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22577 value.
22578
22579 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22580 _sigsys.
22581 (si_call_addr, si_syscall, si_arch): Define new macro.
22582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22583 _sigsys.
22584 (si_call_addr, si_syscall, si_arch): Define new marcro.
22585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22586 _sigsys.
22587 (si_call_addr, si_syscall, si_arch): Define new macro.
22588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22589 _sigsys.
22590 (si_call_addr, si_syscall, si_arch): Define new macro.
22591
89b4b02f
JM
225922012-07-25 Joseph Myers <joseph@codesourcery.com>
22593
22594 [BZ #13717]
22595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22596 Change to 2.4.21 where previously 2.4.1.
22597 * sysdeps/unix/sysv/linux/configure: Regenerated.
22598 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22599 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22600 Linux kernel version.
22601 (__ASSUME_STD_AUXV): Remove.
22602 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22603 kernel version.
22604 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22605 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22606 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22607 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22608 (__ASSUME_NETLINK_SUPPORT): Likewise.
22609 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22610 (__no_netlink_support): Remove conditional definition.
22611 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22612 Remove.
22613 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22614 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22615 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22616 (if_nameindex_ioctl): Remove.
22617 (if_nameindex_netlink): Do not handle __no_netlink_support.
22618 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22619 code.
22620 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22621 Remove conditional code.
22622 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22623 code.
22624 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22625 unconditional.
22626 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22627 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22628 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22629 Remove.
22630 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22631 [!__ASSUME_STD_AUXV]: Remove conditional code.
22632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22633 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22634 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22636 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22637 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22638 code.
22639 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22641 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22642 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22643 conditional code.
22644 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22646 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22647 code.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22649 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22650 conditional code.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22652 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22653 code unconditional.
22654 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22655 conditional code.
22656 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22657 unconditional.
22658 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22659 conditional code.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22661 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22662 unconditional.
22663 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22664 conditional code.
22665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22666 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22667 code unconditional.
22668 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22669 conditional code.
22670 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22671 unconditional.
22672 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22673 conditional code.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22675 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22676 code unconditional.
22677 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22678 conditional code.
22679 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22680 unconditional.
22681 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22682 conditional code.
22683
842a39cd
AS
226842012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22685
22686 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22687 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22688 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22689 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22690 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22691 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22692 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22693 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22694 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22695 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22696 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22697 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22698 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22699 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22700 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22701 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22702 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22703 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22704 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22706 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22707 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22708 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22709
84b3fd84
FW
227102012-07-25 Florian Weimer <fweimer@redhat.com>
22711
22712 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22713 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22714 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22715 Introduce __libc_secure_getenv.
0c7936d5
FW
22716 * stdlib/Versions (2.17): Add secure_getenv
22717 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22718 * stdlib/secure-getenv.c: Rename __secure_getenv to
22719 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22720 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22721 * stdlib/tst-secure-getenv.c: New.
22722 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22723 * manual/startup.texi (Environment Access): Document
22724 secure_getenv.
84b3fd84
FW
22725 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22726 __libc_secure_getenv.
22727 * inet/ruserpass.c (ruserpass): Likewise.
22728 * malloc/mtrace.c (mtrace): Likewise.
22729 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22730 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22731 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22732 * sysdeps/posix/tempname.c: Likewise. Evaluate
22733 HAVE_SECURE_GETENV.
22734 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22735 __secure_getenv to __libc_secure_getenv.
84b3fd84 22736 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22738 Likewise.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22740 Likewise.
22741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22748
56e49b71
JM
227492012-07-25 Joseph Myers <joseph@codesourcery.com>
22750
22751 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22752 (struct La_i86_retval): Likewise.
22753 (struct La_x86_64_regs): Likewise.
22754 (struct La_x86_64_retval): Likewise.
22755 (struct La_x32_regs): Likewise.
22756 (struct La_x32_retval): Likewise.
22757 (struct La_ppc32_regs): Likewise.
22758 (struct La_ppc32_retval): Likewise.
22759 (struct La_ppc64_regs): Likewise.
22760 (struct La_ppc64_retval): Likewise.
22761 (struct La_sh_regs): Likewise.
22762 (struct La_sh_retval): Likewise.
22763 (struct La_s390_32_regs): Likewise.
22764 (struct La_s390_32_retval): Likewise.
22765 (struct La_s390_64_regs): Likewise.
22766 (struct La_s390_64_retval): Likewise.
22767 (struct La_sparc32_regs): Likewise.
22768 (struct La_sparc32_retval): Likewise.
22769 (struct La_sparc64_regs): Likewise.
22770 (struct La_sparc64_retval): Likewise.
22771 (struct audit_ifaces): Remove architecture-specific pltenter and
22772 pltexit members.
22773 * sysdeps/i386/ldsodefs.h: New file.
22774 * sysdeps/powerpc/ldsodefs.h: Likewise.
22775 * sysdeps/s390/ldsodefs.h: Likewise.
22776 * sysdeps/sh/ldsodefs.h: Likewise.
22777 * sysdeps/sparc/ldsodefs.h: Likewise.
22778 * sysdeps/x86_64/ldsodefs.h: Likewise.
22779
354691b7
MP
227802012-07-25 Marek Polacek <polacek@redhat.com>
22781
22782 [BZ #6808]
22783 * math/libm-test.inc (yn_test): Add another test.
22784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22785 to ERANGE when the result is +-Inf.
22786 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22787 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22788 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22789 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22790
bf9e2071
JM
227912012-07-24 Joseph Myers <joseph@codesourcery.com>
22792
22793 * conform/data/time.h-data (NULL): Use macro-constant. Require
22794 equal to 0.
22795 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22796 clock_t.
22797 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22798
57633811
TS
227992012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22800
22801 * configure.in <sysdeps resolving>: Correct printing
22802 Implies_before.
22803 * configure: Regenerate.
22804
c23c33b0
TS
228052012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22806
22807 * math/w_ilogb.c: Include <limits.h>.
22808 * math/w_ilogbl.c: Likewise.
22809
b5982523
JM
228102012-07-20 Joseph Myers <joseph@codesourcery.com>
22811
22812 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22813 va_copy. Document allowing for unavailable va_copy only as
22814 pre-C99 compatibility.
22815 * manual/string.texi (Copying and Concatenation): Use va_copy
22816 instead of __va_copy in concat example.
22817
ac4ea442
PT
228182012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22819
22820 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22821 (__sendto): Use create_address_port. Initialize APORT and deallocate
22822 it if not null.
22823
f98eafbd
PT
22824 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22825 with O_NOLINK passed to __file_name_lookup.
22826
898c7aab
PT
22827 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22828 with O_NOLINK passed to __file_name_lookup.
22829
0ced335a
PT
22830 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22831 negative N or less than NGIDS.
22832
b3404dbd
PT
22833 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22834 type to string_t. Set ERANGE as errno and return it if NAME is not big
22835 enough. Use memcpy instead of strncpy.
22836
0f48659e
JM
228372012-07-20 Joseph Myers <joseph@codesourcery.com>
22838
22839 * elf/Makefile (check-data): Remove.
22840 (localplt.data): New vpath directive.
22841 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22842 instead of $(check-data).
22843 * scripts/data/localplt-generic.data: Move to ...
22844 * sysdeps/generic/localplt.data: ... here.
22845 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22846 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22847 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22849 ... here.
22850 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22852 ... here.
22853 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22855 ... here.
22856 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22858 ... here.
22859 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22861 ... here.
22862 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22864 ... here.
22865
d37cbdaa
AZ
228662012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22867
22868 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22869 PPC32 and PPC64 files.
22870 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22871 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22872
46f85fc2
AK
228732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22874
22875 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22876 __makecontext_ret to ...
22877 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22878 ... here and call exit if uc_link is NULL. New file.
22879 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22880 __makecontext_ret.S.
22881 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22882 __makecontext_ret to ...
22883 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22884 ... here and call exit if uc_link is NULL. New file.
22885 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22886 __makecontext_ret.S.
22887
08f43f9b
AK
228882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22889
22890 * elf/elf.h (R_390_IRELATIVE): New definition.
22891 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22892 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22893 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22894 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22895 (elf_machine_lazy_rel): Likewise.
22896 * sysdeps/s390/dl-irel.h: New file.
22897 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22898 * sysdeps/s390/s390-64/memset.S: New asm code.
22899 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22900 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22901 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22902 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22903 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22904 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22905 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22906 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22907 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22908 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22909 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22910 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22911 * sysdeps/s390/s390-32/memset.S: New asm code.
22912 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22913
3b05db33
MP
229142012-07-17 Marek Polacek <polacek@redhat.com>
22915
22916 [BZ #14349]
22917 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22918 * sysdeps/s390/s390-64/configure.in: Likewise.
22919 * sysdeps/sparc/configure.in: Likewise.
22920 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22921 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22922 * sysdeps/i386/configure.in: Likewise.
22923 * sysdeps/x86_64/configure.in: Likewise.
22924 * sysdeps/sh/configure.in: Likewise.
22925 * sysdeps/s390/s390-32/configure: Regenerated.
22926 * sysdeps/s390/s390-64/configure: Likewise.
22927 * sysdeps/x86_64/configure: Likewise.
22928 * sysdeps/sh/configure: Likewise.
22929 * sysdeps/powerpc/powerpc64/configure: Likewise.
22930 * sysdeps/powerpc/powerpc32/configure: Likewise.
22931 * sysdeps/sparc/configure: Likwise.
22932 * sysdeps/i386/configure: Likewise.
22933
a66877c6
MP
22934 * elf/dl-open.c: Comment fixes.
22935
cfc82fd8
JM
229362012-07-17 Joseph Myers <joseph@codesourcery.com>
22937
bd29910a
JM
22938 * Makefile [CXX] (check-data): Remove.
22939 [CXX] (c++-types.data): New vpath directive.
22940 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22941 vpath. Do not allow for C++ type data being missing.
22942 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22943 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22944 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22945 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22946 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22947 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22948 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22950 ... here.
22951 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22953 ... here.
22954 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22956 ... here.
22957 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22959 ... here.
22960 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22962 ... here.
22963 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22965 ... here.
22966 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22968 ... here.
22969 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22971
cfc82fd8
JM
22972 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22973 definitions to architecture-specific files.
22974 (TLS_IE): Likewise.
22975 (TLS_LD): Likewise.
22976 (TLS_GD): Likewise.
22977 * sysdeps/i386/tls-macros.h: New file.
22978 * sysdeps/powerpc/tls-macros.h: Likewise.
22979 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22980 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22981 * sysdeps/sh/tls-macros.h: Likewise.
22982 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22983 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22984 * sysdeps/x86_64/tls-macros.h: Likewise.
22985
f7db3170
TS
229862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22987
07cbfc23
TS
22988 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22989 zero value for regular exit case.
22990
f7db3170
TS
22991 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22992 (__start_context): Preserve zero value for regular exit case.
22993
dc97c227
TS
229942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22995 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22996
22997 * manual/setjmp.texi (setcontext): Clarify normal process
22998 termination when uc_link is the null pointer.
22999 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23000 exit call.
23001
d0cd7d02
AS
230022012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23003
23004 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23005 preprocessor. Test for each exception mask separately.
23006
dd318934
AJ
230072012-07-16 Andreas Jaeger <aj@suse.de>
23008
23009 * po/ru.po: Update from translation team.
23010
8048311a
JM
230112012-07-15 Joseph Myers <joseph@codesourcery.com>
23012
23013 * conform/data/string.h-data (NULL): Use macro-constant. Require
23014 equal to 0.
23015 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23016 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23017 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23018 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23019 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23020
b637d46e
AJ
230212012-07-13 Andreas Jaeger <aj@suse.de>
23022
23023 * po/fr.po: Update from translation team.
23024
541428fe
MP
230252012-07-12 Marek Polacek <polacek@redhat.com>
23026
23027 [BZ #14173]
23028 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23029 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23030 loop condition.
23031
ec332e94
JM
230322012-07-12 Joseph Myers <joseph@codesourcery.com>
23033
23034 [BZ #13717]
23035 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23036 Change to 2.4.1 where previously 2.4.0.
23037 * sysdeps/unix/sysv/linux/configure: Regenerated.
23038 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23039 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23040 version.
23041 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23042 (__ASSUME_AT_CLKTCK): Remove.
23043 (__ASSUME_AT_PAGESIZE): Likewise.
23044 (__ASSUME_AT_XID): Likewise.
23045 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23046 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23047 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23048 unconditionally.
23049 (HAVE_AUX_PAGESIZE): Likewise.
23050 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23051 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23052 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23053
7b6e99be
JB
230542012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23055
23056 [BZ #14307]
23057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23058 the temporary buffer used to invoke __gethostbyname2_r,
23059 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23060 host_data / struct gaih_addrtuple.
23061 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23062 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23063 header file nss/nsswitch.h.
23064 * nss/nsswitch.h (global scope): Add definition of implementation
23065 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23066 resolv/nss_dns/dns-host.c).
23067
608404eb
AJ
230682012-07-11 Andreas Jaeger <aj@suse.de>
23069
23070 * po/fr.po: Update from translation team.
23071
71220aca
AJ
23072 * po/sv.po: Update from translation team
23073 * po/fr.po: Another update from translation team.
23074
28cfe843
AZ
230752012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23076
23077 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23078 for subnormals or multiply small sinh result by itself.
23079 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23081
6b90f981
DM
230822012-07-11 David S. Miller <davem@davemloft.net>
23083
23084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23085
c6825772
AS
230862012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23087
23088 [BZ #14347]
23089 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23090 (INTERNAL_MARK): Shift it here.
23091
7b8e0d49
MP
230922012-07-10 Marek Polacek <polacek@redhat.com>
23093
23094 [BZ #14151]
23095 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23096 libc_cv_asm_global_directive with .globl.
23097 * configure: Regenerated.
23098 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23099 with .globl.
23100 * sysdeps/i386/configure: Regenerated.
23101 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23102 with .globl.
23103 * sysdeps/x86_64/configure: Regenerated.
23104 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23105 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23106 * elf/tst-unique2mod2.c: Likewise.
23107 * elf/tst-unique2mod1.c: Likewise.
23108 * elf/tst-unique1mod2.c: Likewise.
23109 * elf/tst-unique1mod1.c: Likewise.
23110 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23111 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23112 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23113 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23114 * sysdeps/mach/sysdep.h: Likewise.
23115 * sysdeps/i386/sysdep.h: Likewise.
23116 * sysdeps/i386/i386-mcount.S: Likewise.
23117 * sysdeps/x86_64/_mcount.S: Likewise.
23118 * sysdeps/x86_64/sysdep.h: Likewise.
23119 * sysdeps/sh/_mcount.S: Likewise.
23120 * sysdeps/sh/sysdep.h: Likewise.
23121 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23122 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23123 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23124 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23125 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23126 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23127 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23128 * locale/localeinfo.h: Likewise.
23129 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23130 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23131
6c55cda3
RM
231322012-07-09 Roland McGrath <roland@hack.frob.com>
23133
23134 [BZ #14336]
23135 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23136 system".
23137 * manual/message.texi (The Uniforum approach): Likewise.
23138 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23139 (glibc iconv Implementation): Likewise.
23140
638a572e
JM
231412012-07-09 Joseph Myers <joseph@codesourcery.com>
23142
23143 [BZ #14337]
23144 * math/s_clog.c (__clog): Avoid scaling a value down where that
23145 could result in underflow.
23146 * math/s_clog10.c (__clog10): Likewise.
23147 * math/s_clog10f.c (__clog10f): Likewise.
23148 * math/s_clog10l.c (__clog10l): Likewise.
23149 * math/s_clogf.c (__clogf): Likewise.
23150 * math/s_clogl.c (__clogl): Likewise.
23151 * math/libm-test.inc (clog_test): Add more tests.
23152 (clog10_test): Likewise.
23153 * sysdeps/i386/fpu/libm-test-ulps: Update.
23154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23155
261f4859
AS
231562012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23157
0abaf3e4
AS
23158 [BZ #14283]
23159 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23160 by 7 not 8 to examine high bit of fractional part.
23161
261f4859
AS
23162 [BZ #14042]
23163 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23164 for call to __mcount_internal.
23165 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23166 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23167 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23168
f17ac40d
JM
231692012-07-06 Joseph Myers <joseph@codesourcery.com>
23170
9ad63c23
JM
23171 [BZ #14154]
23172 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23173 approximation for values within 0x1p-13f of an odd multiple of
23174 pi/4.
23175 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23176 exception. Add more tests.
23177 * sysdeps/i386/fpu/libm-test-ulps: Update.
23178
f17ac40d
JM
23179 [BZ #6778]
23180 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23181 inputs and return -1 for them. Do not check for +Inf in case not
23182 reachable for +Inf.
23183 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23184 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23186 and return -1 for them. Do not check for +Inf in case not
23187 reachable for +Inf.
23188 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23189 define.
23190 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23191 and return -1 for them. Do not check for +Inf in case not
23192 reachable for +Inf.
23193 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23194 spurious underflow.
23195 * sysdeps/i386/fpu/libm-test-ulps: Update.
23196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23197
fb21f89b
MF
231982012-07-06 Mike Frysinger <vapier@gentoo.org>
23199
23200 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23201
cdfe2c5e
JM
232022012-07-05 Joseph Myers <joseph@codesourcery.com>
23203
23204 [BZ #14157]
23205 [BZ #14331]
23206 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23207 could result in spurious underflow. Scale down values above
23208 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23209 * math/s_csqrtf.c (__csqrtf): Likewise.
23210 * math/s_csqrtl.c (__csqrtl): Likewise.
23211 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23212 spurious underflow.
23213 * sysdeps/i386/fpu/libm-test-ulps: Update.
23214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23215
70d35b67
AS
232162012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23217
704bc459
AS
23218 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23219 xopen-msg.sed.
23220 * catgets/xopen-msg.awk: New file.
23221 * catgets/xopen-msg.sed: Removed.
23222
70d35b67
AS
23223 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23224 po2text.sed.
23225 * intl/po2test.awk: New file.
23226 * intl/po2test.sed: Removed.
23227
ca61cf32
JM
232282012-07-04 Joseph Myers <joseph@codesourcery.com>
23229
23230 [BZ #14328]
23231 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23232 or multiply small sinh result by itself.
23233 * math/s_ctanf.c (__ctanf): Likewise.
23234 * math/s_ctanh.c (__ctanh): Likewise.
23235 * math/s_ctanhf.c (__ctanhf): Likewise.
23236 * math/s_ctanhl.c (__ctanhl): Likewise.
23237 * math/s_ctanl.c (__ctanl): Likewise.
23238 * math/libm-test.inc (ctan_test_tonearest): New function.
23239 (ctan_test_towardzero): Likewise.
23240 (ctan_test_downward): Likewise.
23241 (ctan_test_upward): Likewise.
23242 (ctanh_test_tonearest): Likewise.
23243 (ctanh_test_towardzero): Likewise.
23244 (ctanh_test_downward): Likewise.
23245 (ctanh_test_upward): Likewise.
23246 (main): Call these new functions.
23247 * sysdeps/i386/fpu/libm-test-ulps: Update.
23248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23249
ca48a46a
MF
232502012-07-03 Mike Frysinger <vapier@gentoo.org>
23251
23252 * .gitignore: Delete /ports entry.
23253
9d63d37d
AJ
232542012-07-03 Andreas Jaeger <aj@suse.de>
23255
23256 * po/bg.po: Update from translation team.
23257 * po/cs.po: Likewise.
23258 * po/de.po: Likewise.
23259 * po/hr.po: Likewise.
23260 * po/nl.pl: Likewise.
23261 * po/pl.po: Likewise.
23262 * po/vi.po: Likewise.
23263
370ca3d2
JM
232642012-07-03 Joseph Myers <joseph@codesourcery.com>
23265
95f5a9a8
JM
23266 * Makeconfig [!+link] (+link-before-libc): New variable.
23267 [!+link] (+link-after-libc): Likewise.
23268 [!+link] (+link-tests): Likewise.
23269 [!+link] (+link): Define in terms of $(+link-before-libc) and
23270 $(+link-after-libc).
23271 [!+link-static] (+link-static-before-libc): New variable.
23272 [!+link-static] (+link-static-after-libc): Likewise.
23273 [!+link-static] (+link-static-tests): Likewise.
23274 [!+link-static] (+link-static): Define in terms of
23275 $(+link-static-before-libc) and $(+link-static-after-libc).
23276 [build-shared] (link-libc-before-gnulib): New variable.
23277 [build-shared] (link-libc-tests): Likewise.
23278 [build-shared] (link-libc): Define in terms of
23279 $(link-libc-before-gnulib).
23280 [!build-shared] (link-libc-tests): New variable.
23281 (link-libc-static-tests): New variable.
23282 [!gnulib] (gnulib-arch): New variable.
23283 [!gnulib] (gnulib-tests): Likewise.
23284 [!gnulib] (static-gnulib-arch): Likewise.
23285 [!gnulib] (static-gnulib-tests): Likewise.
23286 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23287 Define with "=" instead of ":=".
23288 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23289 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23290 * Rules (binaries-all-notests): New variable.
23291 (binaries-all-tests): Likewise.
23292 (binaries-static-notests): Likewise.
23293 (binaries-static-tests): Likewise.
23294 (binaries-all): Define using $(binaries-all-notests) and
23295 $(binaries-all-tests).
23296 (binaries-static): Define using $(binaries-static-notests) and
23297 $(binaries-static-tests).
23298 (binaries-shared-tests): New variable.
23299 (binaries-shared-notests): Likewise.
23300 (binaries-shared): Remove variable.
23301 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23302 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23303 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23304 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23305 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23306 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23307 * elf/Makefile (sln-modules): New variable.
23308 (extra-objs): Add $(sln-modules:=.o).
23309 (ldconfig-modules): Add static-stubs.
23310 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23311 * elf/static-stubs.c: New file.
23312
7a845b2c
JM
23313 [BZ #14283]
23314 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23315 by 7 not 8 to examine high bit of fractional part. Use volatile
23316 variables when splitting into final array of floats if
23317 __FLT_EVAL_METHOD__ != 0.
23318 * math/libm-test.inc (cos_test): Add another test.
23319 (sin_test): Likewise.
23320 * sysdeps/i386/fpu/libm-test-ulps: Update.
23321
e2283f38
JM
23322 [BZ #14273]
23323 * math/libm-test.inc (cosh_test): Add more tests.
23324
370ca3d2
JM
23325 * version.h (RELEASE): Set to "development".
23326 (VERSION): Set to "2.16.90".
23327
ee9247c3
CD
233282012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23329
23330 * NEWS: Update copyright. Remove last-updated date.
23331 Mention math library bug fixes and timezone data changes.
23332 * README: Mention GNU/Hurd, x32, and HPPA support status.
23333
4648c381
TS
233342012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23335
23336 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23337
aac78a43
AJ
233382012-06-27 Andreas Jaeger <aj@suse.de>
23339
23340 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23341
ed3dbfad
AJ
233422012-06-25 Andreas Jaeger <aj@suse.de>
23343
23344 * sysdeps/s390/fpu/libm-test-ulps: Update.
23345
4d0ee855
AS
233462012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23347 Thomas Schwinge <thomas@codesourcery.com>
23348
23349 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23350 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23352 fanotify_mark.
23353
af1bce34
TS
233542012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23355
a9fa33ba
TS
23356 * sysdeps/mach/start.c: Remove file.
23357 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23358 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23359 * sysdeps/sh/init-first.c: Likewise.
23360
58f902b8
TS
23361 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23362 registers for frame unwinding purposes, add CFI directives.
23363 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23364 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23365 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23366 Likewise.
23367
1518f58b
TS
23368 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23369 __fortify_fail returning.
23370 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23371
db9b5059
TS
23372 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23373 sysdeps/sh/____longjmp_chk.S.
23374 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23375 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23376 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23377 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23378
967705fe
TS
23379 * sysdeps/sh/abort-instr.h: New file.
23380 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23381 process in case exit returns.
23382
a9def8c4
TS
23383 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23384 initialize the GOT register before use.
23385
2a649725
TS
23386 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23387 calculation of ARGC > 4.
23388
af1bce34
TS
23389 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23390 meaningful names to some local labels.
23391
d230f50a
KK
233922012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23393 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23394
23395 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23396 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23397 (__arch_compare_and_exchange_val_16_acq): Likewise.
23398 (__arch_compare_and_exchange_val_32_acq): Likewise.
23399 (atomic_exchange_and_add): Fix gUSA sequence.
23400 (atomic_add): Likewise.
23401 (atomic_add_negative): Likewise.
23402 (atomic_add_zero): Likewise.
23403 (atomic_bit_test_set): Likewise.
23404
0479b305
AS
234052012-06-22 Andreas Schwab <schwab@redhat.com>
23406
23407 [BZ #13579]
23408 * include/link.h (struct link_map): Add l_free_initfini.
23409 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23410 l_initfini.
23411 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23412 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23413 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23414 set.
23415
0e3933b9
CD
234162012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23417
23418 * configure.in: Use AC_LANG_SOURCE.
23419 * configure: Regenerate.
23420
4248b1b1
RM
234212012-06-22 Roland McGrath <roland@hack.frob.com>
23422
23423 * configure.in (libc_cv_localstatedir): New substituted variable.
23424 * configure: Regenerated.
23425 * config.make.in (localstatedir): New variable, substituted from
23426 libc_cv_localstatedir.
23427 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23428 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23429 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23430 * sysdeps/gnu/configure: Regenerated.
23431
006dd861
JL
234322012-06-21 Jeff Law <law@redhat.com>
23433
23434 [BZ #14277]
23435 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23436 free. Simplify list management for _LIBC case.
23437
79662d42
JM
234382012-06-21 Joseph Myers <joseph@codesourcery.com>
23439
b7abb4bf
JM
23440 [BZ #14273]
23441 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23442 Clear sign bit of 64-bit integer value before comparing against
23443 overflow value.
23444
79662d42
JM
23445 * sysdeps/mach/configure: Regenerated.
23446
1f150908
L
234472012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23448
23449 [BZ #14278]
23450 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23451
28363bbf
JL
234522012-06-21 Jeff Law <law@redhat.com>
23453
23454 [BZ #13882]
23455 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23456 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23457 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23458 * elf/dl-open.c (dl_open_worker): Likewise.
23459
09615db4
CD
234602012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23461
23462 * scripts/list-sources.sh: Scan PORTS for translations.
23463 * po/libc.pot: Regenerated.
23464
2174c6dd
AJ
234652012-06-21 Andreas Jaeger <aj@suse.de>
23466
23467 [BZ #12194]
23468 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23469 warning.
23470 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23471 * bits/byteswap-16.h (__bswap_16): Likewise.
23472 * bits/byteswap.h (__bswap_constant_16): Likewise.
23473
3ee947b1
L
234742012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23475
23476 [BZ #14117]
a2f34833
L
23477 * sysdeps/i386/fpu_control.h: Removed.
23478 * sysdeps/x86_64/fpu_control.h: Moved to ...
23479 * sysdeps/x86/fpu_control.h: Here.
23480
3ee947b1
L
23481 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23482 (_FPU_SETCW): Likewise.
23483
ed1825f8
L
234842012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23485
25f1282a
L
23486 [BZ #14117]
23487 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23488 * sysdeps/x86/fpu/bits/mathinline.h: This.
23489 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23490
ed1825f8
L
23491 [BZ #14050]
23492 [BZ #14117]
23493 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23494 functions if __x86_64__ is defined.
23495
36d54b74
CLT
234962012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23497
23498 * string/endian.h: Add !__ASSEMBLER__ condition for including
23499 conversion interfaces.
23500
10285c21
JM
235012012-06-15 Joseph Myers <joseph@codesourcery.com>
23502
23503 [BZ #14241]
23504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23505 of ABS(x) in calculating zero to negative powers other than odd
23506 integers.
23507 * math/libm-test.inc (pow_test): Add more tests.
23508
06c5abbd
AJ
235092012-06-15 Andreas Jaeger <aj@suse.de>
23510
23511 * manual/contrib.texi (Contributors): Update entry of Liubov
23512 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23513 Machado Filho.
23514
a3aeac40
CH
235152012-06-15 Cyril Hrubis <metan@ucw.cz>
23516
23517 * string/string.h: Add __wur to GNU version of strerror_r.
23518
49bdf4c1
L
235192012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23520
23521 [BZ #14229]
23522 * string/Makefile (tests): Add tst-strtok_r.
23523 * string/tst-strtok_r.c: New file.
23524 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23525 RAX_LP/RDX_LP on SAVE_PTR.
23526
834f9b8d
RM
235272012-06-14 Roland McGrath <roland@hack.frob.com>
23528
23529 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23530
75fa1921
JM
235312012-06-14 Joseph Myers <joseph@codesourcery.com>
23532
23533 * libm_test.inc (csqrt_test): Allow more spurious underflow
23534 exceptions.
23535 (j0_test): Likewise.
23536 (j1_test): Likewise.
23537 (y0_test): Likewise.
23538 (y1_test): Likewise.
23539
771766df
CD
235402012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23541
23542 * po/Makefile (libc.pot): Use UTF-8 charset.
23543
ceb9e56b
PP
235442012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23545
23546 [BZ #14210]
23547 Suppress sign-conversion warning from FD_SET.
23548 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23549 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23550 not unsigned long int.
23551 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23552
ddb28975
L
235532012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23554
23555 [BZ #14050]
23556 [BZ #14117]
23557 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23558 __extern_always_inline instead of __extern_inline.
23559 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23560 (__signbit): Likewise.
23561 (__signbitl): Support C++ namespace.
23562 (lrintf): New inline function.
23563 (lrint): Likewise.
23564 (llrintf): Likewise.
23565 (llrint): Likewise.
23566 (fmaxf): Likewise.
23567 (fmax): Likewise.
23568 (fminf): Likewise.
23569 (fmin): Likewise.
23570 (rint): Likewise.
23571 (rintf): Likewise.
23572 (ceil): Likewise.
23573 (ceilf): Likewise.
23574 (floor): Likewise.
23575 (floorf): Likewise.
23576 (nearbyint): Likewise.
23577 (nearbyintf): Likewise.
23578
d7b4fb26
TS
235792012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23580
23581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23582 non-default versions.
23583
eb55f5c2
RM
235842012-06-11 Roland McGrath <roland@hack.frob.com>
23585
23586 [BZ #14218]
23587 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23588
366af02c
TS
235892012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23590
99ff6e5c
TS
23591 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23592 (FE_UPWARD, FE_DOWNWARD): Don't define.
23593 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23594 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23595
366af02c
TS
23596 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23597 reading it.
23598 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23599 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23600
793ea851
KK
236012012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23602
23603 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23605 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23606 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23607
a728a38f
L
236082012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23609
23610 [BZ #14117]
c08010c7
L
23611 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23612 * sysdeps/i386/fpu/Implies: New file.
23613 * sysdeps/x86_64/fpu/Implies: Likewise.
23614 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23615 * sysdeps/x86/fpu/bits/fenv.h: This.
23616
a728a38f
L
23617 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23618 __SSE_MATH__.
23619
6e230d11
SP
236202012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23621
23622 [BZ #14134]
23623 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23624 character 0xffff that matches the last element of the
23625 conversion table.
23626
1b671feb
AZ
236272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23628
23629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23630 fmodl commit.
23631
6043738b
AZ
236322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23633
23634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23635 values higher than 25.6283.
23636
34ae0b32
AZ
236372012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23638
23639 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23640 subnormal exponent extraction and add some __builtin_expect.
23641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23642 Fix for subnormal mantissa calculation.
23643
1214ec8f
MF
236442012-06-04 Mike Frysinger <vapier@gentoo.org>
23645
23646 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23647 cpu2 is -1 and errno is not ENOSYS.
23648
f3d1f93c
L
236492012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23650
23651 [BZ #14117]
0e4a3cd7
L
23652 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23653 * sysdeps/x86/bits/string.h: This.
23654 * sysdeps/x86_64/bits/string.h: Removed.
23655
6704c645
L
23656 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23657 if not compiling for x86-64, but compiling for >= i486.
23658
48495318
L
23659 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23660 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23661
14adcbfc
L
23662 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23663 New macro from Linux kernel 3.4.0.
23664 (FP_XSTATE_MAGIC2): Likewise.
23665 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23666 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23667 (struct _fpx_sw_bytes): New struct.
23668 (struct _xsave_hdr): Likewise.
23669 (struct _ymmh_state): Likewise.
23670 (struct _xstate): Likewise.
23671
68e408ab
L
23672 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23673 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23674 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23675 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23676 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23677 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23678
f3d1f93c
L
23679 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23680 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23681 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23682 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23683 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23684 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23685
d9dc34cd
TMQMF
236862012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23687
23688 [BZ #13743]
23689 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23690 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23691 (sysdep_headers): Include sys/platform/ppc.h.
23692 * sysdeps/powerpc/test-gettimebase.c: Test for
23693 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23694 * manual/Makefile (appendices): Include platform.texi.
23695 * manual/contrib.texi (Contributors): Update @node pointers.
23696 * manual/maint.texi (Maintenance): Likewise.
23697 (Platform): New node.
23698 * manual/platform.texi: New file. Document the new features.
23699
4af3879c
SP
237002012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23701 Jakub Jelinek <jakub@redhat.com>
23702
23703 [BZ #14188]
23704 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23705 where __builtin_expect is unavailable.
23706
2fd6ff13
DM
237072012-06-03 David S. Miller <davem@davemloft.net>
23708
23709 * stdlib/longlong.h: Updated from GCC.
23710
173f7220
AS
237112012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23712
23713 [BZ #14042]
23714 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23715 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23716 __mcount_internal.
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23718 (GLIBC_2.16): Likewise.
23719
f34a1c6f
L
237202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23721
23722 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23723
88a4576f
JM
237242012-06-01 Joseph Myers <joseph@codesourcery.com>
23725
ea32bcdd
JM
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23727 (default-abi): New variable.
23728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23729 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23730 variable.
23731 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23732 Likewise.
23733 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23734 Likewise.
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23736 Likewise.
23737
88a4576f
JM
23738 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23739 definition. Document in comment.
23740
402fe938
DM
237412012-06-01 David S. Miller <davem@davemloft.net>
23742
23743 * stdlib/longlong.h: Updated from GCC.
23744
3553723f
L
237452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 [BZ #14117]
3bd872c4
L
23748 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23749 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23750 sys/debugreg.h sys/io.h here.
23751 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23752 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23753 sys/io.h.
23754 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23755 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23756 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23757 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23758 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23759 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23760
3553723f
L
23761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23762 Define only if __x86_64__ is defined.
23763
4842e4fe
JM
237642012-06-01 Joseph Myers <joseph@codesourcery.com>
23765
c5bfe3d5
JM
23766 [BZ #14048]
23767 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23768 Use int64_t for variable i.
23769 * math/libm-test.inc (fmod_test): Add more tests.
23770
4842e4fe
JM
23771 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23772 z computation is not scheduled after fetestexcept.
23773 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23774 Use math_force_eval instead of asm to ensure calculation scheduled
23775 before exception test.
23776 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23777 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23778
efb73488
AJ
237792012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23780
23781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23782 computation is not scheduled after fetestexcept.
23783
29bcce7c
L
237842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 [BZ #14117]
23787 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23788 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23789
73a68f94
AZ
237902012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23791
23792 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23794
67b6df78
L
237952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23796
edf2933a 23797 [BZ #14117]
ebc64a18
L
23798 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23799 <bits/wordsize.h>.
23800 (__WCHAR_MIN): Support __WORDSIZE == 64.
23801 (__WCHAR_MAX): Likewise.
23802
edf2933a
L
23803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23804 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23805
57c6cf40
L
23806 [BZ #14183]
23807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23808 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23809
67b6df78 23810 [BZ #14117]
8eb6281e
L
23811 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23812 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23813
aac639f4
L
23814 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23815 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23816
67b6df78
L
23817 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23818 Defined to 1 if __x86_64__ isn't defined.
23819 (_STAT_VER_LINUX_OLD): New.
23820 (st_atime): Remove duplicate.
23821 (st_mtime): Likewise.
23822 (st_ctime): Likewise.
23823
1c2cfe81
DM
238242012-05-31 David S. Miller <davem@davemloft.net>
23825
23826 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23827 entries.
23828
5be8418c
AS
238292012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23830
e7725326
AS
23831 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23832 gen-libm-test.pl.
23833
5be8418c
AS
23834 [BZ #14132]
23835 * elf/dl-reloc.c: Include <_itoa.h>.
23836 (_dl_reloc_bad_type): Remove use of INTUSE.
23837 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23838 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23839 * stdio-common/psiginfo.c (psiginfo): Likewise.
23840 * stdio-common/psignal.c (psignal): Likewise.
23841 * string/strsignal.c (strsignal): Likewise.
23842 * include/signal.h (_sys_siglist): Declare hidden proto.
23843 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23844 INTVARDEF with libc_hidden_data_def.
23845 * stdio-common/itoa-udigits.c: Likewise.
23846 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23847 (_itoa_lower_digits_internal): Remove declaration.
23848 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23849 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23850 (_sys_sigabbrev_internal): Remove aliases.
23851 (_sys_siglist): Define hidden alias.
23852
507352f1
MT
238532012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23854
23855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23856 bits/sysctl.h.
23857
42bbb1c3
L
238582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 [BZ #14117]
6bd784b6
L
23861 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23862 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23863
8bca20f0
L
23864 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23865 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23866 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23867 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23869 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23870
f9e890a9
L
23871 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23872 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23873 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23874
471101a1
L
23875 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23876 with __addr.
23877 (insw): Likewise.
23878 (insl): Likewise.
23879 (outsb): Likewise.
23880 (outsw): Likewise.
23881 (outsl): Likewise.
23882
6451c862
L
23883 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23884 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23885 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23886
a254b8c9
L
23887 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23888 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23890 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23891 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23893
b8dfdd92
L
23894 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23895 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23896
578cd270
L
23897 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23898 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23899
de662f5f
L
23900 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23901 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23902 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23903
25653439
L
23904 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23905 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23906 to ...
23907 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23908
6bad24a0
L
23909 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23910 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23911 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23912
42bbb1c3
L
23913 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23914 for x86-64.
23915 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23916
2d10d547
JM
239172012-05-31 Joseph Myers <joseph@codesourcery.com>
23918
23919 * math/math.h (M_El): Use two more decimal places.
23920 (M_LOG2El): Likewise.
23921 (M_LOG10El): Likewise.
23922 (M_LN2l): Likewise.
23923 (M_LN10l): Likewise.
23924 (M_PIl): Likewise.
23925 (M_PI_2l): Likewise.
23926 (M_PI_4l): Likewise.
23927 (M_1_PIl): Likewise.
23928 (M_2_PIl): Likewise.
23929 (M_2_SQRTPIl): Likewise.
23930 (M_SQRT2l): Likewise.
23931 (M_SQRT1_2l): Likewise.
23932
f230c29b
DM
239332012-05-31 David S. Miller <davem@davemloft.net>
23934
23935 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23936 values between float registers.
23937 * sysdeps/sparc/sparc64/memset.S: Likewise.
23938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23939
fed806c3
MF
239402012-05-31 Mike Frysinger <vapier@gentoo.org>
23941
23942 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23943 -D_FORTIFY_SOURCE=1.
23944 (CPPFLAGS-tst-longjmp_chk.c): Define.
23945 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23946 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23947 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23948 CFLAGS-tst-wchar-h.c.
23949
30917259
MP
239502012-05-31 Marek Polacek <polacek@redhat.com>
23951
23952 [BZ #14132]
23953 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23954 __endmntent_internal): Remove declaration.
23955 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23956 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23957 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23958
1c58d5dc
DM
239592012-05-30 David S. Miller <davem@davemloft.net>
23960
23961 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23962 (___Q_simulate_exceptions): Use real FP ops rather than writing
23963 into the %fsr.
23964 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23965 Likewise.
23966
7dc00e0d
L
239672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23968
23969 [BZ #14117]
0bd53985
L
23970 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23971 * sysdeps/x86/bits/xtitypes.h: This.
23972
3a257e66
L
23973 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23974 * sysdeps/x86/bits/wordsize.h: This.
23975
62f62904
L
23976 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23977 * sysdeps/x86/bits/huge_vall.h: This.
23978
404fe9d9
L
23979 * sysdeps/i386/bits/select.h: Removed.
23980 * sysdeps/x86_64/bits/select.h: Renamed to ...
23981 * sysdeps/x86/bits/select.h: This.
23982
d48d0446
L
23983 * sysdeps/i386/bits/setjmp.h: Removed.
23984 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23985 * sysdeps/x86/bits/setjmp.h: This.
23986
7dc00e0d
L
23987 * sysdeps/i386/bits/mathdef.h: Removed.
23988 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23989 * sysdeps/x86/bits/mathdef.h: This.
23990
03277f8f
AS
239912012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23992
23993 [BZ #14132]
23994 * include/sys/socket.h (__connect_internal)
23995 (__libc_sa_len_internal): Remove declaration.
23996 (__connect, __libc_sa_len): Declare hidden_proto.
23997 (SA_LEN): Remove use of INTUSE.
23998 * socket/connect.c: Add libc_hidden_def.
23999 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24000 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24001 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24002 alias.
24003 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24005 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24006 of adding _internal alias.
24007
13764867
L
240082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24009
24010 [BZ #14117]
6bd97696
L
24011 * sysdeps/i386/bits/link.h: Removed.
24012 * sysdeps/i386/bits/linkmap.h: Likewise.
24013 * sysdeps/x86_64/bits/link.h: Renamed to ...
24014 * sysdeps/x86/bits/link.h: This.
24015 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24016 * sysdeps/x86/bits/linkmap.h: This.
24017
f726f0bb
L
24018 * sysdeps/i386/bits/endian.h: Removed.
24019 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24020 * sysdeps/x86/bits/endian.h: This.
24021
13764867
L
24022 * sysdeps/i386/bits/byteswap.h: Removed.
24023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24024 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24025 * sysdeps/x86/bits/byteswap.h: This.
24026 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24027 * sysdeps/x86/bits/byteswap-16.h: This.
24028 * sysdeps/i386/Implies: Add x86.
24029 * sysdeps/x86_64/Implies: Likewise.
24030
ae251b0b
DM
240312012-05-30 David S. Miller <davem@davemloft.net>
24032
24033 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24034 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24035 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24036 (FP_TRAPPING_EXCEPTIONS): Define.
24037 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24038 (FP_TRAPPING_EXCEPTIONS): Define.
24039 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24040 subnormals only when inexact has been signalled or underflow
24041 exceptions are enabled.
24042 (_FP_PACK_CANONICAL): Likewise.
24043
d5c90867
L
240442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 [BZ #14183]
24047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24048 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24049
63f1549e
RH
240502012-05-30 Richard Henderson <rth@twiddle.net>
24051
8d8f2279
RH
24052 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24053 with #ifndef NOT_IN_libc.
24054
63f1549e
RH
24055 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24056 marked to avoid plt entry.
24057
0ab0291b
L
240582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24059
24060 [BZ #14112]
24061 * Makeconfig (default-abi): New macro.
24062 (abi-includes): Likewise.
24063 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24064 $(abi-$(default-abi)-lib-soname) for soname if defined.
24065 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24066 abi-variants.
24067 * Makefile (installed-stubs): Likewise.
24068 * include/stubs-biarch.h: Removed.
24069 * scripts/lib-names.awk: Only handle one library at a time.
24070 * scripts/soversions.awk: Remove WORDSIZE support.
24071 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24072 entries.
24073 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24074 Removed.
24075 (syscall-list-default-condition): Likewise.
24076 (syscall-list-default-condition): Likewise.
24077 (syscall-list-includes): Likewise.
24078 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24079 syscall-list-* with abi-*. Handle undefined abi-variants.
24080 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24081 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24082 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24083 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24084 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24085 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24086 Removed.
24087 (syscall-list-32-options): Likewise.
24088 (syscall-list-32-condition): Likewise.
24089 (syscall-list-64-options): Likewise.
24090 (syscall-list-64-condition): Likewise.
24091 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24092 macro.
24093 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24094 Renamed to ...
24095 (abi-*): This.
24096 (abi-64-ld-soname): New macro.
24097 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24098 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24099 Renamed to ...
24100 (abi-*): This.
24101 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24102 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24103
4da0431d
JM
241042012-05-30 Joseph Myers <joseph@codesourcery.com>
24105
3a85279c
JM
24106 * sysdeps/unix/sysv/linux/kernel-features.h
24107 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24108 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24109 include <kernel-features.h>.
24110 [!__NR_ftruncate64]: Remove conditional code.
24111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24112 [__NR_ftruncate64]: Make code unconditional.
24113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24114 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24115 include <kernel-features.h>.
24116 [!__NR_ftruncate64]: Remove conditional code.
24117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24118 [__NR_ftruncate64]: Make code unconditional.
24119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24121 include <kernel-features.h>.
24122 [!__NR_ftruncate64]: Remove conditional code.
24123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24124 [__NR_ftruncate64]: Make code unconditional.
24125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24127 include <kernel-features.h>.
24128 [!__NR_ftruncate64]: Remove conditional code.
24129 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24130 [__NR_ftruncate64]: Make code unconditional.
24131 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24132
4da0431d
JM
24133 * configure.in (libc_cv_fpie): Weaken to a compile test using
24134 LIBC_TRY_CC_OPTION.
24135 * configure: Regenerated.
24136
11ef492c
AK
241372012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24138
24139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24143 Refreshed.
24144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24150 Refreshed.
24151
d66ef399
DM
241522012-05-27 David S. Miller <davem@davemloft.net>
24153
24154 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24155 (___Q_zero): New.
24156 (__Q_simulate_exceptions): Return void. Change to simulate
24157 exceptions by writing into the %fsr.
24158 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24159 (__Qp_handle_exceptions): Likewise.
24160 (numbers): Delete.
24161 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24162 __Qp_handle_exceptions.
24163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24164 __Qp_handle_exceptions.
24165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24166 as unused and give dummy FP_RND_NEAREST initializer.
24167 (FP_INHIBIT_RESULTS): Define.
24168 (___Q_simulate_exceptions): Update declaration.
24169 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24170 formatting.
24171 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24172 as unused and give dummy FP_RND_NEAREST initializer.
24173 (__Qp_handle_exceptions): Update declaration.
24174 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24175 formatting.
24176
04fb54b5
TS
241772012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24178
24179 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24180 the temporary FPU control word.
24181 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24182 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24183 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24184 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24185 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24186 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24187 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24188 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24189 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24190 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24191 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24192
3f99608f
KK
241932012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24194
24195 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24196 fields.
24197
65a4de4e
CLT
241982012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24199
24200 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24201 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24202 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24203 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24204 Likewise.
24205 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24206 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24207 Likewise.
24208
15749d40
UD
242092012-05-27 Ulrich Drepper <drepper@gmail.com>
24210
24211 * po/h.po: Update from translation team.
24212
25dbcb27
AS
242132012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24214
3d3f8e55
AS
24215 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24216
25dbcb27
AS
24217 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24218 handling of denormals.
24219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24220 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24221 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24222 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24226 Likewise.
24227
7ad47a80 242282012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24229
24230 [BZ #14152]
24231 * math/libm-test.inc (fma_test): Don't always expect underflow
24232 exception.
24233
9c6ea9fa
SP
242342012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24235
24236 [BZ #12416]
24237 * elf/tst-execstack.c: Include stackinfo.h.
24238 (do_test): Adjust test case to ensure that pthread_getattr_np
24239 behaviour remains the same after marking stack executable.
24240
a8239222
JM
242412012-05-25 Joseph Myers <joseph@codesourcery.com>
24242
24243 * sysdeps/unix/sysv/linux/kernel-features.h
24244 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24245 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24246 kernel-features.h.
24247 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24248 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24249 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24250 kernel-features.h.
24251 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24252 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24253
918b5606
L
242542012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24255
24256 * configure.in: Define the default includes to being none.
24257 * configure: Regenerated.
24258
3a097cc7
RM
242592012-05-25 Roland McGrath <roland@hack.frob.com>
24260
8422c9a5
RM
24261 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24262 * sysdeps/x86_64/setjmp.S: Likewise.
24263 * sysdeps/i386/bsd-setjmp.S: Likewise.
24264 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24265 * sysdeps/i386/setjmp.S: Likewise.
24266 * sysdeps/i386/__longjmp.S: Likewise.
24267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24268 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24269
3a097cc7
RM
24270 * include/stap-probe.h: New file.
24271 * configure.in: Handle --enable-systemtap.
24272 * configure: Regenerated.
24273 * config.h.in (USE_STAP_PROBE): New #undef.
24274 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24275 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24276 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24277
21708942
JM
242782012-05-25 Joseph Myers <joseph@codesourcery.com>
24279
24280 [BZ #13717]
24281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24282 to 2.4.0 where earlier.
24283 * sysdeps/unix/sysv/linux/configure: Regenerated.
24284 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24285 <kernel-features.h>.
24286 [__ASSUME_32BITUIDS]: Make code unconditional.
24287 [!__ASSUME_32BITUIDS]: Remove conditional code.
24288 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24289 <kernel-features.h>.
24290 [__ASSUME_32BITUIDS]: Make code unconditional.
24291 [!__ASSUME_32BITUIDS]: Remove conditional code.
24292 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24293 [__ASSUME_32BITUIDS]: Make code unconditional.
24294 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24295 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24296 <kernel-features.h>.
24297 [__ASSUME_32BITUIDS]: Make code unconditional.
24298 [!__ASSUME_32BITUIDS]: Remove conditional code.
24299 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24300 <kernel-features.h>.
24301 [__ASSUME_32BITUIDS]: Make code unconditional.
24302 [!__ASSUME_32BITUIDS]: Remove conditional code.
24303 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24304 <kernel-features.h>.
24305 [__ASSUME_32BITUIDS]: Make code unconditional.
24306 [!__ASSUME_32BITUIDS]: Remove conditional code.
24307 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24308 <kernel-features.h>.
24309 [__ASSUME_32BITUIDS]: Make code unconditional.
24310 [!__ASSUME_32BITUIDS]: Remove conditional code.
24311 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24312 <kernel-features.h>.
24313 [__ASSUME_32BITUIDS]: Make code unconditional.
24314 [!__ASSUME_32BITUIDS]: Remove conditional code.
24315 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24316 <kernel-features.h>.
24317 [__ASSUME_32BITUIDS]: Make code unconditional.
24318 [!__ASSUME_32BITUIDS]: Remove conditional code.
24319 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24320 <kernel-features.h>.
24321 [__ASSUME_32BITUIDS]: Make code unconditional.
24322 [!__ASSUME_32BITUIDS]: Remove conditional code.
24323 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24324 <kernel-features.h>.
24325 [__ASSUME_32BITUIDS]: Make code unconditional.
24326 [!__ASSUME_32BITUIDS]: Remove conditional code.
24327 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24328 <kernel-features.h>.
24329 [__ASSUME_32BITUIDS]: Make code unconditional.
24330 [!__ASSUME_32BITUIDS]: Remove conditional code.
24331 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24332 <kernel-features.h>.
24333 [__ASSUME_32BITUIDS]: Make code unconditional.
24334 [!__ASSUME_32BITUIDS]: Remove conditional code.
24335 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24336 <kernel-features.h>.
24337 [__NR_setresgid] (__setresgid): Do not declare.
24338 [__ASSUME_32BITUIDS]: Make code unconditional.
24339 [!__ASSUME_32BITUIDS]: Remove conditional code.
24340 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24341 <kernel-features.h>.
24342 [__NR_setresuid] (__setresuid): Do not declare.
24343 [__ASSUME_32BITUIDS]: Make code unconditional.
24344 [!__ASSUME_32BITUIDS]: Remove conditional code.
24345 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24346 <kernel-features.h>.
24347 [__ASSUME_32BITUIDS]: Make code unconditional.
24348 [!__ASSUME_32BITUIDS]: Remove conditional code.
24349 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24350 <kernel-features.h>.
24351 [__ASSUME_32BITUIDS]: Make code unconditional.
24352 [!__ASSUME_32BITUIDS]: Remove conditional code.
24353 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24354 <kernel-features.h>.
24355 [__ASSUME_32BITUIDS]: Make code unconditional.
24356 [!__ASSUME_32BITUIDS]: Remove conditional code.
24357 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24358 <kernel-features.h>.
24359 [__ASSUME_32BITUIDS]: Make code unconditional.
24360 [!__ASSUME_32BITUIDS]: Remove conditional code.
24361 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24362 <kernel-features.h>.
24363 [__ASSUME_32BITUIDS]: Make code unconditional.
24364 [!__ASSUME_32BITUIDS]: Remove conditional code.
24365 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24366 <kernel-features.h>.
24367 [__ASSUME_32BITUIDS]: Make code unconditional.
24368 [!__ASSUME_32BITUIDS]: Remove conditional code.
24369 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24370 <kernel-features.h>.
24371 [__ASSUME_32BITUIDS]: Make code unconditional.
24372 [!__ASSUME_32BITUIDS]: Remove conditional code.
24373 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24374 <kernel-features.h>.
24375 [__ASSUME_32BITUIDS]: Make code unconditional.
24376 [!__ASSUME_32BITUIDS]: Remove conditional code.
24377 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24378 <kernel-features.h>.
24379 [__ASSUME_32BITUIDS]: Make code unconditional.
24380 [!__ASSUME_32BITUIDS]: Remove conditional code.
24381 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24382 <kernel-features.h>.
24383 [__ASSUME_32BITUIDS]: Make code unconditional.
24384 [!__ASSUME_32BITUIDS]: Remove conditional code.
24385 * sysdeps/unix/sysv/linux/kernel-features.h
24386 (__ASSUME_SETRESUID_SYSCALL): Remove.
24387 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24388 (__ASSUME_32BITUIDS): Likewise.
24389 (__ASSUME_LDT_WORKS): Likewise.
24390 (__ASSUME_O_DIRECTORY): Likewise.
24391 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24392 architecture but not kernel version.
24393 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24394 (__ASSUME_MMAP2_SYSCALL): Likewise.
24395 (__ASSUME_STAT64_SYSCALL): Likewise.
24396 (__ASSUME_IPC64): Likewise.
24397 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24398 <kernel-features.h>.
24399 [__ASSUME_32BITUIDS]: Make code unconditional.
24400 [!__ASSUME_32BITUIDS]: Remove conditional code.
24401 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24402 <kernel-features.h>.
24403 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24404 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24405 132096]: Remove conditional code.
24406 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24407 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24408 <kernel-features.h>.
24409 [__ASSUME_32BITUIDS]: Make code unconditional.
24410 [!__ASSUME_32BITUIDS]: Remove conditional code.
24411 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24412 <kernel-features.h>.
24413 [__ASSUME_32BITUIDS]: Make code unconditional.
24414 [!__ASSUME_32BITUIDS]: Remove conditional code.
24415 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24416 <kernel-features.h>.
24417 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24418 unconditional.
24419 (__setresgid): Do not declare.
24420 [__ASSUME_32BITUIDS]: Make code unconditional.
24421 [!__ASSUME_32BITUIDS]: Remove conditional code.
24422 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24423 <kernel-features.h>.
24424 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24425 unconditional.
24426 (__setresuid): Do not declare.
24427 [__ASSUME_32BITUIDS]: Make code unconditional.
24428 [!__ASSUME_32BITUIDS]: Remove conditional code.
24429 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24430 <kernel-features.h>.
24431 [__ASSUME_32BITUIDS]: Make code unconditional.
24432 [!__ASSUME_32BITUIDS]: Remove conditional code.
24433 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24434 <kernel-features.h>.
24435 [__ASSUME_32BITUIDS]: Make code unconditional.
24436 [!__ASSUME_32BITUIDS]: Remove conditional code.
24437
a386f1cc
RH
244382012-05-25 Richard Henderson <rth@twiddle.net>
24439
24440 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24441 dl_hwcap to ifunc resolver.
24442 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24443 elf_ifunc_invoke.
24444 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24445 dl_hwcap to ifunc resolver.
24446 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24447
b6550497
JM
244482012-05-24 Joseph Myers <joseph@codesourcery.com>
24449
24450 [BZ #14153]
24451 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24452 for |x| <= 2**-26, not 2**-57.
24453 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24454 exception.
24455
b0bc23a1
JL
244562012-05-24 Jeff Law <law@redhat.com>
24457
24458 * stdio-common/Makefile (tests): Add bug25.
24459 * stdio-common/bug25.c: New test.
24460
347c92e9
L
244612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 [BZ #13576]
24464 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24465 multiple of MALLOC_ALIGNMENT in size.
24466 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24467
6bcc8b3f
JM
244682012-05-24 Joseph Myers <joseph@codesourcery.com>
24469
24470 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24471 Require >= 256.
24472 (FILENAME_MAX): Use macro-int-constant.
24473 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24474 (_IOFBF): Use macro-int-constant.
24475 (_IOLBF): Likewise.
24476 (_IONBF): Likewise.
24477 (SEEK_CUR): Likewise.
24478 (SEEK_END): Likewise.
24479 (SEEK_SET): Likewise.
24480 (TMP_MAX): Likewise.
24481 (EOF): Use macro-int-constant. Require < 0.
24482 (NULL): Use macro-constant. Require == 0.
24483 (stdin): Require type to be FILE *.
24484 (stdout): Likewise.
24485 (stderr): Likewise.
24486 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24487 macro-int-constant.
24488 (EXIT_SUCCESS): Likewise.
24489 (NULL): Use macro-constant. Require == 0.
24490 (RAND_MAX): Use macro-int-constant.
24491 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24492 [C99-based standards] (strtof): Require function.
24493 [C99-based standards] (strtold): Likewise.
24494 [C99-based standards] (strtoll): Likewise.
24495 [C99-based standards] (strtoull): Likewise.
24496 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24497 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24498 [ISO || ISO99 || ISO11] (math.h): Likewise.
24499 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24500 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24502
d18ea0c5
AS
245032012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24504
24505 [BZ #14132]
56d25bb8
AS
24506 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24507 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24508 * intl/dgettext.c (DCGETTEXT): Likewise.
24509 * intl/gettext.c (DCGETTEXT): Likewise.
24510 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24511 * posix/regex_internal.h (gettext): Likewise.
24512 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24513 Remove declaration.
24514 * include/argz.h (__argz_count_internal)
24515 (__argz_stringify_internal): Remove declaration.
24516 (__argz_count, __argz_stringify): Declare hidden proto.
24517 * intl/dcgettext.c: Remove use of INTDEF.
24518 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24519 * string/argz-stringify.c: Likewise.
24520 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24521 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24522 Declare hidden proto.
d18ea0c5
AS
24523 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24524 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24525 Declare hidden proto.
24526 * include/stdio.h (__asprintf_internal): Don't declare.
24527 (__asprintf): Don't define as macro. Declare hidden proto.
24528 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24529 (__fsetlocking): Declare hidden proto.
24530 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24531 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24532 hidden proto.
24533 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24534 (_IO_setlinebuf): Remove use of INTUSE.
24535 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24536 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24537 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24538 Remove declaration.
24539 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24540 (_IO_do_flush): Remove use of INTUSE.
24541 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24542 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24543 (_IO_adjust_column, _IO_least_wmarker)
24544 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24545 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24546 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24547 (_IO_default_doallocate, _IO_wdefault_doallocate)
24548 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24549 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24550 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24551 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24552 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24553 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24554 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24555 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24556 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24557 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24558 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24559 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24560 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24561 proto.
24562 (_IO_flush_all_internal, _IO_adjust_column_internal)
24563 (_IO_default_uflow_internal, _IO_default_finish_internal)
24564 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24565 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24566 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24567 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24568 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24569 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24570 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24571 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24572 (_IO_file_close_internal, _IO_file_close_it_internal)
24573 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24574 (_IO_file_init_internal, _IO_file_attach_internal)
24575 (_IO_file_fopen_internal, _IO_file_read_internal)
24576 (_IO_file_sync_internal, _IO_file_seek_internal)
24577 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24578 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24579 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24580 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24581 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24582 (_IO_list_all_internal, _IO_link_in_internal)
24583 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24584 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24585 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24586 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24587 (_IO_do_write_internal, _IO_padn_internal)
24588 (_IO_getline_info_internal, _IO_getline_internal)
24589 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24590 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24591 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24592 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24593 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24594 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24595 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24596 with libc_hidden_ver, remove use of INTUSE.
24597 * libio/genops.c: Likewise.
24598 * libio/freopen.c: Likewise.
24599 * libio/freopen64.c: Likewise.
24600 * libio/iofclose.c: Likewise.
24601 * libio/iofdopen.c: Likewise.
24602 * libio/iofflush.c: Likewise.
24603 * libio/iofflush_u.c: Likewise.
24604 * libio/iofgets.c: Likewise.
24605 * libio/iofgets_u.c: Likewise.
24606 * libio/iofopen.c: Likewise.
24607 * libio/iofopncook.c: Likewise.
24608 * libio/iofread.c: Likewise.
24609 * libio/iofread_u.c: Likewise.
24610 * libio/ioftell.c: Likewise.
24611 * libio/iofwrite.c: Likewise.
24612 * libio/iogetline.c: Likewise.
24613 * libio/iogets.c: Likewise.
24614 * libio/iogetwline.c: Likewise.
24615 * libio/iopadn.c: Likewise.
24616 * libio/iopopen.c: Likewise.
24617 * libio/ioseekoff.c: Likewise.
24618 * libio/ioseekpos.c: Likewise.
24619 * libio/iosetbuffer.c: Likewise.
24620 * libio/iosetvbuf.c: Likewise.
24621 * libio/ioungetc.c: Likewise.
24622 * libio/ioungetwc.c: Likewise.
24623 * libio/iovdprintf.c: Likewise.
24624 * libio/iovsprintf.c: Likewise.
24625 * libio/iovsscanf.c: Likewise.
24626 * libio/memstream.c: Likewise.
24627 * libio/obprintf.c: Likewise.
24628 * libio/oldfileops.c: Likewise.
24629 * libio/oldiofclose.c: Likewise.
24630 * libio/oldiofdopen.c: Likewise.
24631 * libio/oldiofopen.c: Likewise.
24632 * libio/oldiopopen.c: Likewise.
24633 * libio/oldstdfiles.c: Likewise.
24634 * libio/putc.c: Likewise.
24635 * libio/setbuf.c: Likewise.
24636 * libio/setlinebuf.c: Likewise.
24637 * libio/stdfiles.c: Likewise.
24638 * libio/strops.c: Likewise.
24639 * libio/vasprintf.c: Likewise.
24640 * libio/vscanf.c: Likewise.
24641 * libio/vsnprintf.c: Likewise.
24642 * libio/vswprintf.c: Likewise.
24643 * libio/wfiledoalloc.c: Likewise.
24644 * libio/wfileops.c: Likewise.
24645 * libio/wgenops.c: Likewise.
24646 * libio/wmemstream.c: Likewise.
24647 * libio/wstrops.c: Likewise.
24648 * libio/__fpurge.c: Likewise.
24649 * libio/__fsetlocking.c: Likewise.
24650 * assert/assert.c: Likewise.
24651 * debug/fgets_chk.c: Likewise.
24652 * debug/fgets_u_chk.c: Likewise.
24653 * debug/fread_chk.c: Likewise.
24654 * debug/fread_u_chk.c: Likewise.
24655 * debug/gets_chk.c: Likewise.
24656 * debug/obprintf_chk.c: Likewise.
24657 * debug/vasprintf_chk.c: Likewise.
24658 * debug/vdprintf_chk.c: Likewise.
24659 * debug/vsnprintf_chk.c: Likewise.
24660 * debug/vsprintf_chk.c: Likewise.
24661 * malloc/mtrace.c: Likewise.
24662 * misc/error.c: Likewise.
24663 * misc/syslog.c: Likewise.
24664 * stdio-common/asprintf.c: Likewise.
24665 * stdio-common/fxprintf.c: Likewise.
24666 * stdio-common/getw.c: Likewise.
24667 * stdio-common/isoc99_fscanf.c: Likewise.
24668 * stdio-common/isoc99_scanf.c: Likewise.
24669 * stdio-common/isoc99_vfscanf.c: Likewise.
24670 * stdio-common/isoc99_vscanf.c: Likewise.
24671 * stdio-common/isoc99_vsscanf.c: Likewise.
24672 * stdio-common/printf-prs.c: Likewise.
24673 * stdio-common/printf_fp.c: Likewise.
24674 * stdio-common/printf_fphex.c: Likewise.
24675 * stdio-common/printf_size.c: Likewise.
24676 * stdio-common/putw.c: Likewise.
24677 * stdio-common/scanf.c: Likewise.
24678 * stdio-common/sprintf.c: Likewise.
24679 * stdio-common/tmpfile.c: Likewise.
24680 * stdio-common/vfprintf.c: Likewise.
24681 * stdio-common/vfscanf.c: Likewise.
24682 * stdlib/strfmon_l.c: Likewise.
24683 * sunrpc/openchild.c: Likewise.
24684 * sunrpc/xdr_stdio.c: Likewise.
24685 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24686 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24687
d6c33fda
RM
246882012-05-24 Roland McGrath <roland@hack.frob.com>
24689
c1487492
RM
24690 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24691
24692 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24693 in the third column, to generate for the shared library an IFUNC
24694 that uses _dl_vdso_vsym.
24695 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24696 * Makeconfig (object-suffixes-noshared): New variable.
24697
24698 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24699 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24700 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24701 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24702
d6c33fda
RM
24703 [BZ #14132]
24704 * include/sys/time.h (__gettimeofday): Remove macro.
24705 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24706 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24707 Remove INTDEF.
24708 (__gettimeofday): Add libc_hidden_def.
24709 (gettimeofday): Add libc_hidden_weak.
24710 * sysdeps/mach/gettimeofday.c: Likewise.
24711 * sysdeps/posix/gettimeofday.c: Likewise.
24712 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24713 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24715 (__gettimeofday_internal): Remove strong_alias.
24716 (__gettimeofday): Add libc_hidden_def.
24717 (gettimeofday): Add libc_hidden_weak.
24718 * sysdeps/unix/syscalls.list (gettimeofday):
24719 Remove __gettimeofday_internal alias.
24720
b5a2bbe6
L
247212012-05-24 Daniel Jacobowitz <drow@false.org>
24722 H.J. Lu <hongjiu.lu@intel.com>
24723
24724 [BZ #12495]
24725 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24726 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24727 (largebin_index_32_big): New.
24728 (largebin_index): Use it for 16-byte alignment.
24729 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24730 correction with front_misalign.
24731
cfba4fda
L
247322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24733
7f907421
L
24734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24736 Likewise.
24737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24738 Likewise.
24739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24740 Likewise.
24741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24742 Likewise.
24743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24744 Likewise.
24745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24746 Likewise.
24747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24748 Likewise.
24749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24750 Likewise.
24751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24752 Likewise.
24753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24754 Likewise.
24755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24756 Likewise.
24757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24758 Likewise.
24759
cfba4fda
L
24760 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24761 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24762
80bad0cc
JM
247632012-05-24 Joseph Myers <joseph@codesourcery.com>
24764
7a25eb06
JM
24765 [BZ #10846]
24766 [BZ #14036]
24767 * math/libm-test.inc (exp_test): Add test from bug 14036.
24768 (pow_test): Add test from bug 10846.
24769
795405f9
JM
24770 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24771 and other flags.
24772 (special_function): Do not include flags in test name.
24773 (parse_args): Likewise.
24774 * sysdeps/i386/fpu/libm-test-ulps: Update.
24775 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24776 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24777 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24779
80bad0cc
JM
24780 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24781 exceptions.
24782 * math/libm-test.inc ("Philosophy"): Update comment about
24783 exception testing.
24784 (UNDERFLOW_EXCEPTION): New macro.
24785 (UNDERFLOW_EXCEPTION_OK): Likewise.
24786 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24787 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24788 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24789 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24790 (INVALID_EXCEPTION_OK): Update value.
24791 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24792 (OVERFLOW_EXCEPTION_OK): Likewise.
24793 (IGNORE_ZERO_INF_SIGN): Likewise.
24794 (test_exceptions): Handle underflow exceptions.
24795 (acos_test): Update for underflow exception expectations.
24796 (cexp_test): Likewise.
24797 (clog_test): Likewise.
24798 (clog10_test): Likewise.
24799 (csqrt_test): Likewise.
24800 (ctan_test): Likewise.
24801 (ctanh_test): Likewise.
24802 (exp_test): Likewise.
24803 (exp10_test): Likewise.
24804 (exp2_test): Likewise.
24805 (expm1_test): Likewise.
24806 (fma_test): Likewise.
24807 (j0_test): Likewise.
24808 (jn_test): Likewise.
24809 (nexttoward_test): Likewise.
24810 (pow_test): Likewise.
24811 (scalbn_test): Likewise.
24812 (scalbln_test): Likewise.
24813 (tan_test): Likewise.
24814 (y1_test): Likewise.
24815 * sysdeps/i386/fpu/libm-test-ulps: Update.
24816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24817
9e0e3d0b
DM
248182012-05-23 David S. Miller <davem@davemloft.net>
24819
24820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24821 (__libc_sigaction): Remove unused local variables.
24822
ccd0a08f
L
248232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24824
24825 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24826
62bdf9a6
PE
248272012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24828
f8591f80
PE
24829 mktime: avoid signed integer overflow
24830 * time/mktime.c (__mktime_internal): Do not mishandle the case
24831 where diff == INT_MIN.
24832
94c7d826
PE
24833 mktime: simplify computation of average
24834 * time/mktime.c (ranged_convert): Use new time_t_avg function
24835 instead of rolling our own (probably-slower) code.
24836
ce73d683
PE
24837 mktime: do not assume signed right shift propagates sign bit
24838 * time/mktime.c (isdst_differ): New static function.
24839 (__mktime_internal): No need to normalize tm_isdst now.
24840 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24841 tm_isdst values.
24842
72a22e59
PE
24843 mktime: merge another wrapv change from gnulib
24844 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24845 from some compilers.
24846
68605433
PE
24847 mktime: remove incorrect attempt at unusual arithmetics
24848 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24849 The code didn't really work on such machines anyway.
24850 (TYPE_MINIMUM): Assume two's complement.
24851 (twos_complement_arithmetic): Verify that long_int and time_t
24852 are two's complement (or unsigned, in the latter case).
24853
03cf7fe3
PE
24854 mktime: check signed shifts on long_int and time_t, too
24855 * time/mktime.c (SHR): Check that shifts work as desired
24856 on the types long_int and time_t too, as SHR is used on
24857 such types.
24858
f04dfbc2
PE
24859 mktime: do not assume 'long' is wide enough
24860 * time/mktime.c (verify): Move decl up.
24861 (long_int): New type.
24862 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24863 to remove assumption in the code that 'long' is wide enough to
24864 store year values. This assumption is not true on x32 and on
24865 some non-glibc platforms.
24866
62bdf9a6
PE
24867 mktime: merge wrapv change from gnulib
24868 * time/mktime.c (WRAPV): New macro.
24869 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24870 (guess_time_tm, __mktime_internal): Do not assume that signed
24871 integer overflow wraps around; modern compilers generate code
24872 where this assumption is no longer valid.
24873
5e292e4f
L
248742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24875
24876 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24877 Replace "jmp L(pseudo_end)" with "ret".
24878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24879 Likewise.
24880
8caf8c87
AJ
248812012-05-23 Andreas Jaeger <aj@suse.de>
24882
24883 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24884 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24885
1a09dc56
AJ
248862012-05-23 Andreas Jaeger <aj@suse.de>
24887 Maximilian Attems <max@stro.at>
24888
24889 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24890 New macros.
24891
1c87aba0
L
248922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24893
24894 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24895 code so that pseudo_end is just ret and the stack pointer is
24896 correct also for static library in error case.
24897
40e45bd5
JM
248982012-05-23 Joseph Myers <joseph@codesourcery.com>
24899
c2670533
JM
24900 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24901 move to syscalls.list.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24906
40e45bd5
JM
24907 * manual/install.texi (Running make install): Do not mention Linux
24908 kernel version for which pt_chown is not needed.
24909 (Linux): Do not mention problems with nscd with 2.0 kernels.
24910 * INSTALL: Regenerated.
24911
be08eda5
AJ
249122012-05-23 Andreas Jaeger <aj@suse.de>
24913
24914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24915 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24916 macro.
24917 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24919 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24921 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24927 * sysdeps/unix/sysv/linux/bits/in.h
24928 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24929
a6a056bb
RM
249302012-05-22 Roland McGrath <roland@hack.frob.com>
24931
24932 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24933 (PREPARE_VERSION): Just use assert instead, it will be elided
24934 under [NDEBUG] anyway.
24935
c9009328
L
249362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24937
24938 * sysdeps/unix/sysv/linux/Makefile: Include
24939 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24940 (sysdep_routines): Remove sysctl.
c9009328
L
24941 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24942 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24943 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24944 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24945 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24946
73338355
AJ
249472012-05-22 Andreas Jaeger <aj@suse.de>
24948
24949 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24950 that pseudo_end is just ret and the stack pointer is correct also
24951 for static library in error case.
24952
d44638b0
PP
249532012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24954
24955 [BZ #14122]
24956 * nss/nsswitch.c (defconfig_entries): New variable.
24957 (__nss_database_lookup): Don't leak defconfig entries.
24958 (nss_parse_service_list): Don't leak on error paths.
24959 (free_database_entries): New function.
24960 (free_defconfig): New function.
24961 (free_mem): Move common code to free_database_entries.
24962
31a39bd8
L
249632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24964
da0331a8
L
24965 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24966 Add arch_prctl.
24967 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24968
31a39bd8
L
24969 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24970 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24972 New macro.
24973 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24974 (INTERNAL_SYSCALL_TYPES): Likewise.
24975 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24976 (LOAD_REGS_TYPES_[1-6]): Likewise.
24977 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24978 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24979
45470df3
AZ
249802012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24981
24982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24983 copysignl for GLIBC_2_0.
24984 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24985 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24987 logbl for GLIBC_2_0.
24988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24989 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24990
98a61bcb
L
249912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24992
a4f6e481
L
24993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24994 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24995
f63d5db6
L
24996 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24997 Use "neg %eax".
24998
98a61bcb
L
24999 * time/mktime.c: Update copyright years.
25000
95770f14
PE
250012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25002
6226efbd
PE
25003 mktime: merge comment-quoting-style change from gnulib
25004 * time/mktime.c: Quote 'like this' in comments.
25005 The GNU coding standards suggest that we no longer quote `like this',
25006 as "`" and "'" are typically rendered asymmetrically nowadays.
25007 The typical gnulib style is to quote 'like this' when quoting
25008 code, and "like this" when quoting English.
25009
b99e4f78
PE
25010 * time/mktime.c (compile-command): Add "-I.".
25011
643e01e6
PE
25012 mktime: merge mktime-internal.h change from gnulib
25013 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25014
2554247d
PE
25015 mktime: merge time_r change from gnulib
25016 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25017
826dd0ab
PE
25018 mktime: merge DEBUG change from gnulib
25019 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25020 case system <time.h> has a #define.
25021
bd83aabe
PE
25022 mktime: merge <sys/types.h> change from gnulib
25023 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25024 since <time.t> is now guaranteed to define time_t.
25025
95770f14
PE
25026 mktime: merge HAVE_CONFIG_H change from gnulib
25027 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25028
5e1a27a9
L
250292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25030
0e44a77e
L
25031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25032 Use "neg %eax".
25033
5e1a27a9
L
25034 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25035 __rlim_t cast.
25036 (struct rusage): Use anonymous union to pad each field to
25037 __syscall_slong_t.
25038
46259bec
DM
250392012-05-21 David S. Miller <davem@davemloft.net>
25040
25041 * Makefules (o-iterator): Remove .s cases.
25042 (compile-command.s): Delete.
25043 (COMPILE.s): Delete.
25044 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25045
59f0c22e
JM
250462012-05-21 Joseph Myers <joseph@codesourcery.com>
25047
25048 * configure.in (libc_cv_predef_stack_protector): Only consider
25049 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25050 * configure: Regenerated.
25051
20c07380
L
250522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25053
bbb3154b
L
25054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25055 New macro. Use R*LP on int and pointer.
25056 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25057 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25058 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25059 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25060
20c07380
L
25061 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25062 [__WORDSIZE_TIME64_COMPAT32] instead of
25063 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25064 (struct utmp): Likewise.
25065 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25066 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25067 Renamed to ...
25068 (__WORDSIZE_TIME64_COMPAT32): This.
25069 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25070 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25071 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25072 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25073 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25074 (__WORDSIZE_TIME64_COMPAT32): New macro.
25075
d8d1017e
AJ
250762012-05-21 Andreas Jaeger <aj@suse.de>
25077
25078 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25079 only if [SHARED]. Add prototype for __wcschr_ia32.
25080
6c7fb145
RM
250812012-05-21 Roland McGrath <roland@hack.frob.com>
25082
25083 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25084 of %rbp unmolested in the jmp_buf while mangling the low bits.
25085 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25086 unmolested high bits of %rbp while demangling the low bits.
25087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25088
66274218
AJ
250892012-05-21 Andreas Jaeger <aj@suse.de>
25090
07c58f8f
AJ
25091 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25092 * sunrpc/svc_simple.c: Use it for registerrpc.
25093 * sunrpc/xcrypt.c: Use it for passwd2des.
25094
66274218
AJ
25095 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25096
61f65140
L
250972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25098
25099 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25100 Don't define if [__SYSCALL_WORDSIZE != 32].
25101 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25102 New macro.
25103
5fefb436
AJ
251042012-05-21 Bruno Haible <bruno@clisp.org>
25105 Andreas Jaeger <aj@suse.de>
25106
25107 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25108 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25109 inptr and inend for must_buffer_ch.
25110 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25111 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25112 * stdio-common/Makefile (tests): Remove bug15.
25113 (bug15-ENV): Remove macro.
25114 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25115 anymore.
25116
d8e272ab
AJ
251172012-05-19 Andreas Jaeger <aj@suse.de>
25118 Roland McGrath <roland@hack.frob.com>
25119
25120 * manual/contrib.texi: Completely rewritten. It contains now an
25121 alphabetical list of contributors and their contributions.
25122
4a56a162
RH
251232012-05-21 Richard Henderson <rth@twiddle.net>
25124
25125 * misc/getauxval.c (__getauxval): Use unsigned long int.
25126 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25127 (getauxval): Use unsigned long int.
25128
d024d23c
L
251292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25130
25131 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25132
cbc00a03
RM
251332012-05-21 Roland McGrath <roland@hack.frob.com>
25134
25135 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25136 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25137 __alignof__ (long double).
25138
478143fa
AZ
251392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25140
25141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25142
c7683a6d
RH
251432012-05-20 Richard Henderson <rth@twiddle.net>
25144
25145 * misc/getauxval.c: New file.
25146 * misc/sys/auxv.h: New file.
25147 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25148 (routines): Add getauxval.
25149 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25150 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25151 * elf/dl-sysdep.c (_dl_auxv): Remove.
25152 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25153 * elf/dl-support.c (_dl_auxv): New variable.
25154 (_dl_aux_init): Initialize it.
25155 * manual/startup.texi (Auxiliary Vector): New node.
25156 * sysdeps/generic/bits/hwcap.h: New file.
25157 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25158 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25159 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25160 * sysdeps/sparc/sysdep.h: ... here. Include it.
25161 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25164 Update.
c7683a6d
RH
25165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25173
a6f1845d
AZ
251742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25175
25176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25177
cbcbe830
DM
251782012-05-19 David S. Miller <davem@davemloft.net>
25179
25180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25181
e0b16cc2
JM
251822012-05-19 Joseph Myers <joseph@codesourcery.com>
25183
25184 [BZ #14123]
25185 * math/s_ccosh.c: Include <float.h>
25186 (__ccosh): Avoid internal overflow calculating sinh and cosh
25187 values before multiplying by sin and cos values.
25188 * math/s_ccoshf.c: Likewise.
25189 * math/s_ccoshl.c: Likewise.
25190 * math/s_csin.c: Likewise.
25191 * math/s_csinf.c: Likewise.
25192 * math/s_csinl.c: Likewise.
25193 * math/s_csinh.c: Likewise.
25194 * math/s_csinhf.c: Likewise.
25195 * math/s_csinhl.c: Likewise.
25196 * math/libm-test.inc (ccos_test): Add more tests.
25197 (ccosh_test): Likewise.
25198 (csin_test): Likewise.
25199 (csinh_test): Likewise.
25200 * sysdeps/i386/fpu/libm-test-ulps: Update.
25201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25202
6ad13e08
L
252032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25204
f66f0ce8
L
25205 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25206 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25207
6ad13e08
L
25208 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25209
b1d072a7
JM
252102012-05-19 Joseph Myers <joseph@codesourcery.com>
25211
25212 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25213 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25214 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25215 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25216 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25217 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25218 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25219 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25220 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25221 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25222 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25223 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25224 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25225 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25226 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25227 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25228 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25229 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25230 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25231 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25232 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25233 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25234 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25235 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25236 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25237 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25238 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25239 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25240 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25241 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25242 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25243
9eae47cb
AJ
252442012-05-18 Andreas Jaeger <aj@suse.de>
25245
25246 * csu/.gitignore: Delete.
25247
bb07f69f
L
252482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25249
25250 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25251 (timex): Use __syscall_slong_t.
25252
e6bdb741
AJ
252532012-05-18 Andreas Jaeger <aj@suse.de>
25254 Carlos O'Donell <carlos_odonell@mentor.com>
25255
25256 * manual/install.texi (Configuring and compiling): Update
25257 description about files modified in the source directory.
d6c33fda 25258 * INSTALL: Regenerated.
e6bdb741 25259
1b74487e
L
252602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25261
25262 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25263 value. Use "or" to set return value to -1.
25264 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25265 negate return value.
25266
a88b64b9
TMQMF
252672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25268
25269 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25270 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25271 failure if the compiler has Graphite support disabled.
25272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25273 Likewise.
25274 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25275 CFLAGS-memmove.c): Likewise.
25276 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25277 Likewise.
25278
3707636e
L
252792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25280
610b8622
L
25281 * sysdeps/x86_64/x32/_itoa.h: New file.
25282
7cd195df
L
25283 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25284 getdents system call only if kernel and user dirents have the
25285 same d_ino and d_off.
25286
94b07d20
L
25287 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25288 LLONG_MAX != LONG_MAX.
25289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25290 (_fitoa_word): Likewise.
25291
18298070
L
25292 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25293 years.
25294 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25295 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25296 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25297
553c7ea4
L
25298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25299 include <bits/wordsize.h>. Check __x86_64__ instead of
25300 __WORDSIZE.
25301 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25302 if __x86_64__ is defined. Use anonymous union on fpstate.
25303
3707636e
L
25304 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25305 anonymous union.
25306
b53ef01a
AS
253072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25308
37fb1dc0
AS
25309 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25310 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25312 Refer to _rtld_local_ro instead of _rtld_global_ro.
25313 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25314 Likewise.
25315 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25316 Likewise.
25317 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25318 Likewise.
25319 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25320 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25321 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25322
b53ef01a
AS
25323 * sysdeps/powerpc/powerpc32/dl-machine.c
25324 (__elf_machine_runtime_setup) [PROF]: Don't reference
25325 _dl_prof_resolve.
25326
7a185db2
AJ
253272012-05-18 Andreas Jaeger <aj@suse.de>
25328
25329 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25330 function only available for GCCs before 3.4 since GCC 3.4
25331 introduced a builtin.
25332 (lrint): Likewise.
25333 (llrintf): Likewise.
25334 (llrint): Likewise.
25335 (fmaxf): Likewise.
25336 (fmax): Likewise.
25337 (fminf): Likewise.
25338 (fmin): Likewise.
25339 (rint): Likewise.
25340 (rintf): Likewise.
25341 (nearbyint): Likewise.
25342 (nearbyintf): Likewise.
25343 (ceil): Likewise.
25344 (ceilf): Likewise.
25345 (floor): Likewise.
25346 (floorf): Likewise.
25347
3e5aef87
L
253482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25349
428bd707
L
25350 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25351 on both fields and cast pointer to __syscall_ulong_t.
25352
3e5aef87
L
25353 * bits/types.h (__fsword_t): New type.
25354 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25355 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25356 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25357 (__FSWORD_T_TYPE): Likewise.
25358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25359 (__FSWORD_T_TYPE): Likewise.
25360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25361 (__FSWORD_T_TYPE): Likewise.
25362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25363 (__FSWORD_T_TYPE): Likewise.
25364 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25365 __SWORD_TYPE with __fsword_t.
25366 (statfs64): Likewise.
25367
1ba7c3dc
DM
253682012-05-17 David S. Miller <davem@davemloft.net>
25369
25370 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25371
59910343
AJ
253722012-05-17 Andreas Jaeger <aj@suse.de>
25373
25374 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25375 warning.
25376
2e4c1e9e
L
253772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25378
25379 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25380
de7f5ce7
AJ
253812012-05-17 Andreas Jaeger <aj@suse.de>
25382
25383 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25384 when it is used.
25385
286abc3d
CM
253862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25387
25388 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25389
477cc68e
L
253902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25391
25392 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25393 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25394
1a0994f5
CD
253952012-05-17 Andreas Jaeger <aj@suse.de>
25396 Carlos O'Donell <carlos_odonell@mentor.com>
25397
25398 [BZ #14059]
25399 * sysdeps/x86_64/multiarch/init-arch.h
25400 (bit_YMM_Usable): Rename to...
25401 (bit_AVX_Usable): ... this.
25402 (bit_FMA4_Usable): New macro.
25403 (bit_XMM_state): New macro.
25404 (bit_YMM_state): New macro.
25405 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25406 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25407 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25408 (CPUID_OSXSAVE): New macro.
25409 (CPUID_AVX): New macro.
25410 (CPUID_FMA4): New macro.
25411 (index_YMM_Usable): Rename to...
25412 (index_AVX_Usable): ... this.
25413 (HAS_AVX): Use HAS_ARCH_FEATURE.
25414 (HAS_FMA4): Likewise.
25415 (HAS_YMM_USABLE): Remove.
25416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25417 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25418 are present.
25419 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25420 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25421 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25422 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25423 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25424
0af797de
CM
254252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25426
25427 * math/libm-test.c: Support platforms without multiple rounding modes.
25428 * math/bug-nextafter.c: Support platforms without FP exceptions.
25429 * math/bug-nexttoward.c: Likewise.
25430 * math/test-fenv.c: Likewise.
25431 * math/test-misc.c: Likewise.
25432 * stdlib/bug-getcontext.c: Likewise.
25433
e39745ff
AJ
254342012-05-17 Andreas Jaeger <aj@suse.de>
25435
25436 * manual/examples/search.c (critter_cmp): Change signature to
25437 avoid warnings.
25438 * manual/string.texi (Collation Functions): Likewise.
25439
48970aba
L
254402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25441
25442 * bits/types.h: Fold copyright years.
25443 * bits/typesizes.h: Likewise.
25444 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25448 * time/time.h: Likewise.
25449
bedee953
PP
254502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25451
25452 [BZ #208]
25453 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25454 in instead of returning them. Return void.
25455 (__libc_mallinfo): Accumulate over all arenas.
25456 (__malloc_stats): Adjust for change in int_mallinfo interface.
25457
61653dfb
RM
254582012-05-16 Roland McGrath <roland@hack.frob.com>
25459
30b99d79
RM
25460 [BZ #10375]
25461 * configure.in (NM): Add AC_CHECK_TOOL for it.
25462 (libc_extra_cflags): New substituted variable.
25463 Check for -fstack-protector being used implicitly.
25464 * configure: Regenerated.
25465 * config.make.in (config-extra-cflags): New variable,
25466 gets @libc_extra_cflags@.
25467 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25468
61653dfb
RM
25469 [BZ #10375]
25470 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25471 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25472 * configure: Regenerated.
25473 * config.make.in (CPPUNDEFS): New substituted variable.
25474 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25475 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25476 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25477
661768bb
L
254782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25479
25480 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25481 (mq_attr): Use __syscall_slong_t.
25482
d4261567
L
254832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25486 Check __x86_64__ instead of __WORDSIZE.
25487 (_STAT_VER_LINUX): Likewise.
25488 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25489 __syscall_ulong_t and __syscall_slong_t.
25490 (stat64): Likewise.
25491
cf3ff365
L
254922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25493
25494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25495
76cf3e4d
L
254962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25497
25498 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25499
a637753a
L
255002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25501
25502 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25503 __syscall_ulong_t.
25504
d5e05119
L
25505 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25506 include <bits/wordsize.h>. Check __x86_64__ instead of
25507 __WORDSIZE.
25508 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25509 defined.
25510 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25511
f62ee380
L
25512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25513 include <bits/wordsize.h>. Check __x86_64__ instead of
25514 __WORDSIZE.
25515 (user_regs_struct): Use "__extension__ unsigned long long"
25516 instead of "unsigned long" if __x86_64__ is defined.
25517 (user): Likewise. Pad after pointer field if __ILP32__ is
25518 defined.
25519
4e124ced
JM
255202012-05-16 Joseph Myers <joseph@codesourcery.com>
25521
6a3951a0
JM
25522 * configure.in (makeinfo): Require version 4.5 or later. Allow
25523 versions 5 to 9.
25524 * configure: Regenerated.
25525 * manual/install.texi (texinfo): Increase version requirement to
25526 4.5 or later.
25527 * INSTALL: Regenerated.
25528
4e124ced
JM
25529 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25530
953ca31a
L
255312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25534
617aca05
L
25535 * sysdeps/x86_64/x32/ffs.c: New file.
25536
5762f7ae
L
25537 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25538 __syscall_ulong_t.
25539 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25540 defined. Use __syscall_ulong_t.
25541 (shminfo): Use __syscall_ulong_t.
25542 (shm_info): Likewise.
25543
a26b6856
L
25544 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25545 __syscall_ulong_t.
25546
cb2b9ef7
L
25547 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25548 <bits/wordsize.h>.
25549 (msgqnum_t): Use __syscall_ulong_t.
25550 (msglen_t): Likewise.
25551 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25552 __syscall_ulong_t.
25553
34683bb0
L
25554 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25555 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25556
84a68786
L
25557 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25558
48baa5f1
L
25559 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25560 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25561
180be88b
L
25562 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25563 __syscall_slong_t.
25564
5e90c8ad
L
25565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25566 include <bits/wordsize.h>. Check __x86_64__ instead of
25567 __WORDSIZE.
25568
23dfb58b
L
25569 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25570 "unsigned long long int" if __x86_64__ is defined.
25571 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25572
ce5d54b0
L
25573 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25574 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25575 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25576
13dc9eac
L
25577 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25578 <stdint.h>.
25579 (GET_PC): Cast to uintptr_t first.
25580 (GET_FRAME): Likewise.
25581 (GET_STACK): Likewise.
25582
a7895d15
L
25583 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25584 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25585 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25587 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25588 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25589 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25598 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25599 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25600 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25601 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25602 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25603 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25604 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25605 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25606 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25607 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25608 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25609 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25610 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25611 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25612
656416c9
AS
256132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25614
5bd66283
AS
25615 * Makerules (+depfiles): Also collect depfiles from .oS in
25616 $(extra-objs).
25617 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25618 .oS, $(libnldbl-routines)).
25619
656416c9
AS
25620 * Makerules (native-compile-mkdep-flags): Define.
25621 * sunrpc/Makefile (extra-objs): Add $(addprefix
25622 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25623 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25624 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25625 calling $(make-target-directory).
25626
a46f2169
L
256272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25628
25629 * bits/types.h (__snseconds_t): Removed.
25630 * time/time.h (struct timespec): Replace __snseconds_t with
25631 __syscall_slong_t.
25632 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25633 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25634 Likewise.
25635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25636 (__SNSECONDS_T_TYPE): Likewise.
25637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25638 (__SNSECONDS_T_TYPE): Likewise.
25639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25640 (__SNSECONDS_T_TYPE): Likewise.
25641
6af6528b
L
256422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25643
25644 * sysdeps/mach/hurd/bits/typesizes.h
25645 (__SYSCALL_SLONG_TYPE): New macro.
25646 (__SYSCALL_ULONG_TYPE): Likewise.
25647
de986b56
L
256482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25649
25650 * bits/types.h (__syscall_slong_t): New type.
25651 (__syscall_ulong_t): Likewise.
25652
25653 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25654 (__SYSCALL_ULONG_TYPE): Likewise.
25655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25656 (__SYSCALL_SLONG_TYPE): Likewise.
25657 (__SYSCALL_ULONG_TYPE): Likewise.
25658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25659 (__SYSCALL_SLONG_TYPE): Likewise.
25660 (__SYSCALL_ULONG_TYPE): Likewise.
25661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25662 (__SYSCALL_SLONG_TYPE): Likewise.
25663 (__SYSCALL_ULONG_TYPE): Likewise.
25664
85736dc7
L
256652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25666
25667 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25668 Add sigaltstack-offsets.sym.
25669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25670 <sigaltstack-offsets.h>.
25671 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25672 longjmp_msg pointer.
25673 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25674 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25675 signal stack.
25676 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25677
cc03b296
JM
256782012-05-15 Joseph Myers <joseph@codesourcery.com>
25679
a9538892
JM
25680 * elf/stackguard-macros.h: Remove file.
25681 * sysdeps/generic/stackguard-macros.h: New file.
25682 * sysdeps/i386/stackguard-macros.h: Likewise.
25683 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25684 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25685 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25686 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25687 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25688 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25689 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25690 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25691 <elf/stackguard-macros.h>.
25692
cc03b296
JM
25693 [BZ #14109]
25694 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25695 __aligned__ in attribute.
25696 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25697 (gregset_t): Likewise.
25698
93171016
L
256992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25702 * sysdeps/x86_64/64/Implies-after: Here. New file.
25703 * sysdeps/x86_64/x32/Implies-after: New file.
25704
d86813a0
L
257052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25708 and access return value for _dl_profile_fixup. Use R10_LP to
25709 load frame size.
25710
2953ec75
L
257112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25712
25713 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25714
3b550e9e
L
257152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25716
25717 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25718 * sysdeps/x86_64/x32/sysdep.h: New file.
25719
eda41706
L
257202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25721
25722 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25723 * sysdeps/x86_64/setjmp.S: Likewise.
25724
9ea01d93
AZ
257252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25726
25727 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25728 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25729 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25731 remove unused global constant.
25732
02a91938
CM
257332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25734
25735 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25736 include of <not-cancel.h>.
25737
6540185f
RM
257382012-05-15 Roland McGrath <roland@hack.frob.com>
25739
25740 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25741
509072a0
AJ
257422012-05-15 Jeff Law <law@redhat.com>
25743 Andreas Jaeger <aj@suse.de>
25744
25745 [BZ #13594]
25746 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25747 out from...
25748 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25749 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25750 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25751 code changing __hst_map_handle.map.
25752
ba75122d
RM
257532012-05-15 Roland McGrath <roland@hack.frob.com>
25754
25755 * configure.in (sysnames): Look for Implies-before and Implies-after
25756 files.
25757 * configure: Regenerated.
25758
890d8bd8
L
257592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25760
25761 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25762 8-byte data alignment with LP_SIZE alignment.
25763
f6ee6623
L
257642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25765
25766 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25767 into R10_LP.
25768
ea2626f6
L
257692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25770
25771 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25772
085f715e
L
257732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25774
25775 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25776 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25777 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25778 Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25780
be8498fc
L
257812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25782
25783 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25784 (stackinfo_sub_sp): Likewise.
25785
70bc83b9
L
257862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25787
25788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25789 RAX_LP.
25790
9bc0b730
L
257912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25792
25793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25794 into R*_LP.
25795
6d2850e7
L
257962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25797
25798 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25799 sizes into R*_LP.
25800
3cb84561
L
258012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25802
25803 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25804
54e2ed81
L
258052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25808 into R11_LP and load __x86_64_shared_cache_size_half into
25809 R8_LP.
25810
8a17f349
L
258112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25812
25813 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25814 R8_LP.
25815
777b1eea
AZ
258162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25817
25818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25819 logb for POWER7.
25820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25821 logbf for POWER7.
25822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25823 logbl for POWER7.
25824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25825 powerpc32/power7/fpu/s_logb.c via #include.
25826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25827 powerpc32/power7/fpu/s_logbf.c via #include.
25828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25829 powerpc32/power7/fpu/s_logbl.c via #include.
25830
d20d4ac2
JM
258312012-05-15 Joseph Myers <joseph@codesourcery.com>
25832
25833 * README.libm: Remove file.
25834
6cdef1ab
L
258352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25836
25837 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25838 count for x32. Use R*_LP and omit operand-size suffix.
25839
0b254d8f
L
258402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25841
25842 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25843 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25844 * sysdeps/x86_64/x32/shlib-versions: New file.
25845
ceb809dc
RM
258462012-05-14 Roland McGrath <roland@hack.frob.com>
25847
25848 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25849 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25850 Use _dl_fatal_printf instead.
25851
37f1abd4
JM
258522012-05-14 Joseph Myers <joseph@codesourcery.com>
25853
25854 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25855 set if not set by the user. Do not allow for being unset.
25856 * sysdeps/unix/sysv/linux/configure: Regenerated.
25857
11de3a33
L
258582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25859
25860 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25861 the `q' suffix from lea and replace .quad with ASM_ADDR.
25862
e02f153a
L
258632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25864
25865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25866 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25867 instead of $17.
25868 (PTR_DEMANGLE): Likewise.
25869
520ae0fd
L
258702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25871
25872 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25873 (LP_OP): Likewise.
25874 (ASM_ADDR): Likewise.
25875 (RAX_LP): Likewise.
25876 (RBP_LP): Likewise.
25877 (RBX_LP): Likewise.
25878 (RCX_LP): Likewise.
25879 (RDI_LP): Likewise.
25880 (RSI_LP): Likewise.
25881 (RSP_LP): Likewise.
25882 (R8_LP): Likewise.
25883 (R9_LP): Likewise.
25884 (R10_LP): Likewise.
25885 (R10_LP): Likewise.
25886 (R11_LP): Likewise.
25887 (R12_LP): Likewise.
25888 (R13_LP): Likewise.
25889 (R14_LP): Likewise.
25890 (R15_LP): Likewise.
25891
b985be81
L
258922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25893
25894 * sysdeps/x86_64/x32/dl-machine.h: New file.
25895
6a4888ff
AJ
258962012-05-14 Andreas Jaeger <aj@suse.de>
25897
25898 * manual/Makefile (subdir): Remove export of subdir.
25899 (all): Remove target.
25900 (.PHONY): Remove all from list.
25901 (mkinstalldirs): Remove.
25902 (.PHONY): Remove installdirs from list.
25903 ($(inst_infodir)/libc.info): Use make-target-directory.
25904 (installdirs): Remove.
25905 (subdir_%): Remove.
25906 (glibc-targets): Remove.
25907 (lib): Remove.
25908 (stubs): Remove.
25909 ($(objpfx)stubs ../po/manual.pot): Remove.
25910 ($(objpfx)stamp%): Remove.
25911 (make-target-directory): Remove.
25912 (subdir_install): Remove.
25913 (routines): Remove.
25914 (aux): Remove.
25915 (sources): Remove.
25916 (objects): Remove.
25917 (headers): Remove.
25918
25919 [BZ #13750]
25920 * manual/.gitignore: Remove, it's not needed anymore.
25921 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25922 all files in it.
25923 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25924 directory.
25925 (texis): Renamed to $(objpfx)texis.
25926 (texis-path): New, contains path to generated files.
25927 (chapters.%): Use texis-path for complete path, add extra argument
25928 libc-texinfo.sh.
25929 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25930 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25931 (summary,texi, stamp-summary): Use complete path of
25932 files. Generate files in build dir.
25933 (dir-add.texi): Build in build dir.
25934 (libm-err.texi,stamp-libm-err): Likewise.
25935 (version.texi, stamp-version): Likewise.
25936 (.%c.texi): Likewise.
25937 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25938 (mostlyclean): Remove target.
25939 (realclean): Remove target.
25940 (generated): Add new variable with contents from mostlyclean and
25941 realclean, remove entries duplicated in common-mostlyclean, add
25942 stamp-libm-err and stamp-version.
25943 (generated-dirs): Add libc directory.
25944 ($(inst_infodir)/libc.info): Install files from build dir.
25945
25946 * manual/install.texi (Configuring and compiling): Adjust since
25947 the info files are not part of the tar ball anymore.
25948
7ac77294
AJ
259492012-05-14 Andreas Jaeger <aj@suse.de>
25950
25951 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25952 variable.
25953
ffb7875d
JM
259542012-05-14 Joseph Myers <joseph@codesourcery.com>
25955
25956 [BZ #13717]
25957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25958 to 2.2.0 where earlier.
25959 * sysdeps/unix/sysv/linux/configure: Regenerated.
25960 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25961 Remove conditional code.
25962 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25963 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25964 Remove conditional code.
25965 [!__NR_lchown]: Likewise.
25966 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25967 [__NR_lchown]: Likewise.
25968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25969 comment referencing __ASSUME_LCHOWN_SYSCALL.
25970 * sysdeps/unix/sysv/linux/i386/sigaction.c
25971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25973 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25974 Remove conditional code.
25975 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25976 (__protocol_available): Remove #if 0 code.
25977 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25978 conditional code.
25979 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25980 * sysdeps/unix/sysv/linux/kernel-features.h
25981 (__ASSUME_GETCWD_SYSCALL): Don't define.
25982 (__ASSUME_REALTIME_SIGNALS): Likewise.
25983 (__ASSUME_PREAD_SYSCALL): Likewise.
25984 (__ASSUME_PWRITE_SYSCALL): Likewise.
25985 (__ASSUME_POLL_SYSCALL): Likewise.
25986 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25987 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25988 non-SPARC.
25989 (__ASSUME_SIOCGIFNAME): Don't define.
25990 (__ASSUME_MSG_NOSIGNAL): Likewise.
25991 (__ASSUME_SENDFILE): Define unconditionally.
25992 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25993 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25994 conditional code.
25995 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25996 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25997 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25998 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25999 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26000 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26001 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26015 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26018 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26024 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26026 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26027 Remove conditional code.
26028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26029 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26030 Remove conditional code.
26031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26032 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26033 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26034 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26035 Remove conditional code.
26036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26037 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26038 Remove conditional code.
26039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26040 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26041 Remove conditional code.
26042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26043 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26044 Remove conditional code.
26045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26046 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26047 Remove conditional code.
26048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26049 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26052 * sysdeps/unix/sysv/linux/sigaction.c
26053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26055 * sysdeps/unix/sysv/linux/sigpending.c
26056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26058 * sysdeps/unix/sysv/linux/sigprocmask.c
26059 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26060 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26061 * sysdeps/unix/sysv/linux/sigsuspend.c
26062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26064 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26065 (__libc_missing_rt_sigs): Remove.
26066 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26067 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26068 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26069 Remove conditional code.
26070 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26071 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26072 return 1.
26073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26074 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26075 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26076 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26077
1bfb7291
AJ
260782012-05-14 Andreas Jaeger <aj@suse.de>
26079
caae5a81
AJ
26080 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26081 it's not used in glibc.
26082 (__coshm1): Likewise.
26083 (__acosh1p): Likewise.
26084 (__sgn): Likewise.
26085
1bfb7291
AJ
26086 * manual/string.texi (Copying and Concatenation): Add missing
26087 variable in concat example.
26088 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26089
c044d724
L
260902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26091
144c5467 26092 [BZ #14103]
c044d724
L
26093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26094 __builtin_clzl with __builtin_clzll.
26095
2523c62b
L
260962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26097
26098 [BZ #14104]
26099 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26100 libc_freeres_ptr.
26101
d7bb4c42
LD
261022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26103
26104 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26105 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26106 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26107 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26108
9dc4e1fb
MF
261092012-05-14 Mike Frysinger <vapier@gentoo.org>
26110
26111 * NEWS: Update ia64 info.
26112
c7df0112
AS
261132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26114
26115 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26116 used as bcopy.
26117
dc70356c
TS
261182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26119
26120 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26121 * sysdeps/unix/syscalls.list (dup3): Likewise.
26122 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26123 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26124
9fb1a21f
L
261252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26126
26127 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26128 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26129
4822a2a5
L
261302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26131
26132 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26133 thread pointer.
26134 (TLS_IE): Use mov/add instead of movq/addq to load thread
26135 pointer.
26136 (TLS_GD_PREFIX): New.
26137 (TLS_GD): Use it.
26138
842b81d6
DM
261392012-05-11 David S. Miller <davem@davemloft.net>
26140
26141 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26142 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26143 (_FPU_SETCW): Likewise.
26144
1cf463cd
L
261452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26146
26147 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26148 is 32-byte aligned.
26149
60cc4a18
AS
261502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26151
26152 [BZ #11837]
26153 * iconvdata/gb18030.c: Update tables.
26154 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26155 characters specially.
26156 (BODY for TO_LOOP): Add encoding of missing ranges.
26157
febb44a4
TS
261582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26159
26160 [BZ #13673]
26161 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26162 * sysdeps/mach/hurd/dup3.c: Likewise.
26163 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26164 * sysdeps/powerpc/memmove.c:: Likewise.
26165
0a10fb9e
L
261662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26167
26168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26169 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26170
df8a552f
L
261712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26172
26173 * elf/elf.h (R_X86_64_RELATIVE64): New.
26174 (R_X86_64_NUM): Updated.
26175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26176 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26177 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26178 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26179 tst-quad1pie tst-quad2pie
26180 (modules-names): Add tst-quadmod1 tst-quadmod2.
26181 ($(objpfx)tst-quad1): New dependency.
26182 ($(objpfx)tst-quad2): Likewise.
26183 ($(objpfx)tst-quad1pie): Likewise.
26184 ($(objpfx)tst-quad2pie): Likewise.
26185 * sysdeps/x86_64/tst-quad1.c: New file.
26186 * sysdeps/x86_64/tst-quad1pie.c: New file.
26187 * sysdeps/x86_64/tst-quad2.c: Likewise.
26188 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26189 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26190 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26191 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26192 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26193
f34d6f84
ST
261942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26195
f42d41d1
ST
26196 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26197 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26198 * streams/stropts.h (t_scalar_t): Define type.
26199
3c3571fc
ST
26200 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26201 (_PATH_PRESERVE): Set to "/var/lib".
26202 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26203
61f06bd3
ST
26204 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26205 instead of int.
26206
918d4d71
ST
26207 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26208 if __dir_mkfile succeeded.
26209
f34d6f84
ST
26210 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26211 checking for _hurd_dtablesize. Unlock it right after having
26212 finished _hurd_dtable allocation.
26213
10589b4a
TS
262142012-05-10 Thomas Schwinge <thomas@schwinge.name>
26215
674cdbc7
TS
26216 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26217 * sysdeps/mach/hurd/configure: Regenerated.
26218 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26219 special-casing to...
26220 * sysdeps/gnu/configure.in: ... this new file.
26221 * sysdeps/unix/sysv/linux/configure: Regenerated.
26222 * sysdeps/gnu/configure: New generated file.
26223
8e41b99f
TS
26224 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26225 for Linux: use nsec instead of usec, as well as:
26226 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26227 members of type struct timespec.
26228 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26229 New macros.
26230 (struct stat64): Likewise.
26231 (_STATBUF_ST_NSEC): New macro.
26232 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26233
10589b4a
TS
26234 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26235 __strtoul_internal rather than strtoul.
26236
63643c85
PT
262372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26238
26239 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26240 and reject them.
26241
3faebe6a
ST
262422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26243
26244 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26245 which preserves existing values.
26246 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26247
c6474b07
PT
262482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26249
26250 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26251 TIMEOUT values. Return EINVAL for NFDS values either negative or
26252 greater than FD_SETSIZE.
26253
1043890b
ST
262542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26255
26256 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26257 allocated, call __vm_protect to finish enabling the existing space, and
26258 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26259 allocate the remainder.
26260
37ed8b9b
PT
262612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26262
26263 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26264 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26265
db653660
ST
262662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26267
37ed8b9b
PT
26268 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26269 sysdeps/mach/hurd/readlink.c.
b29d4053 26270
db653660
ST
26271 * posix/tst-sysconf.c (posix_options): Only use
26272 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26273 _POSIX_SYNCHRONIZED_IO when they are defined
26274 * sysdeps/mach/hurd/bits/posix_opt.h:
26275 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26276 (_XOPEN_REALTIME): Undefine macro.
26277 (_XOPEN_REALTIME_THREADS): Undefine macro.
26278 (_XOPEN_SHM): Undefine macro.
26279 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26280 macro to -1.
26281 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26282 macro to -1.
26283 (_POSIX_ASYNC_IO): Undefine macro.
26284 (_POSIX_PRIORITIZED_IO): Undefine macro.
26285 (_POSIX_SPIN_LOCKS): Define macro to -1.
26286
ee16e894
ST
26287 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26288 SA_NODEFER, SA_RESETHAND.
26289 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26290 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26291 F_DUPFD_CLOEXEC.
26292
6103ae3b
TS
262932012-05-10 Thomas Schwinge <thomas@schwinge.name>
26294
26295 * elf/Makefile (pldd-modules): Define unconditionally.
26296
80b4e5f3
TS
262972012-05-10 Thomas Schwinge <thomas@schwinge.name>
26298
26299 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26300
edadcbd6
ST
263012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26302
26303 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26304 Return ENOENT when name is empty.
26305 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26306
80694780
TS
263072012-05-10 Thomas Schwinge <thomas@schwinge.name>
26308
1792c087
TS
26309 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26310
80694780
TS
26311 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26312
6b645f0d
ST
263132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26314
80694780
TS
26315 Fix mlock in all cases except non-readable pages.
26316 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26317 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26318
6b645f0d
ST
26319 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26320 (__mkdir): When path is `/', just fail with EEXIST.
26321 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26322
e468f8a3
TS
263232012-05-10 Thomas Schwinge <thomas@schwinge.name>
26324
26325 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26326 <sys/uio.h> (for writev).
26327 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26328 and <sys/param.h> (for MIN).
26329
a4186cff
PT
263302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26331
26332 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26333 REQUESTED_TIME. Properly set the remaining time and return EINTR
26334 if interrupted.
26335
510bbf14
TS
263362012-05-10 Thomas Schwinge <thomas@schwinge.name>
26337
26338 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26339 Depend on against $(link-rpcuserlibs).
26340
5d5722e8
ST
263412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26342
a4186cff
PT
26343 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26344 (__libc_stack_end): Do not use attribute_relro.
26345 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26346 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26347 to libthread-provided value.
a4186cff
PT
26348 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26349 attribute_relro.
5d5722e8 26350
37233df9
TS
263512012-05-10 Thomas Schwinge <thomas@schwinge.name>
26352
be971a2b
TS
26353 [BZ #3748]
26354 * bits/libc-lock.h (__libc_once_get): New macro.
26355 * sysdeps/mach/bits/libc-lock.h: Likewise.
26356 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26358 instead of using implementation details.
26359
37233df9
TS
26360 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26361 * libio/freopen.c: Likewise.
26362 * libio/freopen64.c: Likewise.
26363 * misc/syslog.c: Likewise.
26364 * nscd/connections.c: Likewise.
26365 * nscd/netgroupcache.c: Likewise.
26366 * sysdeps/posix/getcwd.c: Likewise.
26367
38de94a5
RM
263682012-05-10 Roland McGrath <roland@hack.frob.com>
26369
26370 * math/w_ilogbf.c: Add #include <limits.h>.
26371
67530489
ST
263722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26373
a4186cff 26374 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26375 path instead of returning without unlocking.
26376
67530489
ST
26377 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26378 immediate-write ioctls.
26379 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26380
5aa3a74a
TS
263812012-05-10 Thomas Schwinge <thomas@schwinge.name>
26382
18bad2ae
TS
26383 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26384 __builtin_frame_address instead of making assumptions about the
26385 location of the return address relative to DATA. Force early load of
26386 the return address.
26387 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26388 __builtin_frame_address.
26389
5aa3a74a
TS
26390 dup3 for GNU Hurd.
26391 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26392 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26393 implement dup3 and do some further code clean-ups.
26394 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26395 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26396
ecd0de9a
ST
263972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26398
cd9fa985
ST
26399 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26400
a4186cff
PT
26401 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26402 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26403 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26404 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26405 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26406 d->port.lock.
802ca5a5 26407
a4186cff
PT
26408 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26409 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26410 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26411
bcf55240
TS
264122012-05-10 Thomas Schwinge <thomas@schwinge.name>
26413
6960eb42
TS
26414 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26415 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26416 definitions.
26417
eb43375f
TS
26418 accept4 for GNU Hurd.
26419 * include/sys/socket.h (__libc_accept4): New prototype.
26420 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26421 to implement __libc_accept4.
26422 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26423 __libc_accept4.
26424 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26425
bcf55240
TS
26426 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26427 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26428 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26429 signal-defines.sym.
26430
6178c55b
ST
264312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26432
a4186cff 26433 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26434
6f080c2f
TS
264352012-05-10 Thomas Schwinge <thomas@schwinge.name>
26436
26437 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26438 assertion on O_CLOEXEC flag.
26439 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26440 * hurd/intern-fd.c: Likewise.
26441 * hurd/port2fd.c: Likewise.
26442
bcfe3a54
ST
264432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26444
26445 [BZ #3906]
26446 * bits/in.h (IPV6_PKTINFO): Define new macro.
26447 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26448
89c9aa49
AZ
264492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26450
26451 [BZ #13954]
26452 [BZ #13955]
26453 [BZ #13956]
26454 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26456 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26457 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26459 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26460 * math/libm-test.inc (logb_test) : Additional logb tests.
26461
021db4be
AJ
264622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26463 Andreas Jaeger <aj@suse.de>
26464
26465 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26466 * configure: Regenerated.
26467 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26468 * config.make.in (link-obsolete-rpc): New substituted variable.
26469 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26470 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26471 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26472 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26473 so that libc.a contains the symbols.
26474 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26475 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26476 * sunrpc/auth_none.c: Likewise.
26477 * sunrpc/auth_unix.c: Likewise.
26478 * sunrpc/authdes_prot.c: Likewise.
26479 * sunrpc/authuxprot.c: Likewise.
26480 * sunrpc/clnt_gen.c: Likewise.
26481 * sunrpc/clnt_perr.c: Likewise.
26482 * sunrpc/clnt_raw.c: Likewise.
26483 * sunrpc/clnt_simp.c: Likewise.
26484 * sunrpc/clnt_tcp.c: Likewise.
26485 * sunrpc/clnt_udp.c: Likewise.
26486 * sunrpc/clnt_unix.c: Likewise.
26487 * sunrpc/des_crypt.c: Likewise.
26488 * sunrpc/des_soft.c: Likewise.
26489 * sunrpc/get_myaddr.c: Likewise.
26490 * sunrpc/key_call.c: Likewise.
26491 * sunrpc/key_prot.c: Likewise.
26492 * sunrpc/netname.c: Likewise.
26493 * sunrpc/pm_getmaps.c: Likewise.
26494 * sunrpc/pm_getport.c: Likewise.
26495 * sunrpc/pmap_clnt.c: Likewise.
26496 * sunrpc/pmap_prot.c: Likewise.
26497 * sunrpc/pmap_prot2.c: Likewise.
26498 * sunrpc/pmap_rmt.c: Likewise.
26499 * sunrpc/publickey.c: Likewise.
26500 * sunrpc/rpc_cmsg.c: Likewise.
26501 * sunrpc/rpc_common.c: Likewise.
26502 * sunrpc/rpc_dtable.c: Likewise.
26503 * sunrpc/rpc_prot.c: Likewise.
26504 * sunrpc/rpc_thread.c: Likewise.
26505 * sunrpc/rtime.c: Likewise.
26506 * sunrpc/svc.c: Likewise.
26507 * sunrpc/svc_auth.c: Likewise.
26508 * sunrpc/svc_raw.c: Likewise.
26509 * sunrpc/svc_run.c: Likewise.
26510 * sunrpc/svc_tcp.c: Likewise.
26511 * sunrpc/svc_udp.c: Likewise.
26512 * sunrpc/svc_unix.c: Likewise.
26513 * sunrpc/svcauth_des.c: Likewise.
26514 * sunrpc/xcrypt.c: Likewise.
26515 * sunrpc/xdr.c: Likewise.
26516 * sunrpc/xdr_array.c: Likewise.
26517 * sunrpc/xdr_float.c: Likewise.
26518 * sunrpc/xdr_intXX_t.c: Likewise.
26519 * sunrpc/xdr_mem.c: Likewise.
26520 * sunrpc/xdr_rec.c: Likewise.
26521 * sunrpc/xdr_ref.c: Likewise.
26522 * sunrpc/xdr_sizeof.c: Likewise.
26523 * sunrpc/xdr_stdio.c: Likewise.
26524
b5c086a2
RM
265252012-05-10 Roland McGrath <roland@hack.frob.com>
26526
26527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26528 change. Update copyright years.
26529
6d74dd09
JM
265302012-05-10 Joseph Myers <joseph@codesourcery.com>
26531
26532 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26533
28e72501
MK
265342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26535 Joseph Myers <joseph@codesourcery.com>
26536 Paul Pluzhnikov <ppluzhnikov@google.com>
26537
26538 [BZ #14012]
26539 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26540 requiring rpcgen.
26541 [cross-compiling] (extra-libs): Likewise.
26542 [cross-compiling] (extra-libs-others): Likewise.
26543 [cross-compiling] (librpcsvc-routines): Likewise.
26544 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26545 [cross-compiling] (omit-deps): Likewise.
26546 (sunrpc-CPPFLAGS): New variable.
26547 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26548 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26549 (cross-rpcgen-objs): New variable.
26550 (extra-objs): Append $(cross-rpcgen-objs).
26551 ($(cross-rpcgen-objs)): New rule.
26552 ($(objpfx)cross-rpcgen): Likewise.
26553 (rpcgen-cmd): Define to use $(built-program-file). Expand
26554 comment.
26555 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26556 ($(objpfx)x%.stmp): Likewise.
26557 * sunrpc/proto.h [IS_IN_build] (_): Define.
26558 [IS_IN_build] (_libc_intl_domainname): Likewise.
26559
c8c59454
L
265602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26561
26562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26563 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26564 and R_X86_64_TPOFF64.
26565
6f27cd16
JM
265662012-05-10 Joseph Myers <joseph@codesourcery.com>
26567
26568 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26569 sysdeps/unix/sysv/syscalls.list.
26570 (stime): Likewise.
26571 (utime): Likewise.
26572 * sysdeps/unix/sysv/syscalls.list: Remove file.
26573
02467e1c
PE
265742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26575
26576 [BZ #3440]
26577 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26578 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26579 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26580 (__LC_IDENTIFICATION): Make these macros useful in #if
26581 expressions, as required by C99.
26582
da392631
AS
265832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26584
26585 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26586 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26587 after this.
26588
8115f29b
L
265892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26590
26591 * stdlib/longlong.h: Updated from GCC.
26592
bdd74070
AJ
265932012-05-09 Andreas Jaeger <aj@suse.de>
26594
edfe0dbe
AJ
26595 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26596 default is first entry.
26597 (run_mode): Set type.
26598 (main): Remove informal message about syslog.
26599 (options): Fix typo.
26600
bcfe3a54
ST
26601 [BZ #14053]
26602 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26603 to asm.
bcfe3a54
ST
26604 (lrint): Likewise.
26605 (llrintf): Likewise.
26606 (llrint): Likewise.
26607 (rint): Likewise.
26608 (rintf): Likewise.
26609 (nearbyint): Likewise.
26610 (nearbyintf): Likewise.
bdd74070 26611
91d8d69e
AJ
266122012-05-09 Andreas Jaeger <aj@suse.de>
26613 Pedro Alves <palves@redhat.com>
26614
26615 * nscd/nscd.c (run_mode): Use enum.
26616 (main): Cleanup coding style issue.
26617
bb90b80b
AJ
266182012-05-09 Alexandre Oliva <aoliva@redhat.com>
26619 Andreas Jaeger <aj@suse.de>
26620
bcfe3a54
ST
26621 * nscd/nscd.c (go_background): Replaced with...
26622 (run_mode): ... this.
bb90b80b 26623 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26624 (options): Add -F --foreground.
26625 (main): Implement it.
26626 (parse_opt): Parse it.
bb90b80b 26627
1a4b75a1
AJ
266282012-05-09 Andreas Jaeger <aj@suse.de>
26629
26630 [BZ #14083]
26631 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26632 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26633 -Wconversion warning.
26634 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26635 Likewise.
26636
b1cc2472
JM
266372012-05-09 Joseph Myers <joseph@codesourcery.com>
26638
26639 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26640 == 0.
26641 (LC_ALL): Use macro-int-constant.
26642 (LC_COLLATE): Likewise.
26643 (LC_CTYPE): Likewise.
26644 (LC_MESSAGES): Likewise.
26645 (LC_MONETARY): Likewise.
26646 (LC_NUMERIC): Likewise.
26647 (LC_TIME): Likewise.
26648 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26649 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26651 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26652 Specify type.
26653 [C99-based standards] (float_t): Expect type.
26654 [C99-based standards] (double_t): Expect type.
26655 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26656 type.
26657 [C99-based standards] (HUGE_VALL): Likewise.
26658 [C99-based standards] (INFINITY): Likewise.
26659 [C99-based standards] (NAN): Likewise.
26660 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26661 [C99-based standards] (FP_NAN): Likewise.
26662 [C99-based standards] (FP_NORMAL): Likewise.
26663 [C99-based standards] (FP_SUBNORMAL): Likewise.
26664 [C99-based standards] (FP_ZERO): Likewise.
26665 [C99-based standards] (FP_FAST_FMA): Use
26666 optional-macro-int-constant. Specify type. Require == 1.
26667 [C99-based standards] (FP_FAST_FMAF): Likewise.
26668 [C99-based standards] (FP_FAST_FMAL): Likewise.
26669 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26670 [C99-based standards] (FP_ILOGBNAN): Likewise.
26671 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26672 Specify type.
26673 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26674 [C99-based standards] (math_errhandling): Specify type.
26675 [ISO99 || ISO11] (signgam): Do not allow.
26676 [non-C99-based standards] (copysignf): Do not allow.
26677 [non-C99-based standards] (exp2f): Likewise.
26678 [non-C99-based standards] (log2f): Likewise.
26679 [non-C99-based standards] (modff): Allow.
26680 [non-C99-based standards] (erff): Do not allow.
26681 [non-C99-based standards] (erfcf): Likewise.
26682 [non-C99-based standards] (gammaf): Likewise.
26683 [non-C99-based standards] (hypotf): Likewise.
26684 [non-C99-based standards] (j0f): Likewise.
26685 [non-C99-based standards] (j1f): Likewise.
26686 [non-C99-based standards] (jnf): Likewise.
26687 [non-C99-based standards] (lgammaf): Likewise.
26688 [non-C99-based standards] (tgammaf): Likewise.
26689 [non-C99-based standards] (y0f): Likewise.
26690 [non-C99-based standards] (y1f): Likewise.
26691 [non-C99-based standards] (ynf): Likewise.
26692 [non-C99-based standards] (isnanf): Likewise.
26693 [non-C99-based standards] (acoshf): Likewise.
26694 [non-C99-based standards] (asinhf): Likewise.
26695 [non-C99-based standards] (atanhf): Likewise.
26696 [non-C99-based standards] (cbrtf): Likewise.
26697 [non-C99-based standards] (expm1f): Likewise.
26698 [non-C99-based standards] (ilogbf): Likewise.
26699 [non-C99-based standards] (log1pf): Likewise.
26700 [non-C99-based standards] (logbf): Likewise.
26701 [non-C99-based standards] (nextafterf): Likewise.
26702 [non-C99-based standards] (remainderf): Likewise.
26703 [non-C99-based standards] (rintf): Likewise.
26704 [non-C99-based standards] (scalbf): Likewise.
26705 [non-C99-based standards] (copysignl): Likewise.
26706 [non-C99-based standards] (exp2l): Likewise.
26707 [non-C99-based standards] (log2l): Likewise.
26708 [non-C99-based standards] (modfl): Allow.
26709 [non-C99-based standards] (erfl): Do not allow.
26710 [non-C99-based standards] (erfcl): Likewise.
26711 [non-C99-based standards] (gammal): Likewise.
26712 [non-C99-based standards] (hypotl): Likewise.
26713 [non-C99-based standards] (j0l): Likewise.
26714 [non-C99-based standards] (j1l): Likewise.
26715 [non-C99-based standards] (jnl): Likewise.
26716 [non-C99-based standards] (lgammal): Likewise.
26717 [non-C99-based standards] (tgammal): Likewise.
26718 [non-C99-based standards] (y0l): Likewise.
26719 [non-C99-based standards] (y1l): Likewise.
26720 [non-C99-based standards] (ynl): Likewise.
26721 [non-C99-based standards] (isnanl): Likewise.
26722 [non-C99-based standards] (acoshl): Likewise.
26723 [non-C99-based standards] (asinhl): Likewise.
26724 [non-C99-based standards] (atanhl): Likewise.
26725 [non-C99-based standards] (cbrtl): Likewise.
26726 [non-C99-based standards] (expm1l): Likewise.
26727 [non-C99-based standards] (ilogbl): Likewise.
26728 [non-C99-based standards] (log1pl): Likewise.
26729 [non-C99-based standards] (logbl): Likewise.
26730 [non-C99-based standards] (nextafterl): Likewise.
26731 [non-C99-based standards] (remainderl): Likewise.
26732 [non-C99-based standards] (rintl): Likewise.
26733 [non-C99-based standards] (scalbl): Likewise.
26734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26735 [non-C99-based standards] (FP_*): Do not allow.
26736 [C99-based standards] (FP_*): Change to
26737 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26738 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26739 allow.
26740 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26741 (SIG_ERR): Likewise.
26742 [X/Open-based standards] (SIG_HOLD): Likewise.
26743 (SIG_IGN): Likewise.
26744 (SIGABRT): Use macro-int-constant. Specify type. Require
26745 positive value.
26746 (SIGFPE): Likewise.
26747 (SIGILL): Likewise.
26748 (SIGINT): Likewise.
26749 (SIGSEGV): Likewise.
26750 (SIGTER): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26757 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26758 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26765 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26766 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26767 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26768 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26769 [X/Open-based standards] (SIGTRAP): Likewise.
26770 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26771 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26772 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26773 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26774 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26775 allow.
26776
b9f1922d
IW
267772012-05-08 Ian Wienand <ianw@vmware.com>
26778
26779 [BZ #14080]
26780 * time/tzset.c (__tzset_parse_tz): Update default rules for
26781 daylight time changes in the Energy Policy Act of 2005.
26782
1db86e88
AJ
267832012-05-09 Andreas Jaeger <aj@suse.de>
26784
26785 [BZ #13983]
26786 * elf/ldconfig.c (parse_conf): Change string to make clear that
26787 ldconfig only issued a warning if ld.so.conf does not exist.
26788
dee4a4e3
DM
267892012-05-08 David S. Miller <davem@davemloft.net>
26790
ee0db190
DM
26791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26792 movxtod instead of popping the value on the stack.
26793
dee4a4e3
DM
26794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26795
6a43ec98
CD
267962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26797
26798 * config.h.in: Add HAVE_ARM_PCS_VFP.
26799
05c2c961
RMG
268002012-05-08 Roland Mc Grath <roland@hack.frob.com>
26801
bcfe3a54
ST
26802 [BZ #13979]
26803 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26804 checking but the checks are disabled for any reason.
05c2c961 26805
4b30f61a
L
268062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26807
26808 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26809 and ELF64_R_TYPE with ELFW(R_TYPE).
26810
eee2bc67
JM
268112012-05-08 Joseph Myers <joseph@codesourcery.com>
26812
7ea5391a
JM
26813 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26814 (ulimit): Likewise.
26815
eee2bc67
JM
26816 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26817 (settimeofday): Likewise.
26818
abb66a67
MF
268192012-05-08 Mike Frysinger <vapier@gentoo.org>
26820
26821 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26822 a struct th_u2 inside the union, and move tu_block/tu_code into
26823 a new th_u3 union of tu_block/tu_code inside of that. Move
26824 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26825 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26826 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26827 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26828 (th_stuff): Change to th_u1.tu_stuff.
26829 (th_data): Define.
26830 (th_msg): Change to th_u1.th_u2.tu_data.
26831
7f18b530
DM
268322012-05-07 David S. Miller <davem@davemloft.net>
26833
05760585
DM
26834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26835
7f18b530
DM
26836 [BZ #14074]
26837 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26838 (SETUP_PIC_REG): Use it.
26839 (SETUP_PIC_REG_LEAF): Use it.
26840
495fd99f
JM
268412012-05-07 Joseph Myers <joseph@codesourcery.com>
26842
26843 [BZ #13885]
26844 [BZ #13923]
26845 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26846 USE_AS_EXPM1L.
26847 (EXPL_FINITE): Likewise.
26848 (FLDLOG): Likewise.
26849 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26850 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26851 e_expl.S.
26852 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26853 USE_AS_EXPM1L.
26854 (EXPL_FINITE): Likewise.
26855 (FLDLOG): Likewise.
26856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26857 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26858 e_expl.S.
26859 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26860 test of -max_value argument for long double.
26861 * sysdeps/i386/fpu/libm-test-ulps: Update.
26862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863
6693d694
DM
268642012-05-06 David S. Miller <davem@davemloft.net>
26865
26866 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26867 quad soft-float symbols whose references which are compiler
26868 generated.
26869 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26870
6c23e11c
JM
268712012-05-06 Joseph Myers <joseph@codesourcery.com>
26872
d8b82cad
JM
26873 [BZ #13884]
26874 [BZ #13914]
26875 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26876 USE_AS_EXP10L.
26877 (EXPL_FINITE): Likewise.
26878 (FLDLOG): Likewise.
26879 (c0): Likewise.
26880 (c1): Likewise.
26881 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26882 Adjust comments for base varying.
26883 (__expl_finite): Change alias to EXPL_FINITE.
26884 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26885 e_expl.S.
26886 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26887 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26888 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26889 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26891 USE_AS_EXP10L.
26892 (EXPL_FINITE): Likewise.
26893 (FLDLOG): Likewise.
26894 (c0): Likewise.
26895 (c1): Likewise.
26896 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26897 Adjust comments for base varying.
26898 (__expl_finite): Change alias to EXPL_FINITE.
26899 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26900 tests for bugs.
26901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26902
6c23e11c
JM
26903 [BZ #14064]
26904 * math/libm-test.inc (check_float_internal): Correct ulp
26905 calculation for subnormal expected results.
26906
29ba805c
AJ
269072012-05-06 Andreas Jaeger <aj@suse.de>
26908
26909 * Makeconfig (+math-flags): New, set to -frounding-math.
26910 (+cflags): Add +math-flags so that all of glibc gets compiled with
26911 it.
26912
26913 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26914
7b17aeda
JM
269152012-05-05 Joseph Myers <joseph@codesourcery.com>
26916
5779f134
JM
26917 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26918 Disable one test.
26919
41498f4d
JM
26920 [BZ #13787]
26921 [BZ #13922]
26922 [BZ #14036]
26923 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26924 (__ieee754_expl): Allow for and saturate large arguments.
26925 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26926 (u_threshold): Likewise.
26927 (__exp): Call __ieee754_exp before checking for overflow and
26928 underflow.
26929 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26930 (u_threshold): Likewise.
26931 (__expf): Call __ieee754_expf before checking for overflow and
26932 underflow.
26933 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26934 (u_threshold): Likewise.
26935 (__expl): Call __ieee754_expl before checking for overflow and
26936 underflow.
26937 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26938 (__ieee754_expl): Allow for and saturate large arguments.
26939 * math/libm-test.inc (exp_test): Add another test. Do not allow
26940 missing overflow exception on overflow.
26941 (expm1_test): Do not allow missing overflow exception on overflow.
26942
6698b8bf
JM
26943 * sysdeps/i386/fpu/e_expl.c: Move to ...
26944 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26945 rather than using inline asm.
26946 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26947 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26948 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26949
7b17aeda
JM
26950 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26951 (nice): Likewise.
26952 (poll): Likewise.
26953 (signal): Likewise.
26954 (time): Likewise.
26955 (times): Likewise.
26956
f7c85819
JM
269572012-05-04 Joseph Myers <joseph@codesourcery.com>
26958
26959 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26960 sysdeps/unix/common/syscalls.list.
26961 (fchmod): Likewise.
26962 (fchown): Likewise.
26963 (ftruncate): Likewise.
26964 (getrusage): Likewise.
26965 (gettimeofday): Likewise.
26966 (setpgid): Likewise.
26967 (setregid): Likewise.
26968 (setreuid): Likewise.
26969 (sigaction): Likewise.
26970 (truncate): Likewise.
26971 (vhangup): Likewise.
26972 * sysdeps/unix/common/syscalls.list: Remove file.
26973 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26974 * sysdeps/unix/sysv/linux/Implies: Likewise.
26975
336270d0
L
269762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26977
26978 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26980 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26981 Moved to ...
26982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26983 Here.
26984 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26985 to ...
26986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26987 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26988 to ...
26989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26990 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26991 to ...
26992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26993 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26994 to ...
26995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26996 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26997 to ...
26998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26999 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27000 to ...
27001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27002 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27003 to ...
27004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27005 Here.
27006 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27007 to ...
27008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27009 Here.
27010 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27011 to ...
27012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27013 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27014 Moved to ...
27015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27016 Here.
27017 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27018 to ...
27019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27020
d128e450
JM
270212012-05-04 Joseph Myers <joseph@codesourcery.com>
27022
fa8ee516
JM
27023 * sysdeps/unix/common/bits/dirent.h: Remove file.
27024 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27025
d128e450
JM
27026 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27027 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27028 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27029 * sysdeps/unix/bsd/isatty.c: Likewise.
27030 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27031 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27032 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27033
ff8faaf0 270342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27035
62881be4 27036 [BZ #13563]
31dc8730
AZ
27037 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27038 long double comparison inaccuracies.
27039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27041
6fef930c
AS
270422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27043
27044 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27046
8f203e6c
JM
270472012-05-04 Joseph Myers <joseph@codesourcery.com>
27048
27049 [BZ #14049]
27050 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27051 nonzero digits before rounding a hex value.
27052 * stdlib/tst-strtod.c (tests): Add another test.
27053
5197d9c2
AK
270542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27055
27056 * sysdeps/s390/fpu/libm-test-ulps: Update.
27057
f0c1dedf
AJ
270582012-05-03 Andreas Jaeger <aj@suse.de>
27059
27060 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27061 does not get optimized out.
27062 (malloc_opt_barrier): New.
27063
a65ef2ae 270642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27065 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27066
2b942cb7 27067 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27068 intermediate file deletion.
2b942cb7 27069 (generated): Add .symlist files.
a65ef2ae 27070
54b71e02
JM
270712012-05-03 Joseph Myers <joseph@codesourcery.com>
27072
27073 [BZ #13775]
27074 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27075 Redirect under this condition.
27076 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27077 [__USE_GNU] (__dprintf_chk): Not under this condition.
27078 [__USE_GNU] (__vdprintf_chk): Likewise.
27079 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27080 under this condition.
27081 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27082 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27083 [__USE_XOPEN2K8] (vdprintf): Likewise.
27084 [__USE_GNU] (__dprintf_chk): Not under this condition.
27085 [__USE_GNU] (__vdprintf_chk): Likewise.
27086 [__USE_GNU] (dprintf): Likewise.
27087 [__USE_GNU] (vdprintf): Likewise.
27088
d3dfcc41
RM
270892012-05-03 Roland McGrath <roland@hack.frob.com>
27090
27091 * elf/Makefile (common-generated): Set this instead of generated for
27092 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27093 $(all-built-dso)-derived lists.
27094
7ac30cc5
AJ
270952012-05-03 Andreas Jaeger <aj@suse.de>
27096
0c51e550
AJ
27097 * sysdeps/i386/fpu/libm-test-ulps: Update.
27098
7ac30cc5
AJ
27099 * FAQ: Removed.
27100 * FAQ.in: Likewise.
27101 * scripts/gen-FAQ.pl: Likewise.
27102 * manual/install.texi (Installation): Point to online location of
27103 FAQ.
27104 * Makefile (files-for-dist): Remove FAQ.
27105 (FAQ): Remove.
27106
d4c2917f
AM
271072012-05-02 Allan McRae <allan@archlinux.org>
27108
27109 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27110 (LDFLAGS-reldepmod5.so): Likewise.
27111 (LDFLAGS-reldep6mod1.so): Likewise.
27112 (LDFLAGS-reldep6mod4.so): Likewise.
27113 (LDFLAGS-reldep8mod3.so): Likewise.
27114 (LDFLAGS-unload4mod1.so): Likewise.
27115 (LDFLAGS-unload4mod2.so): Likewise.
27116 (LDFLAGS-tst-initorder): Likewise.
27117 (LDFLAGS-tst-initordera2.so): Likewise.
27118 (LDFLAGS-tst-initordera3.so): Likewise.
27119 (LDFLAGS-tst-initordera4.so): Likewise.
27120 (LDFLAGS-tst-initorderb2.so): Likewise.
27121 (LDFLAGS-noload): Likewise.
27122 (LDFLAGS-next): Likewise.
27123 (LDFLAGS-order2mod1.so): Likewise.
27124 (LDFLAGS-order2mod2.so): Likewise.
27125 (LDFLAGS-tst-initorder2): Likewise.
27126 (LDFLAGS-tst-initorder2a.so): Likewise.
27127 (LDFLAGS-tst-initorder2b.so): Likewise.
27128 (LDFLAGS-tst-initorder2c.so): Likewise.
27129 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27130
d77f993f
DM
271312012-05-02 David S. Miller <davem@davemloft.net>
27132
27133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27134
171a70b4
PP
271352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27136
27137 [BZ #14055]
27138 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27139
0be196ad
AJ
271402012-05-02 Andreas Jaeger <aj@suse.de>
27141
27142 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27143 since we manipulate rounding mode.
27144 (CPPFLAGS-test-idouble.c): Likewise.
27145 (CPPFLAGS-test-ifloat.c): Likewise.
27146 (CFLAGS-test-ldouble.c): Likewise.
27147 (CFLAGS-test-double.c): Likewise.
27148 (CFLAGS-test-float.c): Likewise.
27149 (CFLAGS-test-misc.c): Likewise.
27150 (CFLAGS-test-test-fenv.c): Likewise.
27151
4f9d04aa
AZ
271522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27153
2b942cb7
RM
27154 [BZ #2550]
27155 [BZ #2570]
27156 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27157 comparisons to determine direction to adjust input.
4f9d04aa 27158
82a79e7d
RM
271592012-05-01 Roland McGrath <roland@hack.frob.com>
27160
f5a01ca9
RM
27161 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27162 output to the target.
27163
90fe4186
RM
27164 * scripts/localplt.awk: New file.
27165 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27166 (check-localplt-CFLAGS): Variable removed.
27167 ($(all-built-dso:=.jmprel)): New static pattern rule.
27168 (generated): Add those targets.
27169 (localplt-built-dso): New variable.
27170 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27171
27172 * elf/check-localplt.c: File removed.
27173
82397ed6
RM
27174 * scripts/check-execstack.awk: New file.
27175 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27176 (check-execstack-CFLAGS): Variable removed.
27177 ($(objpfx)check-execstack.h): Target removed.
27178 ($(objpfx)execstack-default): New target.
27179 (generated): Add that instead of check-execstack.h.
27180 ($(all-built-dso:=.phdr)): New static pattern rule.
27181 (generated): Add those targets.
27182 * elf/check-execstack.c: File removed.
27183
82a79e7d
RM
27184 * scripts/check-textrel.awk: New file.
27185 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27186 (check-textrel-CFLAGS): Variable removed.
27187 (all-built-dso): Use := to define.o
27188 ($(all-built-dso:=.dyn)): New static pattern rule.
27189 (generated): Add those targets.
27190 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27191 * config.make.in (READELF): New substituted variable.
27192 * elf/check-textrel.c: File removed.
27193
62fde54f 271942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27195
615605c9
JM
27196 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27197 allow.
27198 * conform/data/ctype.h-data [C99-based standards] (isblank):
27199 Expect function.
27200 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27201 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27203 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27204 Specify type. Require positive value.
27205 (EILSEQ): Likewise.
27206 (ERANGE): Likewise.
27207 [ISO || POSIX] (EILSEQ): Do not expect.
27208 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27209 Specify type. Require positive value.
27210 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27213 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27214 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27215 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27216 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27219 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27220 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27221 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27222 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27223 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27235 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27236 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27243 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27251 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27271 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27273 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27274 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27275 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27276 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27278 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27279 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27280 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27281 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27282 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27283 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27284 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27285 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27286 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27287 Require >= 2.
27288 (FLT_ROUNDS): Expect as macro, not constant.
27289 (FLT_MANT_DIG): Use macro-int-constant.
27290 (DBL_MANT_DIG): Likewise.
27291 (LDBL_MANT_DIG): Likewise.
27292 (FLT_DIG): Likewise.
27293 (DBL_DIG): Likewise.
27294 (LDBL_DIG): Likewise.
27295 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27296 (DBL_MIN_EXP): Likewise.
27297 (LDBL_MIN_EXP): Likewise.
27298 (FLT_MAX_EXP): Use macro-int-constant.
27299 (DBL_MAX_EXP): Likewise.
27300 (LDBL_MAX_EXP): Likewise.
27301 (FLT_MAX_10_EXP): Likewise.
27302 (DBL_MAX_10_EXP): Likewise.
27303 (LDBL_MAX_10_EXP): Likewise.
27304 (FLT_MAX): Use macro-constant.
27305 (DBL_MAX): Likewise.
27306 (LDBL_MAX): Likewise.
27307 (FLT_EPSILON): Use macro-constant. Give upper bound.
27308 (DBL_EPSILON): Likewise.
27309 (LDBL_EPSILON): Likewise.
27310 (FLT_MIN): Likewise.
27311 (DBL_MIN): Likewise.
27312 (LDBL_MIN): Likewise.
27313 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27314 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27315 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27316 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27317 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27318 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27319 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27320 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27321 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27322 [ISO11] (FLT_TRUE_MIN): Likewise.
27323 [ISO11] (LDBL_TRUE_MIN): Likewise.
27324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27325 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27326 (SCHAR_MIN): Use macro-int-constant. Specify type.
27327 (SCHAR_MAX): Likewise.
27328 (UCHAR_MAX): Likewise.
27329 (CHAR_MIN): Likewise.
27330 (CHAR_MAX): Likewise.
27331 (MB_LEN_MAX): Use macro-int-constant.
27332 (SHRT_MIN): Use macro-int-constant. Specify type.
27333 (SHRT_MAX): Likewise.
27334 (USHRT_MAX): Likewise.
27335 (INT_MAX): Likewise.
27336 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27337 bound negative.
27338 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27339 bound with "U".
27340 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27341 bound with "L".
27342 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27343 bound negative. Suffix upper bound with "L".
27344 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27345 bound with "UL".
27346 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27347 Specify type.
27348 [C99-based standards] (LLONG_MAX): Likewise.
27349 [C99-based standards] (ULLONG_MAX): Likewise.
27350 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27351 == 0.
27352 [ISO11] (max_align_t): Require type.
27353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27354
c9140a62
JM
27355 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27356 from $CFLAGS, without defining away __attribute__ calls.
27357 (checknamespace): Use $CFLAGS_namespace.
27358
9af0bf29
JM
27359 * conform/conformtest.pl (@keywords): Only include C99 keywords
27360 for standards based on C99 or C11.
27361
343222a2
JM
27362 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27363 Disable tests.
27364 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27365 UNIX98]: Likewise.
27366
661f8cf0
JM
27367 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27368 usability of symbols in #if.
27369
ee74b9cb
JM
27370 * conform/conformtest.pl: If macro or constant types start
27371 "promoted:", expect the symbol to be of the following type
27372 promoted by the integer promotions.
62fde54f 27373
aafc49b3
JM
27374 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27375 in one place. Also handle "macro-constant".
27376
fefdf574
JM
27377 * conform/conformtest.pl: Only accept expected macro values with
27378 "==". Parse all "macro" lines in one place.
27379 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27380
f2d922fe
JM
27381 * conform/conformtest.pl: Handle braced types on "constant" lines
27382 instead of handling "typed-constant".
27383 * conform/data/signal.h-data: Use "constant" instead of
27384 "typed-constant".
27385
d22956c9
JM
27386 * conform/conformtest.pl: Handle "optional-" at start of lines in
27387 one place rather than duplicating several cases. Handle each
27388 format of "macro" line with initial "optional-".
27389
028e2e38
JM
27390 * conform/conformtest.pl: Only accept expected constant or
27391 optional-constant values with "==". Parse all "constant" lines in
27392 one place. Parse all "optional-constant" lines in one place.
27393 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27394 * conform/data/fmtmsg.h-data: Likewise.
27395 * conform/data/netinet/in.h-data: Likewise.
27396 * conform/data/tar.h-data: Likewise.
27397 * conform/data/limits.h-data: Use "==" form on "constant" and
27398 "optional-constant" lines.
27399
1b8f2850
JM
27400 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27401 Use -std=c99 for XOPEN2K.
27402 (@knownproblems): Remove.
27403 (newtoken): Don't check %isknown.
27404
a05a144b
JM
27405 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27406 Do not expect macro.
27407 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27408 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27409 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27410 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27411 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27412 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27413 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27414 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27415 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27416 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27419 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27420 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27422 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27423 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27424 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27425 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27426 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27427 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27428 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27429 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27430 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27431 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27432 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27433 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27434 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27435 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27436 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27437 [XPG3] (acosh): Likewise.
27438 [XPG3] (asinh): Likewise.
27439 [XPG3] (atanh): Likewise.
27440 [XPG3] (cbrt): Likewise.
27441 [XPG3] (expm1): Likewise.
27442 [XPG3] (ilogb): Likewise.
27443 [XPG3] (log1p): Likewise.
27444 [XPG3] (logb): Likewise.
27445 [XPG3] (nextafter): Likewise.
27446 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27447 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27448 [XPG3] (remainder): Likewise.
27449 [XPG3] (rint): Likewise.
27450 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27451 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27452 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27453 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27454 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27455 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27456 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27457 [UNIX98 || XOPEN2K] (scalb): Expect.
27458 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27459 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27460 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27461 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27462 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27463 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27464 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27465 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27466 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27467 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27468 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27469 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27470 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27471 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27472 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27473 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27474 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27475 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27476 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27477 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27478 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27479 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27480 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27481 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27482 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27483 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27484 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27485 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27486 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27487 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27488 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27489 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27490 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27491 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27492 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27493 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27494 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27495 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27496 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27497 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27498 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27499 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27500 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27501 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27502 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27503 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27504 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27505 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27506 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27507 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27508 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27509 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27510 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27511 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27512 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27513 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27514 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27515 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27516 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27517 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27518 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27519 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27520 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27521 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27522 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27523 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27524 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27525 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27526 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27527 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27528 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27529 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27530 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27531 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27532 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27533 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27534 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27535 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27536 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27537 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27538 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27539 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27540 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27541 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27542 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27543 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27544 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27545 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27546 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27547 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27548 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27549 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27550 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27551 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27552 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27553 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27554 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27555 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27556 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27557 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27558 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27559 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27560 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27561 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27562 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27563 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27564 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27565 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27566 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27567 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27568 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27569 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27570 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27571 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27572 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27573 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27574 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27575 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27582 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27583 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27584 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27586 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27587 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27588 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27589 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27590 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27591 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27592 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27593 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27594 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27595
73c5ebe3
JM
27596 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27597 _XOPEN_SOURCE_EXTENDED for XPG4.
27598
39c33b6c
JM
27599 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27600
62fde54f
JM
27601 * Makeconfig (localtime): Remove variable.
27602 (inst_localtime-file): Likewise.
27603
0741d64c
AS
276042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27605
27606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27607 Update.
27608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27609 Update.
27610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27611 Update.
27612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27613 Update.
27614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27615 Update.
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27617 Update.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27619 Update.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27621 Update.
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27623 Update.
27624
7cb029ee
JM
276252012-05-01 Joseph Myers <joseph@codesourcery.com>
27626
27627 [BZ #2550]
27628 [BZ #2570]
27629 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27630 comparisons to determine direction to adjust input.
27631 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27632 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27634 Likewise.
27635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27636 Likewise.
27637 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27638 Likewise.
27639 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27640 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27641 Likewise.
27642 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27643 Likewise.
27644 * math/libm-test.inc (nexttoward_test): Add more tests.
27645
412bd966
AS
276462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27647
27648 [BZ #14040]
27649 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27650 in version GLIBC_2.1, not GLIBC_2.0.
27651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27652 Likewise.
27653
9568c0c2
JM
276542012-04-30 Joseph Myers <joseph@codesourcery.com>
27655
adfbc8ac
JM
27656 [BZ #13942]
27657 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27658 (1 - x) * (1 + x).
27659 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27660 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27661 * math/libm-test.inc (acos_test): Add more tests.
27662 (asin_test): Likewise.
27663 * sysdeps/i386/fpu/libm-test-ulps: Update.
27664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27665
5ba3cc69
JM
27666 [BZ #14034]
27667 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27668 of square root.
27669 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27670 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27671 * math/libm-test.inc (acos_test_tonearest): New function.
27672 (acos_test_towardzero): Likewise.
27673 (acos_test_downward): Likewise.
27674 (acos_test_upward): Likewise.
27675 (asin_test_tonearest): Likewise.
27676 (asin_test_towardzero): Likewise.
27677 (asin_test_downward): Likewise.
27678 (asin_test_upward): Likewise.
27679 (main): Call the new functions.
27680 * sysdeps/i386/fpu/libm-test-ulps: Update.
27681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27682
9568c0c2
JM
27683 [BZ #13884]
27684 [BZ #13924]
27685 * math/e_exp10.c: Include <float.h>.
27686 (__ieee754_exp10): Handle underflow here rather than multiplying
27687 large negative argument by M_LN10.
27688 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27689 of __ieee754_expf.
27690 * math/e_exp10l.c: Include <float.h>.
27691 (__ieee754_exp10l): Handle underflow here rather than multiplying
27692 large negative argument by M_LN10l.
27693 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27694 spurious overflow exception on underflow.
27695
5ac3ea17
MP
276962012-04-29 Marek Polacek <polacek@redhat.com>
27697
27698 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27699 (__fortify_function): New macro.
27700 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27701 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27702 __extern_always_inline.
27703 * libio/bits/stdio2.h: Likewise.
27704 * libio/bits/stdio.h: Likewise.
27705 * string/string.h: Likewise.
27706 * string/bits/string3.h: Likewise.
27707 * include/stdio.h: Likewise.
27708 * stdlib/bits/stdlib.h: Likewise.
27709 * stdlib/stdlib.h: Likewise.
27710 * rt/bits/mqueue2.h: Likewise.
27711 * rt/mqueue.h: Likewise.
27712 * posix/bits/unistd.h: Likewise.
27713 * posix/unistd.h: Likewise.
27714 * io/bits/poll2.h: Likewise.
27715 * io/bits/fcntl2.h: Likewise.
27716 * io/fcntl.h: Likewise.
27717 * io/sys/poll.h: Likewise.
27718 * misc/bits/syslog.h: Likewise.
27719 * misc/bits/syslog-ldbl.h: Likewise.
27720 * misc/sys/syslog.h: Likewise.
27721 * socket/bits/socket2.h: Likewise.
27722 * socket/sys/socket.h: Likewise.
27723 * debug/tst-chk1.c: Likewise.
27724 * wcsmbs/bits/wchar2.h: Likewise.
27725 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27726 * wcsmbs/wchar.h: Likewise.
27727
ecf0ebfb
AJ
277282012-04-29 Andreas Jaeger <aj@suse.de>
27729
27730 * Makerules (tests): Remove enable-check-abi protection.
27731 (check-abi-warn): Remove.
27732 (check-abi-%): Remove check-abi-warn usage.
27733
27734 * configure.in: Remove check-abi configure option.
27735 * configure: Regenerated.
27736 * config.make.in (enable-check-abi): Remove.
27737
6d5c57fa
AS
277382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27739
24c5d07e 27740 [BZ #14033]
ded5180a
AS
27741 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27742 double functions to double *_finite functions.
27743
7e0d315d
AS
27744 [BZ #13941]
27745 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27746 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27747 LDBL_MIN_EXP.
27748 * stdio-common/Makefile (tests): Add tst-sprintf3.
27749 * stdio-common/tst-sprintf3.c: New file.
27750
6d5c57fa
AS
27751 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27752 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27753
0749ff8b
JM
277542012-04-28 Joseph Myers <joseph@codesourcery.com>
27755
27756 * conform/conformtest.pl: Remove duplicate typed-constant
27757 handling.
27758
8dbd5d7b
DM
277592012-04-28 David S. Miller <davem@davemloft.net>
27760
27761 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27762 (check-abi-%): Remove AWK script prerequisite and explicit
27763 abilist directory.
27764 (check-abi): Rewrite to just diff the symlist with the abilist.
27765 (config-tls, config-abi-config): Delete, no longer used.
27766 (update-abi-%): Remove AWK script and explicit abilist directory.
27767 (update-abi): Rewrite to simply compare and conditionally copy the
27768 symlist and the sysdep abilist file. Remove update-abi-config
27769 checks.
27770 * abilist/ld.abilist: Remove.
27771 * abilist/libBrokenLocale.abilist: Remove.
27772 * abilist/libanl.abilist: Remove.
27773 * abilist/libcrypt.abilist: Remove.
27774 * abilist/libdl.abilist: Remove.
27775 * abilist/librt.abilist: Remove.
27776 * abilist/libthread_db.abilist: Remove.
27777 * abilist/libutil.abilist: Remove.
27778 * scripts/extract-abilist.awk: Remove.
27779 * scripts/merge-abilist.awk: Remove.
27780 * sysdeps/generic/libcidn.abilist: New file.
27781 * sysdeps/generic/libnss_compat.abilist: New file.
27782 * sysdeps/generic/libnss_db.abilist: New file.
27783 * sysdeps/generic/libnss_dns.abilist: New file.
27784 * sysdeps/generic/libnss_files.abilist: New file.
27785 * sysdeps/generic/libnss_hesiod.abilist: New file.
27786 * sysdeps/generic/libnss_nis.abilist: New file.
27787 * sysdeps/generic/libnss_nisplus.abilist: New file.
27788 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27789 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27790 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27791 file.
27792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27793 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27794 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27795 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27796 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27797 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27798 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27799 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27800 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27801 file.
27802 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27803 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27804 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27805 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27806 file.
27807 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27808 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27809 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27810 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27811 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27812 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27813 file.
27814 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27815 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27816 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27817 file.
27818 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27820 New file.
27821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27822 New file.
27823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27824 New file.
27825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27826 New file.
27827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27828 New file.
27829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27830 New file.
27831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27832 New file.
27833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27834 New file.
27835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27836 New file.
27837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27838 New file.
27839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27840 New file.
27841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27842 New file.
27843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27844 New file.
27845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27846 file.
27847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27848 New file.
27849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27850 New file.
27851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27852 file.
27853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27854 New file.
27855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27856 New file.
27857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27858 file.
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27860 New file.
27861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27862 New file.
27863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27864 New file.
27865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27866 New file.
27867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27868 New file.
27869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27870 New file.
27871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27873 file.
27874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27875 New file.
27876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27877 file.
27878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27879 file.
27880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27881 file.
27882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27883 file.
27884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27885 file.
27886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27887 New file.
27888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27889 file.
27890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27891 file.
27892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27893 New file.
27894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27895 file.
27896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27898 file.
27899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27900 New file.
27901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27902 file.
27903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27904 file.
27905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27906 file.
27907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27908 file.
27909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27910 file.
27911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27912 New file.
27913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27914 file.
27915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27916 file.
27917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27918 New file.
27919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27920 file.
27921 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27922 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27923 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27924 file.
27925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27926 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27927 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27928 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27929 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27930 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27931 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27932 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27933 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27934 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27937 file.
27938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27939 New file.
27940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27941 file.
27942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27943 file.
27944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27945 file.
27946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27947 file.
27948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27949 file.
27950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27951 New file.
27952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27953 New file.
27954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27955 file.
27956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27957 New file.
27958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27959 file.
27960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27962 file.
27963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27964 New file.
27965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27966 file.
27967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27968 file.
27969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27970 file.
27971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27972 file.
27973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27974 file.
27975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27976 New file.
27977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27978 New file.
27979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27980 file.
27981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27982 New file.
27983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27984 file.
27985
41d73a1b
JM
279862012-04-28 Joseph Myers <joseph@codesourcery.com>
27987
27988 * conform/conformtest.pl: Fix typo in handling typed-constant from
27989 allow-header.
27990
28aeeda4
JM
279912012-04-27 Joseph Myers <joseph@codesourcery.com>
27992
adae8f5e
JM
27993 * README: Cut down references to pre-2.6 Linux kernels and
27994 Linuxthreads. Update lists of configurations in libc and ports
27995 and sort alphabetically. Say "or newer" with Linux kernel version
27996 requirements.
27997
28aeeda4
JM
27998 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27999
a462cb63
RA
280002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28001
28002 [BZ #887]
28003 * math/libm-test.inc (logb_test_downward): New test to expose
28004 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28005 rounding mode.
28006
6ad3493e
JM
280072012-04-27 Joseph Myers <joseph@codesourcery.com>
28008
28009 [BZ #14027]
28010 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28011 to be done.
28012 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28013 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28014
2ce4f015
JM
280152012-04-26 Joseph Myers <joseph@codesourcery.com>
28016
5aeb141a
JM
28017 * sysdeps/unix/i386/brk.S: Remove file.
28018 * sysdeps/unix/i386/dl-brk.S: Likewise.
28019 * sysdeps/unix/i386/pipe.S: Likewise.
28020 * sysdeps/unix/i386/sigreturn.S: Likewise.
28021 * sysdeps/unix/i386/syscall.S: Likewise.
28022 * sysdeps/unix/i386/vfork.S: Likewise.
28023 * sysdeps/unix/i386/wait.S: Likewise.
28024
7143acae
JM
28025 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28026 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28027
2ce4f015
JM
28028 * configure.in (arm*-none*): Do not allow without
28029 --enable-hacker-mode.
28030 (netbsd*): Remove case setting base_os.
28031 (386bsd*): Likewise.
28032 (freebsd*): Likewise.
28033 (bsdi*): Likewise.
28034 (osf*): Likewise.
28035 (sunos*): Likewise.
28036 (ultrix*): Likewise.
28037 (newsos*): Likewise.
28038 (dynix*): Likewise.
28039 (*bsd*): Likewise.
28040 (sysv*): Likewise.
28041 (isc*): Likewise.
28042 (esix*): Likewise.
28043 (sco*): Likewise.
28044 (minix*): Likewise.
28045 (irix4*): Likewise.
28046 (irix6*): Likewise.
28047 (solaris[2-9]*): Likewise.
28048 (none): Likewise.
28049 * configure: Regenerated.
28050
0ac229c8
AZ
280512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28052
28053 [BZ #11521]
28054 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28055 overflow or cancellation in calculating denominator.
28056 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28057 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28058 down expression to avoid unexpected rounding in newer GCCs.
28059 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28060
33f244f4
DM
280612012-04-26 David S. Miller <davem@davemloft.net>
28062
28063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28064 long-double compat symbols.
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28078
cfa1f3e8
DM
280792012-04-25 David S. Miller <davem@davemloft.net>
28080
28081 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28082 HWCAP_* values only after the memory barriers have been defined.
28083 (atomic_full_barrier): Define.
28084 (atomic_read_barrier): Define.
28085 (atomic_write_barrier): Define.
28086
6e236b92
SP
280872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28088
28089 * shlib-versions: Add libgcc_s version information.
28090 * sysdeps/generic/libgcc_s.h: Remove.
28091 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28092 libgcc_s.h.
28093 * sysdeps/gnu/unwind-resume.c: Likewise.
28094 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28095
aab39a09
DM
280962012-04-25 David S. Miller <davem@davemloft.net>
28097
28098 * sysdeps/unix/sparc/brk.S: Delete.
28099 * sysdeps/unix/sparc/dl-brk.S: Delete.
28100 * sysdeps/unix/sparc/pipe.S: Delete.
28101 * sysdeps/unix/sparc/sysdep.S: Delete.
28102 * sysdeps/unix/sparc/sysdep.h: Delete.
28103 * sysdeps/unix/sparc/vfork.S: Delete.
28104 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28105 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28106 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28107 ret_ERRVAL, r0, r1, MOVE): Define.
28108 (JUMPTARGET): Remove.
28109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28110 sysdeps/unix/sparc/sysdep.h
28111 (ENTRY, END): Remove.
28112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28113
a3cc4f48
JM
281142012-04-25 Joseph Myers <joseph@codesourcery.com>
28115
2ed8cda2
JM
28116 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28117 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28118 -DIS_IN_build.
28119
35d76d59
JM
28120 * timezone/README: Update upstream location and email address for
28121 tzcode and tzdata.
28122 * timezone/zdump.c: Update from tzcode 2012b.
28123 * timezone/zic.c: Likewise.
28124
a3cc4f48
JM
28125 * configure.in (libc_cv_as_needed): Remove test.
28126 * configure: Regenerated.
28127 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28128 conditional definition.
28129 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28130 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28131 * config.make.in (have-as-needed): Remove variable.
28132
ceab42c3
SP
281332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28134 Paul Pluzhnikov <ppluzhnikov@google.com>
28135
28136 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28137 strings correctly.
28138
3ce2865f
CLT
281392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28140
28141 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28142 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28143 * sysdeps/sh/strlen.S: Likewise.
28144
f37e0d68
JM
281452012-04-24 Joseph Myers <joseph@codesourcery.com>
28146
ae186e9a
JM
28147 * sysdeps/unix/fork.S: Remove file.
28148 * sysdeps/unix/i386/fork.S: Likewise.
28149 * sysdeps/unix/sparc/fork.S: Likewise.
28150
b96914af
JM
28151 * sysdeps/unix/system.c: Remove file.
28152 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28153
f37e0d68
JM
28154 * sysdeps/unix/getegid.S: Remove file.
28155 * sysdeps/unix/geteuid.S: Likewise.
28156
87ef29ca
RM
281572012-04-24 Roland McGrath <roland@hack.frob.com>
28158
83bcd236
RM
28159 * scripts/check-localplt.awk: New file.
28160 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28161 of diff.
28162 * scripts/data/localplt-generic.data: Add a comment.
28163
87ef29ca
RM
28164 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28165 NODE when __dir_mkfile failed.
28166 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28167 Reported by Ludovic Courtès <ludo@gnu.org>.
28168
e5a6e567
AJ
281692012-04-24 Andreas Jaeger <aj@suse.de>
28170
28171 * Makerules (common-clean): Also remove gen-as-const-headers
28172 files.
28173
c1820385
JM
281742012-04-24 Joseph Myers <joseph@codesourcery.com>
28175
28176 * Makerules (native-compile): Do not change working directory for
28177 build. Use $(OUTPUT_OPTION) in command.
28178 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28179
94e02fc4
AZ
281802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28181
28182 [BZ #13886]
28183 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28184 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28185 * math/libm-test.inc (floor_test): Add more tests.
28186 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28187
3a533ca3
JM
281882012-04-24 Joseph Myers <joseph@codesourcery.com>
28189
940ab4b3
JM
28190 * sysdeps/unix/getdents.c: Remove file.
28191 * sysdeps/unix/sysv/getdents.c: Likewise.
28192 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28193
90e037bd
JM
28194 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28195 sysdeps/unix/mman/syscalls.list.
28196 (mmap): Likewise.
28197 (mprotect): Likewise.
28198 (msync): Likewise.
28199 (munmap): Likewise.
28200 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28201 * sysdeps/unix/mman/syscalls.list: Remove.
28202 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28203
3a533ca3
JM
28204 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28205 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28206 * configure: Regenerated.
28207 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28208 $(libgcc_s_suffix).
28209 * config.make.in (libgcc_s_suffix): Remove variable.
28210
1ad743de
JM
282112012-04-23 Joseph Myers <joseph@codesourcery.com>
28212
4ad451e2
JM
28213 * sysdeps/unix/sysv/gethostname.c: Move to ...
28214 * sysdeps/posix/gethostname.c: ... here.
28215
5e37ce39
JM
28216 * sysdeps/unix/execve.S: Remove file.
28217
1ad743de
JM
28218 * sysdeps/unix/_exit.S: Remove file.
28219
4e681b5b
AJ
282202012-04-23 Andreas Jaeger <aj@suse.de>
28221
28222 [BZ #13739]
28223 * manual/Makefile: Remove make dist support, there's no
28224 need for a stand-alone documentation tar ball.
28225 (TEXI2DVI): Define always, it's not in Makeconfig.
28226 (dist): Removed.
28227 (tar-it): Removed.
28228 (edition): Removed.
28229 (glibc-doc-$(edition).tar): Removed
28230 (%.Z): Removed.
28231 (%.gz): Removed.
28232 (%.uu): Removed.
28233 (ETAGS): Remove, it's in Makeconfig.
28234 (move-if-change): Remove, it's in Makeconfig.
28235
38686a03 282362012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28237
28238 [BZ #13970]
28239 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28240 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28241 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28242 (strtod_l, strtof_l, strtold_l): Remove __wur.
28243 It is not necessarily an error to ignore strtol's return value.
28244 One can reliably look at the stored endptr to decide whether
28245 the number had valid syntax.
28246
7c0616fa
AJ
282472012-04-21 Andreas Jaeger <aj@suse.de>
28248
803cb6b7 28249 [BZ #13739]
7c0616fa
AJ
28250 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28251
b0fe253f
JM
282522012-04-21 Joseph Myers <joseph@codesourcery.com>
28253
28254 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28255 * sysdeps/unix/sysv/Versions: Remove file.
28256
8280f22d
MT
282572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28258
28259 [BZ #13927]
28260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28261
75ce411f 282622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28263
28264 [BZ #7064]
28265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28266 version from __vm86.
28267
097d59fa
JM
282682012-04-20 Joseph Myers <joseph@codesourcery.com>
28269
a90f3bcb
JM
28270 * sysdeps/unix/common/lxstat.c: Remove file.
28271 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28272
edc7ea78
JM
28273 * sysdeps/unix/sysv/Makefile: Remove file.
28274
cb78c221
JM
28275 * sysdeps/unix/sysv/direct.h: Remove file.
28276
efa6a45f
JM
28277 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28278 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28279 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28280 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28281 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28282 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28283 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28284
9c9f2d0c
JM
28285 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28286
4541c83b
JM
28287 * sysdeps/unix/xmknod.c: Remove file.
28288 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28289
f5d153a0
JM
28290 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28291
aa746595
JM
28292 * sysdeps/unix/sysv/i386/time.S: Remove file.
28293
cce5905e
JM
28294 * sysdeps/unix/fxstat.c: Remove file.
28295 * sysdeps/unix/xstat.c: Likewise.
28296 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28297
37fa3841
JM
28298 * sysdeps/unix/sysv/sigaction.c: Remove file.
28299
ff1962a3
JM
28300 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28301 (sysdep_headers): Remove variable.
28302 [termio.h not in sysdep_headers] (generated): Likewise.
28303 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28304 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28305 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28306 * sysdeps/unix/sysv/tcflow.c: Likewise.
28307 * sysdeps/unix/sysv/tcflush.c: Likewise.
28308 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28309 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28310 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28311 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28312 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28313
e7740d31
JM
28314 * sysdeps/unix/siglist.c: Remove file.
28315
ee06f18b
JM
28316 * sysdeps/unix/getppid.S: Remove file.
28317
097d59fa
JM
28318 * sysdeps/unix/mkdir.c: Remove file.
28319 * sysdeps/unix/rmdir.c: Likewise.
28320
ff3d51ec
AS
283212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28322
28323 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28324 ERR_MAX value.
28325 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28326 errlist-compat value.
28327
50f81fd7
DM
283282012-04-18 David S. Miller <davem@davemloft.net>
28329
28330 * sysdeps/generic/memcopy.h (reg_char): Delete.
28331 * debug/strcat_chk.c: Use char, not reg_char.
28332 * debug/strcpy_chk.c: Likewise.
28333 * debug/strncat_chk.c: Likewise.
28334 * debug/strncpy_chk.c: Likewise.
28335 * string/memchr.c: Likewise.
28336 * string/memrchr.c: Likewise.
28337 * string/rawmemchr.c: Likewise.
28338 * string/strcat.c: Likewise.
28339 * string/strchr.c: Likewise.
28340 * string/strchrnul.c: Likewise.
28341 * string/strcmp.c: Likewise.
28342 * string/strcpy.c: Likewise.
28343 * string/strncat.c: Likewise.
28344 * string/strncmp.c: Likewise.
28345 * string/strncpy.c: Likewise.
28346
8ff41c46
WS
283472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28348
28349 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28350 __builtin_memcopy is called when src and dest ranges are known to not
28351 overlap.
28352
6b652f46
WS
283532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28354
28355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28356 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28357 fwd_align_merge macro call.
28358 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28359 bwd_align_merge macro call.
28360 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28361
b282631e
WS
283622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28363
28364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28365 bwd_align_merge macros.
28366 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28367 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28368 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28369
95aa737c
DM
283702012-04-18 David S. Miller <davem@davemloft.net>
28371
28372 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28373
7a99a614
AJ
283742012-04-18 Andreas Jaeger <aj@suse.de>
28375
28376 [BZ# 6794]
28377 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28378 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28380
28381 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28382 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28384
28385 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28386 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28387 Adjust for changed ldbl-128 files.
28388
28389 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28390 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28391 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28392
e5270c23
DM
283932012-04-17 David S. Miller <davem@davemloft.net>
28394
28395 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28396
fb5e92c9
AS
283972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28398
28399 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28400 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28401 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28402 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28403 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28404 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28405
76da7265
AZ
284062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28407
28408 [BZ #6794]
28409 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28410 * math/libm-test.inc: Add ilogb errno and exception tests.
28411 * math/w_ilogb.c: New file: ilogb wrapper.
28412 * math/w_ilogbf.c: New file: ilogbf wrapper.
28413 * math/w_ilogbl.c: New file: ilogbl wrapper.
28414 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28415 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28416 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28417 exception being thrown with 0.0 as argument.
28418 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28419 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28420 exception being thrown with 0.0 as argument.
28421 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28422 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28423 exception being thrown with 0.0 as argument.
28424 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28425 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28426 exception being thrown with 0.0 as argument.
28427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28428 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28429 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28430 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28431 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28432 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28433 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28434 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28435 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28436
0396e69d
PB
284372012-04-17 Petr Baudis <pasky@ucw.cz>
28438
28439 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28440 with altivec.
28441
750b5926
MP
284422012-04-16 Marek Polacek <polacek@redhat.com>
28443
28444 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28445
751728a1
MP
284462012-04-16 Marek Polacek <polacek@redhat.com>
28447
28448 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28449 operands of fdivp instruction.
28450
34a27407
L
284512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28452
28453 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28454 * elf/tst-auditmod3b.c: Likewise.
28455 * elf/tst-auditmod4b.c: Likewise.
28456 * elf/tst-auditmod5b.c: Likewise.
28457 * elf/tst-auditmod6b.c: Likewise.
28458 * elf/tst-auditmod6c.c: Likewise.
28459 * elf/tst-auditmod7b.c: Likewise.
28460 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28461 * sysdeps/x86_64/preconfigure.in: Likewise.
28462 * sysdeps/x86_64/preconfigure: Regenerated.
28463
7e73e17d
L
284642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28465
28466 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28467 __ILP32__.
28468
c7a6ab72
AB
284692012-04-13 Antoine Balestrat <merkil33@gmail.com>
28470
28471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28472 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28473
a9e8e0e0
CL
284742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28475
28476 [BZ #13973]
28477 * locale/iso-639.def: Fix gl language name. Spotted by
28478 Yaron Shahrabani.
28479
ec98af7d
RM
284802012-04-12 Roland McGrath <roland@hack.frob.com>
28481
28482 [BZ #2074]
28483 * libio/libio.h (__io_write_fn): Update comment.
28484
247c3ede
PB
284852012-04-12 Petr Baudis <pasky@ucw.cz>
28486
28487 [BZ #2074]
28488 * stdio.texi (Hook Functions): The user provided writer function
28489 is not allowed to return -1.
28490
55939d6d
DM
284912012-04-11 David S. Miller <davem@davemloft.net>
28492
28493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28494
90020f5a
MF
284952012-04-11 Mike Frysinger <vapier@gentoo.org>
28496
28497 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28498 Add a leading slash to rtkaio.
28499
288f9098
JM
285002012-04-11 Jim Meyering <meyering@redhat.com>
28501
90020f5a
MF
28502 [BZ #11959]
28503 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28504 It is not necessarily an error to ignore fwrite's return
28505 value. One can reliably use ferror to test for errors after
28506 the fact.
288f9098 28507
4be2b570
L
285082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28509
28510 * bits/types.h (__snseconds_t): New type.
28511 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28512
28513 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28515 (__SNSECONDS_T_TYPE): Likewise.
28516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28517 (__SNSECONDS_T_TYPE): Likewise.
28518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28519 (__SNSECONDS_T_TYPE): Likewise.
28520
288f9098 285212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28522
28523 [BZ #2636]
28524 * manual/time.texi (Processor Time): Return type of times is
28525 elapsed real time since an arbitrary point in the past.
28526 (CPU Time): Move CLK_TCK from here...
28527 (Processor Time): ...to here. Correct description.
28528 * manual/conf.texi (Constants for Sysconf): Correct description of
28529 _SC_CLK_TCK.
28530
d7dd4413
DM
285312012-04-10 David S. Miller <davem@davemloft.net>
28532
28533 [BZ #13967]
28534 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28535 where the is a gap between DT_REL(A) and DT_JMPREL.
28536
b46068fc
L
285372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28538
28539 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28540 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28541 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28542
73d65cc3
SP
285432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28544
28545 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28546 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28547 (dl_main): Handle --inhibit-cache.
28548 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28549 _dl_inhibit_cache.
28550 * elf/dl-load.c (_dl_map_object): Use it.
28551 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28552
bcc8d661
JM
285532012-04-09 Joseph Myers <joseph@codesourcery.com>
28554
8f9a2fae
JM
28555 [BZ #13872]
28556 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28557 (__ieee754_powl): Saturate large exponents rather than testing for
28558 overflow of y*log2(x).
28559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28560 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28561 exceptions.
28562
bcc8d661
JM
28563 [BZ #11521]
28564 * math/s_ctan.c: Include <float.h>.
28565 (__ctan): Avoid internal overflow or cancellation in calculating
28566 denominator.
28567 * math/s_ctanf.c: Likewise.
28568 * math/s_ctanl.c: Likewise.
28569 * math/s_ctanh.c: Likewise.
28570 * math/s_ctanhf.c: Likewise.
28571 * math/s_ctanhl.c: Likewise.
28572 * math/libm-test.inc (ctan_test): Add more tests.
28573 (ctanh_test): Likewise.
28574 * sysdeps/i386/fpu/libm-test-ulps: Update.
28575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28576
823fbbb4
AJ
285772012-04-09 Andreas Jaeger <aj@suse.de>
28578
03879793
AJ
28579 [BZ #6894]
28580 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28581 is an optional BSD extension.
28582
823fbbb4
AJ
28583 [BZ #10254]
28584 * manual/stdio.texi (Opening Streams): Document additional fopen
28585 parameters.
28586
8de131cb
RM
285872012-04-09 Roland McGrath <roland@hack.frob.com>
28588
28589 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28590 %eax without telling the compiler.
28591
c0ed9d7d
CD
285922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28593
28594 [BZ # 13963]
28595 * manual/install.texi: Use sourceware.org.
28596
c483f6b4
JM
285972012-04-09 Joseph Myers <joseph@codesourcery.com>
28598
d7dd9453
JM
28599 [BZ #13873]
28600 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28601 (__ieee754_pow): Generate overflow and underflow using huge*huge
28602 and tiny*tiny rather than just returning constant infinity or zero
28603 for large exponents.
28604 * math/libm-test.inc (pow_test): Require overflow exceptions for
28605 applicable cases of large exponents.
28606
c483f6b4
JM
28607 [BZ #706]
28608 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28609 (__ieee754_pow): Use iterative multiplication algorithm only for
28610 integer exponents with absolute value below 1024. Check for odd
28611 integer exponents when using algorithm for real exponents.
28612 * math/libm-test.inc (pow_test): Add more tests.
28613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28614
d2de7579
JM
286152012-04-08 Joseph Myers <joseph@codesourcery.com>
28616
28617 [BZ #13705]
28618 * math/libm-test.inc (exp_test): Do not allow overflow exception
28619 on underflow test.
28620
f77f1232
AJ
286212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28622
28623 [BZ #13705]
28624 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28625 instead of __kernel_standard_f.
28626
3884932b
MF
286272012-04-08 Mike Frysinger <vapier@gentoo.org>
28628
28629 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28630 * sysdeps/x86_64/memset_chk.S: Likewise.
28631
54472e9c
AJ
286322012-04-08 Andreas Jaeger <aj@suse.de>
28633
6ab0fbfc
AJ
28634 [BZ #10153]
28635 * manual/startup.texi (Environment Access): Describe return value
28636 for putenv and setenv.
28637
61efba8c
AJ
28638 [BZ #6895]
28639 * manual/filesys.texi (Directory Entries): Add description for
28640 DT_LNK.
28641
95c3f29a
AJ
28642 [BZ #6890]
28643 * manual/filesys.texi (Directory Entries): Clarify that it's file
28644 system not operating system in the description of DT_UNKNOWN.
28645
54472e9c
AJ
28646 [BZ #6578]
28647 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28648
624254b1
SC
286492012-04-08 Stephen Compall <s11@member.fsf.org>
28650
28651 [BZ #6649]
28652 * manual/llio.texi (Opening and Closing Files): Add cross
28653 reference to explain mode argument.
28654
1e4920e0
MF
286552012-04-07 Mike Frysinger <vapier@gentoo.org>
28656
28657 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28658 * sysdeps/x86_64/memset_chk.S: Likewise.
28659
5ed848f3
DM
286602012-04-07 David S. Miller <davem@davemloft.net>
28661
28662 * elf/elf.h (R_SPARC_WDISP10): Define.
28663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28664 R_SPARC_SIZE32.
28665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28666 R_SPARC_SIZE64 and R_SPARC_H34.
28667
96154cd8
CD
286682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28669
28670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28671 conditions and remove no longer applicable assertion.
28672
9904dc47
L
286732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28674
28675 * bits/byteswap.h: Include <features.h>.
28676 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28677 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28678
f8887d0a
L
286792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28680
28681 * bits/byteswap.h (__bswap_16): Removed.
28682 Include <bits/byteswap-16.h> to get __bswap_16.
28683 * sysdeps/i386/bits/byteswap.h: Likewise.
28684 * sysdeps/s390/bits/byteswap.h: Likewise.
28685 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28686 * bits/byteswap-16.h: New file.
28687 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28688 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28689 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28690 * string/Makefile (headers): Add bits/byteswap-16.h.
28691
62470f60
PP
286922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28693
28694 [BZ #13895]
28695 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28696 extra indirection.
28697 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28698 * nss/tst-nss-static.c: New.
28699
4dad7bab
RM
287002012-04-06 Robert Millan <rmh@gnu.org>
28701
28702 [BZ #6486]
28703 * manual/llio.texi (File Position Primitive): lseek
28704 refers to WHENCE when it really means OFFSET.
28705
e9142a17
AJ
287062012-04-06 Andreas Jaeger <aj@suse.de>
28707
2c040eff
AJ
28708 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28709 strncmp declarations.
28710
e9142a17
AJ
28711 * abilist/libc.abilist: Add __poll and __ppoll.
28712
ff9f1c5f
DM
287132012-04-05 David S. Miller <davem@davemloft.net>
28714
dcd2ae90
DM
28715 * scripts/check-local-headers.sh: Accept a host triplet in the
28716 path matched by the exclude regexp.
28717
993eb054
DM
28718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28719 definition.
28720 * sysdeps/powerpc/powerpc32/dl-machine.h
28721 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28722 * sysdeps/s390/s390-32/dl-machine.h
28723 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28724 * sysdeps/sparc/sparc32/dl-machine.h
28725 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28726 * sysdeps/sparc/sparc64/dl-machine.h
28727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28728
ff9f1c5f
DM
28729 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28730 lazy binding.
48e2e132 28731 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28732 undefined symbol errors.
28733
48e2e132 28734 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28735 DT_NEEDED entries.
28736
e80d6f94
MM
287372012-04-05 Michael Matz <matz@suse.de>
28738
28739 [BZ #13592]
28740 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28741
349fa79f
AJ
287422012-04-05 Andreas Jaeger <aj@suse.de>
28743
28744 [BZ #13908]
28745 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28746 comment.
28747
f402708f
KK
287482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28749
28750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28751 which ROUND is no valid rounding mode.
28752
2ecccfc9
KK
287532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28754
28755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28756 read again.
28757 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28758
8a53f50f
KK
287592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28760
28761 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28762 an exception using FPU order intentionally.
28763
287642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28765
28766 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28767 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28768 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28769 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28770
d653abb7
SJ
287712012-04-05 Simon Josefsson <simon@josefsson.org>
28772
28773 [BZ #12340]
28774 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28775 EINVAL when BUFLEN is too smal.
28776
c3b1bf7d
TS
287772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28778
28779 [BZ #13553]
28780 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28781 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28782
b1aa60f3
AJ
287832012-04-03 Andreas Jaeger <aj@suse.de>
28784
c3b1bf7d 28785 [BZ #13938]
67f60a26
AJ
28786 * manual/setjmp.texi (System V contexts): Fix sentence.
28787
b1aa60f3
AJ
28788 [BZ #13926]
28789 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28790 New macro for this case.
28791 [!__GNUC__] (__bswap_64): New inline function for this case.
28792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28793 * bits/byteswap.h: Likewise.
28794 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28795 ull, guard with __GLIBC_HAVE_LONG_LONG.
28796
28797 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28798 __GLIBC_HAVE_LONG_LONG.
28799
28800 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28801 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28802
39c59c35
TMQMF
288032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28804
28805 [BZ #13691]
28806 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28807 inptr and inend, rather than using last_ch.
28808
135ffda8
DM
288092012-04-02 David S. Miller <davem@davemloft.net>
28810
28811 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28812 * stdio-common/printf-parse.h (read_int): Change return type to
28813 'int', return -1 on INT_MAX overflow.
28814 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28815 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28816 overflows INT_MAX. Check for overflow of in-format-string precision
28817 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28818 SIZE_MAX not INT_MAX for integer overflow test.
28819 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28820 skip the construct in the format string but do not record anything.
28821 * stdio-common/bug22.c: Adjust to test both width/prevision
28822 INT_MAX overflow as well as total length INT_MAX overflow. Check
28823 explicitly for proper errno values.
28824
228c019e
TS
288252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28826
302cadd3
TS
28827 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28828 CHAR_MAX.
28829 * string/test-strcmp.c [! WIDE]: Likewise.
28830 * time/tst-mktime2.c: Likewise for INT_MAX.
28831 * string/test-string.h: #include <sys/param.h> for MIN.
28832
228c019e
TS
28833 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28834 * sysdeps/i386/init-first.c (init): Likewise.
28835 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28836 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28837 * sysdeps/sh/init-first.c (init): Likewise.
28838
cfa633f5
UD
288392012-04-01 Ulrich Drepper <drepper@gmail.com>
28840
28841 * po/ru.po: Update from translation team.
d1635ef8 28842 * po/vi.po: Likewise.
cfa633f5 28843
6cd0a5ea
SP
288442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28845
28846 * resolv/nss_dns/dns-host.c: Merge copyright years.
28847
4b43400f
LD
288482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28849
28850 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28851 Optimize memcpy with prefetch if
28852 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28853 src, dst pointers have unequal 16 byte alignments.
28854
48c41d04
SP
288552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28856
28857 [BZ #13928]
28858 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28859 from a CNAME entry and return the minimum ttl for the query.
28860 (gaih_getanswer_slice): Likewise.
28861
b8dc394d
JL
288622012-03-30 Jeff Law <law@redhat.com>
28863
28864 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28865 due to long keys.
28866 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28867 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28868
2f5a5ed0
JL
28869 * resolv/nss_dns/dns-host.c: Update copyright year.
28870
1d39e359
UD
288712012-03-30 Ulrich Drepper <drepper@gmail.com>
28872
c030f70c 28873 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28874 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28875
1d39e359
UD
28876 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28877 comments for sendmmsg.
28878
288792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28880
28881 [BZ #13691]
28882 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28883 with only 1 character between 0x0041 and 0x01b0.
28884 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28885 * wcsmbs/tst-mbsnrtowcs.c: New file.
28886
20fde227
DM
288872012-03-29 David S. Miller <davem@davemloft.net>
28888
28889 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28890 small copies by hand.
28891
984a4237
JL
288922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28893
28894 [BZ #13761]
28895 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28896 _nss_compat_initgroups_dyn): Fall back to malloc/free
28897 for large group memberships.
28898
18c9d62b
DM
288992012-03-28 David S. Miller <davem@davemloft.net>
28900
88d85d4f
DM
28901 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28902 that branches into memcpy.
28903 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28906 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28908 bits.
28909 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28910 implementation too.
28911 * sysdeps/sparc/mempcpy.S: New file.
28912
e5aa83e1
DM
28913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28914 the IFUNC routine in the libc case.
28915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28916
88570753
DM
28917 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28918 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28919 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28920 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28921 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28922 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28923 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28924 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28925
249d7567
DM
28926 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28927 loop to 256 bytes instead of 64 bytes and fix test signedness.
28928
18c9d62b
DM
28929 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28930 * sysdeps/sparc/sparc32/Makefile: rather than here...
28931 * sysdeps/sparc/sparc64/Makefile: and here.
28932
05f3d1f6
UD
289332012-03-28 Ulrich Drepper <drepper@gmail.com>
28934
28935 * malloc/mallocbug.c: Avoid warnings about unused variables.
28936
86ae07a8
JL
289372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28938
28939 [BZ #13760]
28940 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28941 in the right place. Discard and retry query if response is
28942 larger than input buffer size.
28943
41bf21a1
JM
289442012-03-28 Joseph Myers <joseph@codesourcery.com>
28945
d6270972
JM
28946 [BZ #369]
28947 [BZ #2678]
28948 [BZ #3866]
28949 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28950 x for large integer exponent.
28951 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28952 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28953 sign of result as needed afterwards.
28954 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28955 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28956 result for underflowing pow the same as for overflow.
28957 (__kernel_standard_l): Handle powl overflow and underflow here
28958 rather than calling __kernel_standard.
28959 * math/libm-test.inc (pow_test): Add more tests.
28960
414fca03 28961 [BZ #3868]
41bf21a1
JM
28962 [BZ #13879]
28963 [BZ #13910]
28964 [BZ #13911]
28965 [BZ #13912]
28966 [BZ #13913]
28967 [BZ #13915]
28968 [BZ #13916]
28969 [BZ #13917]
28970 [BZ #13918]
28971 [BZ #13919]
28972 [BZ #13920]
28973 [BZ #13921]
28974 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28975 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28976 (__kernel_standard_l): New function.
28977 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28978 __kernel_standard.
28979 * math/w_acosl.c (__acosl): Likewise.
28980 * math/w_asinl.c (__asinl): Likewise.
28981 * math/w_atan2l.c (__atan2l): Likewise.
28982 * math/w_atanhl.c (__atanhl): Likewise.
28983 * math/w_coshl.c (__coshl): Likewise.
28984 * math/w_exp10l.c (__exp10l): Likewise.
28985 * math/w_exp2l.c (__exp2l): Likewise.
28986 * math/w_fmodl.c (__fmodl): Likewise.
28987 * math/w_hypotl.c (__hypotl): Likewise.
28988 * math/w_j0l.c (__j0l, __y0l): Likewise.
28989 * math/w_j1l.c (__j1l, __y1l): Likewise.
28990 * math/w_jnl.c (__jnl, __ynl): Likewise.
28991 * math/w_lgammal.c (__lgammal): Likewise.
28992 * math/w_log10l.c (__log10l): Likewise.
28993 * math/w_log2l.c (__log2l): Likewise.
28994 * math/w_logl.c (__logl): Likewise.
28995 * math/w_powl.c (__powl): Likewise.
28996 * math/w_remainderl.c (__remainderl): Likewise.
28997 * math/w_scalbl.c (sysv_scalbl): Likewise.
28998 * math/w_sinhl.c (__sinhl): Likewise.
28999 * math/w_sqrtl.c (__sqrtl): Likewise.
29000 * math/w_tgammal.c (__tgammal): Likewise.
29001 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29002 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29003 * math/libm-test.inc (acos_test): Add more tests.
29004 (acosh_test): Likewise.
29005 (asin_test): Likewise.
29006 (atanh_test): Likewise.
29007 (exp_test): Likewise.
29008 (exp10_test): Likewise.
29009 (exp2_test): Likewise.
29010 (expm1_test): Likewise.
29011 (lgamma_test): Likewise.
29012 (log_test): Likewise.
29013 (log10_test): Likewise.
29014 (log1p_test): Likewise.
29015 (log2_test): Likewise.
29016 (pow_test): Do not allow some spurious overflow exceptions.
29017 (sqrt_test): Add more tests.
29018 (tgamma_test): Likewise.
29019 (y0_test): Likewise.
29020 (y1_test): Likewise.
29021 (yn_test): Likewise.
29022
dd62fda6
AB
290232012-03-27 Anton Blanchard <anton@samba.org>
29024
29025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29026 MAP_HUGETLB.
29027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29030
1e3cdfda
AJ
290312012-03-27 David S. Miller <davem@davemloft.net>
29032
b855ab85
DM
29033 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29034
1e3cdfda
AJ
29035 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29036 have-as-vis3 check.
29037
290382012-03-27 Andreas Jaeger <aj@suse.de>
29039
29040 * sysdeps/x86_64/elf/configure.in: Moved to ...
29041 * sysdeps/x86_64/configure.in: ... here.
29042 * sysdeps/x86_64/elf/start.S: Moved to ...
29043 * sysdeps/x86_64/start.S: ... here.
29044 * sysdeps/x86_64/elf/configure: Delete.
29045
29046 * sysdeps/x86_64/configure.in: Merge contents from
29047 sysdeps/i386/configure.in (without i686 check).
29048
29049 * sysdeps/i386/elf/Versions: Merge into ...
29050 * sysdeps/i386/Versions: ... this.
29051 * sysdeps/i386/elf/Versions: Delete file.
29052 * sysdeps/i386/elf/start.S: Moved to ...
29053 * sysdeps/i386/start.S: ...here.
29054 * sysdeps/i386/elf/configure.in: Merge into...
29055 * sysdeps/i386/configure.in: ...here.
29056 * sysdeps/i386/elf/configure.in: Delete file.
29057 * sysdeps/i386/elf/configure: Delete file.
29058
29059 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29060 * debug/backtracesyms.c: ... here.
29061 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29062 * debug/backtracesymsfd.c: ... here.
29063 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29064 * sysdeps/generic/ifunc-sel.h: ... here.
29065
29066 * sysdeps/unix/i386/start.c: Delete file.
29067 * sysdeps/unix/sparc/start.c: Delete file.
29068 * sysdeps/unix/start.c: Delete file.
29069
29070 * sysdeps/sh/elf/configure.in: Moved to ...
29071 * sysdeps/sh/configure.in: ... here.
29072 * sysdeps/sh/elf/start.S: Moved to ...
29073 * sysdeps/sh/start.S: ... here.
29074 * sysdeps/sh/elf/configure: Delete file.
29075
29076 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29077 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29078 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29079 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29080 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29081 * sysdeps/powerpc/powerpc64/start.S: here.
29082 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29083 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29084 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29085 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29086 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29087
29088 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29089 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29090 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29091 * sysdeps/powerpc/powerpc32/start.S: ... here.
29092 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29093 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29094 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29095
29096 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29097 * sysdeps/powerpc/ifunc-sel.h: ... here.
29098 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29099 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29100
29101 * sysdeps/sparc/elf/configure.in: Moved to ...
29102 * sysdeps/sparc/configure.in: ... here.
29103 * sysdeps/sparc/elf/configure: Delete file.
29104 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29105 * sysdeps/sparc/sparc32/start.S: ... here.
29106 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29107 * sysdeps/sparc/sparc64/start.S: ... here.
29108 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29109 * sysdeps/sparc/sparc32/Makefile: ... this.
29110 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29111 * sysdeps/sparc/sparc64/Makefile: ... this.
29112
29113 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29114 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29115 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29116 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29117 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29118 * sysdeps/s390/s390-32/setjmp.S: ... here.
29119 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29120 * sysdeps/s390/s390-32/configure.in: ... here.
29121 * sysdeps/s390/s390-32/elf/configure: Delete file.
29122 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29123 * sysdeps/s390/s390-32/start.S: ... here.
29124
29125 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29126 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29127 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29128 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29129 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29130 * sysdeps/s390/s390-64/setjmp.S: ... here.
29131 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29132 * sysdeps/s390/s390-64/configure.in: ... here
29133 * sysdeps/s390/s390-64/elf/configure: Delete file.
29134 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29135 * sysdeps/s390/s390-64/start.S: ... here.
29136 * sysdeps/s390/s390-64/elf/configure: Delete.
29137
29138 * configure.in: Remove support for elf directories in sysdeps.
29139
29140 * configure: Regenerated.
29141 * sysdeps/i386/configure: Regenerated.
29142 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29143 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29144 * sysdeps/s390/s390-32/configure: Regenerated.
29145 * sysdeps/s390/s390-64/configure: Regenerated.
29146 * sysdeps/sh/configure: Regenerated.
29147 * sysdeps/sparc/configure: Regenerated.
29148 * sysdeps/x86_64/configure: Regenerated.
29149
a3f61311
AS
291502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29151
c876e002
AS
29152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29153
a3f61311
AS
29154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29155 denormal result into account.
29156
ac4c54f0
RM
291572012-03-25 Roland McGrath <roland@hack.frob.com>
29158
29159 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29160 Reported by Allan McRae <allan@archlinux.org>.
29161
6a9b9c02
JL
291622012-03-23 Jeff Law <law@redhat.com>
29163
29164 * nss/getnssent.c (__nss_getent): Fix typo.
29165
4c42a0c1
DM
291662012-03-23 David S. Miller <davem@davemloft.net>
29167
29168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29169
1532c7ac
L
291702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29173 to pad to uint64_t for each field.
29174 (dl_tls_index): Replace unsigned long with uint64_t.
29175
3ff42526
PP
291762012-03-23 Daniel Jacobowitz <dmj@google.com>
29177 Paul Pluzhnikov <ppluzhnikov@google.com>
29178
29179 [BZ #6528]
29180 * grp/Makefile (otherlibs): Don't set it.
29181 * inet/Makefile (otherlibs): Likewise.
29182 * login/Makefile (otherlibs): Likewise.
29183 * nscd/Makefile (otherlibs): Likewise.
29184 * posix/Makefile (otherlibs): Likewise.
29185 * pwd/Makefile (otherlibs): Likewise.
29186 * rt/Makefile (otherlibs): Likewise.
29187 * sunrpc/Makefile (otherlibs): Likewise.
29188 * nss/Makefile (otherlibs): Likewise.
29189 Add libnss_files to routines and static-only-routines.
29190 ($(objpfx)getent): Remove rule.
29191 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29192 static-only-routines.
29193
7c69cd14
JM
291942012-03-22 Joseph Myers <joseph@codesourcery.com>
29195
29196 [BZ #13892]
29197 * math/s_cexp.c: Include <float.h>.
29198 (__cexp): Handle exp result overflowing not necessarily
29199 overflowing both real and imaginary parts of result.
29200 * math/s_cexpf.c: Likewise.
29201 * math/s_cexpl.c: Likewise.
29202 * math/libm-test.inc (cexp_test): Add more tests.
29203 * sysdeps/i386/fpu/libm-test-ulps: Update.
29204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29205
81b035fe
L
292062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29207
29208 * include/link.h (ELFW): New macro.
29209 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29210 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29211
1da7940c
L
292122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29213
29214 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29215 with uint64_t.
29216
b749dbb9
L
292172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29218
29219 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29220 declaration.
29221 (struct La_x32_retval): Likewise.
29222
2ff87f3f
L
292232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 * sysdeps/x86_64/preconfigure.in: New file.
29226 * sysdeps/x86_64/preconfigure: New generated file.
29227
c0df8e69
JM
292282012-03-22 Joseph Myers <joseph@codesourcery.com>
29229
48e44791
JM
29230 [BZ #13824]
29231 * math/e_exp2l.c: Include <float.h>.
29232 (__ieee754_exp2l): Handle overflow and underflow cases
29233 separately. Only pass fractional part of argument to
29234 __ieee754_expl.
29235 * math/libm-test.inc (exp2_test): Add more tests.
29236
c0df8e69
JM
29237 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29238 negating x to take absolute value.
29239 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29240 Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29243 Likewise.
29244 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29245 computing low part if x was negated.
29246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29247
c8e43ba7
L
292482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29249
29250 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29251 la_x32_gnu_pltexit.
29252 (pltexit): Cast int_retval to ptrdiff_t.
29253 * elf/tst-auditmod3b.c: Likewise.
29254 * elf/tst-auditmod4b.c: Likewise.
29255 * elf/tst-auditmod5b.c: Likewise.
29256 * elf/tst-auditmod6b.c: Likewise.
29257 * elf/tst-auditmod6c.c: Likewise.
29258 * elf/tst-auditmod7b.c: Likewise.
29259
29260 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29261 and x32_gnu_pltexit.
29262
29263 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29264 __ELF_NATIVE_CLASS.
29265 (La_x32_regs): New macro.
29266 (La_x32_retval): Likewise.
29267 (la_x32_gnu_pltenter): New function prototype.
29268 (la_x32_gnu_pltexit): Likewise.
29269
7998fa78
AS
292702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29271
dcb33988
AS
29272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29273 exponent.
29274
233fc563
AS
29275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29276
7998fa78
AS
29277 * configure.in (libc_cv_cc_nofma): Check for option to disable
29278 generation of FMA instructions.
29279 * configure: Regenerate.
29280 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29281 * sysdeps/ieee754/dbl-64/Makefile: New file.
29282 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29283 Remove brandred-fma4.
29284 (CFLAGS-brandred-fma4.c): Remove.
29285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29287 define.
29288 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29289 define.
29290
8e95c99a
L
292912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29292
29293 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29294 LLONG_MAX != LONG_MAX.
29295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29296 (_fitoa_word): Likewise.
29297 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29298 LLONG_MAX != LONG_MAX.
29299 * stdio-common/_itowa.h: Include <_itoa.h>.
29300 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29301 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29302 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29303 only if not defined.
29304 (_ITOA_WORD_TYPE): Likewise.
29305 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29306 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29307
6f4db457
DM
293082012-03-21 David S. Miller <davem@davemloft.net>
29309
29310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29311
7785fe5a
L
293122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29313
29314 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29315 of x86_64 when setting libc_cv_slibdir, libdir and
29316 libc_cv_localedir.
29317 * sysdeps/unix/sysv/linux/configure: Regenerated.
29318
4535cd55
JM
293192012-03-21 Joseph Myers <joseph@codesourcery.com>
29320
29321 * manual/lang.texi (Old Varargs): Remove section.
29322 (How Variadic): Update menu.
29323 (va_start): Do not mention varargs.h.
29324
17228132
TS
293252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29326 Joseph Myers <joseph@codesourcery.com>
29327
29328 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29329 link test.
29330 * configure: Regenerated.
29331
8149f976
TS
293322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29333
05f3d1f6
UD
29334 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29335 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29336 conformtest.pl
8149f976 29337
1a4ac776
JM
293382012-03-21 Joseph Myers <joseph@codesourcery.com>
29339
be22ce65
JM
29340 * NOTES: Remove.
29341 * Makefile (files-for-dist): Remove NOTES.
29342 (NOTES): Remove rule.
29343 * README: Don't refer to NOTES.
29344 * manual/creature.texi: Don't include macros.texi.
29345 * manual/intro.texi (creature.texi): Remove comment referring to
29346 NOTES.
29347
40b601fb
JM
29348 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29349 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29350 * configure: Regenerated.
29351 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29352 LIBC_TRY_CC_OPTION.
29353 (libc_cv_as_i686): Likewise.
29354 (libc_cv_cc_avx): Likewise.
29355 (libc_cv_cc_sse2avx): Likewise.
29356 (libc_cv_cc_fma4): Likewise.
29357 (libc_cv_cc_novzeroupper): Likewise.
29358 * sysdeps/i386/configure: Regenerated.
29359
1a4ac776
JM
29360 [BZ #13883]
29361 * sysdeps/i386/fpu/s_cexp.S: Remove.
29362 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29364 * math/libm-test.inc (cexp_test): Add more tests.
29365 * sysdeps/i386/fpu/libm-test-ulps: Update.
29366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29367
a458e7fe
AM
293682012-03-21 Allan McRae <allan@archlinux.org>
29369
29370 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29371
0cb7efc5
JM
293722012-03-21 Joseph Myers <joseph@codesourcery.com>
29373
29374 [BZ #13871]
29375 * math/w_exp2.c: Do not include <float.h>.
29376 (o_threshold, u_threshold): Remove.
29377 (__exp2): Calculate result before checking finiteness and calling
29378 __kernel_standard.
29379 * math/w_exp2f.c: Likewise.
29380 * math/w_exp2l.c: Likewise.
29381 * math/libm-test.inc (exp2_test): Require overflow exception for
29382 1e6 input.
2460d3aa
JM
29383
29384 [BZ #3866]
29385 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29386 range of signed 64-bit integers before using fistpll. Remove
29387 checks for whether integers fit in mantissa bits.
29388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29389 the range of signed 32-bit integers before using fistpl. Remove
29390 checks for whether integers fit in mantissa bits.
29391 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29392 (__ieee754_powl): Test for y outside the range of signed 64-bit
29393 integers before using fistpll. Reduce 64-bit values to 63-bit
29394 ones as needed.
29395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29396 divide-by-zero is raised for zero to large negative powers.
29397 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29398 (__ieee754_powl): Test for y outside the range of signed 64-bit
29399 integers before using fistpll. Reduce 64-bit values to 63-bit
29400 ones as needed.
29401 * math/libm-test.inc (pow_test): Add more tests.
29402
eb96ffb0
L
294032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29404
29405 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29406 <stdio-common/_itoa.h>.
29407 * debug/segfault.c: Likewise.
29408 * elf/dl-cache.c: Likewise.
29409 * elf/dl-minimal.c: Likewise.
29410 * elf/dl-misc.c: Likewise.
29411 * elf/dl-sysdep.c: Likewise.
29412 * elf/dl-version.c: Likewise.
29413 * elf/rtld.c: Likewise.
29414 * hurd/hurdsock.c: Likewise.
29415 * hurd/lookup-retry.c: Likewise.
29416 * malloc/malloc.c: Likewise.
29417 * malloc/mtrace.c: Likewise.
29418 * nscd/nscd_getgr_r.c: Likewise.
29419 * nscd/nscd_getpw_r.c: Likewise.
29420 * nscd/nscd_getserv_r.c: Likewise.
29421 * posix/getopt_init.c: Likewise.
29422 * posix/wordexp.c: Likewise.
29423 * stdio-common/_itoa.c: Likewise.
29424 * stdio-common/printf_fphex.c: Likewise.
29425 * stdio-common/vfprintf.c: Likewise.
29426 * string/_strerror.c: Likewise.
29427 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29428 * sysdeps/i386/i686/hp-timing.h: Likewise.
29429 * sysdeps/mach/_strerror.c: Likewise.
29430 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29431 * sysdeps/mach/hurd/sethostid.c: Likewise.
29432 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29433 * sysdeps/mach/xpg-strerror.c: Likewise.
29434 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29435 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29436 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29437 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29438 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29439 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29440 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29441 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29442 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29443 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29444 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29445 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29446 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29447 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29448 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29449 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29450 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29451 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29452 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29453 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29454 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29455
29456 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29457
29458 * stdio-common/_itoa.h: Moved to ...
29459 * sysdeps/generic/_itoa.h: Here.
29460
29461 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29462
29463 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29464 instead of "_itoa.h" and "_itowa.h".
29465 * stdio-common/vfprintf.: Likewise.
29466
d1af992d
L
294672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29468
29469 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29470 <bits/wordsize.h>.
29471 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29472 (__signbit): Likwise.
29473 (llrintf): Likwise.
29474 (llrint): Likwise.
29475
114883e0
L
294762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29479 __WORDSIZE != 64.
29480
c135cc1b
JM
294812012-03-20 Joseph Myers <joseph@codesourcery.com>
29482
29483 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29484 OVERFLOW_EXCEPTION_OK.
29485 * math/libm-test.inc ("Philosophy"): Update comment about
29486 exception testing.
29487 (OVERFLOW_EXCEPTION): Define.
29488 (OVERFLOW_EXCEPTION_OK): Likewise.
29489 (INVALID_EXCEPTION_OK): Renumber.
29490 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29491 (IGNORE_ZERO_INF_SIGN): Likewise.
29492 (test_exceptions): Handle FE_OVERFLOW.
29493 (exp10_test): Expect overflow exceptions.
29494 (exp2_test): Likewise.
29495 (expm1_test): Likewise.
29496 (nextafter_test): Likewise.
29497 (pow_test): Likewise.
29498 (scalbn_test): Likewise.
29499 (scalbln_test): Likewise.
29500
95443d88
L
295012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29502
29503 * sysdeps/x86_64/bits/atomic.h
29504 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29505 64bit integer.
29506 (atomic_exchange_acq): Likewise.
29507 (__arch_exchange_and_add_body): Likewise.
29508 (__arch_add_body): Likewise.
29509 (atomic_add_negative): Likewise.
29510 (atomic_add_zero): Likewise.
29511
490df6c4
L
295122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29513
c2722551 29514 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29515 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29516
5e52b189
L
295172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29518
29519 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29520 Check __x86_64__ instead of __WORDSIZE.
29521
a9879d4c
L
295222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29523
29524 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29525
5df98260
DM
295262012-03-19 David S. Miller <davem@davemloft.net>
29527
e1497744
DM
29528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29529
5df98260
DM
29530 * sysdeps/sparc/fpu/fenv_private.h: New file.
29531 * sysdeps/sparc/fpu/math_private.h: Use it.
29532 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29533 Remove.
29534 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29535 (libc_feholdexcept_setroundl): Remove.
29536 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29537 Remove.
29538 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29539 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29540
b4c35121
L
295412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29542
29543 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29544 int64_t instead of long int.
29545 (INSERT_WORDS64): Likwise.
29546
56965fd7
L
295472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29548
29549 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29550 _Unwind_GetCFA return to _Unwind_Ptr first.
29551
83d1aec8
JM
295522012-03-19 Joseph Myers <joseph@codesourcery.com>
29553
1897ad44
JM
29554 [BZ #13629]
29555 * math/s_clog.c: Include <float.h>.
29556 (__clog): Scale large or subnormal inputs.
29557 * math/s_clogf.c: Likewise.
29558 * math/s_clogl.c: Likewise.
29559 * math/s_clog10.c: Include <float.h>.
29560 (M_LOG10_2): Define.
29561 (__clog10): Scale large or subnormal inputs.
29562 * math/s_clog10f.c: Likewise.
29563 * math/s_clog10l.c: Likewise.
29564 * math/libm-test.inc (clog_test): Add more tests.
29565 (clog10_test): Likewise.
29566 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29568
7726d6a9
JM
29569 [BZ #11451]
29570 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29571 x and y.
29572 * math/libm-test.inc (atan2_test): Add another test.
29573
83d1aec8
JM
29574 * Makerules (common-objdir-compile): Remove.
29575 * sysdeps/unix/Makefile (config-generated): Do not add
29576 $(unix-generated) to variable.
29577 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29578 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29579 Remove rule.
29580 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29581 Likewise.
29582 [generic bits/local_lim.h] (before-compile): Do not append to
29583 variable.
29584 [generic bits/local_lim.h] (common-generated): Likewise.
29585 [generic sys/param.h] (before-compile): Do not append to variable.
29586 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29587 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29588 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29589 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29590 include.
29591 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29592 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29593 [generic sys/param.h] ($(addprefix
29594 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29595 [generic sys/param.h] (common-generated): Do not append to
29596 variable.
29597 [generic sys/param.h] (sysdep_headers): Likewise.
29598 [generic bits/errno.h] (before-compile): Do not append to
29599 variable.
29600 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29601 rule.
29602 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29603 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29604 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29605 [generic bits/errno.h] (common-generated): Do not append to
29606 variable.
29607 [generic bits/ioctls.h] (before-compile): Do not append to
29608 variable.
29609 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29610 rule.
29611 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29612 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29613 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29614 rule.
29615 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29616 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29617 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29618 [generic bits/ioctls.h] (common-generated): Do not append to
29619 variable.
29620 [generic sys/syscall.h] (syscall.h): Remove variable.
29621 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29622 rule.
29623 [generic sys/syscall.h] (before-compile): Do not append to
29624 variable.
29625 [generic sys/syscall.h] (common-generated): Likewise.
29626 * sysdeps/unix/errnos-tmpl.c: Remove file.
29627 * sysdeps/unix/errnos.awk: Likewise.
29628 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29629 * sysdeps/unix/ioctls.awk: Likewise.
29630 * sysdeps/unix/mk-local_lim.c: Likewise.
29631 * sysdeps/unix/snarf-ioctls: Likewise.
29632
4851a949
RH
296332012-03-19 Richard Henderson <rth@twiddle.net>
29634
bd37f2ee
RH
29635 * sysdeps/i386/fpu/fenv_private.h: New file.
29636 * sysdeps/i386/fpu/math_private.h: Use it.
29637 (math_opt_barrier, math_force_eval): Remove.
29638 (libc_feholdexcept_setround_53bit): Remove.
29639 (libc_feupdateenv_53bit): Remove.
29640 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29641 (math_opt_barrier, math_force_eval): Remove.
29642 (libc_feholdexcept): Remove.
29643 (libc_feholdexcept_setround): Remove.
29644 (libc_fetestexcept, libc_fesetenv): Remove.
29645 (libc_feupdateenv_test): Remove.
29646 (libc_feupdateenv, libc_feholdsetround): Remove.
29647 (libc_feresetround): Remove.
29648
d0adc922
RH
29649 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29650 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29651
0fe0f1f8
RH
29652 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29653 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29654 (libc_feupdateenv_testl): New.
29655 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29656 (libc_feupdateenv_testf): New.
29657 (libc_feupdateenv): Use libc_feupdateenv_test.
29658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29659 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29660
eb92c487
RH
29661 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29662 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29663 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29664 (libc_feresetround_noex): New.
29665 (libc_feresetround_noexf): New.
29666 (libc_feresetround_noexl): New.
29667 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29668 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29669 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29670 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29671 SET_RESTORE_ROUND.
29672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29674 (__cos): Likewise.
29675 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29676 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29677 SET_RESTORE_ROUND_NOEX.
29678 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29679 SET_RESTORE_ROUND_NOEXF.
29680 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29681 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29682 (libc_feholdsetroundf): New.
29683 (libc_feresetround, libc_feresetroundf): New.
29684
7d2e8012
RH
29685 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29686 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29687 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29688
b4dabbb4
RH
29689 * sysdeps/generic/math_private.h: Include <fenv.h>.
29690 (default_libc_feholdexcept): New.
29691 (default_libc_feholdexcept_setround): New.
29692 (default_libc_fesetenv, default_libc_feupdateenv): New.
29693 (libc_feholdexcept): Only define if undefined.
29694 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29695 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29696 (libc_feholdexcept_setroundl): Likewise.
29697 (libc_feholdexcept_setround_53bit): Likewise.
29698 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29699 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29700 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29701 (libc_feupdateenv_53bit): Likewise.
29702 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29703 (libc_feholdexcept): Convert from macro to inline function.
29704 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29705 (libc_fesetenv, libc_feupdateenv): Likewise.
29706
4851a949
RH
29707 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29708 not previously defined.
29709 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29710 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29711 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29712 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29713 * sysdeps/ieee754/flt-32/math_private.h: New file.
29714 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29715 math_private.h below SET_FLOAT_WORD.
29716 (__isnan, __isinf_ns, __finite): Remove.
29717 (__isnanf, __isinf_nsf, __finitef): Remove.
29718
e79d442e
AS
297192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29720
29721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29722
90b80344
DM
297232012-03-17 David S. Miller <davem@davemloft.net>
29724
29725 [BZ #6471]
29726 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29727 for 2.16.
29728
edc21804
DM
297292012-03-16 David S. Miller <davem@davemloft.net>
29730
77e927af
DM
29731 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29732 warnings.
29733
374976dd
DM
29734 [BZ #6471]
29735 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29736 properly.
29737 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29738 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29739 sysdep_routines when subdir is sysvipc.
29740 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29741 __getshmlba helper.
29742
edc21804
DM
29743 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29744
473c3ef3
L
297452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29746
29747 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29748 [__LP64__].
29749
eb0f39b6
L
297502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29751
29752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29753 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29754 (__lround): Renamed to ...
29755 (__llround): This. Replace long int with long long int.
29756 Define lround functions as aliases of llround functions.
29757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29758
6b6cd74b
L
297592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29760
29761 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29762 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29763 adresses to uintptr_t. Replace "long int" and "unsigned long
29764 int" with "greg_t" on va_arg.
29765
f1a77b01
L
297662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29769 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29770
29771 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29772 Move e_machine check before EI_CLASS check. Handle x32
29773 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29774 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29775 SKIP_EM_IA_64 and include
29776 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29777
29778 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29779 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29780 (add_system_dir): New macro.
29781
29782 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29783 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29784
11b90b9f
JM
297852012-03-16 Joseph Myers <joseph@codesourcery.com>
29786
c36e1d23
JM
29787 [BZ #2551]
29788 [BZ #2552]
29789 [BZ #2553]
29790 [BZ #2554]
29791 [BZ #2562]
29792 [BZ #2563]
29793 [BZ #2565]
29794 [BZ #2566]
29795 [BZ #2576]
29796 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29797 (y0): Likewise.
29798 * math/w_j0f.c (j0f): Likewise.
29799 (y0f): Likewise.
29800 * math/w_j0l.c (__j0l): Likewise.
29801 (__y0l): Likewise.
29802 * math/w_j1.c (j1): Likewise.
29803 (y1): Likewise.
29804 * math/w_j1f.c (j1f): Likewise.
29805 (y1f): Likewise.
29806 * math/w_j1l.c (__j1l): Likewise.
29807 (__y1l): Likewise.
29808 * math/w_jn.c (jn): Likewise.
29809 (yn): Likewise.
29810 * math/w_jnf.c (jnf): Likewise.
29811 (ynf): Likewise.
29812 * math/w_jnl.c (__jnl): Likewise.
29813 (__ynl): Likewise.
29814 * math/libm-test.inc (j0_test): Add more tests.
29815 (j1_test): Likewise.
29816 (jn_test): Likewise. Add trailing semicolon to existing test.
29817 (y0_test): Likewise.
29818 (y1_test): Likewise.
29819 * sysdeps/i386/fpu/libm-test-ulps: Update.
29820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29821
11b90b9f
JM
29822 [BZ #13851]
29823 [BZ #13854]
29824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29825 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29826 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29827 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29828 (__tanl): Set errno for infinite argument.
29829 * sysdeps/i386/fpu/mptan.c: Remove.
29830 * sysdeps/i386/fpu/s_tan.S: Likewise.
29831 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29832 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29833 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29834 * math/libm-test.inc (tan_test): Add more tests and enable more
29835 tests for double and long double.
29836 * sysdeps/i386/fpu/libm-test-ulps: Update.
29837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29838
6a1bd2a1
JK
298392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29840
29841 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29842 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29843
10a803e0
RM
298442012-03-16 Roland McGrath <roland@hack.frob.com>
29845
29846 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29847 * configure.in: Use it for both main tree and add-ons.
29848 * configure: Regenerated.
29849
f196c7f7
L
298502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29851
29852 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29853
8848d99d
JM
298542012-03-16 Joseph Myers <joseph@codesourcery.com>
29855
96cbe7f4
JM
29856 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29857 in comment.
29858
8848d99d
JM
29859 [BZ #13851]
29860 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29861 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29862 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29863 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29865 infinite argument.
29866 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29868 != 0 for prec == 2.
29869 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29870 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29871 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29872 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29873 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29874 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29875 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29876 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29877 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29878 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29879 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29880 * math/libm-test.inc (cos_test): Add more tests and enable more
29881 tests for long double.
29882 (sin_test): Likewise.
29883 (sincos_test): Likewise.
29884 * sysdeps/i386/fpu/libm-test-ulps: Update.
29885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29886
dd7f4703
DM
298872012-03-16 David S. Miller <davem@davemloft.net>
29888
29889 * sysdeps/sparc/fpu/math_private.h: New file.
29890
006f1daa
DM
298912012-03-15 David S. Miller <davem@davemloft.net>
29892
c0c83bc8
DM
29893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29894 file.
e6a62e18 29895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29897 file.
e6a62e18
DM
29898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29904 sysdep routines.
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29906
88cb87d9
DM
29907 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29908 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29909
006f1daa 29910 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29912 sparc-ifunc.h
006f1daa 29913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29915 Likewise.
29916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29917 Likewise.
006f1daa
DM
29918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29922 Likewise.
006f1daa
DM
29923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29928 Likewise.
29929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29930 Likewise.
006f1daa
DM
29931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29955
11e0098e
AS
299562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29957
29958 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29959 scaling.
29960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29961
e85b09d0
AJ
299622012-03-15 Andreas Jaeger <aj@suse.de>
29963
29964 [BZ #13852]
29965 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29966 ieee754/flt-32 implementation for sin, cos and sincos.
29967 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29968 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29969 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29970 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29971 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29972 ieee754/flt-32 implementation for tan.
29973
29974 * math/libm-test.inc (cos_test): Enable some large input tests for
29975 float as well
29976 (sin_test): Likewise.
29977 (sincos_test): Likewise.
29978 (tan_test): Add tests for large input.
29979
29980 * sysdeps/i386/fpu/libm-test-ulps: Update.
29981
81c64153
AJ
299822012-03-15 Andreas Jaeger <aj@suse.de>
29983
29984 [BZ #13658]
29985 * math/libm-test.inc (cos_test): Add more test cases.
29986 (sin_test): Likewise.
29987 (sincos_test): Likewise.
29988
7bbfa5c6
AJ
299892012-03-15 Andreas Jaeger <aj@suse.de>
29990
29991 [BZ #13837]
29992 * math/libm-test.inc (cos_test): Add a test case for large input
29993 value.
29994 (sin_test): Likewise.
29995 (sincos_test): Likewise.
29996
299972012-03-15 Andreas Jaeger <aj@suse.de>,
29998 Joseph Myers <joseph@codesourcery.com>
29999
30000 [BZ #13658]
0671f479 30001 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30002 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30003 * sysdeps/i386/fpu/branred.c: Likewise.
30004 * sysdeps/i386/fpu/dosincos.c: Likewise.
30005 * sysdeps/i386/fpu/mpa.c: Likewise.
30006 * sysdeps/i386/fpu/s_cos.S: Likewise.
30007 * sysdeps/i386/fpu/s_sin.S: Likewise.
30008 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30009 * sysdeps/i386/fpu/sincos32.c: Likewise.
30010
30011 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30012 Define.
30013 (libc_feupdateenv_53bit): Define.
30014 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30015 Define.
30016 (libc_feupdateenv_53bit): Define.
30017
30018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30019 53 bit (without extend i386 double precision).
30020
30021 * math/libm-test.inc (sincos_test): Add tests for large input.
30022 (sin): Likewise.
30023 (cos): Likewise.
30024
30025 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30026
9cad04ea
AS
300272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30028
30029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30030
f7062b9a
DM
300312012-03-15 David S. Miller <davem@davemloft.net>
30032
30033 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30034 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30035 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30036 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30049 file.
f7062b9a 30050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30052 file.
f7062b9a 30053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30055 file.
f7062b9a 30056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30058 file.
f7062b9a
DM
30059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30061 fmin/fmax sysdep routines.
30062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30063
7bd951ff
DM
300642012-03-14 David S. Miller <davem@davemloft.net>
30065
559398ab
DM
30066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30070 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30094 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30095 routines.
30096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30097 file.
559398ab 30098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30100 file.
559398ab 30101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30103 file.
559398ab 30104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30106 file.
559398ab 30107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30109 file.
559398ab 30110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30112 file.
30113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30114 file.
30115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30116 file.
30117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30118 file.
30119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30120 New file.
30121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30122 file.
30123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30124 file.
559398ab 30125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30127 file.
559398ab 30128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30130 file.
559398ab 30131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30133 file.
559398ab 30134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30136 VIS3 routines.
559398ab
DM
30137
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30139 New file.
30140
5a1c1e32
DM
30141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30142
eae47a36
DM
30143 * sysdeps/sparc/configure.in: New file.
30144 * sysdeps/sparc/configure: Generate.
30145 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30146 * configure: Regenerate.
30147 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30148 * config.make.in (have-as-vis3): New.
30149 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30150 available use -Av9d instead of -Av9a.
30151 * sysdeps/sparc/sparc64/Makefile: Likewise.
30152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30154 New file.
30155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30156 file.
30157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30158 New file.
30159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30160 file.
eae47a36
DM
30161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30166
c0c83bc8
DM
30167 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30168 fzeros/fnegs to load 0x80000000 into a float register instead of
30169 using the stack.
7bd951ff
DM
30170 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30171
bd951ccb
JM
301722012-03-14 Joseph Myers <joseph@codesourcery.com>
30173
30174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30175 bits/syscall.h.
30176 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30177 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30178 ($(inst_includedir)/bits/syscall.h): Remove rule.
30179 ($(objpfx)bits/syscall.d): Include instead of
30180 $(objpfx)syscall-list.d.
30181 (generated): Change syscall-list.h and syscall-list.d to
30182 bits/syscall.h and bits/syscall.d.
30183
bb4e6db2
RM
301842012-03-14 Roland McGrath <roland@hack.frob.com>
30185
30186 [BZ #13846]
30187 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30188
aa4a2ae1
JM
301892012-03-14 Joseph Myers <joseph@codesourcery.com>
30190
e456826d
JM
30191 [BZ #13841]
30192 * math/s_csqrt.c: Include <float.h>.
30193 (__csqrt): Scale large or subnormal inputs.
30194 * math/s_csqrtf.c: Likewise.
30195 * math/s_csqrtl.c: Likewise.
30196 * math/libm-test.inc (csqrt_test): Add more tests.
30197 * sysdeps/i386/fpu/libm-test-ulps: Update.
30198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30199
aa4a2ae1
JM
30200 [BZ #13840]
30201 * math/libm-test.inc (hypot_test): Add more tests.
30202
7c10fd35
DM
302032012-03-13 David S. Miller <davem@davemloft.net>
30204
30205 [BZ #13840]
30206 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30207 double-precision for the calculation instead of scaling.
30208
f453b98b
JM
302092012-03-13 Joseph Myers <joseph@codesourcery.com>
30210
30211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30212 manipulate bits before adding and subtracting TWO52[sx].
30213 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30215 Likewise.
30216 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30217
09a3453f
DM
302182012-03-13 David S. Miller <davem@davemloft.net>
30219
8e59da90
DM
30220 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30221 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30223 rtld-global-offsets.h
30224 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30225
2a8ab7f2
DM
30226 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30227 large parameters.
30228
10f62770
DM
30229 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30230
5f0bdb18
DM
30231 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30232 'err' in the ifdef scope in which it is actually used.
30233
09a3453f
DM
30234 * nss/nss_db/db-init.c: Include string.h
30235
b4b2eb5e
DM
302362012-03-12 David S. Miller <davem@davemloft.net>
30237
98bb2f1c
DM
30238 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30239 masking out of the most significant byte of random value used.
30240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30241 Fix coding style in previous change.
30242
b4b2eb5e
DM
30243 * sysdeps/unix/sysv/linux/kernel-features.h
30244 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30245 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30246 expression.
30247 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30248 later.
30249
6e226b09
DM
302502012-03-11 David S. Miller <davem@davemloft.net>
30251
a1bcbd40
DM
30252 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30253 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30255 for 'resultvar' otherwise things get truncated on 64-bit.
30256
cb9d6174
DM
30257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30258 Fix masking out of the most significant byte of random value used.
30259
6e226b09
DM
30260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30261
058c132d
AS
302622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30263
30264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30265
2d2cd515
DM
302662012-03-09 David S. Miller <davem@davemloft.net>
30267
30268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30269 variables with appropriate CPP guards.
30270 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30271 frame pointer, not the stack pointer. Correct layout comments. Fix test
30272 on resulting framesize and the management of the outregs buffer for pltexit.
30273 Preserve floating point return values across _dl_call_pltexit call.
30274 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30275 framesize and the management of the outregs buffer for pltexit.
30276 Preserve floating point return values across _dl_call_pltexit
30277 call.
30278 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30279 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30280 (print_exit): Fix format string for return register value.
30281
9a07f9d0
JM
302822012-03-10 Joseph Myers <joseph@codesourcery.com>
30283
30284 * sunrpc/Makefile (others): Add rpcgen.
30285 ($(objpfx)rpcgen): Remove special build rule and dependency on
30286 libc.
30287 * sunrpc/rpcgen.c: New file.
30288
547b5e30
PE
302892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30290
c524201a
PE
30291 [BZ #13673]
30292 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30293 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30294 * sysdeps/i386/crti.S: Likewise.
30295 * sysdeps/i386/crtn.S: Likewise.
30296 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30297 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30298 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30299 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30300 * sysdeps/sh/crti.S: Likewise.
30301 * sysdeps/sh/crtn.S: Likewise.
30302 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30303
7b6235f2
PE
30304 [BZ #13673]
30305 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30306 with URL.
30307 * locale/programs/locfile-kw.gperf: Likewise.
30308 * locale/programs/charmap-kw.h: Regenerated.
30309 * locale/programs/locfile-kw.h: Likewise.
30310
547b5e30
PE
30311 [BZ #13673]
30312 * intl/plural.y: Replace FSF snail mail address with URL.
30313 * intl/plural.c: Regenerated.
30314
5f0a5dae
RH
303152012-03-09 Richard Henderson <rth@twiddle.net>
30316
30317 * include/math_private.h: Remove file.
30318 * math/math_private.h: Move file ...
30319 * sysdeps/generic/math_private.h: ... here.
30320
b8c03620
RH
30321 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30322 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30323 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30324
4e234f5d 30325 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30326 and <math_private.h>.
30327 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30328 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30329 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30330 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30331 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30338 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30349 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30351 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30352 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30353 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30354 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30356 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30357 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30360 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30361 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30362 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30368 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30371 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30380 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30381 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30382 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30383 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30384 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30385 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30386 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30387 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30392 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30393 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30394 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30395 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30396 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30398 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30407 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30408 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30409 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30410 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30411 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30414 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30415 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30416 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30418 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30420 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30421 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30422 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30423 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30424 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30425 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30426 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30427 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30428 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30429 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30430 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30431 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30432 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30433 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30434 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30435 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30437 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30438 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30439 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30440 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30441 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30442 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30443 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30444 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30445 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30446 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30447 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30448 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30449 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30450 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30451 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30452 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30453 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30454 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30455 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30456 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30457 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30460 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30461 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30462 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30463 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30464 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30465 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30466 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30468 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30469 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30470 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30471 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30472 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30473 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30474 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30475 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30476 * sysdeps/ieee754/k_standard.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30480 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30481 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30483 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30484 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30500 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30501 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30505 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30510 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30511 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30514 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30515 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30516 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30517 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30518 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30519 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30520 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30522 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30523 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30528 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30529 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30530 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30533 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30534 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30535 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30536 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30537 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30538 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30539 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30543 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30544 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30545 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30546 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30547 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30549 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30551 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30557 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30558 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30579 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30581 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30582 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30583 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30584 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30588 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30591 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30592 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30593 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30594 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30595 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30596 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30597 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30598 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30599 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30600 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30601 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30602 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30613 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30625 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30626 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30627 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30637 * sysdeps/ieee754/s_lib_version.c: Likewise.
30638 * sysdeps/ieee754/s_matherr.c: Likewise.
30639 * sysdeps/ieee754/s_signgam.c: Likewise.
30640 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30641 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30642 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30643 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30644 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30645 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30646 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30647 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30648 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30649 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30650 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30651 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30652 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30653 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30654 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30655 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30656 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30657 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30658 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30659 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30660 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30661
1991fa03
JM
306622012-03-09 Joseph Myers <joseph@codesourcery.com>
30663
30664 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30665 * sunrpc/rpc_main.c: Likewise.
30666 * sunrpc/rpc_svcout.c: Likewise.
30667
60d6f5a6
DM
306682012-03-09 David S. Miller <davem@davemloft.net>
30669
30670 * include/math_private.h: New file.
30671
4962050e
JM
306722012-03-09 Joseph Myers <joseph@codesourcery.com>
30673
02a6f887
JM
30674 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30675 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30676 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30677 from <bits/socket_type.h>.
30678 (enum __socket_type): Don't define here.
30679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30681 bits/socket_type.h.
30682
c6e013c1
JM
30683 [BZ #13566]
30684 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30685 checking __USE_GNU.
30686
4962050e
JM
30687 * Makerules ($(inst_includedir)/%.h): New rule.
30688 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30689 (install-others): Remove variable setting.
30690 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30691
38842f45
RH
306922012-03-08 Richard Henderson <rth@twiddle.net>
30693
67bb6da6
RH
30694 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30695 from macro to inline function; merge with the
30696 !__LIBC_INTERNAL_MATH_INLINES version.
30697 (__ieee754_sqrtf): Likewise.
30698
15194b4b
RH
30699 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30700 to inline function.
30701 (__rintf, __floor, __floorf): Likewise.
30702
64e21ede
RH
30703 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30704 macro to inline function.
30705 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30706
38842f45
RH
30707 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30708 not <math/math_private.h>.
30709
c64bf5fe
DM
307102012-03-08 David S. Miller <davem@davemloft.net>
30711
30712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30713 copyright year.
30714 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30715
82d86f28
TS
307162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30717
30718 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30719 normalization.
30720 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30721 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30722
aea5d727
UD
307232012-03-08 Ulrich Drepper <drepper@gmail.com>
30724
30725 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30726 be defined individually, they must be defined as a block. Define
30727 S for printing a string instead of hidint the different by using a
30728 macro for adding the 'l'.
30729 * stdio-common/tst-fphex-wide.c: Adjust.
30730
70bca0a3
MP
307312012-03-07 Marek Polacek <polacek@redhat.com>
30732
30733 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30734
65b81130
MP
307352012-03-08 Marek Polacek <polacek@redhat.com>
30736
30737 [BZ #13806]
30738 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30739 * stdio-common/tst-fphex.c: Define a few macros to make the
30740 test reusable. Use them.
30741 * stdio-common/tst-fphex-wide.c: New file.
30742
07037eeb
JM
307432012-03-08 Joseph Myers <joseph@codesourcery.com>
30744
a7a93d50
JM
30745 [BZ #6911]
30746 * manual/macros.texi (gnusystems): New macro.
30747 (nongnusystems): Likewise.
30748 (gnulinuxhurdsystems): Likewise.
30749 (gnuhurdsystems): Likewise..
30750 (gnulinuxsystems): Likewise.
30751 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30752 variants of the GNU system, not "GNU system".
30753 * manual/conf.texi: Likewise.
30754 * manual/errno.texi: Likewise. Update example of errno macro
30755 expansion.
30756 * manual/filesys.texi: Likewise.
30757 (getumask): Document as specific to GNU/Hurd.
30758 * manual/install.texi: Likewise. Reword some references to
30759 GNU/Linux.
30760 * manual/intro.texi: Likewise.
30761 * manual/io.texi: Likewise.
30762 (File Name Portability): Detail which constraints are inapplicable
30763 to all GNU systems and which are only inapplicable to GNU/Hurd.
30764 * manual/job.texi: Likewise.
30765 * manual/llio.texi: Likewise.
30766 (O_NOCTTY): Document as present on GNU/Linux.
30767 * manual/maint.texi: Likewise.
30768 * manual/memory.texi: Likewise.
30769 * manual/pattern.texi: Likewise.
30770 * manual/pipe.texi: Likewise.
30771 * manual/process.texi: Likewise.
30772 * manual/resource.texi: Likewise.
30773 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30774 child on GNU/Hurd.
30775 * manual/setjmp.texi: Likewise.
30776 * manual/signal.texi: Likewise.
30777 * manual/startup.texi: Likewise.
30778 * manual/stdio.texi: Likewise.
30779 * manual/terminal.texi: Likewise.
30780 (ONLCR): Document as POSIX.
30781 (OXTABS): Document availability on GNU/Linux as XTABS.
30782 (ONOEOT): Document availability separately from other bits.
30783 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30784 * manual/time.texi: Likewise.
30785 * manual/users.texi: Likewise.
30786 * INSTALL: Regenerated.
30787 * sysdeps/gnu/errlist.c: Regenerated.
30788
07037eeb
JM
30789 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30790 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30791 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30792 puts.
30793 * configure: Regenerated.
30794
d1d3431a
JM
307952012-03-07 Joseph Myers <joseph@codesourcery.com>
30796
af6a1e37
JM
30797 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30798 default includes instead of AC_HEADER_CHECK.
30799 * sysdeps/i386/configure: Regenerated.
30800
d1d3431a
JM
30801 [BZ #10716]
30802 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30803 * math/s_cacoshf.c (__cacoshf): Likewise.
30804 * math/s_cacoshl.c (__cacoshl): Likewise.
30805 * math/s_casinh.c (__casinh): Set signs of result from argument.
30806 * math/s_casinhf.c (__casinhf): Likewise.
30807 * math/s_casinhl.c (__casinhl): Likewise.
30808 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30809 (casinh_test): Add more tests.
30810 * sysdeps/i386/fpu/libm-test-ulps: Update.
30811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30812
482ff4da
UD
308132012-03-07 Ulrich Drepper <drepper@gmail.com>
30814
872fda05
UD
30815 * po/zh_TW.po: Update from translation team.
30816
a4300c7a
UD
30817 * login/Makefile (distribute): Remove variable.
30818 * catgets/Makefile: Likewise.
30819 * mach/Makefile: Likewise.
30820 * malloc/Makefile: Likewise.
30821 * misc/Makefile: Likewise.
30822 * iconv/Makefile: Likewise.
30823 * nscd/Makefile: Likewise.
30824 * hurd/Makefile: Likewise.
30825 * manual/Makefile: Likewise.
30826 * locale/Makefile: Likewise.
30827 * intl/Makefile: Likewise.
30828 * conform/Makefile: Likewise.
30829 * nss/Makefile: Likewise.
30830 * time/Makefile: Likewise.
30831 * soft-fp/Makefile: Likewise.
30832 * dirent/Makefile: Likewise.
30833 * gmon/Makefile: Likewise.
30834 * po/Makefile: Likewise.
30835 * rt/Makefile: Likewise.
30836 * socket/Makefile: Likewise.
30837 * math/Makefile: Likewise.
30838 * signal/Makefile: Likewise.
30839 * debug/Makefile: Likewise.
30840 * elf/Makefile: Likewise.
30841 * timezone/Makefile: Likewise.
30842 * stdlib/Makefile: Likewise.
30843 * iconvdata/Makefile: Likewise.
30844 * sunrpc/Makefile: Likewise.
30845 * io/Makefile: Likewise.
30846 * argp/Makefile: Likewise.
30847 * inet/Makefile: Likewise.
30848 * hesiod/Makefile: Likewise.
30849 * grp/Makefile: Likewise.
30850 * csu/Makefile: Likewise.
30851 * wctype/Makefile: Likewise.
30852 * crypt/Makefile: Likewise.
30853 * libio/Makefile: Likewise.
30854 * string/Makefile: Likewise.
30855 * nis/Makefile: Likewise.
30856 * resolv/Makefile: Likewise.
30857 * stdio-common/Makefile: Likewise.
30858 * wcsmbs/Makefile: Likewise.
30859 * dlfcn/Makefile: Likewise.
30860 * posix/Makefile: Likewise.
30861
3b7c4e74 30862 [BZ #6959]
482ff4da
UD
30863 * timezone/Makefile: Don't install timezone files, just the programs
30864 and scripts.
30865
f72ed77d
UD
308662012-03-06 Ulrich Drepper <drepper@gmail.com>
30867
a000466f
UD
30868 * nss/databases.def: Add missing gshadow entry.
30869
f72ed77d
UD
30870 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30871
a53b7a4e
MP
308722012-03-06 Marek Polacek <polacek@redhat.com>
30873
30874 [BZ #13726]
30875 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30876 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30877 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30878 * stdio-common/tst-long-dbl-fphex.c: New file.
30879
e9258400
DM
308802012-03-06 David S. Miller <davem@davemloft.net>
30881
30882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30883 (set_obp_int): New function.
30884 (get_obp_int): New function.
30885 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30887 Avoid unused variable warnings on 'val' and use builtin_expect.
30888 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30889 __builtin_expect.
e9258400
DM
30890 (INLINE_CLONE_SYSCALL): Likewise.
30891
3bd2c723
DM
308922012-03-05 David S. Miller <davem@davemloft.net>
30893
30894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30895
bbb78d03
AS
308962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30897
884c5db4
AS
30898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30899
bbb78d03
AS
30900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30901 only for |x| >= 40.
30902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30903
1c9f702a 309042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30905
30906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30907 Replace gettimeofday with __vdso_gettimeofday.
30908
7be16f82
RM
30909 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30910 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30911 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30912
30913 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30914 time with __vdso_time.
30915
ed58a00f
JM
309162012-03-05 Joseph Myers <joseph@codesourcery.com>
30917
30918 * manual/lang.texi (size_t): Note types to which size_t may be
30919 equivalent with the GNU C Library, but do not describe when
30920 differences between them are significant.
30921
30ee4ced
AJ
309222012-03-05 Andreas Jaeger <aj@suse.de>
30923
30924 * sysdeps/i386/fpu/libm-test-ulps: Update.
30925
b7cd39e8
JM
309262012-03-05 Joseph Myers <joseph@codesourcery.com>
30927
30928 [BZ #3976]
30929 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30930 (__ieee754_pow): Save and restore rounding mode and use
30931 round-to-nearest for main computations.
30932 * math/libm-test.inc (pow_test_tonearest): New function.
30933 (pow_test_towardzero): Likewise.
30934 (pow_test_downward): Likewise.
30935 (pow_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.
ca811b22
JM
30939
30940 [BZ #3976]
30941 * math/libm-test.inc (cosh_test_tonearest): New function.
30942 (cosh_test_towardzero): Likewise.
30943 (cosh_test_downward): Likewise.
30944 (cosh_test_upward): Likewise.
30945 (sinh_test_tonearest): Likewise.
30946 (sinh_test_towardzero): Likewise.
30947 (sinh_test_downward): Likewise.
30948 (sinh_test_upward): Likewise.
30949 (main): Call the new functions.
30950 * sysdeps/i386/fpu/libm-test-ulps: Update.
30951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30952
6c6a98c9
TV
309532012-03-05 Tom de Vries <tom@codesourcery.com>
30954
30955 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30956 default stack guard is set in last bytes.
30957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30958
21bb2d2e 309592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30960
21bb2d2e 30961 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30962
21bb2d2e
AJ
30963 [BZ #13656]
30964 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30965 possibly allocate from heap instead of stack.
30966 * stdio-common/bug-vfprintf-nargs.c: New file.
30967 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30968
c6922934
AS
309692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30970
30971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30972
bc957d53
MP
309732012-03-03 Marek Polacek <polacek@redhat.com>
30974
30975 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30976 * math/math_private.h: Likewise.
30977 * stdlib/tst-strtod.c: Likewise.
30978 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30979 * sysdeps/x86_64/bits/atomic.h: Likewise.
30980
6358490d
DM
309812012-03-02 David S. Miller <davem@davemloft.net>
30982
30983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30987 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30988 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30989 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30990 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30991
01ae168d
RM
309922012-03-02 Roland McGrath <roland@hack.frob.com>
30993
d9a17c07
RM
30994 [BZ #13792]
30995 * manual/examples/README: New file, says the example source files
30996 can be used under GPL>=2.
30997 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30998 line containing just "*/".
30999 * manual/examples/add.c: Add copyright header (GPL>=2).
31000 * manual/examples/argp-ex1.c: Likewise.
31001 * manual/examples/argp-ex2.c: Likewise.
31002 * manual/examples/argp-ex3.c: Likewise.
31003 * manual/examples/argp-ex4.c: Likewise.
31004 * manual/examples/atexit.c: Likewise.
31005 * manual/examples/db.c: Likewise.
31006 * manual/examples/dir.c: Likewise.
31007 * manual/examples/dir2.c: Likewise.
31008 * manual/examples/execinfo.c: Likewise.
31009 * manual/examples/filecli.c: Likewise.
31010 * manual/examples/filesrv.c: Likewise.
31011 * manual/examples/fmtmsgexpl.c: Likewise.
31012 * manual/examples/genpass.c: Likewise.
31013 * manual/examples/inetcli.c: Likewise.
31014 * manual/examples/inetsrv.c: Likewise.
31015 * manual/examples/isockad.c: Likewise.
31016 * manual/examples/longopt.c: Likewise.
31017 * manual/examples/memopen.c: Likewise.
31018 * manual/examples/memstrm.c: Likewise.
31019 * manual/examples/mkfsock.c: Likewise.
31020 * manual/examples/mkisock.c: Likewise.
31021 * manual/examples/mygetpass.c: Likewise.
31022 * manual/examples/pipe.c: Likewise.
31023 * manual/examples/popen.c: Likewise.
31024 * manual/examples/rprintf.c: Likewise.
31025 * manual/examples/search.c: Likewise.
31026 * manual/examples/select.c: Likewise.
31027 * manual/examples/setjmp.c: Likewise.
31028 * manual/examples/sigh1.c: Likewise.
31029 * manual/examples/sigusr.c: Likewise.
31030 * manual/examples/stpcpy.c: Likewise.
31031 * manual/examples/strdupa.c: Likewise.
31032 * manual/examples/strftim.c: Likewise.
31033 * manual/examples/strncat.c: Likewise.
31034 * manual/examples/subopt.c: Likewise.
31035 * manual/examples/swapcontext.c: Likewise.
31036 * manual/examples/termios.c: Likewise.
31037 * manual/examples/testopt.c: Likewise.
31038 * manual/examples/testpass.c: Likewise.
31039 * manual/examples/timeval_subtract.c: Likewise.
31040
01ae168d
RM
31041 [BZ #13792]
31042 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31043 function to ...
31044 * manual/timeval_subtract.c.texi: ... here, new file.
31045
49efa33d
DM
310462012-03-02 David S. Miller <davem@davemloft.net>
31047
31048 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31049
28afd92d
JM
310502012-03-02 Joseph Myers <joseph@codesourcery.com>
31051
804360ed
JM
31052 [BZ #3976]
31053 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31054 (__sin): Save and restore rounding mode and use round-to-nearest
31055 for all computations.
31056 (__cos): Save and restore rounding mode and use round-to-nearest
31057 for all computations.
31058 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31059 <fenv.h>.
31060 (tan): Save and restore rounding mode and use round-to-nearest for
31061 all computations.
31062 * math/libm-test.inc (cos_test_tonearest): New function.
31063 (cos_test_towardzero): Likewise.
31064 (cos_test_downward): Likewise.
31065 (cos_test_upward): Likewise.
31066 (sin_test_tonearest): Likewise.
31067 (sin_test_towardzero): Likewise.
31068 (sin_test_downward): Likewise.
31069 (sin_test_upward): Likewise.
31070 (tan_test_tonearest): Likewise.
31071 (tan_test_towardzero): Likewise.
31072 (tan_test_downward): Likewise.
31073 (tan_test_upward): Likewise.
31074 (main): Call the new functions.
31075 * sysdeps/i386/fpu/libm-test-ulps: Update.
31076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31077
a6d06d7b
JM
31078 [BZ #10135]
31079 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31080 small n, then large n, before computing and testing k+n.
31081 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31083 Likewise.
31084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31085 Likewise.
31086 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31087 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31092 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31093 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31094 * math/libm-test.inc (scalbn_test): Add more tests.
31095 (scalbln_test): Likewise.
31096
07e12bb3
JM
31097 * manual/filesys.texi (mode_t): Describe constraints on size and
31098 signedness, not exact equivalence to a particular type.
31099 (ino_t): Likewise.
31100 (ino64_t): Likewise.
31101 (dev_t): Likewise.
31102 (nlink_t): Likewise.
31103 (blkcnt_t): Likewise.
31104 (blkcnt64_t): Likewise.
31105 * manual/llio.texi (off_t): Likewise.
31106
28afd92d
JM
31107 [BZ #3976]
31108 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31109 (__ieee754_exp): Save and restore rounding mode and use
31110 round-to-nearest for all computations.
31111 * math/libm-test.inc (exp_test_tonearest): New function.
31112 (exp_test_towardzero): Likewise.
31113 (exp_test_downward): Likewise.
31114 (exp_test_upward): Likewise.
31115 (main): Call the new functions.
31116 * sysdeps/i386/fpu/libm-test-ulps: Update.
31117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31118
b1eeb65d
CD
311192012-03-01 Chris Demetriou <cgd@google.com>
31120
31121 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31122 have predictable order.
31123
53362a4b
DM
311242012-03-01 David S. Miller <davem@davemloft.net>
31125
3c969083
DM
31126 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31127
759707de
DM
31128 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31129 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31130 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31131 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31132
dfdb8ff2
DM
31133 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31134 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31135 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31137 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31138 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31139 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31140 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31141 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31142
ead89f96
DM
31143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31144
7f66bd07
DM
31145 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31146 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31148
53362a4b
DM
31149 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31150 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31151 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31152 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31153 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31156 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31157 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31158 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31159 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31160 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31162 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31163 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31165 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31166 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31167 * sysdeps/sparc/elf/configure: Regenerated.
31168
7b1902cb
JM
311692012-03-01 Joseph Myers <joseph@codesourcery.com>
31170
bec039bc
JM
31171 * configure.in (AS, LD): Require binutils 2.20 or later.
31172 * configure: Regenerated.
31173 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31174 as required minimum version.
31175 * INSTALL: Regenerated.
31176
7b1902cb
JM
31177 [BZ #2541]
31178 [BZ #4108]
31179 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31180 before squaring exponent.
31181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31182 bottom long double and 27 bits of top long double before squaring
31183 exponent.
31184 * math/libm-test.inc (erfc_test): Add more tests.
31185 * sysdeps/i386/fpu/libm-test-ulps: Update.
31186 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31188
f775c276
KT
311892012-03-01 Kai Tietz <ktietz@redhat.com>
31190
31191 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31192 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31193 containing bit-fields.
31194 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31195 * soft-fp/single.h (_FP_UNION_S): Likewise.
31196 * soft-fp/double.h (_FP_UNION_D): Likewise.
31197
5b8a4d4a
JM
311982012-02-29 Joseph Myers <joseph@codesourcery.com>
31199
0bab47b6
JM
31200 [BZ #13786]
31201 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31202 not include ../strcmp.S.
31203 [USE_AS_STRNCASECMP_L]: Likewise.
31204 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31205 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31206 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31207 (__strncasecmp_l_ia32): Define as alias to
31208 __strncasecmp_l_nonascii.
31209
0fcad3e2
JM
31210 [BZ #5794]
31211 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31212 * sysdeps/i386/fpu/libm-test-ulps: Update.
31213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31214
5b8a4d4a
JM
31215 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31217
8fdceb2e
JL
312182012-02-29 Jeff Law <law@redhat.com>
31219
31220 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31221 out of bounds read.
31222
1f393a11
MP
312232012-02-29 Marek Polacek <polacek@redhat.com>
31224
31225 [BZ #13706]
31226 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31227 * elf/Makefile: Add rules to run tst-unused-dep.out.
31228
8847f037
DM
312292012-02-28 David S. Miller <davem@davemloft.net>
31230
31231 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31232 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31235 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31236 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31237
169d7f11
JM
312382012-02-29 Joseph Myers <joseph@codesourcery.com>
31239
31240 * math/libm-test.inc (llround_test): Move one test from
31241 lround_test. Use TEST_f_L in moved test.
31242 (lround_test): Move misplaced test to llround_test. Add testcase
31243 from bug 2561.
31244
39adf059
UD
312452012-02-28 Ulrich Drepper <drepper@gmail.com>
31246
31247 * sysdeps/x86_64/fpu/e_expf.S: New file.
31248 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31249
71b5d1c5
SB
312502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31251
31252 [BZ #13637]
31253 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31254 of remain_len that may cause incomplete multi-byte character and
31255 false match.
31256 * posix/bug-regex33.c: New file.
31257 * posix/Makefile (tests): Add bug-regex33.
31258
1f77f049
JM
312592012-02-28 Joseph Myers <joseph@codesourcery.com>
31260
31261 * manual/macros.texi: New file.
31262 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31263 * manual/libc.texinfo: Include macros.texi.
31264 * manual/creatute.texi: Likewise.
31265 * manual/install.texi: Likewise.
31266 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31267 @glibcadj{} in references to the GNU C Library.
31268 * manual/charset.texi: Likewise.
31269 * manual/conf.texi: Likewise.
31270 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31271 when not using those macros.
31272 * manual/creature.texi: Likewise.
31273 * manual/crypt.texi: Likewise.
31274 * manual/errno.texi: Likewise.
31275 * manual/filesys.texi: Likewise.
31276 * manual/header.texi: Likewise.
31277 * manual/install.texi: Likewise.
31278 * manual/intro.texi: Likewise.
31279 * manual/io.texi: Likewise.
31280 * manual/job.texi: Likewise.
31281 * manual/lang.texi: Likewise.
31282 * manual/libc.texiinfo: Likewise.
31283 * manual/llio.texi: Likewise.
31284 * manual/locale.texi: Likewise.
31285 * manual/maint.texi: Likewise.
31286 * manual/math.texi: Likewise.
31287 * manual/memory.texi: Likewise.
31288 * manual/message.texi: Likewise.
31289 * manual/nss.texi: Likewise.
31290 * manual/pattern.texi: Likewise.
31291 * manual/process.texi: Likewise.
31292 * manual/resource.texi: Likewise.
31293 * manual/search.texi: Likewise.
31294 * manual/setjmp.texi: Likewise.
31295 * manual/signal.texi: Likewise.
31296 * manual/socket.texi: Likewise.
31297 * manual/startup.texi: Likewise.
31298 * manual/stdio.texi: Likewise.
31299 * manual/string.texi: Likewise.
31300 * manual/sysinfo.texi: Likewise.
31301 * manual/syslog.texi: Likewise.
31302 * manual/terminal.texi: Likewise.
31303 * manual/time.texi: Likewise.
31304 * manual/users.texi: Likewise.
31305 * INSTALL: Regenerated.
31306 * NOTES: Regenerated.
d40c5d54 31307 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31308
450bf206
AS
313092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31310
31311 * include/dirent.h: Include <dirstream.h> before
31312 <dirent/dirent.h>.
31313
741a235b
DM
313142012-02-28 David S. Miller <davem@davemloft.net>
31315
31316 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31317 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31318 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31319 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31320
d6b5aa58
DM
313212012-02-27 David S. Miller <davem@davemloft.net>
31322
1aff59a3
DM
31323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31325 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31326 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31327
d6b5aa58
DM
31328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31329 frame pointer instead of stack pointer relative arg slot.
31330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31333
433f48bf
CD
313342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31335
31336 [BZ #3992]
31337 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31338
d674b76d
DM
313392012-02-27 David S. Miller <davem@davemloft.net>
31340
31341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31345 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31346 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31347 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31348 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31349
0e7727f7
JM
313502012-02-27 Joseph Myers <joseph@codesourcery.com>
31351
31352 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31353 later. Allow versions 5-9.
43be4ca2 31354 * configure: Regenerated.
0e7727f7
JM
31355 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31356 required minimum version and 4.6 as recommended version. Do not
31357 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31358 * INSTALL: Regenerated.
0e7727f7 31359
a78bc654
DM
313602012-02-27 David S. Miller <davem@davemloft.net>
31361
428d5830
DM
31362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31366 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31367 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31368 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31369 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31370
a78bc654
DM
31371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31372 manipulate bits before adding and subtracting TWO112[sx].
31373 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31374
4579f81c
RM
313752012-02-27 Roland McGrath <roland@hack.frob.com>
31376
36c8acb4
RM
31377 [BZ #13775]
31378 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31379 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31380 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31381 being in POSIX, because they are in 1003.1-2008.
31382
84ad622b
RM
31383 * rt/tst-aio.c: Include <fcntl.h>.
31384 * rt/tst-aio7.c: Likewise.
31385 * rt/tst-aio64.c: Likewise.
31386
4579f81c
RM
31387 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31388
abd923db
JM
313892012-02-27 Joseph Myers <joseph@codesourcery.com>
31390
31391 * manual/install.texi (--with-headers): Describe headers as
31392 interface headers, not private headers.
31393 (Specific advice for GNU/Linux systems): Describe use of headers
31394 from "make headers_install", not private headers from older
31395 kernels.
43be4ca2 31396 * INSTALL: Regenerated.
abd923db
JM
31397 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31398 Change to 2.6.19.
31399 * sysdeps/unix/sysv/linux/configure: Regenerated.
31400
6664049b
JM
31401 * manual/llio.texi (fclean): Remove documentation.
31402
bb8b6697
JM
31403 * manual/Makefile (libc-texi-generated): New variable. Include
31404 version.texi.
31405 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31406 $(libc-texi-generated), not duplicated list of files.
31407 (version.texi, stamp-version): New rules.
31408 (realclean): Remove $(libc-texi-generated), not individual files
31409 from that list. Do not remove dir-add.texinfo.
31410 * manual/libc.texinfo: Comment out uses of edition numbers and
31411 references to printed manual. Remove last-updated dates.
31412 (EDITION): Comment out.
31413 (ISBN): Likewise.
31414 (VERSION, UPDATED): Remove.
31415 (version.texi): Include.
31416
12e5c3b9
AS
314172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31418
31419 * sysdeps/posix/spawni.c: Include <signal.h>.
31420 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31421 * sysdeps/pthread/aio_fsync.c: Likewise.
31422
4efeffc1 314232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31424
ba63ba08
UD
31425 * conform/Makefile (tests): Run only when not cross-compiling and
31426 when fast-check is not defined.
31427
d94a4670
UD
31428 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31429 * conform/data/limits.h-data: Fixes for POSIX2008.
31430 * conform/run-conformtest.sh: Run all tests.
31431 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31432 headers.
31433 * include/bits/dlfcn.h: Likewise.
31434 * include/langinfo.h: Likewise.
31435 * include/monetary.h: Likewise.
31436 * include/sys/poll.h: Likewise.
31437
31438 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31439 for __USE_GNU.
31440 * posix/spawn.h: Define __need_sigset_t.
31441 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31442 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31443 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31444 to get sigevent_t only.
31445 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31446 only for __USE_GNU.
31447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31448 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31449 process_vm_writev only for __USE_GNU.
31450 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31451
31452 * conform/Makefile: For now ignore errors from run-conformtest.
31453 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31454 POSIX to avoid namespace pollution. Don't prepend headers.
31455 * conform/data/aio.h-data: Fixes for POSIX testing.
31456 * conform/data/fcntl.h-data: Likewise.
31457 * conform/data/glob.h-data: Likewise.
31458 * conform/data/grp.h-data: Likewise.
31459 * conform/data/pthread.h-data: Likewise.
31460 * conform/data/pwd.h-data: Likewise.
31461 * conform/data/signal.h-data: Likewise.
31462 * conform/data/spawn.h-data: Likewise.
31463 * conform/data/stdio.h-data: Likewise.
31464 * conform/data/stdlib.h-data: Likewise.
31465 * conform/data/stropts.h-data: Likewise.
31466 * conform/data/sys/mman.h-data: Likewise.
31467 * conform/data/sys/stat.h-data: Likewise.
31468 * conform/data/sys/types.h-data: Likewise.
31469 * conform/data/sys/wait.h-data: Likewise.
31470 * conform/data/time.h-data: Likewise.
31471 * conform/data/unistd.h-data: Likewise.
31472 * conform/data/utime.h-data: Likewise.
31473
31474 * io/sys/stat.h: fchmod was always in POSIX.
31475 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31476 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31477 * rt/aio.h: Define __need_timespec before including <time.h>.
31478 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31479 struct. Add forward declaration of pthread_attr_t and use it in
31480 sigevent.
31481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31483 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31484 always remove CLK_TCK definition.
31485
c20105c3
AS
314862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31487
31488 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31489
7a270350
UD
314902012-02-25 Ulrich Drepper <drepper@gmail.com>
31491
31341567
UD
31492 * conform/run-conformtest.sh: New file.
31493 * conform/Makefile: Run run-conformtest for tests.
31494 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31495 support.
31496
31497 * conform/data/uchar.h-data: New file.
31498 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31499 * conform/data/arpa/inet.h-data: Likewise.
31500 * conform/data/assert.h-data: Likewise.
31501 * conform/data/complex.h-data: Likewise.
31502 * conform/data/cpio.h-data: Likewise.
31503 * conform/data/ctype.h-data: Likewise.
31504 * conform/data/dirent.h-data: Likewise.
31505 * conform/data/dlfcn.h-data: Likewise.
31506 * conform/data/errno.h-data: Likewise.
31507 * conform/data/fcntl.h-data: Likewise.
31508 * conform/data/float.h-data: Likewise.
31509 * conform/data/fmtmsg.h-data: Likewise.
31510 * conform/data/fnmatch.h-data: Likewise.
31511 * conform/data/ftw.h-data: Likewise.
31512 * conform/data/glob.h-data: Likewise.
31513 * conform/data/grp.h-data: Likewise.
31514 * conform/data/iconv.h-data: Likewise.
31515 * conform/data/inttypes.h-data: Likewise.
31516 * conform/data/langinfo.h-data: Likewise.
31517 * conform/data/libgen.h-data: Likewise.
31518 * conform/data/limits.h-data: Likewise.
31519 * conform/data/locale.h-data: Likewise.
31520 * conform/data/math.h-data: Likewise.
31521 * conform/data/monetary.h-data: Likewise.
31522 * conform/data/mqueue.h-data: Likewise.
31523 * conform/data/ndbm.h-data: Likewise.
31524 * conform/data/net/if.h-data: Likewise.
31525 * conform/data/netdb.h-data: Likewise.
31526 * conform/data/netinet/in.h-data: Likewise.
31527 * conform/data/nl_types.h-data: Likewise.
31528 * conform/data/poll.h-data: Likewise.
31529 * conform/data/pthread.h-data: Likewise.
31530 * conform/data/pwd.h-data: Likewise.
31531 * conform/data/regex.h-data: Likewise.
31532 * conform/data/sched.h-data: Likewise.
31533 * conform/data/search.h-data: Likewise.
31534 * conform/data/semaphore.h-data: Likewise.
31535 * conform/data/setjmp.h-data: Likewise.
31536 * conform/data/signal.h-data: Likewise.
31537 * conform/data/spawn.h-data: Likewise.
31538 * conform/data/stdarg.h-data: Likewise.
31539 * conform/data/stdio.h-data: Likewise.
31540 * conform/data/stdlib.h-data: Likewise.
31541 * conform/data/string.h-data: Likewise.
31542 * conform/data/strings.h-data: Likewise.
31543 * conform/data/stropts.h-data: Likewise.
31544 * conform/data/sys/ipc.h-data: Likewise.
31545 * conform/data/sys/mman.h-data: Likewise.
31546 * conform/data/sys/msg.h-data: Likewise.
31547 * conform/data/sys/resource.h-data: Likewise.
31548 * conform/data/sys/select.h-data: Likewise.
31549 * conform/data/sys/sem.h-data: Likewise.
31550 * conform/data/sys/shm.h-data: Likewise.
31551 * conform/data/sys/socket.h-data: Likewise.
31552 * conform/data/sys/stat.h-data: Likewise.
31553 * conform/data/sys/statvfs.h-data: Likewise.
31554 * conform/data/sys/time.h-data: Likewise.
31555 * conform/data/sys/timeb.h-data: Likewise.
31556 * conform/data/sys/times.h-data: Likewise.
31557 * conform/data/sys/types.h-data: Likewise.
31558 * conform/data/sys/uio.h-data: Likewise.
31559 * conform/data/sys/un.h-data: Likewise.
31560 * conform/data/sys/utsname.h-data: Likewise.
31561 * conform/data/sys/wait.h-data: Likewise.
31562 * conform/data/syslog.h-data: Likewise.
31563 * conform/data/tar.h-data: Likewise.
31564 * conform/data/termios.h-data: Likewise.
31565 * conform/data/utime.h-data: Likewise.
31566 * conform/data/utmpx.h-data: Likewise.
31567 * conform/data/varargs.h-data: Likewise.
31568 * conform/data/wchar.h-data: Likewise.
31569 * conform/data/wctype.h-data: Likewise.
31570 * conform/data/wordexp.h-data: Likewise.
31571
31572 * include/stropts.h: New file.
31573 * include/uchar.h: New file.
31574 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31575 * include/assert.h: Likewise.
31576 * include/ctype.h: Likewise.
31577 * include/dirent.h: Likewise.
31578 * include/dlfcn.h: Likewise.
31579 * include/fcntl.h: Likewise.
31580 * include/fnmatch.h: Likewise.
31581 * include/glob.h: Likewise.
31582 * include/grp.h: Likewise.
31583 * include/libio.h: Likewise.
31584 * include/locale.h: Likewise.
31585 * include/math.h: Likewise.
31586 * include/net/if.h: Likewise.
31587 * include/netdb.h: Likewise.
31588 * include/netinet/in.h: Likewise.
31589 * include/pthread.h: Likewise.
31590 * include/pwd.h: Likewise.
31591 * include/regex.h: Likewise.
31592 * include/sched.h: Likewise.
31593 * include/search.h: Likewise.
31594 * include/setjmp.h: Likewise.
31595 * include/signal.h: Likewise.
31596 * include/stdio.h: Likewise.
31597 * include/stdlib.h: Likewise.
31598 * include/string.h: Likewise.
31599 * include/sys/cdefs.h: Likewise.
31600 * include/sys/mman.h: Likewise.
31601 * include/sys/msg.h: Likewise.
31602 * include/sys/resource.h: Likewise.
31603 * include/sys/select.h: Likewise.
31604 * include/sys/socket.h: Likewise.
31605 * include/sys/stat.h: Likewise.
31606 * include/sys/statvfs.h: Likewise.
31607 * include/sys/time.h: Likewise.
31608 * include/sys/times.h: Likewise.
31609 * include/sys/uio.h: Likewise.
31610 * include/sys/utsname.h: Likewise.
31611 * include/sys/wait.h: Likewise.
31612 * include/termios.h: Likewise.
31613 * include/time.h: Likewise.
31614 * include/ulimit.h: Likewise.
31615 * include/unistd.h: Likewise.
31616 * include/utime.h: Likewise.
31617 * include/wchar.h: Likewise.
31618 * include/wctype.h: Likewise.
31619 * include/wordexp.h: Likewise.
31620
31621 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31622
7a270350
UD
31623 * time/time.h: TIME_UTC must be a macro.
31624 Make timespec_get available for ISO C11 only as well.
31625
7724defc
UD
316262012-02-24 Ulrich Drepper <drepper@gmail.com>
31627
31628 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31629 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31630
6b1d1d46
JM
316312012-02-24 Joseph Myers <joseph@codesourcery.com>
31632
31633 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31634
0f8bbd69
JM
316352012-02-24 Joseph Myers <joseph@codesourcery.com>
31636
31637 * manual/texinfo.tex: Update to version 2012-01-19.16.
31638
66ab80bc
JM
316392012-02-24 Joseph Myers <joseph@codesourcery.com>
31640
31641 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31642
74981cc5
RM
316432012-02-24 Roland McGrath <roland@hack.frob.com>
31644
ee968201
RM
31645 [BZ #13738]
31646 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31647 * manual/fdl-1.3.texi: New file.
31648 * manual/fdl-1.1.texi: File removed.
31649
74981cc5
RM
31650 [BZ #13738]
31651 * manual/libc.texinfo (FDL_VERSION): New @set.
31652 Use it for mention of FDL in cover text.
31653 (Documentation License): Use it in @include file name.
31654
7bb764bc
JM
316552012-02-22 Joseph Myers <joseph@codesourcery.com>
31656 Roland McGrath <roland@hack.frob.com>
31657
31658 [BZ #5461]
31659 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31660 not LONG_LONG_MAX and LONG_LONG_MIN.
31661 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31662 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31663 name.
31664 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31665
6cbeae47
JM
316662012-02-22 Joseph Myers <joseph@codesourcery.com>
31667
31668 [BZ #2547]
31669 [BZ #11365]
31670 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31671 manipulate bits before adding and subtracting TWO23[sx].
31672 * math/libm-test.inc (nearbyint_test): Add more tests.
31673
fe45ce09
JM
316742012-02-22 Joseph Myers <joseph@codesourcery.com>
31675
31676 [BZ #2548]
31677 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31678 bits before adding and subtracting TWO23[sx].
31679 * math/libm-test.inc (rint_test): Add more tests.
31680 (rint_test_tonearest): Likewise.
31681 (rint_test_towardzero): Likewise.
31682 (rint_test_downward): Likewise.
31683 (rint_test_upward: Likewise.
31684
ff3b3d82
JM
316852012-02-22 Joseph Myers <joseph@codesourcery.com>
31686
31687 [BZ #10110]
31688 * include/stdc-predef.h: New file. Extracted from features.h.
31689 * include/features.h: Include stdc-predef.h.
31690 * Makefile (headers): Add stdc-predef.h.
31691 * CONFORMANCE (Compiler limitations): Update.
31692
ef0aab35
JM
316932012-02-22 Joseph Myers <joseph@codesourcery.com>
31694
31695 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31696
58639409
DM
316972012-02-21 David S. Miller <davem@davemloft.net>
31698
31699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31700 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31701
c0e70b25
DM
317022012-02-20 David S. Miller <davem@davemloft.net>
31703
31704 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31705 using a normal save/restore sequence, rather than allocating a
31706 dummy stack frame just to store a frame pointer and restore.
31707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31708
fb06851d
JM
317092012-02-21 Joseph Myers <joseph@codesourcery.com>
31710
31711 * manual/install.texi: Fix stray word in line-wrapped comment.
31712
7a8b71c3
DM
317132012-02-20 David S. Miller <davem@davemloft.net>
31714
d510c123
DM
31715 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31716 both binutils and gcc support GOTDATA.
31717
0722d7c2
DM
31718 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31719 "rd %pc" in the PIC register setup sequences.
31720
3d2b3019
DM
31721 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31722 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31723 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31724 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31725 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31728 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31730 (SYSCALL_ERROR_HANDLER): Likewise.
31731 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31734 (SYSCALL_ERROR_HANDLER): Likewise.
31735
c80098a9
DM
31736 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31737 (HAVE_GCC_GOTDATA): New.
31738 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31739 relocation support in both binutils and gcc.
31740 * sysdeps/sparc/elf/configure: Regenerate.
31741
3a2545a0
DM
31742 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31743 * sysdeps/sparc/sparc32/elf/configure: Delete.
31744 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31745 * sysdeps/sparc/sparc64/elf/configure: Delete.
31746 * sysdeps/sparc/elf/configure.in: New file.
31747 * sysdeps/sparc/elf/configure: Generate.
31748
7a8b71c3
DM
31749 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31750 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31751 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31752 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31753 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31754
f1e86fca
JM
317552012-02-21 Joseph Myers <joseph@codesourcery.com>
31756
31757 * manual/install.texi: Do not mention specific glibc version
31758 numbers.
31759 * manual/libc.texinfo (VERSION, UPDATED): Update.
31760 (@copying): Use @copyright{} and range of years.
31761
0e7dfaef
JM
317622012-02-21 Joseph Myers <joseph@codesourcery.com>
31763
31764 [BZ #13695]
31765 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31766 [crti.S not in sysdirs] (generated): Do not append.
31767 [crti.S not in sysdirs] (omit-deps): Likewise.
31768 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31769 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31770 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31771 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31772 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31773 Likewise.
31774 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31775 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31776 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31777 * csu/defs.awk: Remove file.
31778 * sysdeps/generic/initfini.c: Likewise.
31779 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31780 variable.
31781 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31782 Likewise.
31783
599af3ca
JM
317842012-02-20 Joseph Myers <joseph@codesourcery.com>
31785
31786 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31787 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31788 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31789 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31791 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31792 <bits/epoll.h>.
31793 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31794 (__EPOLL_PACKED): Define to empty if not defined by
31795 <bits/epoll.h>.
31796 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31798 bits/epoll.h.
31799
0e499750
JM
318002012-02-20 Joseph Myers <joseph@codesourcery.com>
31801
31802 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31803 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31804 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31805 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31806 <bits/timerfd.h>.
31807 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31809 bits/timerfd.h.
31810
5ad91f6e
JM
318112012-02-20 Joseph Myers <joseph@codesourcery.com>
31812
31813 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31814 in C locale.
31815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31816 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31819
06b99b02
AJ
318202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31821
31822 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31824
7638c0fd
AS
318252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31826
31827 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31828 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31829 defined.
31830 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31831 Likewise.
31832 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31833 entry for 2.16.
31834
92221550
AJ
318352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31836
31837 * math/w_acos.c: Use non-signaling floating-point comparisons.
31838 * math/w_acosf.c: Likewise.
31839 * math/w_acosh.c: Likewise.
31840 * math/w_acoshf.c: Likewise.
31841 * math/w_acoshl.c: Likewise.
31842 * math/w_acosl.c: Likewise.
31843 * math/w_asin.c: Likewise.
31844 * math/w_asinf.c: Likewise.
31845 * math/w_asinl.c: Likewise.
31846 * math/w_atanh.c: Likewise.
31847 * math/w_atanhf.c: Likewise.
31848 * math/w_atanhl.c: Likewise.
31849 * math/w_exp2.c: Likewise.
31850 * math/w_exp2f.c: Likewise.
31851 * math/w_exp2l.c: Likewise.
31852 * math/w_j0.c: Likewise.
31853 * math/w_j0f.c: Likewise.
31854 * math/w_j0l.c: Likewise.
31855 * math/w_j1.c: Likewise.
31856 * math/w_j1f.c: Likewise.
31857 * math/w_j1l.c: Likewise.
31858 * math/w_jn.c: Likewise.
31859 * math/w_jnf.c: Likewise.
31860 * math/w_log.c: Likewise.
31861 * math/w_log10.c: Likewise.
31862 * math/w_log10f.c: Likewise.
31863 * math/w_log10l.c: Likewise.
31864 * math/w_log2.c: Likewise.
31865 * math/w_log2f.c: Likewise.
31866 * math/w_log2l.c: Likewise.
31867 * math/w_logf.c: Likewise.
31868 * math/w_logl.c: Likewise.
31869 * math/w_sqrt.c: Likewise.
31870 * math/w_sqrtf.c: Likewise.
31871 * math/w_sqrtl.c: Likewise.
31872 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31873 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31874 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31875 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31876 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31877
ebaf36eb
JM
318782012-02-19 Joseph Myers <joseph@codesourcery.com>
31879
31880 [BZ #9739]
31881 * manual/string.texi (strnlen): Use correct parameter name in
31882 equivalent expression.
31883
71c254a6
JM
318842012-02-19 Joseph Myers <joseph@codesourcery.com>
31885
31886 [BZ #11174]
31887 * manual/users.texi (seteuid): Consistently use neweuid for
31888 argument name.
31889
16d2c631
JM
318902012-02-19 Joseph Myers <joseph@codesourcery.com>
31891
31892 [BZ #13704]
31893 * manual/nss.texi (Services in the NSS configuration): Correct
31894 list of services in example configuration file.
31895
cd837b09
NB
318962012-02-19 Nick Bowler <nbowler@draconx.ca>
31897
31898 [BZ #11322]
31899 * manual/arith.texi: Remove statements about negative zero
31900 behaving identically to zero.
31901
02c4bbad
JM
319022012-02-18 Joseph Myers <joseph@codesourcery.com>
31903
31904 [BZ #5993]
31905 * manual/install.texi: Do not document upgrading from libc5.
31906
366842e7
JM
319072012-02-18 Joseph Myers <joseph@codesourcery.com>
31908
31909 [BZ #4596]
31910 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31911
dd54084d
DM
319122012-02-18 David S. Miller <davem@davemloft.net>
31913
31914 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31915 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31916 %o7 across the call.
31917 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31918 instead.
31919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31920 SETUP_PIC_REG_LEAF.
31921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31922 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31923 * sysdeps/sparc/crtn.S: Likewise.
31924
2bcc53a3
UD
319252012-02-17 Ulrich Drepper <drepper@gmail.com>
31926
31927 * aout/Makefile: Remove.
31928
09c093b5
RK
319292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31930
31931 [BZ #13058]
31932 * manual/examples/argp-ex1.c (main): Format definition in GNU
31933 style.
31934 * manual/examples/argp-ex2.c (main): Likewise.
31935 * manual/examples/argp-ex3.c (main): Likewise.
31936 * manual/examples/argp-ex4.c (main): Likewise.
31937 * manual/examples/longopt.c (main): Use new-style prototype
31938 definition.
31939 * manual/examples/strncat.c (main): Specify return type and use
31940 (void) for arguments.
31941 * manual/examples/subopt.c (main): Use char **argv argument.
31942
2ee633a2
JM
319432012-02-17 Joseph Myers <joseph@codesourcery.com>
31944
31945 [BZ #5077]
31946 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31947 rounding modes.
31948
0520adde
FB
319492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31950
31951 [BZ #6907]
31952 * manual/string.texi (strchr): Change when strchrnul is
31953 recommended.
31954
3f4081cd
DGM
319552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31956
31957 [BZ #174]
31958 * manual/locale.texi (setlocale): Document LOCPATH.
31959
d1b10e78
JM
319602012-02-17 Joseph Myers <joseph@codesourcery.com>
31961
31962 [BZ #10210]
31963 * manual/process.texi (execle): Move @dots{} before last argument.
31964
79c6869c
PB
319652012-02-17 Paul Bolle <pebolle@tiscali.nl>
31966
31967 [BZ #12047]
31968 * manual/charset.texi (Generic Charset Conversion): Fix typo
31969 (LC_TYPE -> LC_CTYPE).
31970
cc6e48bc
NB
319712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31972
31973 [BZ #5805]
31974 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31975 (scalbnf): Likewise.
31976 (scalbnl): Likewise.
31977 (scalbln): Likewise.
31978 (scalblnf): Likewise.
31979 (scalblnl): Likewise.
31980 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31981 (vwarnx): Likewise.
31982 (verr): Likewise.
31983 (verrx): Likewise.
31984 * manual/filesys.texi (telldir): Use braces around return type.
31985 * manual/llio.texi (mmap): Add space after comma.
31986 (mmap64): Likewise.
31987 * manual/math.texi (jn): Use @var{} on parameter names.
31988 (jnf): Likewise.
31989 (jnl): Likewise.
31990 (yn): Likewise.
31991 (ynf): Likewise.
31992 (ynl): Likewise.
31993 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31994 line.
31995 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31996 "...".
31997 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31998 (sched_get_priority_max): Likewise.
31999 * manual/signal.texi (sigvec): Add space after comma.
32000 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32001 names.
32002 (if_indextoname): Likewise.
32003 (if_freenameindex): Likewise.
32004 (sendto): Use ',' instead of '.' in prototype.
32005 * manual/startup.texi (syscall): Use @dots{} instead of literal
32006 "...".
32007 * manual/stdio.texi (__fpending): Separate initial words of
32008 paragraph from @deftypefun line.
32009 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32010 "...".
32011 (vsyslog): Use @var{} on parameter names.
32012 * manual/terminal.texi (stty): Use @var{} on parameter names.
32013 * manual/users.texi (getutmp): Use @var{} on parameter names.
32014 (getutmpx): Likewise.
32015
5b23062f
JM
320162012-02-17 Joseph Myers <joseph@codesourcery.com>
32017
32018 [BZ #6884]
32019 * manual/stdio.texi (fopen): Fix typos in description of
32020 ",ccs=STRING".
32021
8dee4833
AJ
320222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32023
32024 [BZ #4026]
32025 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32026 get clock_id definition.
32027
9078ce93
TS
320282012-02-17 Thomas Schwinge <thomas@schwinge.name>
32029
32030 [BZ #4822]
32031 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32032 (madvise): Cast every argument to void on its own.
32033
3835c55f
JM
320342012-02-17 Joseph Myers <joseph@codesourcery.com>
32035
32036 [BZ #9902]
32037 * manual/startup.texi (Exit Status): Fix typo.
32038
35c47e37
JM
320392012-02-17 Joseph Myers <joseph@codesourcery.com>
32040
32041 [BZ #10140]
32042 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32043 * manual/examples/argp-ex2.c: Likewise.
32044 * manual/examples/argp-ex3.c: Likewise.
32045
e3b69ca7
RH
320462012-02-16 Richard Henderson <rth@redhat.com>
32047
32048 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32049 * sysdeps/s390/s390-32/initfini.c: Remove.
32050 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32051 * sysdeps/s390/s390-64/initfini.c: Remove.
32052
df83af67
KK
320532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32054
32055 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32056 compiler output for sysdeps/generic/initfini.c.
32057 * sysdeps/sh/elf/initfini.c: Remove file.
32058
f63f3380
DM
320592012-02-16 David S. Miller <davem@davemloft.net>
32060
fb59b3a4
DM
32061 [BZ #11494]
32062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32063
f63f3380
DM
32064 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32065 * sysdeps/sparc/crti.S: New file.
32066 * sysdeps/sparc/crtn.S: New file.
32067 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32068 * sysdeps/sparc/sparc64/Makefile: Likewise.
32069
df6a4a4a
MF
320702012-02-15 Mike Frysinger <vapier@gentoo.org>
32071
6dd8f3dc 32072 [BZ #3335]
df6a4a4a
MF
32073 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32074
1cac7236
RM
320752012-02-15 Roland McGrath <roland@hack.frob.com>
32076
d2c736f8
RM
32077 [BZ #4822]
32078 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32079
1cac7236
RM
32080 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32081 (write, read, close): Likewise.
32082 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32083
8e475601
JM
320842012-02-15 Joseph Myers <joseph@codesourcery.com>
32085
32086 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32087 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32088 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32089 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32090 <bits/signalfd.h>.
32091 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32093 bits/signalfd.h.
32094
ed656b40
MP
320952012-02-14 Marek Polacek <polacek@redhat.com>
32096
32097 * sysdeps/x86_64/crti.S: New file.
32098 * sysdeps/x86_64/crtn.S: New file.
32099 * sysdeps/x86_64/elf/initfini.c: Remove file.
32100
2a979d3a
JM
321012012-02-13 Joseph Myers <joseph@codesourcery.com>
32102
32103 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32104 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32105 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32106 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32107 <bits/inotify.h>.
32108 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32110 bits/inotify.h.
32111
2a418ac3
JM
321122012-02-13 Joseph Myers <joseph@codesourcery.com>
32113
32114 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32115 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32116 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32117 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32118 <bits/eventfd.h>.
32119 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32121 bits/eventfd.h.
32122
fb779be7
TS
321232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32124
e19e83c5
RM
32125 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32126 __feraiseexcept instead of feraiseexcept.
7c35ffed 32127
fb779be7
TS
32128 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32129 nanosleep invocations.
32130 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32131 strings, and add error checking for a nanosleep invocations.
32132
59ba27a6
PE
321332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32134
32135 Replace FSF snail mail address with URLs, as per GNU coding standards.
32136 Most of the snail mail addresses were wrong anyway, and omitting
32137 them makes the source code easier to maintain. Almost all of the
32138 changes are to license notices and to locale LC_IDENTIFICATION
32139 addresses, except for this one:
32140 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32141 not its snail mail address.
32142
57b957eb
RH
321432012-02-09 Richard Henderson <rth@twiddle.net>
32144
af850b1c
RH
32145 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32146 of kernel-features.h.
32147
57b957eb
RH
32148 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32149
6b73181a
MP
321502012-02-08 Marek Polacek <polacek@redhat.com>
32151
32152 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32153 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32154 * sysdeps/gnu/_G_config.h: Likewise.
32155 * sysdeps/generic/_G_config.h: Likewise.
32156
26ecc33a
AS
321572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32158
6c6dbc63
AS
32159 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32160 tests.
32161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32162
e216c012
AS
32163 * sysdeps/powerpc/powerpc32/crti.S: New file.
32164 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32165 * sysdeps/powerpc/powerpc64/crti.S: New file.
32166 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32167
26ecc33a
AS
32168 * Makeconfig (have-initfini): Don't set.
32169 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32170 * configure.in (nopic_initfini): Don't substitute.
32171 * config.h.in (HAVE_INITFINI): Don't #undef.
32172 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32173 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32174
3add8e13
JM
321752012-02-08 Joseph Myers <joseph@codesourcery.com>
32176
32177 Support crti.S and crtn.S provided directly by architectures.
32178 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32179 [crti.S in sysdirs] (omit-deps): Likewise.
32180 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32181 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32182 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32183 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32184 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32185 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32186 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32187 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32188 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32189 compiler output for sysdeps/generic/initfini.c.
32190 * sysdeps/i386/elf/Makefile: Remove file.
32191 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32192
a22f12b4
MP
321932012-02-07 Marek Polacek <polacek@redhat.com>
32194
32195 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32196 * sysdeps/gnu/_G_config.h: Likewise.
32197 * sysdeps/mach/hurd/_G_config.h: Likewise.
32198
148cf100
MP
321992012-02-07 Marek Polacek <polacek@redhat.com>
32200
32201 * math/Makefile (tests): Add tst-CMPLX2.
32202 * math/tst-CMPLX2.c: New file.
32203
cfdc0dd7
AS
322042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32205
84ba42c4
AS
32206 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32207
cfdc0dd7
AS
32208 * math/libm-test.inc (jn_test): Add missing L suffix.
32209
622c86f4
MP
322102012-02-06 Marek Polacek <polacek@redhat.com>
32211
32212 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32213 * sysdeps/i386/fpu/e_powf.S: Likewise.
32214 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32215 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32216 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32217 * sysdeps/i386/fpu/e_pow.S: Likewise.
32218 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32219 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32220 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32221 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32222 * sysdeps/i386/fpu/e_log2.S: Likewise.
32223 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32224 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32225 * sysdeps/i386/fpu/e_powl.S: Likewise.
32226 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32227 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32228 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32229 * sysdeps/i386/fpu/e_logl.S: Likewise.
32230 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32231 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32232 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32233 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32234 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32235 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32236 * sysdeps/i386/fpu/e_log.S: Likewise.
32237 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32239 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32240 * sysdeps/i386/fpu/e_logf.S: Likewise.
32241 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32243 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32244 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32245 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32246 * sysdeps/i386/fpu/e_log10.S: Likewise.
32247 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32248 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32249 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32250 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32251 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32252 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32253 * sysdeps/i386/asm-syntax.h: Likewise.
32254 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32255 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32256 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32257 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32258 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32259 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32260 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32261 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32262 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32263 * sysdeps/powerpc/sysdep.h: Likewise.
32264 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32265 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32266
d4a54ac6
JM
322672012-02-06 Joseph Myers <joseph@codesourcery.com>
32268
32269 [BZ #411]
32270 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32271
314054ea
JM
322722012-02-06 Joseph Myers <joseph@codesourcery.com>
32273
32274 * sysdeps/i386/sysdep.h: Include <features.h>.
32275 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32276 version.
32277
d8e0ca50
JM
322782012-02-05 Joseph Myers <joseph@codesourcery.com>
32279
32280 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32281 Define.
32282 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32283 LOAD_PIC_REG_STR.
32284
b1da7dd9
JM
322852012-02-03 Joseph Myers <joseph@codesourcery.com>
32286
32287 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32288 (SETUP_PIC_REG): Use GET_PC_THUNK.
32289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32290 macro.
32291
9a1d9254
JM
322922012-02-03 Joseph Myers <joseph@codesourcery.com>
32293
32294 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32295 for non-PIC compilation.
32296 (SETUP_PIC_REG): Add .p2align directive.
32297 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32298 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32301 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32303 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32311 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32328 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32329 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32330 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32331 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32332 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32334 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32335 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32336 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32337 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32338
65dc3b75
JM
323392012-02-03 Joseph Myers <joseph@codesourcery.com>
32340
32341 * math/tst-CMPLX.c: Include <stdio.h>.
32342
d55bf177
JM
323432012-01-31 Joseph Myers <joseph@codesourcery.com>
32344
32345 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32346 float.
32347 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32348 * sysdeps/sparc/bits/mathdef.h: Likewise.
32349
69db4f8f
MP
323502012-01-31 Marek Polacek <polacek@redhat.com>
32351
32352 * libio/libio.h: Don't define _PARAMS.
32353 * locale/programs/config.h: Don't define PARAMS.
32354 * stdlib/strtol_l.c: Likewise.
32355 (__strtol_l): Remove PARAMS from the prototype.
32356
41b81892
UD
323572012-01-31 Ulrich Drepper <drepper@gmail.com>
32358
3b49edc0
UD
32359 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32360 names. Just use the correct names. Remove unnecessary wrapper
32361 functions.
32362 * malloc/arena.c: Likewise.
32363 * malloc/hooks.c: Likewise.
32364
41b81892
UD
32365 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32366 ARENA_TEST says not to. Simplify test for creation of a new arena.
32367 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32368
27a25b6e
UD
323692012-01-30 Ulrich Drepper <drepper@gmail.com>
32370
32371 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32372 into tail calls.
32373 (update_get_addr): New function.
32374 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32375 GET_ADDR_MODULE parameter.
32376
c8a89e7d
JM
323772012-01-30 Joseph Myers <joseph@codesourcery.com>
32378
32379 * crypt/cert.c: Remove __STDC__ conditionals.
32380 * crypt/crypt-entry.c: Likewise.
32381 * crypt/crypt_util.c: Likewise.
32382 * libio/filedoalloc.c: Likewise.
32383 * libio/fileops.c: Likewise.
32384 * libio/genops.c: Likewise.
32385 * libio/iofclose.c: Likewise.
32386 * libio/iofdopen.c: Likewise.
32387 * libio/iofopen.c: Likewise.
32388 * libio/iofopen64.c: Likewise.
32389 * libio/iogetdelim.c: Likewise.
32390 * libio/iopopen.c: Likewise.
32391 * libio/obprintf.c: Likewise.
32392 * libio/oldfileops.c: Likewise.
32393 * libio/oldiofclose.c: Likewise.
32394 * libio/oldiofdopen.c: Likewise.
32395 * libio/oldiofopen.c: Likewise.
32396 * libio/oldiopopen.c: Likewise.
32397 * libio/wfiledoalloc.c: Likewise.
32398 * libio/wgenops.c: Likewise.
32399 * locale/programs/xmalloc.c: Likewise.
32400 * misc/syslog.c: Likewise.
32401 * stdio-common/xbug.c: Likewise.
32402 * string/memchr.c: Likewise.
32403 * string/memcmp.c: Likewise.
32404 * string/memrchr.c: Likewise.
32405 * string/rawmemchr.c: Likewise.
32406 * sysdeps/posix/getcwd.c: Likewise.
32407 * time/strftime_l.c: Likewise.
32408
3b100462
JM
324092012-01-30 Joseph Myers <joseph@codesourcery.com>
32410
32411 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32412 * config.make.in (config-cflags-sse2avx): Define.
32413 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32414 Fix typo.
32415
607998af
CM
324162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32417
32418 * scripts/config.guess: Update from upstream config git repository.
32419 * scripts/config.sub: Likewise.
32420
3601428f
CM
324212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32422
3ac8b282
CM
32423 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32424 (EM_NUM): Update.
32425 (R_TILEPRO_*, R_TILEGX_*): New macros.
32426
e034841e
CM
32427 * scripts/firstversions.awk: Fix bug in version range handling.
32428
540d7568
CM
32429 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32430
3601428f
CM
32431 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32432
463de862
CM
32433 * include/sys/epoll.h: New file.
32434 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32435 libc_hidden_def.
32436
73139a76
UD
324372012-01-28 Ulrich Drepper <drepper@gmail.com>
32438
96bc5b45
UD
32439 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32440 Avoid unnecessary __WORDSIZE == 64 test.
32441 (fmaxf): Use VEX format if possible.
32442 (fmax): Likewise.
32443 (fminf): Likewise.
32444 (fmin): Likewise.
32445
56f6f6a2
UD
32446 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32447 * math/math_private.h: Remove libc_fegetround* and
32448 libc_fesetround*.
32449 * sysdeps/i386/configure.in: Check for -msse2avx.
32450 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32451 also if SSE2AVX is defined.
32452 Remove libc_fegetround* and libc_fesetround*.
32453 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32454 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32455 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32456 of HAS_YMM_USABLE.
32457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32462
73139a76
UD
32463 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32464
d73f93a4
AZ
324652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32466
32467 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32468 size is not set.
32469 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32470
6ee65ed6
UD
324712012-01-27 Ulrich Drepper <drepper@gmail.com>
32472
32473 [BZ #13618]
32474 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32475 relocation.
32476 * Makeconfig (libm): Define.
32477 * elf/Makefile: Add rules to build and run tst-relsort1.
32478 * elf/tst-relsort1.c: New file.
32479 * elf/tst-relsort1mod1.c: New file.
32480 * elf/tst-relsort1mod2.c: New file.
32481
8db21882
JM
324822012-01-27 Joseph Myers <joseph@codesourcery.com>
32483
32484 * math/s_ldexp.c: Remove __STDC__ conditionals.
32485 * math/s_ldexpf.c: Likewise.
32486 * math/s_ldexpl.c: Likewise.
32487 * math/s_nextafter.c: Likewise.
32488 * math/s_nexttowardf.c: Likewise.
32489 * math/s_significand.c: Likewise.
32490 * math/s_significandf.c: Likewise.
32491 * math/s_significandl.c: Likewise.
32492 * math/w_jnl.c: Likewise.
32493 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32494 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32495 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32496 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32497 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32512 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32513 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32514 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32515 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32517 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32518 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32519 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32520 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32521 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32522 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32523 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32524 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32525 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32526 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32527 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32528 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32529 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32530 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32531 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32532 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32533 * sysdeps/ieee754/k_standard.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32581 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32582 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32583 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32594 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32595 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32600 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32604 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32605 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32609 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32613 * sysdeps/ieee754/s_matherr.c: Likewise.
32614 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32615 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32617 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32618
965a54a4
JM
326192012-01-26 Joseph Myers <joseph@codesourcery.com>
32620
32621 * crypt/md5.h: Remove __STDC__ conditionals.
32622 * libio/libioP.h: Likewise.
32623 * locale/programs/config.h: Likewise.
32624 * sysdeps/generic/sysdep.h: Likewise.
32625 * sysdeps/i386/asm-syntax.h: Likewise.
32626 * sysdeps/s390/asm-syntax.h: Likewise.
32627 * sysdeps/unix/sysdep.h: Likewise.
32628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32630
7071ad79
JM
326312012-01-26 Joseph Myers <joseph@codesourcery.com>
32632
32633 * libio/libio.h: Remove __STDC__ conditionals.
32634 * malloc/obstack.h: Likewise.
32635 * math/complex.h: Likewise.
32636 * math/math.h: Likewise.
32637 * sysdeps/generic/_G_config.h: Likewise.
32638 * sysdeps/gnu/_G_config.h: Likewise.
32639 * sysdeps/mach/hurd/_G_config.h: Likewise.
32640 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32641 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32642 * sysdeps/sparc/bits/mathdef.h: Likewise.
32643
afc5ed09
UD
326442012-01-26 Ulrich Drepper <drepper@gmail.com>
32645
32646 [BZ #13583]
32647 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32648 Clean up HAS_* macros.
afc5ed09 32649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32650 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32651 possible.
32652 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32653 HAS_AVX.
32654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32659
bdb6de1d
JM
326602012-01-25 Joseph Myers <joseph@codesourcery.com>
32661
32662 * elf/tst-unique3.cc (gets): Remove declaration.
32663 * elf/tst-unique3lib.cc (gets): Likewise.
32664 * elf/tst-unique3lib2.cc (gets): Likewise.
32665 * elf/tst-unique4.cc (gets): Likewise.
32666
b15549e6
UD
326672012-01-24 Ulrich Drepper <drepper@gmail.com>
32668
32669 * include/stdio.h: Add C++ protection. Add gets declarations and
32670 definitions.
32671 * debug/tst-chk1.c: Don't declare gets here.
32672 * stdio-common/tst-gets.c: Likewise.
32673
a037381f
JM
326742012-01-24 Joseph Myers <joseph@codesourcery.com>
32675
32676 * posix/glob: Remove directory.
32677
f1d4aa75
JM
326782012-01-24 Joseph Myers <joseph@codesourcery.com>
32679
32680 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32681
81c0c964
PT
326822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32683
32684 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32685 of the non-standard EPFNOSUPPORT.
32686
0ea698ae
ST
326872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32688
32689 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32690 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32691 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32692
d220b117
UD
326932012-01-21 Ulrich Drepper <drepper@gmail.com>
32694
32695 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32696
3e1aa84e
UD
326972012-01-20 Ulrich Drepper <drepper@gmail.com>
32698
32699 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32700 transient errors.
32701 * nscd/grpcache.c (cache_addgr): Likewise.
32702 * nscd/hstcache.c (cache_addhst): Likewise.
32703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32704 * nscd/pwdcache.c (cache_addpw): Likewise.
32705 * nscd/servicescache.c (cache_addserv): Likewise.
32706
400aa020
UD
327072012-01-16 Ulrich Drepper <drepper@gmail.com>
32708
d77e7869
UD
32709 * malloc/malloc.c: Various cleanups.
32710 * malloc/hooks.c: Likewise.
32711
400aa020
UD
32712 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32713 * stdlib/bug-fmtmsg1.c: New file.
32714
32715 * stdlib/fmtmsg.c (init): Add missing unlock.
32716 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32717
e0a309cf
MP
327182012-01-12 Marek Polacek <polacek@redhat.com>
32719
32720 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32721 and _GNU_SOURCE.
32722
929d11c7
WS
327232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32724
32725 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32726 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32727 macro to ensure uniqueness of label name.
32728 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32729 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32730
41d0e869
UD
327312012-01-11 Ulrich Drepper <drepper@gmail.com>
32732
0cc5ed3b
UD
32733 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32734
41d0e869
UD
32735 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32736 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32737 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32739
a47a831a
UD
327402012-01-10 Ulrich Drepper <drepper@gmail.com>
32741
daa891c0
UD
32742 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32743
32744 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32745 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32746 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32747
e58ef0f2
UD
32748 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32749
a47a831a 32750 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32751 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32752 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32754
32755 * math/bits/math-finite.h: Add ldexp support.
32756
a0bfc9c7
MP
327572012-01-10 Marek Polacek <polacek@redhat.com>
32758
32759 * locale/programs/localedef.h (show_archive_content): Add noreturn
32760 attribute.
32761
d6e97a1d
UD
327622012-01-09 Ulrich Drepper <drepper@gmail.com>
32763
32764 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32765
d5835c26
UD
327662012-01-08 Ulrich Drepper <drepper@gmail.com>
32767
e5f484c6
UD
32768 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32769
d5835c26
UD
32770 * io/Makefile (headers): Add bits/poll2.h.
32771
d1f741e9
WS
327722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32773
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32775 typo #include statement.
32776
ec09c1c4
UD
327772012-01-08 Ulrich Drepper <drepper@gmail.com>
32778
32779 * include/sys/cdefs.h: Define __attribute_alloc_size.
32780 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32781 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32782 * elf/pldd.c: Likewise.
32783 * iconv/iconv_charmap.c: Likewise.
32784 * iconv/iconvconfig.c: Likewise.
32785 * iconv/strtab.c: Likewise.
32786 * locale/programs/locale.c: Likewise.
32787 * locale/programs/localedef.h: Likewise.
32788 * locale/programs/simple-hash.c: Likewise.
32789 * nscd/nscd.h: Likewise.
32790 * nss/makedb.c: Likewise.
32791 * sysdeps/generic/ldconfig.h: Likewise.
32792 * locale/programs/localedef.c: Remove xmalloc prototype.
32793 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32794
20b38e03
PP
327952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32796
32797 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32798 appropriate.
32799
a0da5fe1
UD
328002012-01-08 Ulrich Drepper <drepper@gmail.com>
32801
1d5a644a 32802 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32803 * math/tst-CMPLX.c: New file.
1d5a644a 32804
8784a6db
UD
32805 * math/complex.h (CMPLXL): Fix typo.
32806
d9a216c0
UD
32807 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32808 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32809 GLIBC_2.16.
32810 * debug/tst-chk1.c: Add poll and ppoll tests.
32811 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32812 * include/sys/poll.h: Add hidden proto for ppoll.
32813 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32814 * sysdeps/mach/hurd/ppoll.c: Likewise.
32815 * io/ppoll.c: Likewise.
32816 * debug/poll_chk.c: New file.
32817 * debug/ppoll_chk.c: New file.
32818 * include/bits/poll2.h: New file.
32819 * io/bits/poll2.h: New file.
32820
ac097f5c
UD
32821 [BZ #1350]
32822 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32823
2119dcfa
UD
32824 * configure.in: static is always set to yes. Remove.
32825 * config.make.in: Don't set build-static.
32826 * Makeconfig: Remove use of build-static.
32827 * dlfcn/Makefile: Likewise.
32828 * elf/Makefile: Likewise.
32829 * math/Makefile: Likewise.
32830 * misc/Makefile: Likewise.
32831 * nptl/Makefile: Likewise.
32832 * sysdeps/mach/hurd/Makefile: Likewise.
32833
121766a9
UD
32834 * configure.in: PWD_P is not used anymore.
32835 * config.make.in: Remove PWD_P entry.
32836
51a1d39c 32837 * configure.in: Remove last remnants of RANLIB.
8720d066 32838 No need to check for signed size_t anymore.
215f4bdc
UD
32839 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32840 and IA-64.
3857022a 32841 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32842 * aclocal.m4: Likewise.
32843
d3ed7225
UD
32844 * wcsmbs/mbrtoc16.c: Implement using towc function.
32845 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32846 * wcsmbs/wcsmbsload.c: Likewise.
32847 * iconv/gconv_simple.c: Likewise.
32848 * iconv/gconv_int.h: Likewise.
32849 * iconv/gconv_builtin.h: Likewise.
32850 * iconv/iconv_prog.c: Remove CHAR16 handling.
32851
32852 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32853
32854 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32855
a0da5fe1
UD
32856 * configure.in: Remove --with-elf and --enable-bounded options.
32857 Dont set base_machine for ia64. More non-ELF conditions removed.
32858 Remove testing and setting of leading underscore information.
32859 * config.make.in (build-bounded): Set to no.
32860 * config.h.in: Remove NO_UNDERSCORES entry.
32861 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32862 them.
32863 * csu/start.c: Remove !NO_UNDERSCORE code.
32864 * locale/localeinfo.h: Likewise.
32865 * sysdeps/generic/machine-gmon.h: Likewise.
32866 * sysdeps/generic/sysdep.h: Likewise.
32867 * sysdeps/i386/sysdep.h: Likewise.
32868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32869 * sysdeps/mach/sysdep.h: Likewise.
32870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32871 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32872 * sysdeps/sh/sysdep.h: Likewise.
32873 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32874 * sysdeps/unix/i386/sysdep.S: Likewise.
32875 * sysdeps/unix/sparc/start.c: Likewise.
32876 * sysdeps/unix/sparc/sysdep.S: Likewise.
32877 * sysdeps/unix/sparc/sysdep.h: Likewise.
32878 * sysdeps/unix/start.c: Likewise.
32879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32880 * sysdeps/x86_64/sysdep.h: Likewise.
32881
df78418a
UD
328822012-01-07 Ulrich Drepper <drepper@gmail.com>
32883
a784e502
UD
32884 [BZ #13553]
32885 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32886 for non-gcc.
32887 * argp/argp-fmtstream.h: Use const instead __const.
32888 * argp/argp.h: Likewise.
32889 * assert/assert.h: Likewise.
32890 * bits/fenv.h: Likewise.
32891 * bits/sched.h: Likewise.
32892 * bits/sigset.h: Likewise.
32893 * bits/sigthread.h: Likewise.
32894 * catgets/nl_types.h: Likewise.
32895 * conform/data/pthread.h-data: Likewise.
32896 * crypt/crypt-private.h: Likewise.
32897 * crypt/crypt.h: Likewise.
32898 * crypt/crypt_util.c: Likewise.
32899 * ctype/ctype.h: Likewise.
32900 * debug/execinfo.h: Likewise.
32901 * debug/mbsnrtowcs_chk.c: Likewise.
32902 * debug/mbsrtowcs_chk.c: Likewise.
32903 * debug/wcsnrtombs_chk.c: Likewise.
32904 * debug/wcsrtombs_chk.c: Likewise.
32905 * debug/wcstombs_chk.c: Likewise.
32906 * dirent/dirent.h: Likewise.
32907 * dlfcn/dlfcn.h: Likewise.
32908 * elf/neededtest4.c: Likewise.
32909 * grp/grp.h: Likewise.
32910 * gshadow/gshadow.h: Likewise.
32911 * iconv/gconv.h: Likewise.
32912 * iconv/gconv_int.h: Likewise.
32913 * iconv/gconv_simple.c: Likewise.
32914 * iconv/iconv.h: Likewise.
32915 * iconv/loop.c: Likewise.
32916 * iconv/skeleton.c: Likewise.
32917 * include/aio.h: Likewise.
32918 * include/aliases.h: Likewise.
32919 * include/argz.h: Likewise.
32920 * include/arpa/inet.h: Likewise.
32921 * include/assert.h: Likewise.
32922 * include/dirent.h: Likewise.
32923 * include/dlfcn.h: Likewise.
32924 * include/execinfo.h: Likewise.
32925 * include/fcntl.h: Likewise.
32926 * include/fenv.h: Likewise.
32927 * include/glob.h: Likewise.
32928 * include/grp.h: Likewise.
32929 * include/libintl.h: Likewise.
32930 * include/mntent.h: Likewise.
32931 * include/netdb.h: Likewise.
32932 * include/pwd.h: Likewise.
32933 * include/rpc/netdb.h: Likewise.
32934 * include/sched.h: Likewise.
32935 * include/search.h: Likewise.
32936 * include/shadow.h: Likewise.
32937 * include/signal.h: Likewise.
32938 * include/stdio.h: Likewise.
32939 * include/stdlib.h: Likewise.
32940 * include/string.h: Likewise.
32941 * include/sys/socket.h: Likewise.
32942 * include/sys/stat.h: Likewise.
32943 * include/sys/statfs.h: Likewise.
32944 * include/sys/statvfs.h: Likewise.
32945 * include/sys/syslog.h: Likewise.
32946 * include/sys/time.h: Likewise.
32947 * include/sys/uio.h: Likewise.
32948 * include/time.h: Likewise.
32949 * include/unistd.h: Likewise.
32950 * include/utmp.h: Likewise.
32951 * include/wchar.h: Likewise.
32952 * include/wctype.h: Likewise.
32953 * inet/aliases.h: Likewise.
32954 * inet/arpa/inet.h: Likewise.
32955 * inet/netinet/ether.h: Likewise.
32956 * inet/netinet/in.h: Likewise.
32957 * intl/libintl.h: Likewise.
32958 * io/bits/fcntl2.h: Likewise.
32959 * io/fcntl.h: Likewise.
32960 * io/ftw.h: Likewise.
32961 * io/sys/poll.h: Likewise.
32962 * io/sys/stat.h: Likewise.
32963 * io/sys/statfs.h: Likewise.
32964 * io/sys/statvfs.h: Likewise.
32965 * io/utime.h: Likewise.
32966 * libio/bits/stdio.h: Likewise.
32967 * libio/bits/stdio2.h: Likewise.
32968 * libio/libio.h: Likewise.
32969 * libio/libioP.h: Likewise.
32970 * libio/stdio.h: Likewise.
32971 * locale/lc-ctype.c: Likewise.
32972 * locale/locale.h: Likewise.
32973 * login/utmp.h: Likewise.
32974 * malloc/arena.c: Likewise.
32975 * malloc/malloc.c: Likewise.
32976 * malloc/malloc.h: Likewise.
32977 * malloc/mcheck.c: Likewise.
32978 * malloc/mtrace.c: Likewise.
32979 * math/bits/mathcalls.h: Likewise.
32980 * math/fenv.h: Likewise.
32981 * math/math_private.h: Likewise.
32982 * misc/bits/error.h: Likewise.
32983 * misc/bits/syslog.h: Likewise.
32984 * misc/err.h: Likewise.
32985 * misc/error.h: Likewise.
32986 * misc/fstab.h: Likewise.
32987 * misc/mntent.h: Likewise.
32988 * misc/regexp.h: Likewise.
32989 * misc/search.h: Likewise.
32990 * misc/sgtty.h: Likewise.
32991 * misc/sys/mman.h: Likewise.
32992 * misc/sys/syslog.h: Likewise.
32993 * misc/sys/uio.h: Likewise.
32994 * misc/sys/xattr.h: Likewise.
32995 * misc/ttyent.h: Likewise.
32996 * nis/rpcsvc/ypclnt.h: Likewise.
32997 * nss/nss.h: Likewise.
32998 * posix/bits/unistd.h: Likewise.
32999 * posix/fnmatch.h: Likewise.
33000 * posix/glob.h: Likewise.
33001 * posix/sched.h: Likewise.
33002 * posix/spawn.h: Likewise.
33003 * posix/sys/wait.h: Likewise.
33004 * posix/unistd.h: Likewise.
33005 * posix/wordexp.h: Likewise.
33006 * pwd/pwd.h: Likewise.
33007 * resolv/netdb.h: Likewise.
33008 * resource/sys/resource.h: Likewise.
33009 * rt/aio.h: Likewise.
33010 * rt/bits/mqueue2.h: Likewise.
33011 * rt/mqueue.h: Likewise.
33012 * shadow/shadow.h: Likewise.
33013 * signal/signal.h: Likewise.
33014 * socket/send.c: Likewise.
33015 * socket/sendto.c: Likewise.
33016 * socket/sys/socket.h: Likewise.
33017 * stdio-common/printf.h: Likewise.
33018 * stdlib/bits/stdlib.h: Likewise.
33019 * stdlib/fmtmsg.h: Likewise.
33020 * stdlib/monetary.h: Likewise.
33021 * stdlib/stdlib.h: Likewise.
33022 * stdlib/ucontext.h: Likewise.
33023 * streams/stropts.h: Likewise.
33024 * string/argz.h: Likewise.
33025 * string/bits/string2.h: Likewise.
33026 * string/string.h: Likewise.
33027 * string/strings.h: Likewise.
33028 * sunrpc/rpc/auth.h: Likewise.
33029 * sunrpc/rpc/auth_des.h: Likewise.
33030 * sunrpc/rpc/clnt.h: Likewise.
33031 * sunrpc/rpc/netdb.h: Likewise.
33032 * sunrpc/rpc/pmap_clnt.h: Likewise.
33033 * sunrpc/rpc/xdr.h: Likewise.
33034 * sysdeps/generic/inttypes.h: Likewise.
33035 * sysdeps/generic/net/if.h: Likewise.
33036 * sysdeps/generic/sys/swap.h: Likewise.
33037 * sysdeps/gnu/net/if.h: Likewise.
33038 * sysdeps/gnu/utmpx.h: Likewise.
33039 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33040 * sysdeps/i386/i486/bits/string.h: Likewise.
33041 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33042 * sysdeps/s390/bits/string.h: Likewise.
33043 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33044 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33045 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33046 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33047 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33048 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33049 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33050 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33051 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33052 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33053 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33054 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33055 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33056 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33057 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33058 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33059 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33061 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33064 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33065 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33066 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33067 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33068 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33069 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33070 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33071 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33072 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33073 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33074 * sysvipc/sys/ipc.h: Likewise.
33075 * sysvipc/sys/msg.h: Likewise.
33076 * sysvipc/sys/sem.h: Likewise.
33077 * sysvipc/sys/shm.h: Likewise.
33078 * termios/termios.h: Likewise.
33079 * time/sys/time.h: Likewise.
33080 * time/time.h: Likewise.
33081 * wcsmbs/bits/wchar2.h: Likewise.
33082 * wcsmbs/uchar.h: Likewise.
33083 * wcsmbs/wchar.h: Likewise.
33084 * wctype/wctype.h: Likewise.
33085
0269750c
UD
33086 [BZ #13551]
33087 * Makeconfig: Remove all but ELF support including AIX support.
33088 * Makerules: Likewise.
33089 * config.h.in: Likewise.
33090 * config.make.in: Likewise.
33091 * configure: Likewise.
33092 * configure.in: Likewise.
33093 * csu/Makefile: Likewise.
33094 * csu/version.c: Likewise.
33095 * debug/Makefile: Likewise.
33096 * dlfcn/Makefile: Likewise.
33097 * elf/Makefile: Likewise.
33098 * extra-lib.mk: Likewise.
33099 * iconv/Makefile: Likewise.
33100 * include/libc-symbols.h: Likewise.
33101 * include/shlib-compat.h: Likewise.
33102 * resolv/Makefile: Likewise.
33103 * resolv/res_libc.c: Likewise.
33104 * rt/Makefile: Likewise.
33105 * sysdeps/i386/asm-syntax.h: Likewise.
33106 * sysdeps/i386/sysdep.h: Likewise.
33107 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33108 * sysdeps/mach/sysdep.h: Likewise.
33109 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33110 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33111 * sysdeps/s390/asm-syntax.h: Likewise.
33112 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33113 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33114 * sysdeps/sh/sysdep.h: Likewise.
33115 * sysdeps/unix/sparc/sysdep.h: Likewise.
33116 * sysdeps/wordsize-32/divdi3.c: Likewise.
33117 * sysdeps/x86_64/sysdep.h: Likewise.
33118
00bbd29b
UD
33119 * argp/Versions: Remove _argp_unlock_xxx.
33120
33121 [BZ #13559]
33122 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33123 * abilist/libBrokenLocale.abilist: Likewise.
33124 * abilist/libanl.abilist: Likewise.
33125 * abilist/libc.abilist: Likewise.
33126 * abilist/libcrypt.abilist: Likewise.
33127 * abilist/libdl.abilist: Likewise.
33128 * abilist/libm.abilist: Likewise.
33129 * abilist/libnsl.abilist: Likewise.
33130 * abilist/libpthread.abilist: Likewise.
33131 * abilist/libresolv.abilist: Likewise.
33132 * abilist/librt.abilist: Likewise.
33133 * abilist/libthread_db.abilist: Likewise.
33134 * abilist/libutil.abilist: Likewise.
33135 * abilist/libnss_db.abilist: New file.
33136
33137 * scripts/abilist.awk: Add support for indirect functions.
33138
a2693a0e
UD
33139 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33140
3f05895f
UD
33141 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33142
ecb6fb48
UD
33143 * shlib-versions: Remove entries for ports architectures.
33144
664f8cb9
UD
33145 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33146 files in ports.
33147 * elf/stackguard-macros.h: Remove support for IA-64.
33148 * elf/tst-auditmod1.c: Likewise.
33149 * sysdeps/generic/ldsodefs.h: Likewise.
33150
7ae81d88
UD
33151 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33152 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33153 configure files.
33154
bdeba135
UD
33155 [BZ #13552]
33156 * configure.in: Remove --enable-omitfp support.
33157 * FAQ.in: Adjust.
33158 * config.make.in: Likewise.
33159 * Makeconfig: Likewise.
33160 * manual/install.texi: Likewise.
33161
d75a0a62
UD
33162 In case anyone cares, the IA-64 architecture could move to ports.
33163 * sysdeps/ia64/*: Removed.
33164 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33165 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33166
dcc9756b
UD
33167 [BZ #13555]
33168 * configure.in: Remove entries for unsupported architectures.
33169
d3761ebc 33170 [BZ #13533]
9954432e
UD
33171 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33172 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33173 routines.
33174 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33175 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33176 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33177 fall back to using wcrtomb.
33178 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33179 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33180 renaming.
33181 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33182 * wcsmbs/tst-c16c32-1.c: New file.
33183
33184 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33185 local variable.
33186
c3a87236
UD
33187 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33188
28926a1b
UD
33189 * elf/tst-unique3.cc: Add explicit declaration of gets.
33190 * elf/tst-unique3lib.cc: Likewise.
33191 * elf/tst-unique3lib2.cc: Likewise.
33192 * elf/tst-unique4.cc: Likewise.
33193
df78418a
UD
33194 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33195
8ecd6b2a
JM
331962012-01-06 Joseph Myers <joseph@codesourcery.com>
33197
33198 [BZ #13566]
33199 * assert/assert.h (static_assert): Don't define for C++.
33200 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33201 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33202
9f115170
UD
332032012-01-03 Ulrich Drepper <drepper@gmail.com>
33204
5e0d0300
UD
33205 * iconv/loop.c (single loop): Fix assertion in storing of
33206 remaining bytes.
33207
9f115170
UD
33208 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33209
81fb02b0
UD
332102012-01-01 Ulrich Drepper <drepper@gmail.com>
33211
33212 * posix/getconf.c: Update copyright year.
33213 * nss/getent.c: Likewise.
a316c1f6 33214 * nss/makedb.c: Likewise.
81fb02b0
UD
33215 * iconv/iconvconfig.c: Likewise.
33216 * iconv/iconv_prog.c: Likewise.
33217 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33218 * elf/pldd.c: Likewise.
33219 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33220 * catgets/gencat.c: Likewise.
33221 * csu/version.c: Likewise.
33222 * elf/ldd.bash.in: Likewise.
33223 * elf/sprof.c (print_version): Likewise.
33224 * locale/programs/locale.c: Likewise.
33225 * locale/programs/localedef.c: Likewise.
a316c1f6 33226 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33227 * nscd/nscd.c (print_version): Likewise.
33228 * debug/xtrace.sh: Likewise.
33229 * malloc/memusage.sh: Likewise.
33230 * malloc/mtrace.pl: Likewise.
33231 * debug/catchsegv.sh: Likewise.
33232
2ba92745
JJ
332332011-12-30 Jakub Jelinek <jakub@redhat.com>
33234
33235 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33236 pure attribute.
33237
dadebdae
UD
332382011-12-24 Ulrich Drepper <drepper@gmail.com>
33239
d3761ebc 33240 [BZ #13533]
db6af3eb
UD
33241 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33242 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33243 transformations.
33244 * iconv/gconv_int.h: Likewise.
33245 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33246 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33247 from libc for GLIBC_2.16.
33248 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33249 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33250 * wcsmbs/uchar.h: Really define mbstate_t.
33251 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33252 * wcsmbs/c16rtomb.c: New file.
33253 * wcsmbs/mbrtoc16.c: New file.
33254 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33255 for C/POSIX locale.
33256 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33257 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33258
dadebdae
UD
33259 * wcsmbs/wchar.h: Add missing __restrict.
33260
67371b56
UD
332612011-12-23 Ulrich Drepper <drepper@gmail.com>
33262
74033a25
UD
33263 [BZ #13532]
33264 * time/Makefile (routines): Add timespec_get.
33265 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33266 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33267 timespec for ISO C11.
33268 * time/timespec_get.c: New file.
33269 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33270 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33271
380d7e87
UD
33272 [BZ #13531]
33273 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33274 * stdlib/stdlib.h: Declare aligned_alloc.
33275 * Versions.def: Add GLIBC_2.16 for libc.
33276 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33277
4e9e7a35
UD
33278 [BZ 13527]
33279 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33280 ISO C11.
33281
380d7e87 33282 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33283 code.
33284
03a71829
UD
33285 [BZ #13528]
33286 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33287
839e283e
UD
33288 [BZ #13529]
33289 * assert/assert.h (static_assert): Define.
33290
ce5294e2 33291 * version.h: Update for 2.16 development version.
90fa7312 33292
8d44e150 33293 [BZ #13526]
d7809905
UD
33294 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33295 _ISOC11_SOURCE.
33296
c0da14cd
UD
33297 * version.h (RELEASE): Bump for 2.15 release.
33298 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33299
530a3249
MP
33300 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33301 Patch by Marek Polacek <mpolacek@redhat.com>.
33302
67371b56
UD
33303 * bits/byteswap.h: Protect long long constants with __extension__.
33304 * sysdeps/i386/bits/byteswap.h: Likewise.
33305 * sysdeps/ia64/bits/byteswap.h: Likewise.
33306 * sysdeps/s390/bits/byteswap.h: Likewise.
33307 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33308
15db4de1
LD
333092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33310
33311 [BZ #13540]
bbe315ea
LD
33312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33313 destination buffer.
15db4de1
LD
33314 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33315
2b2596b1
MP
333162011-12-23 Marek Polacek <polacek@redhat.com>
33317
33318 * elf/dl-addr.c (determine_info): Add inline keyword.
33319 * elf/tst-auditmod4b.c (check_avx): Likewise.
33320 * elf/tst-auditmod6b.c (check_avx): Likewise.
33321 * elf/tst-auditmod6c.c (check_avx): Likewise.
33322 * elf/tst-auditmod7b.c (check_avx): Likewise.
33323
70c6c246
UD
333242011-12-23 Ulrich Drepper <drepper@gmail.com>
33325
33326 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33327 !__SSE_MATH__.
33328
c044cf14
LD
333292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33330
15db4de1 33331 [BZ #13540]
c044cf14
LD
33332 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33333 processing for last bytes.
33334
6b13d9d9
BH
333352011-08-06 Bruno Haible <bruno@clisp.org>
33336
d455f537
BH
33337 [BZ #13061]
33338 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33339 U+0385, not to U+1FEE.
33340
6b13d9d9
BH
33341 [BZ #13062]
33342 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33343 entry for U+00A5 U+0301.
33344
db910efd
UD
333452011-12-22 Ulrich Drepper <drepper@gmail.com>
33346
27deeafc
UD
33347 [BZ #13166]
33348 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33349 buffer for the output is too small.
33350
aed9d171
UD
33351 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33352 optimization.
33353
db910efd
UD
33354 [BZ #13185]
33355 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33356 SSE flags if possible.
33357
2bd779ae
LD
333582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33359
e7f9dac3 33360 [BZ #13540]
2bd779ae
LD
33361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33362 processing for last bytes.
33363
154bfc16
JM
333642011-12-22 Joseph Myers <joseph@codesourcery.com>
33365
33366 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33367 (syscall-list-default-options, syscall-list-default-condition)
33368 (syscall-list-includes): Define.
33369 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33370 list of ABIs and options and #if conditions for each ABI. Do not
33371 handle common syscalls between ABIs specially.
33372 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33373 Remove.
33374 (syscall-list-variants, syscall-list-32bit-options)
33375 (syscall-list-32bit-condition, syscall-list-64bit-options)
33376 (syscall-list-64bit-condition): Define.
33377 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33378 (syscall-list-variants, syscall-list-32bit-options)
33379 (syscall-list-32bit-condition, syscall-list-64bit-options)
33380 (syscall-list-64bit-condition): Define.
33381 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33382 Remove.
33383 (syscall-list-variants, syscall-list-32bit-options)
33384 (syscall-list-32bit-condition, syscall-list-64bit-options)
33385 (syscall-list-64bit-condition): Define.
33386 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33387 Remove.
33388 (syscall-list-variants, syscall-list-32bit-options)
33389 (syscall-list-32bit-condition, syscall-list-64bit-options)
33390 (syscall-list-64bit-condition): Define.
33391
21eaf3a5
UD
333922011-12-22 Ulrich Drepper <drepper@gmail.com>
33393
16c6f992
UD
33394 * locale/iso-639.def: Add brx entry.
33395
41043168
UD
33396 [BZ #13328]
33397 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33398 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33399
21eaf3a5
UD
33400 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33401 __feraiseexcept_renamed.
33402
e3a851a2
UD
334032011-12-21 Ulrich Drepper <drepper@gmail.com>
33404
4920765e
UD
33405 [BZ #13538]
33406 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33407 EPOLLET with unsigned values.
33408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33410
e3a851a2
UD
33411 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33412 to large cancellation.
33413 * math/s_cacoshf.c: Likewise.
33414 * math/s_cacoshl.c: Likewise.
33415
b27e24b8
RK
334162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33417
33418 [BZ #13305]
aebefeee 33419 [BZ #12786]
b27e24b8
RK
33420 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33421 * math/s_cacoshf.c: Likewise.
33422 * math/s_cacoshl.c: Likewise.
33423
ee190f67
UD
334242011-12-21 Ulrich Drepper <drepper@gmail.com>
33425
33426 [BZ #13439]
33427 * iconv/gconv.h: Define __GCONV_SWAP.
33428 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33429 * iconvdata/utf-16.c: Likewise.
33430 * iconvdata/utf-32.c: Likewise.
33431
707f25df
AS
334322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33433
33434 [BZ #13524]
33435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33436 numerator after shifting it by one limb.
33437
d2daaa1e
RÁE
334382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33439
33440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33441 under [__USE_EXTERN_INLINES].
33442
a4647e72
UD
334432011-12-17 Ulrich Drepper <drepper@gmail.com>
33444
33445 [BZ #13446]
33446 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33447
f0b264f1
AZ
334482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33449
33450 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33451 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33452 optimized code.
33453 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33454 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33455 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33456 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33457 for strncasecmp/strncasecmp_l compilation.
33458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33459 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33460
8ef4f244
MP
334612011-12-08 Marek Polacek <mpolacek@redhat.com>
33462
33463 [BZ #13484]
33464 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33465 of __asm__.
33466
97ac2654
UD
334672011-12-17 Ulrich Drepper <drepper@gmail.com>
33468
33469 [BZ #13506]
33470 * time/tzfile.c (__tzfile_read): Check values from file header.
33471
91d2a845
WS
334722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33473
33474 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33475 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33476 * powerpc/powerpc32/dl-start.S: Likewise.
33477 * powerpc/powerpc32/elf/start.S: Likewise.
33478 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33479 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33480 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33481 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33482 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33483 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33484 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33485 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33486 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33487 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33488 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33489 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33490 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33491 * powerpc/powerpc32/memset.S: Likewise.
33492 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33493 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33494 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33495 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33496 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33497 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33498 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33499 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33500 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33501 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33503 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33504 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33505
a1267ba1
AZ
335062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33507
33508 * math/libm-test.inc: Added more nearbyint tests.
33509 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33511 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33513
ad8ac1bd
RL
335142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33515
33516 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33517 FD_CLOEXEC.
33518
1d3e4b61
UD
335192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33520
33521 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33522 Add wcscpy-ssse3 wcscpy-c.
33523 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33524 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33525 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33526 * sysdeps/x86_64/wcschr.S: New file.
33527 * sysdeps/x86_64/wcsrchr.S: New file.
33528 * string/test-strcmp.c: Remove checking of wcscmp function for
33529 wrong alignments.
33530 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33531 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33532 wcsrchr-sse2 wcsrchr-c.
33533 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33534 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33535 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33536 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33537 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33538 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33539 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33540 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33541 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33542 * wcsmbc/wcschr.c (WCSCHR): New macro.
33543
5b330a2d
UD
335442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33545
33546 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33547 * wcsmbs/test-wcsrchr.c: New file.
33548 * string/test-strrchr.c: Add wcsrchr support.
33549 (WIDE): New macro.
33550 * wcsmbs/test-wcscpy.c: New file.
33551 * string/test-strcpy.c: Add wcscpy support.
33552 (WIDE): New macro.
26428b7c 33553
f039c043
UD
335542011-12-10 Ulrich Drepper <drepper@gmail.com>
33555
33556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33557 the inner loop.
33558
850fb039
AS
335592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33560
33561 [BZ #13472]
33562 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33563
4efbd5cb
UD
335642011-12-04 Ulrich Drepper <drepper@gmail.com>
33565
52ff5dd0 33566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33567 Minor optimizations.
52ff5dd0 33568
4efbd5cb
UD
33569 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33570 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33571 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33572
8a426e12
UD
335732011-12-03 Ulrich Drepper <drepper@gmail.com>
33574
aff2453d
UD
33575 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33576 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33577 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33578 for gcc to avoid warnings.
33579 * inet/Makefile (tests): Add tst-checks.
33580 * inet/tst-checks.c: New file.
33581
33582 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33583 warning.
33584
33585 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33586 __wmemcmp_sse2.
33587
33588 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33589 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33590
8a426e12
UD
33591 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33592
9bea3473
UD
335932011-12-02 Ulrich Drepper <drepper@gmail.com>
33594
3a965496
UD
33595 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33596 problem.
33597
9bea3473
UD
33598 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33599
f101631b
UD
336002011-11-29 Joseph Myers <joseph@codesourcery.com>
33601
33602 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33603 conditional on GCC version.
33604 (__arch_compare_and_exchange_val_8_acq)
33605 (__arch_compare_and_exchange_val_16_acq)
33606 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33607 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33608 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33609
a98275aa
UD
336102011-12-02 Joseph Myers <joseph@codesourcery.com>
33611
33612 * sysdeps/sh/backtrace.c: New file.
33613
d4cc29a2
AS
336142011-12-02 Andreas Schwab <schwab@redhat.com>
33615
33616 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33617 parenthesis.
33618
6257af2d
AS
336192011-12-01 Andreas Schwab <schwab@redhat.com>
33620
33621 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33622 falling back to utime.
33623
b5f44c1a
AS
336242011-11-30 Andreas Schwab <schwab@redhat.com>
33625
33626 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33627 expectations for float.
33628
f3a6cc0a
AS
336292011-11-29 Andreas Schwab <schwab@redhat.com>
33630
33631 * locale/weight.h (findidx): Add parameter len.
33632 * locale/weightwc.h (findidx): Likewise.
33633 * posix/fnmatch_loop.c (FCT): Adjust caller.
33634 * posix/regcomp.c (build_equiv_class): Likewise.
33635 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33636 * posix/regexec.c (check_node_accept_bytes): Likewise.
33637 * string/strcoll_l.c (STRCOLL): Likewise.
33638 * string/strxfrm_l.c (STRXFRM): Likewise.
33639
9d65ea3a
UD
336402011-11-17 Ulrich Drepper <drepper@gmail.com>
33641
33642 * Makefile.in: Remove CVSOPT handling.
33643 * configure.in: Remove use of AC_REVISION.
33644 * iconvdata/Makefile (distribute): No need to filter out CVS.
33645 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33646 handling.
33647
5583a086
AS
336482011-11-16 Andreas Schwab <schwab@redhat.com>
33649
33650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33651 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33652 [USE_AS_STRNCASECMP_L]: Likewise.
33653 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33654 NO_TLS_DIRECT_SEG_REFS.
33655 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33656 Fix argument offsets for non-PIC.
33657 [USE_AS_STRNCASECMP_L]: Likewise.
33658 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33659 NO_TLS_DIRECT_SEG_REFS.
33660
d62a8200
UD
336612011-11-15 Ulrich Drepper <drepper@gmail.com>
33662
9d65ea3a 33663 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33664 O_CLOEXEC.
33665 * locale/loadlocale.c (_nl_load_locale): Likewise.
33666
09f93bd3
AS
336672011-11-15 Andreas Schwab <schwab@redhat.com>
33668
446514f9
AS
33669 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33670 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33672 (SYSCALL_GETTIME): Set errno on error.
33673
09f93bd3
AS
33674 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33675 count references to noai6ai_cached.
33676
312be3f9
UD
336772011-11-15 Ulrich Drepper <drepper@gmail.com>
33678
33679 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33680
33681 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33682 FD_CLOEXEC for /proc/self/maps.
33683
33684 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33685 FD_CLOEXEC for /proc/meminfo.
33686
33687 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33688 gai.conf.
33689
33690 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33691 FD_CLOEXEC for given file.
33692
33693 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33694
33695 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33696 FD_CLOEXEC for /etc/hosts.
33697 (_gethtent): Likewise.
33698
33699 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33700
33701 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33702 cancellation and set FD_CLOEXEC for /etc/netgroup.
33703
33704 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33705 reading /etc/publickey.
33706
33707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33708 allow cancellation when reading /etc/group.
33709
33710 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33711 cancellation.
33712 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33713
33714 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33715 when using data file.
33716
33717 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33718
33719 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33720 (write_nis_obj): Use "c" and "e" in fopen.
33721
33722 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33723
33724 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33725
33726 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33727
33728 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33729
33730 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33731 locale.alias.
33732
33733 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33734
33735 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33736
33737 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33738
33739 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33740 file parsing and set FD_CLOEXEC.
33741
82af0fa8
UD
337422011-11-14 Ulrich Drepper <drepper@gmail.com>
33743
33744 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33745
a5fb313c
AS
337462011-11-14 Andreas Schwab <schwab@redhat.com>
33747
33748 * malloc/arena.c (arena_get2): Don't call reused_arena when
33749 _int_new_arena failed.
33750
6abf3465
UD
337512011-11-14 Ulrich Drepper <drepper@gmail.com>
33752
33753 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33754 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33755 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33756 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33757 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33758 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33759 to compile strcasecmp and strncasecmp.
33760 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33761 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33762
33763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33764
76e3966e
UD
337652011-11-13 Ulrich Drepper <drepper@gmail.com>
33766
33767 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33768 locale-defines.sym to gen-as-const-headers.
33769 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33770 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33772 to compile strcasecmp and strncasecmp.
33773 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33774 strcasecmp_l and strncasecmp_l.
33775 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33776 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33777 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33778 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33779 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33780 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33781 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33782 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33783 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33784 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33785 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33786
ab26144e
UD
337872011-11-12 Ulrich Drepper <drepper@gmail.com>
33788
7edb22ef
UD
33789 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33790 result of SYSDEP_GETTIME_CPU to retval.
33791 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33792 parameter list to macro. Remove trailing semicolon. Adjust users.
33793
9694fc44
UD
33794 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33795 variable.
33796
8ad89ef8
UD
33797 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33798 mantissa words.
33799 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33800
0c822ef9
UD
33801 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33802 from unused variable.
33803
874e0564
UD
33804 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33805 DWARF definitions.
33806 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33807 for assembling.
33808
3a2edc79
UD
33809 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33810 over namespaces.
33811
f3c2577f
UD
33812 * sunrpc/rpc_prot.c (rejected): Fix case value.
33813
294ce126
UD
33814 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33815 unsigned long long int to avoid warnings in shift.
33816
5e2b63c6
UD
33817 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33818 of use of trans.
33819 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33820 variable tmp.
33821
e7f4b08e
UD
33822 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33823 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33824 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33825
ab26144e
UD
33826 * nis/nis_table.c (nis_list): Use variable of correct type for
33827 result of __follow_path call.
33828
8a6d5255
AZ
338292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33830
33831 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33832 of math functions ceil, trunc, floor, round, and sqrt, when
33833 avaliable on the platform.
33834 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33835 name clash.
33836 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33837 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33838 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33839
aaddc98c
MP
338402011-10-30 Marek Polacek <mpolacek@redhat.com>
33841
33842 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33843 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33844
95b7042b
RM
338452011-11-11 Roland McGrath <roland@hack.frob.com>
33846
33847 * include/unistd.h: Fix __readlink return type.
33848 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33849
57769839
UD
338502011-11-11 Ulrich Drepper <drepper@gmail.com>
33851
33852 * stdlib/ucontext.h: Undo last change for makecontext.
33853
edc5984d
AS
338542011-11-11 Andreas Schwab <schwab@redhat.com>
33855
98591e58
AS
33856 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33857
edc5984d
AS
33858 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33859 * setjmp/setjmp.h: Mark functions as non-leaf.
33860 * setjmp/bits/setjmp2.h: Likewise.
33861 * stdlib/ucontext.h: Likewise.
33862
77cdc054
AS
338632011-11-10 Andreas Schwab <schwab@redhat.com>
33864
33865 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33866 (reused_arena): Don't check arena limit.
33867 (arena_get2): Atomically check arena limit.
33868
fe72eebd
UD
338692011-11-08 Ulrich Drepper <drepper@gmail.com>
33870
5f078c32
UD
33871 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33872 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33873
fe72eebd
UD
33874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33875 instructions.
33876
ae1bc2fa
AS
338772011-11-07 Andreas Schwab <schwab@redhat.com>
33878
7583a88d
AS
33879 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33880 handler when locking.
33881
ae1bc2fa
AS
33882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33883 Fix size of allocated buffer.
33884
10fb0bfa
AS
338852011-11-04 Andreas Schwab <schwab@redhat.com>
33886
998832a4
AS
33887 [BZ #10103]
33888 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33889 declarations for long double functions.
33890 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33891
10fb0bfa
AS
33892 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33893
3d7ba52b
AS
338942011-11-03 Andreas Schwab <schwab@redhat.com>
33895
a9ae54a1
AS
33896 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33897 installed.
33898
3d7ba52b
AS
33899 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33900 is disabled.
33901
bc8db248
ST
339022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33903
33904 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33905
45b96dd6
AS
339062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33907
647776f6
AS
33908 * include/alloca.h (stackinfo_alloca_round): Define.
33909 (extend_alloca): Use it.
33910 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33911 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33912 here.
33913
d91a8b93
AS
33914 * scripts/check-local-headers.sh: Ignore libaudit.h.
33915
45b96dd6
AS
33916 * nscd/Makefile (extra-objs): Make recursively expanded.
33917
432d41ce
UD
339182011-11-01 Ulrich Drepper <drepper@gmail.com>
33919
34372fc6
UD
33920 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33921 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33922
fadb59f8
UD
33923 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33924 * posix/tst-rfc3484-2.c: Likewise.
33925 * posix/tst-rfc3484-3.c: Likewise.
33926
78239589
UD
33927 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33928 process_vm_writev.
33929 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33930 process_vm_writev.
33931 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33932 process_vm_writev from libc using GLIBC_2.15 version.
33933
432d41ce
UD
33934 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33935
02f9c6cf
PP
339362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33937
33938 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33939 stack usage.
33940
3a2c0242
UD
339412011-10-31 Ulrich Drepper <drepper@gmail.com>
33942
f4ec4833
UD
33943 [BZ #13367]
33944 * nss/getent.c (initgroups_keys): Show error message in case no group
33945 names are given.
33946
3a2c0242
UD
33947 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33948 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33949 __bump_nl_timestamp.
33950 * nscd/connections (nscd_init): When host database is served open
33951 netlink socket and request notification about configuration changes.
33952 (main_loop_poll): Track netlink file descriptor and bump timestamp
33953 in case data becomes available.
33954 (main_loop_epoll): Likewise.
33955 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33956 (database_pers_head): Add extra_data fileds.
33957 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33958 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33959 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33960 Adjust caller.
33961 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33962 in6ai data, call __free_in6ai.
33963 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33964 Add -DHAVE_NETLINK.
33965 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33966 interface information. Reuse previous data if netlink timestamp
33967 is not changed.
33968 (__bump_nl_timestamp): New function.
33969 (__free_in6ai): New function.
33970
636064eb
UD
339712011-10-30 Ulrich Drepper <drepper@gmail.com>
33972
33973 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33974 close_not_cancel_no_status here.
33975 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33976
9beb2334
UD
339772011-10-29 Ulrich Drepper <drepper@gmail.com>
33978
6ef76f3b
UD
33979 [BZ #13276]
33980 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33981 return value.
33982
0ffc4f3e 33983 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33984 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33985 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33986
cb95113e
UD
339872011-07-03 Andreas Jaeger <aj@suse.de>
33988
33989 [BZ #10709]
33990 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33991 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33992 * math/libm-test.inc (sin_test): Add test case.
33993
a1b560ff
UD
339942011-10-29 Ulrich Drepper <drepper@gmail.com>
33995
c9aaface
UD
33996 [BZ #13337]
33997 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33998 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33999
d272e7f1
UD
34000 * elf/chroot_canon.c (chroot_canon): Cleanups.
34001
1bc33071
UD
34002 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34003
1760874d
TJ
34004 [BZ #13335]
34005 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34006 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34007
51d91b18
UD
34008 * string/test-strchr.c: Make usable for strchrnul testing.
34009 * string/test-strchrnul.c: New file.
34010 * string/Makefile (strop-tests): Add strchrnul.
34011
a1b560ff 34012 * po/it.po: Update from translation team.
b611fb81 34013 * po/es.po: Likewise.
a1b560ff 34014
a5b81e1f
UD
340152011-10-28 Ulrich Drepper <drepper@gmail.com>
34016
fd52bc6d
UD
34017 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34018 the three constants needed as parameters. Drop the others.
34019 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34020 __m128i_strloadu_tolower.
52e4b9eb
UD
34021 Create and initialize variable zero and use it in all the places
34022 where _mm_setzero_si128 was used.
fd52bc6d 34023
a5b81e1f
UD
34024 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34025 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34026 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34027 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34028 anymore.
34029 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34030 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34031 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34032 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34033 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34034 __mpranred, __mptan.
34035 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34036 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34037 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34038 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34039 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34040 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34042 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34043 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34044
b4343346
AS
340452011-10-28 Andreas Schwab <schwab@redhat.com>
34046
0c92d8a8
AS
34047 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34048 redefine if SHARED.
34049 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34050
b4343346
AS
34051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34052 wide char related routines to wcsmbs subdir.
34053
3871f58f
AS
340542011-10-27 Andreas Schwab <schwab@redhat.com>
34055
34056 [BZ #13344]
34057 * misc/sys/cdefs.h (__THROWNL): Define.
34058 * posix/unistd.h: Use __THREADNL instead of __THREAD
34059 for memory synchronization functions.
34060
94d44d9f
RM
340612011-10-26 Roland McGrath <roland@hack.frob.com>
34062
21b64b15 34063 [BZ #13349]
94d44d9f
RM
34064 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34065 doesn't exist.
34066 * manual/stdio.texi (Obstack Streams): Node removed.
34067
f6ce9294
AS
340682011-10-26 Andreas Schwab <schwab@redhat.com>
34069
80479147
AS
34070 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34072 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34073
f6ce9294
AS
34074 * math/math_private.h (math_force_eval): Allow non-addressable
34075 arguments.
34076 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34077
618280a1
UD
340782011-10-25 Ulrich Drepper <drepper@gmail.com>
34079
e0016b11
UD
34080 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34081 file is not needed.
34082
34083 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34085 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34086 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34090 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34091 Add AVX variants.
34092 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34093 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34095 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34097 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34098 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34099 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34100 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34101 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34102 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34103 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34104 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34105 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34106 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34107 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34108 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34109 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34110 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34111
34112 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34113 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34114
618280a1
UD
34115 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34116 place. Use VEX encoding when compiling for AVX.
34117
37822576
AS
341182011-10-25 Andreas Schwab <schwab@redhat.com>
34119
1f1e1947
AS
34120 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34121 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34122
37822576
AS
34123 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34124
31ea014d
UD
341252011-10-25 Ulrich Drepper <drepper@gmail.com>
34126
d7826aa1 34127 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34128 useless if() expression.
d7826aa1
UD
34129 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34130 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34131 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34132 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34133 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34134 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34135 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34136 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34137 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34139 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34141 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34143 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34144 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34145 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34147 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34148
31ea014d
UD
34149 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34150
16437fec
AS
341512011-10-25 Andreas Schwab <schwab@redhat.com>
34152
34153 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34154 condition.
34155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34156
31d3cc00
UD
341572011-10-25 Ulrich Drepper <drepper@gmail.com>
34158
34159 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34160 .text section. Avoid duplicate constants.
34161 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34169 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34170 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34171 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34172 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34173 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34174 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34175 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34176 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34177 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34178 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34179 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34184 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34185 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34186 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34187 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34188 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34190 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34191 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34192 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34193 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34194 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34195 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34196 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34197 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34198 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34199 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34200 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34201 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34202 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34203 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34204 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34205 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34206
58985aa9
UD
342072011-10-24 Ulrich Drepper <drepper@gmail.com>
34208
202c9deb
UD
34209 * sysdeps/x86_64/dla.h: Move to ...
34210 * sysdeps/x86_64/fpu/dla.h: ...here.
34211 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34212 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34213
af968f62
UD
34214 * config.make.in: Add have-mfma4 entry.
34215 * configure.in: Substitute libc_cv_cc_fma4.
34216 * math/Makefile (dbl-only-routines): Add sincostab.
34217 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34218 Use __sincostab not sincos.
34219 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34220 name is a macro.
34221 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34225 using __copysign.
34226 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34227 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34228 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34229 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34230 and __inv.
34231 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34232 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34233 __copysign.
34234 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34235 define aliases when function name is a macro.
34236 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34237 sysdeps/ieee754/dbl-64/sincos.tbl.
34238 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34239 fma4-enabled routines.
34240 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34241 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34242 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34243 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34245 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34249 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34250 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34251 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34252 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34253 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34254 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34255 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34256 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34257 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34258 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34259 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34260 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34261 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34263 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34265 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34267 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34268 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34269 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34270
58985aa9
UD
34271 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34272 rename.
34273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34281
a201fbcf
AS
342822011-10-24 Andreas Schwab <schwab@redhat.com>
34283
34284 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34285
fc2ee42a
LD
342862011-10-23 Ulrich Drepper <drepper@gmail.com>
34287
bb3129bd
UD
34288 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34289
0275fff8
UD
34290 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34291 prediction.
34292 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34293
2fa2ae85
UD
34294 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34295 Remove unused variable magic_bits.
34296 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34297
fc2ee42a
LD
34298 * string/strnlen.c: Define and use STRNLEN macro.
34299 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34300 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34301 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34302 * wcsmbs/wcslen.c: Define and use WCSLEN.
34303 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34304 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34305 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34306 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34307 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34308 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34309 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34310
ce7dd29f
LD
343112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34312
34313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34314 strnlen-sse2-no-bsf.
34315 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34317 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34318 Add strnlen support.
34319 (USE_AS_STRNLEN): New macro.
34320 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34322 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34323 * sysdeps/x86_64/wcslen.S: New file.
34324
979c70a3
MZ
343252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34326
34327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34328 XMM-moves are used for copying on small sizes.
34329
2d09f82f
LD
343302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34331
34332 * wcsmbs/Makefile (strop-tests): Add wcschr.
34333 * wcsmbs/test-wcschr.c: New file.
34334 * string/test-strchr.c: Update.
34335 Add wcschr support.
34336 (WIDE): New macro.
34337
619fccca
LD
343382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34339
2d09f82f 34340 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34341 * wcsmbs/test-wcslen.c: New file.
34342 * string/test-strlen.c: Update.
34343 Add wcslen support.
34344 (WIDE): New macro.
34345
09f699ea
UD
343462011-10-23 Ulrich Drepper <drepper@gmail.com>
34347
34348 * po/it.po: Update from translation team.
34349
95584d3b
LD
343502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34351
34352 * sysdeps/x86_64/wcscmp.S: Update.
34353 Fix wrong comparison semantics.
34354 wcscmp shall use signed comparison not unsigned.
34355 Don't use substraction to avoid overflow bug.
34356 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34357 * wcsmbc/wcscmp.c: Likewise.
34358 * string/test-strcmp.c: Likewise.
34359 Add new tests to check cases with negative values.
34360
c8b3296b
UD
343612011-10-23 Ulrich Drepper <drepper@gmail.com>
34362
34363 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34364 * sysdeps/x86_64/dla.h: ...here. New file.
34365 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34366 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34374
246ad57a
AS
343752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34376
34377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34378 __ynl_finite aliases.
34379
a1a87169
UD
343802011-10-22 Ulrich Drepper <drepper@gmail.com>
34381
0d355eb7
UD
34382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34383
a1a87169
UD
34384 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34385 define DLA_FMA.
34386 [DLA_FMA] (EMULV): Use DLA_FMA.
34387 [DLA_FMA] (MUL12): Use EMULV.
34388 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34389 that are not needed.
34390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34395 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34397
ee2aafe0
AS
343982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34399
34400 * math/s_nan.c: Undef __nan.
34401 * math/s_nanf.c: Undef __nanf.
34402 * math/s_nanl.c: Undef __nanl.
34403 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34404 "math_private.h".
34405
bc62c2fb
UD
344062011-10-22 Ulrich Drepper <drepper@gmail.com>
34407
77425c63
UD
34408 * math/s_catan.c: Add branch predictions.
34409 * math/s_catanf.c: Likewise.
34410 * math/s_catanh.c: Likewise.
34411 * math/s_catanhf.c: Likewise.
34412 * math/s_catanhl.c: Likewise.
34413 * math/s_catanl.c: Likewise.
34414 * math/s_cexp.c: Likewise.
34415 * math/s_cexpf.c: Likewise.
34416 * math/s_cexpl.c: Likewise.
34417 * math/s_clog.c: Likewise.
34418 * math/s_clog10.c: Likewise.
34419 * math/s_clog10f.c: Likewise.
34420 * math/s_clog10l.c: Likewise.
34421 * math/s_clogf.c: Likewise.
34422 * math/s_clogl.c: Likewise.
34423 * math/s_csqrt.c: Likewise.
34424 * math/s_csqrtf.c: Likewise.
34425 * math/s_csqrtl.c: Likewise.
34426 * math/s_ctanf.c: Likewise.
34427 * math/s_ctanh.c: Likewise.
34428 * math/s_ctanhf.c: Likewise.
34429 * math/s_ctanhl.c: Likewise.
34430 * math/s_ctanl.c: Likewise.
34431
bc62c2fb
UD
34432 * math/math_private.h: Define __nan, __nanf, __nanl.
34433 * math/s_cacosh.c: Include <math_private.h>.
34434 * math/s_cacoshl.c: Likewise.
34435 * math/s_casinh.c: Likewise.
34436 * math/s_casinhf.c: Likewise.
34437 * math/s_casinhl.c: Likewise.
34438 * math/s_ccos.c: Rely entire on ccosh.
34439 * math/s_ccosf.c: Rely entire on ccoshf.
34440 * math/s_ccosl.c: Rely entirely on ccoshl.
34441 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34442 Remove tests for FE_INVALID.
34443 * math/s_ccoshf.c: Likewise.
34444 * math/s_ccoshl.c: Likewise.
34445 * math/s_csin.c: Likewise.
34446 * math/s_csinf.c: Likewise.
34447 * math/s_csinh.c Likewise.
34448 * math/s_csinhf.c: Likewise.
34449 * math/s_csinhl.c: Likewise.
34450 * math/s_csinl.c: Likewise.
34451 * math/s_ctan.c: Likewise.
34452 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34453 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34454 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34455
8ec250a4
UD
344562011-10-21 Ulrich Drepper <drepper@gmail.com>
34457
c196fed8
UD
34458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34459 compilation problems.
34460
8ec250a4
UD
34461 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34462 __builtin_expect.
34463
8d4f46c6
UD
344642011-10-20 Ulrich Drepper <drepper@gmail.com>
34465
ed72b654
UD
34466 * sysdeps/i386/configure.in: Test for -mfma4 option.
34467 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34468 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34469 COMMON_CPUID_INDEX_80000001.
34470 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34471 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34472 use it if FMA3 is not supported.
34473 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34474
8d4f46c6
UD
34475 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34476 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34477
d45c60c2
AS
344782011-10-20 Andreas Schwab <schwab@redhat.com>
34479
34480 [BZ #12892]
34481 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34482 it would create a cycle with a link time dependency.
34483
d9a4d2ab
UD
344842011-10-19 Ulrich Drepper <drepper@gmail.com>
34485
855d1560
UD
34486 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34487 instruction.
34488 * string/Makefile (strop-tests): Add rawmemchr.
34489 * string/test-rawmemchr.c: New file.
34490
d9a4d2ab
UD
34491 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34493 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34494 when compiling str{,n}casecmp and when AVX is available. Hook up
34495 new optimized code in initializers.
34496
8f3b1ffe
AS
344972011-10-19 Andreas Schwab <schwab@redhat.com>
34498
34499 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34500 __feraiseexcept instead of feraiseexcept.
34501
d38f1dba
UD
345022011-10-18 Ulrich Drepper <drepper@gmail.com>
34503
d9a8d0ab
UD
34504 * math/math_private.h: Define defaults for libc_fetestexcept and
34505 libc_feupdateenv.
34506 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34507 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34508 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34509 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34510 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34511 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34512 libc_fetestexcept and libc_feupdateenv.
34513
4855e3dd
UD
34514 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34515 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34516 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34517 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34518 libc_feholdexcept_setround.
34519
581d30e3
UD
34520 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34521 Add s_nearbyint-c and s_nearbyintf-c.
34522 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34523 nearbyintf inlines.
34524 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34525 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34526 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34527 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34528
d38f1dba
UD
34529 * math/math_private.h: Define defaults for libc_fegetround,
34530 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34531 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34532 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34534 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34535 standard functions.
34536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34537 Remove comments and hacks for old compiler versions.
34538 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34539 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34540 libc_feholdexceptl.
34541
caa6c9d8
AS
345422011-10-18 Andreas Schwab <schwab@redhat.com>
34543
34544 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34545 (__feraiseexcept_renamed): Add __NTH.
34546 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34547 namespace violations.
34548
97c066e6
UD
345492011-10-17 Ulrich Drepper <drepper@gmail.com>
34550
99ce7b04
UD
34551 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34552
1004d182
UD
34553 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34554
228a984d
UD
34555 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34556 recently added interfaces.
34557 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34558
c8553a6a
UD
34559 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34560 about macro parameter expansion.
34561
ed22dcf6
UD
34562 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34563 __NO_MATH_INLINES is defined. Cleanups.
34564
34565 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34566 and __floorf is target has SSE4.1.
34567 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34568 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34569 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34570 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34571
b171c137
UD
34572 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34573 name.
34574 (floorf): Likewise.
34575
97c066e6
UD
34576 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34577
629f62ef
AS
345782011-10-17 Andreas Schwab <schwab@redhat.com>
34579
49a43d80
AS
34580 * misc/sys/cdefs.h: Fix last change.
34581
629f62ef
AS
34582 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34583 database lookup.
34584
e453f6cd
UD
345852011-10-16 Ulrich Drepper <drepper@gmail.com>
34586
aa78043a
UD
34587 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34588
ad0f5cad
UD
34589 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34590 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34591 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34594 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34595 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34596 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34597 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34598 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34599 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34600 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34601 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34602 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34603 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34604 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34605 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34606 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34607 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34608 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34609 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34610 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34611
34612 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34613 ceil, ceilf, floor, floorf.
34614
34615 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34616 Perform IRELATIVE relocations last.
34617
e453f6cd
UD
34618 * elf/do-rel.h: Add another parameter nrelative, replacing the
34619 local variable with the same name. Change name of the function
34620 to end in Rel or Rela (uppercase).
34621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34622 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34623 elf_dynamic_do_##reloc function.
34624
fd5bdc09
UD
346252011-10-15 Ulrich Drepper <drepper@gmail.com>
34626
79b195b5
UD
34627 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34628 is sufficient, at least on modern CPUs.
34629
d4a28569
UD
34630 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34631
b61099b5
UD
34632 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34633 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34634
bcf01e6d
UD
34635 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34636 __expl_finite.
34637 * math/bits/math-finite.h: Add entries for exp.
34638 * math/e_expl.c: Add __*_finite alias.
34639 * sysdeps/i386/fpu/e_exp.S: Likewise.
34640 * sysdeps/i386/fpu/e_expf.S: Likewise.
34641 * sysdeps/i386/fpu/e_expl.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34643 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34644 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34649
ba1a0d59
UD
34650 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34651 is sufficient, at least on modern CPUs.
34652
fd5bdc09
UD
34653 * ctype/ctype-info.c (__ctype_init): Define.
34654 * include/ctype.h (__ctype_init): Declare.
34655 (__ctype_b_loc): The variable is always initialized.
34656 (__ctype_toupper_loc): Likewise.
34657 (__ctype_tolower_loc): Likewise.
34658 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34659 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34660
7872cfb0
AS
346612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34662
b468825a
AS
34663 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34664
7872cfb0
AS
34665 * configure.in: Also look in $cxxmachine/include for C++ system
34666 headers.
34667
be13f7bf
LD
346682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34669
34670 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34671 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34672 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34673 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34674 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34675 (USE_AS_WMEMCMP): New macro.
34676 Fixing indents.
34677 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34678 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34679 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34680 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34682 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34683 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34684 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34685 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34686 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34687 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34688 (USE_AS_WMEMCMP): New macro.
34689 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34690 * sysdeps/string/test-memcmp.c: Update.
34691 Fix simple_wmemcmp.
34692 Add new tests.
34693 * wcsmbs/wmemcmp.c: Update.
34694 (WMEMCMP): New macro.
34695 Fix overflow bug.
34696
556a2007
AJ
346972011-10-12 Andreas Jaeger <aj@suse.de>
34698
34699 [BZ #13268]
34700 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34701
538faaa7
UD
347022011-10-15 Ulrich Drepper <drepper@gmail.com>
34703
ab6737ff
UD
34704 * libio/iofwide.c (do_length): Avoid warning.
34705
538faaa7
UD
34706 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34707
396a21b1
UD
347082011-10-14 Ulrich Drepper <drepper@gmail.com>
34709
cdf2901f
UD
34710 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34711
38ad40ce
UD
34712 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34713 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34714 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34715 * sysdeps/i386/i686/fpu/e_log.S: New file.
34716 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34717 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34718
396a21b1
UD
34719 * ctype/ctype.h: Add support for inlined isXXX functions when
34720 compiling C++ code.
34721
6b1f68c9
AS
347222011-10-14 Andreas Schwab <schwab@redhat.com>
34723
349290c0
AS
34724 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34725
6b1f68c9
AS
34726 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34727
f2282d42
RM
347282011-10-13 Roland McGrath <roland@hack.frob.com>
34729
34730 [BZ #13291]
34731 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34732
5298ffa8
AS
347332011-10-13 Andreas Schwab <schwab@redhat.com>
34734
714fad23
AS
34735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34736 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34737 feraiseexcept.
34738
81dcc7fb
AS
34739 * sysdeps/x86_64/memrchr.S: Check for zero size.
34740
5298ffa8
AS
34741 * string/stratcliff.c: Add memrchr tests.
34742
951fbcec
LD
347432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34744
34745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34746 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34747 rawmemchr-sse2 rawmemchr-sse2-bsf.
34748 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34749 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34750 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34751 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34752 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34753 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34754 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34755 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34756 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34757 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34758 * string/memrchr.c (MEMRCHR): New macro.
34759
0ac5ae23
UD
347602011-10-12 Ulrich Drepper <drepper@gmail.com>
34761
34762 Add integration with gcc's -ffinite-math-only and optimize wrapper
34763 functions in libm.
34764 * Versions.def: Define GLIBC_2.15 version for libm.
34765 * math/Makefile (headers): Add bits/math-finite.h.
34766 * math/bits/math-finite.h: New file.
34767 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34768 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34769 * math/e_acoshl.c: Add __*_finite alias.
34770 * math/e_acosl.c: Likewise.
34771 * math/e_asinl.c: Likewise.
34772 * math/e_atan2l.c: Likewise.
34773 * math/e_atanhl.c: Likewise.
34774 * math/e_coshl.c: Likewise.
34775 * math/e_exp10.c: Likewise.
34776 * math/e_exp10f.c: Likewise.
34777 * math/e_exp10l.c: Likewise.
34778 * math/e_exp2l.c: Likewise.
34779 * math/e_fmodl.c: Likewise.
34780 * math/e_gammal_r.c: Likewise.
34781 * math/e_hypotl.c: Likewise.
34782 * math/e_j0l.c: Likewise.
34783 * math/e_j1l.c: Likewise.
34784 * math/e_jnl.c: Likewise.
34785 * math/e_lgammal_r.c: Likewise.
34786 * math/e_log10l.c: Likewise.
34787 * math/e_log2l.c: Likewise.
34788 * math/e_logl.c: Likewise.
34789 * math/e_powl.c: Likewise.
34790 * math/e_sinhl.c: Likewise.
34791 * math/e_sqrtl.c: Likewise.
34792 * math/e_scalb.c: Completely rewritten and optimized.
34793 * math/e_scalbf.c: Likewise.
34794 * math/e_scalbl.c: Likewise.
34795 * math/w_acos.c: Likewise.
34796 * math/w_acosf.c: Likewise.
34797 * math/w_acosl.c: Likewise.
34798 * math/w_acosh.c: Likewise.
34799 * math/w_acoshf.c: Likewise.
34800 * math/w_acoshl.c: Likewise.
34801 * math/w_asin.c: Likewise.
34802 * math/w_asinf.c: Likewise.
34803 * math/w_asinl.c: Likewise.
34804 * math/w_atan2.c: Likewise.
34805 * math/w_atan2f.c: Likewise.
34806 * math/w_atan2l.c: Likewise.
34807 * math/w_atanh.c: Likewise.
34808 * math/w_atanhf.c: Likewise.
34809 * math/w_atanhl.c: Likewise.
34810 * math/w_exp10.c: Likewise.
34811 * math/w_exp10f.c: Likewise.
34812 * math/w_exp10l.c: Likewise.
34813 * math/w_fmod.c: Likewise.
34814 * math/w_fmodf.c: Likewise.
34815 * math/w_fmodl.c: Likewise.
34816 * math/w_j0.c: Likewise.
34817 * math/w_j0f.c: Likewise.
34818 * math/w_j0l.c: Likewise.
34819 * math/w_j1.c: Likewise.
34820 * math/w_j1f.c: Likewise.
34821 * math/w_j1l.c: Likewise.
34822 * math/w_jn.c: Likewise.
34823 * math/w_jnf.c: Likewise.
34824 * math/w_log.c: Likewise.
34825 * math/w_logf.c: Likewise.
34826 * math/w_logl.c: Likewise.
34827 * math/w_log10.c: Likewise.
34828 * math/w_log10f.c: Likewise.
34829 * math/w_log10l.c: Likewise.
34830 * math/w_log2.c: Likewise.
34831 * math/w_log2f.c: Likewise.
34832 * math/w_log2l.c: Likewise.
34833 * math/w_pow.c: Likewise.
34834 * math/w_powf.c: Likewise.
34835 * math/w_powl.c: Likewise.
34836 * math/w_remainder.c: Likewise.
34837 * math/w_remainderf.c: Likewise.
34838 * math/w_remainderl.c: Likewise.
34839 * math/w_scalb.c: Likewise.
34840 * math/w_scalbf.c: Likewise.
34841 * math/w_scalbl.c: Likewise.
34842 * math/w_sqrt.c: Likewise.
34843 * math/w_sqrtf.c: Likewise.
34844 * math/w_sqrtl.c: Likewise.
34845 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34846 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34847 used.
34848 * math/math_private.h: Declare __kernel_standard_f.
34849 * math/w_cosh.c: Remove cruft and optimize a bit.
34850 * math/w_coshf.c: Likewise.
34851 * math/w_coshl.c: Likewise.
34852 * math/w_exp2.c: Likewise.
34853 * math/w_exp2f.c: Likewise.
34854 * math/w_exp2l.c: Likewise.
34855 * math/w_hypot.c: Likewise.
34856 * math/w_hypotf.c: Likewise.
34857 * math/w_hypotl.c: Likewise.
34858 * math/w_lgamma.c: Likewise.
34859 * math/w_lgamma_r.c: Likewise.
34860 * math/w_lgammaf.c: Likewise.
34861 * math/w_lgammaf_r.c: Likewise.
34862 * math/w_lgammal.c: Likewise.
34863 * math/w_lgammal_r.c: Likewise.
34864 * math/w_sinh.c: Likewise.
34865 * math/w_sinhf.c: Likewise.
34866 * math/w_sinhl.c: Likewise.
34867 * math/w_tgamma.c: Likewise.
34868 * math/w_tgammaf.c: Likewise.
34869 * math/w_tgammal.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34871 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34872 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34873 Minor optimizations. Pretty printing. Remove cruft.
34874 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34875 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34877 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34878 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34879 * sysdeps/i386/fpu/e_asin.S: Likewise.
34880 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34881 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34882 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34883 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34884 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34885 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34887 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34888 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34889 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34890 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34891 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34892 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34893 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34894 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34895 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34896 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34897 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34898 * sysdeps/i386/fpu/e_log.S: Likewise.
34899 * sysdeps/i386/fpu/e_log10.S: Likewise.
34900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34901 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34902 * sysdeps/i386/fpu/e_log2.S: Likewise.
34903 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34905 * sysdeps/i386/fpu/e_logf.S: Likewise.
34906 * sysdeps/i386/fpu/e_logl.S: Likewise.
34907 * sysdeps/i386/fpu/e_pow.S: Likewise.
34908 * sysdeps/i386/fpu/e_powf.S: Likewise.
34909 * sysdeps/i386/fpu/e_powl.S: Likewise.
34910 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34911 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34912 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34913 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34916 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34917 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34918 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34940 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34943 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34944 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34945 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34946 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34947 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34948 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34949 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34950 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34951 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34953 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34954 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34955 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34956 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34957 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34958 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34959 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34961 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34962 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34963 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34964 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34965 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34966 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34967 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34969 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34970 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34971 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34972 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34973 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34974 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34975 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34976 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34977 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34983 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34988 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34989 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34990 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34991 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34992 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34993 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34995 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35001 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35003 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35004 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35006 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35008 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35010 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35011 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35012 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35013 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35014 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35015 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35016 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35017 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35018 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35019 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35020 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35021 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35022 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35023 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35024 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35027 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35028 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35029 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35030 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35031 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35032 (__isnanf): Likewise.
35033 (__isinf_ns): Likewise.
35034 (__isinf_nsf): Likewise.
35035 (__finite): Likewise.
35036 (__finitef): Likewise.
35037 (__ieee754_sqrt): Define as macro.
35038 (__ieee754_sqrtf): Define as macro.
35039 (__ieee754_sqrtl): Define as macro.
35040 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35041 inlined copy.
35042 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35043 __FINITE_MATH_ONLY__ consistent.
35044 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35045
12cc2fcd
AS
350462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35047
a843a204
AS
35048 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35049 of rawmemchr.
35050
12cc2fcd
AS
35051 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35052
c853acd5
UD
350532011-10-09 Ulrich Drepper <drepper@gmail.com>
35054
35055 * po/ja.po: Update from translation team.
35056
c658d255
RM
350572011-10-08 Roland McGrath <roland@hack.frob.com>
35058
110946e4
RM
35059 * locale/programs/locarchive.c (prepare_address_space): New function.
35060 (create_archive, enlarge_archive, open_archive): Use it.
35061
50604220
RM
35062 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35063 inside [SHARED], where it is used.
35064
c658d255
RM
35065 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35066
35067 * nss/getent.c (netgroup_keys): Remove unused variable.
35068 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35069
6a621eb7
UD
350702011-10-08 Ulrich Drepper <drepper@gmail.com>
35071
7edb55ce
UD
35072 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35073 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35075 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35076 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35077 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35078 * math/Makefile (libm-calls): Add s_isinf_ns.
35079 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35080 * math/multc3.c: Likewise.
35081 * math/s_casin.c: Likewise.
35082 * math/s_casinf.c: Likewise.
35083 * math/s_casinl.c: Likewise.
35084 * math/s_ccos.c: Likewise.
35085 * math/s_ccosf.c: Likewise.
35086 * math/s_ccosl.c: Likewise.
35087 * math/s_ctan.c: Likewise.
35088 * math/s_ctanf.c: Likewise.
35089 * math/s_ctanh.c: Likewise.
35090 * math/s_ctanhf.c: Likewise.
35091 * math/s_ctanhl.c: Likewise.
35092 * math/s_ctanl.c: Likewise.
35093 * math/w_fmod.c: Likewise.
35094 * math/w_fmodf.c: Likewise.
35095 * math/w_fmodl.c: Likewise.
35096 * math/w_remainder.c: Likewise.
35097 * math/w_remainderf.c: Likewise.
35098 * math/w_remainderl.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35100 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35103 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35104 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35105 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35106 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35107
187da0ae
UD
35108 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35109 of the number.
35110 * stdio-common/printf_fphex.c: Likewise.
35111 * stdio-common/printf_size.c: Likewise.
35112
9277c064
UD
35113 * math/e_exp10.c: Include math_private.h using <...> not "...".
35114 * math/e_exp10f.c: Likewise.
35115 * math/e_exp10l.c: Likewise.
35116 * math/e_exp2l.c: Likewise.
35117 * math/e_j0l.c: Likewise.
35118 * math/e_j1l.c: Likewise.
35119 * math/e_jnl.c: Likewise.
35120 * math/e_lgammal_r.c: Likewise.
35121 * math/e_rem_pio2l.c: Likewise.
35122 * math/e_scalb.c: Likewise.
35123 * math/e_scalbf.c: Likewise.
35124 * math/e_scalbl.c: Likewise.
35125 * math/k_cosl.c: Likewise.
35126 * math/k_sinl.c: Likewise.
35127 * math/k_tanl.c: Likewise.
35128 * math/s_cacoshf.c: Likewise.
35129 * math/s_catan.c: Likewise.
35130 * math/s_catanf.c: Likewise.
35131 * math/s_catanh.c: Likewise.
35132 * math/s_catanhf.c: Likewise.
35133 * math/s_catanhl.c: Likewise.
35134 * math/s_catanl.c: Likewise.
35135 * math/s_ccosh.c: Likewise.
35136 * math/s_ccoshf.c: Likewise.
35137 * math/s_ccoshl.c: Likewise.
35138 * math/s_cexp.c: Likewise.
35139 * math/s_cexpf.c: Likewise.
35140 * math/s_cexpl.c: Likewise.
35141 * math/s_clog.c: Likewise.
35142 * math/s_clog10.c: Likewise.
35143 * math/s_clog10f.c: Likewise.
35144 * math/s_clog10l.c: Likewise.
35145 * math/s_clogf.c: Likewise.
35146 * math/s_clogl.c: Likewise.
35147 * math/s_csin.c: Likewise.
35148 * math/s_csinf.c: Likewise.
35149 * math/s_csinh.c: Likewise.
35150 * math/s_csinhf.c: Likewise.
35151 * math/s_csinhl.c: Likewise.
35152 * math/s_csinl.c: Likewise.
35153 * math/s_csqrt.c: Likewise.
35154 * math/s_csqrtf.c: Likewise.
35155 * math/s_csqrtl.c: Likewise.
35156 * math/s_ctan.c: Likewise.
35157 * math/s_ctanf.c: Likewise.
35158 * math/s_ctanh.c: Likewise.
35159 * math/s_ctanhf.c: Likewise.
35160 * math/s_ctanhl.c: Likewise.
35161 * math/s_ctanl.c: Likewise.
35162 * math/s_ldexp.c: Likewise.
35163 * math/s_ldexpf.c: Likewise.
35164 * math/s_ldexpl.c: Likewise.
35165 * math/s_significand.c: Likewise.
35166 * math/s_significandf.c: Likewise.
35167 * math/s_significandl.c: Likewise.
35168 * math/w_acos.c: Likewise.
35169 * math/w_acosf.c: Likewise.
35170 * math/w_acosh.c: Likewise.
35171 * math/w_acoshf.c: Likewise.
35172 * math/w_acoshl.c: Likewise.
35173 * math/w_acosl.c: Likewise.
35174 * math/w_asin.c: Likewise.
35175 * math/w_asinf.c: Likewise.
35176 * math/w_asinl.c: Likewise.
35177 * math/w_atan2.c: Likewise.
35178 * math/w_atan2f.c: Likewise.
35179 * math/w_atan2l.c: Likewise.
35180 * math/w_atanh.c: Likewise.
35181 * math/w_atanhf.c: Likewise.
35182 * math/w_atanhl.c: Likewise.
35183 * math/w_cosh.c: Likewise.
35184 * math/w_coshf.c: Likewise.
35185 * math/w_coshl.c: Likewise.
35186 * math/w_dremf.c: Likewise.
35187 * math/w_exp10.c: Likewise.
35188 * math/w_exp10f.c: Likewise.
35189 * math/w_exp10l.c: Likewise.
35190 * math/w_exp2.c: Likewise.
35191 * math/w_exp2f.c: Likewise.
35192 * math/w_fmod.c: Likewise.
35193 * math/w_fmodf.c: Likewise.
35194 * math/w_fmodl.c: Likewise.
35195 * math/w_hypot.c: Likewise.
35196 * math/w_hypotf.c: Likewise.
35197 * math/w_hypotl.c: Likewise.
35198 * math/w_j0.c: Likewise.
35199 * math/w_j0f.c: Likewise.
35200 * math/w_j0l.c: Likewise.
35201 * math/w_j1.c: Likewise.
35202 * math/w_j1f.c: Likewise.
35203 * math/w_j1l.c: Likewise.
35204 * math/w_jn.c: Likewise.
35205 * math/w_jnf.c: Likewise.
35206 * math/w_jnl.c: Likewise.
35207 * math/w_lgamma.c: Likewise.
35208 * math/w_lgamma_r.c: Likewise.
35209 * math/w_lgammaf.c: Likewise.
35210 * math/w_lgammaf_r.c: Likewise.
35211 * math/w_lgammal.c: Likewise.
35212 * math/w_lgammal_r.c: Likewise.
35213 * math/w_log.c: Likewise.
35214 * math/w_log10.c: Likewise.
35215 * math/w_log10f.c: Likewise.
35216 * math/w_log10l.c: Likewise.
35217 * math/w_log2.c: Likewise.
35218 * math/w_log2f.c: Likewise.
35219 * math/w_log2l.c: Likewise.
35220 * math/w_logf.c: Likewise.
35221 * math/w_logl.c: Likewise.
35222 * math/w_pow.c: Likewise.
35223 * math/w_powf.c: Likewise.
35224 * math/w_powl.c: Likewise.
35225 * math/w_remainder.c: Likewise.
35226 * math/w_remainderf.c: Likewise.
35227 * math/w_remainderl.c: Likewise.
35228 * math/w_scalb.c: Likewise.
35229 * math/w_scalbf.c: Likewise.
35230 * math/w_scalbl.c: Likewise.
35231 * math/w_sinh.c: Likewise.
35232 * math/w_sinhf.c: Likewise.
35233 * math/w_sinhl.c: Likewise.
35234 * math/w_sqrt.c: Likewise.
35235 * math/w_sqrtf.c: Likewise.
35236 * math/w_sqrtl.c: Likewise.
35237 * math/w_tgamma.c: Likewise.
35238 * math/w_tgammaf.c: Likewise.
35239 * math/w_tgammal.c: Likewise.
35240
6a621eb7
UD
35241 * po/ja.po: Update from translation team.
35242
bf582445
AJ
352432011-09-29 Andreas Jaeger <aj@suse.de>
35244
f9efbf3a
AJ
35245 [BZ #13179]
35246 * sunrpc/netname.c (netname2host): Fix logic.
35247
bf582445
AJ
35248 [BZ #6779]
35249 [BZ #6783]
35250 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35251 correctly.
35252 * math/w_remainder.c (__remainder): Likewise.
35253 * math/w_remainderf.c (__remainderf): Likewise.
35254 * math/libm-test.inc (remainder_test): Add test cases.
35255
48693bea
AK
352562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35257
35258 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35259 sdiv_qrnnd.
35260
42622229
LD
352612011-10-07 Ulrich Drepper <drepper@gmail.com>
35262
35263 * string/test-memcmp.c: Avoid unncessary #defines.
35264 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35265
093ecf92
LD
352662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35267
35268 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35269 Use new sse2 version for core i3 - i7 as it's faster
35270 than sse42 version.
35271 (bit_Prefer_PMINUB_for_stringop): New.
35272 * sysdeps/x86_64/rawmemchr.S: Update.
35273 Replace with faster SSE2 version.
35274 * sysdeps/x86_64/memrchr.S: New file.
35275 * sysdeps/x86_64/memchr.S: Update.
35276 Replace with faster SSE2 version.
35277
fde56e5c
MP
352782011-09-12 Marek Polacek <mpolacek@redhat.com>
35279
35280 * elf/dl-load.c (lose): Add cast to avoid warning.
35281
21fd49a9
UD
352822011-10-07 Ulrich Drepper <drepper@gmail.com>
35283
5a06e643
UD
35284 * po/ca.po: Update from translation team.
35285
684ae515
UD
35286 * inet/getnetgrent_r.c: Hook up nscd.
35287 * nscd/Makefile (routines): Add nscd_netgroup.
35288 (nscd-modules): Add netgroupcache.
35289 (CFLAGS-netgroupcache.c): Define.
35290 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35291 (cache_search): Add const to second parameter.
35292 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35293 INNETGR.
35294 (dbs): Add netgrdb entry.
35295 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35296 (verify_persistent_db): Handle netgrdb.
35297 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35298 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35299 GETFDNETGR.
35300 (netgroup_response_header): Define.
35301 (innetgroup_response_header): Define.
35302 (datahead): Add netgroup_response_header and innetgroup_response_header
35303 elements.
35304 * nscd/nscd.conf: Add entries for netgroup cache.
35305 * nscd/nscd.h (dbtype): Add netgrdb.
35306 (_PATH_NSCD_NETGROUP_DB): Define.
35307 (netgroup_iov_disabled): Declare.
35308 (xmalloc, xcalloc, xrealloc): Move declarations here.
35309 (cache_search): Adjust prototype.
35310 Add netgroup-related prototypes.
35311 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35312 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35313 (__nscd_innetgr): Declare.
35314 * nscd/selinux.c (perms): Use access_vector_t as element type and
35315 add netgroup-related initializers.
35316 * nscd/netgroupcache.c: New file.
35317 * nscd/nscd_netgroup.c: New file.
35318 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35319 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35320 For four parameters use innetgr.
35321 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35322 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35323 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35324 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35325
21fd49a9
UD
35326 * nscd/connections.c (register_traced_file): Don't register file
35327 for disabled databases.
35328
054c0457
UD
353292011-10-06 Ulrich Drepper <drepper@gmail.com>
35330
32b63198
UD
35331 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35332
054c0457
UD
35333 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35334 from tree and freeing node.
35335
64031225
JO
353362011-09-25 Jiri Olsa <jolsa@redhat.com>
35337
35338 * nss/nsswitch.c (__nss_database_lookup): Handle
35339 nss_parse_service_list out of memory case.
35340
0490345c
JO
353412011-09-15 Jiri Olsa <jolsa@redhat.com>
35342
35343 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35344 out of memory case.
35345
3a62d00d
AS
353462011-10-04 Andreas Schwab <schwab@redhat.com>
35347
35348 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35349 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35350 pass it down.
35351 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35352 elf_machine_rela, elf_machine_lazy_rel.
35353 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35354 (ELF_DYNAMIC_DO_REL): Likewise.
35355 (ELF_DYNAMIC_DO_RELA): Likewise.
35356 (ELF_DYNAMIC_RELOCATE): Likewise.
35357 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35358 to ELF_DYNAMIC_DO_REL.
35359 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35360 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35361 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35362 elf_machine_rela.
35363 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35364 skip_ifunc, don't call ifunc function if non-zero.
35365 (elf_machine_rela): Likewise.
35366 (elf_machine_lazy_rel): Likewise.
35367 (elf_machine_lazy_rela): Likewise.
35368 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35369 (elf_machine_lazy_rel): Likewise.
35370 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35371 Likewise.
35372 (elf_machine_lazy_rel): Likewise.
35373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35374 Likewise.
35375 (elf_machine_lazy_rel): Likewise.
35376 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35377 (elf_machine_lazy_rel): Likewise.
35378 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35379 (elf_machine_lazy_rel): Likewise.
35380 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35381 (elf_machine_lazy_rel): Likewise.
35382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35383 (elf_machine_lazy_rel): Likewise.
35384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35385 (elf_machine_lazy_rel): Likewise.
35386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35387 (elf_machine_lazy_rel): Likewise.
35388
68577918
UD
353892011-09-28 Ulrich Drepper <drepper@gmail.com>
35390
35391 * nss/nss_files/files-init.c (_nss_files_init): Use static
35392 initialization for all the *_traced_file variables.
35393
68822d74
AS
353942011-09-28 Andreas Schwab <schwab@redhat.com>
35395
35396 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35397
2056100b
RM
353982011-09-27 Roland McGrath <roland@hack.frob.com>
35399
35400 [BZ #13226]
35401 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35402
32c76b63
AS
354032011-09-27 Andreas Schwab <schwab@redhat.com>
35404
35405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35406 Reread the line before reparsing it.
35407
bf972c9d
AS
354082011-09-26 Andreas Schwab <schwab@redhat.com>
35409
35410 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35411
e057a1b5
JM
354122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35413 Maxim Kuvyrkov <maxim@codesourcery.com>
35414 Joseph Myers <joseph@codesourcery.com>
35415
35416 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35417 if needed for __stack_chk_guard.
35418
bc7e1c36
RM
354192011-09-19 Roland McGrath <roland@hack.frob.com>
35420
ecb1482f
RM
35421 * sysdeps/posix/spawni.c (script_execute): Always define it.
35422 It will be optimized away if unused.
35423 (maybe_script_execute): New function.
35424 (__spawni): Call it.
35425
bc7e1c36
RM
35426 * Makerules: Don't include tls.make.
35427 (config-tls): Always set to thread.
35428 * tls.make.c: File removed.
35429
1c3b002b
MF
354302011-09-19 Mike Frysinger <vapier@gentoo.org>
35431
35432 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35433 * config.make.in (CPPFLAGS-config): New substituted variable.
35434
2840865d
UD
354352011-09-15 Ulrich Drepper <drepper@gmail.com>
35436
88738eb6
UD
35437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35438
cbf645a6 35439 [BZ #13192]
2840865d
UD
35440 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35441 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35442
b402e91a
RM
354432011-09-15 Roland McGrath <roland@hack.frob.com>
35444
35445 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35446 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35448 (CALL_FAIL): Likewise.
35449 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35450 (CALL_FAIL): Macro removed.
35451 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35452
4c1a1f71
UD
354532011-09-15 Ulrich Drepper <drepper@gmail.com>
35454
35455 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35456 for __FINITE_MATH_ONLY__ == 1.
35457
edc121be
AS
354582011-09-15 Andreas Schwab <schwab@redhat.com>
35459
35460 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35461 __ieee754_sqrt instead of sqrt.
35462 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35463 __ieee754_sqrtf instead of sqrtf.
35464 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35465 __floorf instead of floorf.
35466 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35467 __floorf, __truncf instead of floorf, truncf.
35468
cd205654
UD
354692011-09-14 Ulrich Drepper <drepper@gmail.com>
35470
ee4d0315
UD
35471 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35472
cd205654
UD
35473 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35474 __extern_always_inline.
35475 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35476 32-bit.
35477
48b67d71
AS
354782011-09-14 Andreas Schwab <schwab@redhat.com>
35479
35480 * elf/rtld.c (dl_main): Also relocate in dependency order when
35481 doing symbol dependency testing.
35482
1ae12c75
AS
354832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35484
35485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35486 Always define `refsym'.
35487
995a80df
AS
354882011-09-13 Andreas Schwab <schwab@redhat.com>
35489
e529793b
AS
35490 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35491 (__FD_ELT): Renamed from __FDELT.
35492 * misc/bits/select2.h (__FD_ELT): Likewise.
35493 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35494 __FD_MASK instead of __FDELT, __FDMASK.
35495 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35496 Likewise.
35497 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35498 Likewise.
35499
52d4fef8
AS
35500 * elf/Makefile (gen-ldd): Fix pattern.
35501
995a80df
AS
35502 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35503 (init_tls): Likewise.
35504
8682f8b0
UD
355052011-09-12 Ulrich Drepper <drepper@gmail.com>
35506
35507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35508
de82006d
AS
355092011-09-12 Andreas Schwab <schwab@redhat.com>
35510
a7c8e6a1
AS
35511 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35512 `struct cmsghdr *' instead of `void *'.
35513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35514 Likewise.
35515
0f31fe77
AS
355162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35517
35518 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35519 if non-absolute.
35520 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35521 ldd_rewrite_script.
0f31fe77 35522
32b4c839
UD
355232011-09-11 Ulrich Drepper <drepper@gmail.com>
35524
83cd1420
UD
35525 * configure.in: Remove --with-tls option.
35526 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35527 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35528 out in case it is missing.
35529 * sysdeps/ia64/elf/configure.in: Likewise.
35530 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35531 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35532 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35533 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35534 * sysdeps/sh/elf/configure.in: Likewise.
35535 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35536 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35537 * sysdeps/x86_64/elf/configure.in: Likewise.
35538 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35539 * sysdeps/mach/hurd/tls.h: Likewise.
35540
633f745d
UD
35541 [BZ #13067]
35542 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35543
f318beb8
UD
35544 [BZ #13090]
35545 * configure.in: Fix use of AC_INIT.
35546
32b4c839
UD
35547 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35548
3ce1f295
UD
355492011-09-10 Ulrich Drepper <drepper@gmail.com>
35550
bb016596
UD
35551 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35552 __set_errno.
8e58439c
UD
35553 * malloc/hooks.c: Likewise.
35554
aebae053 35555 [BZ #11929]
02d46fc4
UD
35556 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35557 variables statically.
35558 (narenas): Initialize.
35559 (list_lock): Initialize.
bb016596
UD
35560 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35561 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35562 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35563 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35564 Add initializers to main_arena and mp_.
35565 (malloc_state): Remove pagesize member. Change all users to use
35566 GLRO(dl_pagesize).
35567
35568 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35569 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35570 is always initialized.
35571
22a89187
UD
35572 * malloc/malloc.c: Removed unused configurations and dead code.
35573 * malloc/arena.c: Likewise.
35574 * malloc/hooks.c: Likewise.
02d46fc4 35575 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35576
d063d164
UD
35577 * include/tls.h: Removed. USE___THREAD must always be defined.
35578 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35579 * elf/dl-libc.c: Likewise.
35580 * elf/dl-tsd.c: Likewise.
35581 * include/errno.h: Likewise.
35582 * include/netdb.h: Likewise.
35583 * include/resolv.h: Likewise.
35584 * inet/herrno-loc.c: Likewise.
35585 * inet/herrno.c: Likewise.
35586 * malloc/arena.c: Likewise.
35587 * malloc/hooks.c: Likewise.
35588 * malloc/malloc.c: Likewise.
35589 * resolv/res-state.c: Likewise.
35590 * resolv/res_libc.c: Likewise.
35591 * sysdeps/i386/dl-machine.h: Likewise.
35592 * sysdeps/ia64/dl-machine.h: Likewise.
35593 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35594 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35595 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35596 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35597 * sysdeps/sh/dl-machine.h: Likewise.
35598 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35599 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35600 * sysdeps/unix/i386/sysdep.S: Likewise.
35601 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35602 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35605 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35607 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35611 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35612 * sysdeps/x86_64/dl-machine.h: Likewise.
35613 * tls.make.c: Likewise.
35614
3ce1f295
UD
35615 * configure.in: Remove --with-__thread option. Make tests for
35616 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35617 tls_model attribute fail if no support is available. Remove
35618 USE_IN_LIBIO.
35619 * Makeconfig: Adjust for dropped configure option. All features are
35620 now mandatory.
35621 * Makerules: Likewise.
35622 * Versions.def: Likewise.
35623 * argp/argp-fmtstream.c: Likewise.
35624 * argp/argp-fmtstream.h: Likewise.
35625 * argp/argp-help.c: Likewise.
35626 * assert/assert.c: Likewise.
35627 * config.h.in: Likewise.
35628 * config.make.in: Likewise.
35629 * configure: Likewise.
35630 * configure.in: Likewise.
35631 * csu/Versions: Likewise.
35632 * csu/init.c: Likewise.
35633 * elf/tst-audit2.c: Likewise.
35634 * elf/tst-tls10.c: Likewise.
35635 * elf/tst-tls10.h: Likewise.
35636 * elf/tst-tls11.c: Likewise.
35637 * elf/tst-tls12.c: Likewise.
35638 * elf/tst-tls14.c: Likewise.
35639 * elf/tst-tlsmod11.c: Likewise.
35640 * elf/tst-tlsmod12.c: Likewise.
35641 * elf/tst-tlsmod13.c: Likewise.
35642 * elf/tst-tlsmod13a.c: Likewise.
35643 * elf/tst-tlsmod14a.c: Likewise.
35644 * elf/tst-tlsmod15b.c: Likewise.
35645 * elf/tst-tlsmod16a.c: Likewise.
35646 * elf/tst-tlsmod16b.c: Likewise.
35647 * elf/tst-tlsmod7.c: Likewise.
35648 * elf/tst-tlsmod8.c: Likewise.
35649 * elf/tst-tlsmod9.c: Likewise.
35650 * gmon/gmon.c: Likewise.
35651 * grp/fgetgrent_r.c: Likewise.
35652 * grp/putgrent.c: Likewise.
35653 * hurd/fopenport.c: Likewise.
35654 * include/libc-symbols.h: Likewise.
35655 * include/tls.h: Likewise.
35656 * intl/gettextP.h: Likewise.
35657 * intl/loadinfo.h: Likewise.
35658 * locale/global-locale.c: Likewise.
35659 * locale/localeinfo.h: Likewise.
35660 * mach/devstream.c: Likewise.
35661 * malloc/arena.c: Likewise.
35662 * malloc/set-freeres.c: Likewise.
35663 * misc/err.c: Likewise.
35664 * misc/getttyent.c: Likewise.
35665 * misc/mntent_r.c: Likewise.
35666 * posix/getopt.c: Likewise.
35667 * posix/wordexp.c: Likewise.
35668 * pwd/fgetpwent_r.c: Likewise.
35669 * resolv/Versions: Likewise.
35670 * resolv/res_hconf.c: Likewise.
35671 * shadow/fgetspent_r.c: Likewise.
35672 * shadow/putspent.c: Likewise.
35673 * stdio-common/printf_fphex.c: Likewise.
35674 * stdio-common/tmpfile.c: Likewise.
35675 * stdlib/abort.c: Likewise.
35676 * stdlib/fmtmsg.c: Likewise.
35677 * sunrpc/auth_unix.c: Likewise.
35678 * sunrpc/clnt_perr.c: Likewise.
35679 * sunrpc/clnt_tcp.c: Likewise.
35680 * sunrpc/clnt_udp.c: Likewise.
35681 * sunrpc/clnt_unix.c: Likewise.
35682 * sunrpc/openchild.c: Likewise.
35683 * sunrpc/svc_simple.c: Likewise.
35684 * sunrpc/svc_tcp.c: Likewise.
35685 * sunrpc/svc_udp.c: Likewise.
35686 * sunrpc/svc_unix.c: Likewise.
35687 * sunrpc/xdr.c: Likewise.
35688 * sunrpc/xdr_array.c: Likewise.
35689 * sunrpc/xdr_rec.c: Likewise.
35690 * sunrpc/xdr_ref.c: Likewise.
35691 * sunrpc/xdr_stdio.c: Likewise.
35692
1248c1c4
PB
356932011-09-09 Ulrich Drepper <drepper@gmail.com>
35694
35695 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35696
356972011-07-03 Andreas Jaeger <aj@suse.de>
35698
35699 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35700 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35701 regenerate with gen-libm-tests.pl.
35702
357032010-05-12 Petr Baudis <pasky@suse.cz>
35704
35705 [BZ #11589]
35706 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35707 around j0() zero points by switching to j1().
35708 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35712
f22e1074
UD
357132011-09-09 Ulrich Drepper <drepper@gmail.com>
35714
f19009c1
UD
35715 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35716 instead of 0.
35717 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35718 instead of 0.
f19009c1
UD
35719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35720 Patch in part by Pavel Roskin <proski@gnu.org>.
35721
3f8cc204
UD
35722 [BZ #13138]
35723 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35724 realloc.
35725 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35726 Free memory block if necessary.
35727
f22e1074
UD
35728 [BZ #12847]
35729 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35730 be NULL. Don't lock in this case.
35731
0a2349f9
RM
357322011-09-09 Roland McGrath <roland@hack.frob.com>
35733
35734 * elf/elf.h (ELFOSABI_GNU): New macro.
35735 (ELFOSABI_LINUX): Define to that.
35736
f3cdd467
DZ
357372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35738
35739 * string/strncat.c (strncat): Undef the symbol in case it has been
35740 defined in bits/string.h.
35741
74718d13
UD
357422011-09-09 Ulrich Drepper <drepper@gmail.com>
35743
633e9e0f
UD
35744 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35745
0a2349f9 35746 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35747 link map.
35748
f9924780
AJ
357492011-08-17 Andreas Jaeger <aj@suse.de>
35750
35751 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35752
7f5517aa
PP
357532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35754 Ian Lance Taylor <iant@google.com>
35755
35756 * math/libm-test.inc (lround_test): New testcase.
35757 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35758
762011fe
UD
357592011-09-08 Ulrich Drepper <drepper@gmail.com>
35760
92963737
UD
35761 * Makefile: Remove support for automatic cvs check-ins.
35762 * Makerules: Likewise.
35763 * config.make.in: Likewise.
35764 * configure.in: Likewise.
35765 * intl/Makefile: Likewise.
35766 * locale/Makefile: Likewise.
35767 * po/Makefile: Likewise.
35768 * posix/Makefile: Likewise.
35769 * sysdeps/gnu/Makefile: Likewise.
35770 * sysdeps/mach/hurd/Makefile: Likewise.
35771 * sysdeps/sparc/sparc32/Makefile: Likewise.
35772
b0727fd8
JS
35773 [BZ #13118]
35774 * posix/Makefile (bug-regex32-ENV): Define.
35775 Patch by John Stanley <jpsinthemix@verizon.net>.
35776
a0f33f99
UD
35777 * misc/Makefile (headers): Add bits/select2.h.
35778 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35779 * misc/bits/select2.h: New file.
35780 * include/bits/select2.h: New file.
35781 * debug/Makefile (routines): Add fdelt_chk.
35782 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35783 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35784 FD_ISSET.
35785 * debug/fdelt_chk.c: New file.
35786
762011fe
UD
35787 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35788 * wcsmbs/test-wmemcmp.c: Likewise.
35789 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35790 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35791
357922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35793
35794 * string/Makefile (strop-tests): Add memcmp.
35795 * string/test-wmemcmp.c: New file.
35796 * string/test-memcmp.c: Add wmemcmp support.
35797
7f513ec8
RM
357982011-09-08 Roland McGrath <roland@hack.frob.com>
35799
0442afb4
RM
35800 [BZ #13153]
35801 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35802 2011-07-19 change.
35803
7f513ec8
RM
35804 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35805 garbage value in a __mach_port_mod_refs call in the cases of the
35806 task-self and thread-self ports.
35807
a12b2239
ST
358082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35809
35810 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35811
610f9ab4
AS
358122011-09-08 Andreas Schwab <schwab@redhat.com>
35813
7f513ec8 35814 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35815
48882a1a
LD
358162011-09-07 Ulrich Drepper <drepper@gmail.com>
35817
b49865be
UD
35818 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35819
fdc86bc9
UD
35820 * elf/dl-libc.c (dlerror_run): Pass back error code from
35821 dl_catch_error.
35822
c966526a
UD
35823 [BZ #13123]
35824 * elf/dl-load.c (lose): Free l_origin if it is valid.
35825
48882a1a
LD
35826 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35827 names.
35828 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35832 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35833 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35834
77a2a8b4
AZ
358352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35836
35837 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35838 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35839 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35840 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35841 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35842 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35843 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35844 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35845 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35846 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35847
24f579d8
AM
358482011-08-15 Alan Modra <amodra@gmail.com>
35849
35850 [BZ #13092]
35851 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35852 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35853 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35854 ppc_mcount to static-only-routines.
35855 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35856 __mcount_internal.
35857 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35858 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35859
3d4837df
UD
358602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35861
35862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35863 for finite and infinity parameters.
35864
22700377
WS
358652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35866
35867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35868 and add nop instructions for throughput optimization.
35869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35870
5025581e
WS
358712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35872
35873 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35874 aligned copy for power7 with vector-scalar instructions.
35875 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35876
08a300c9
L
358772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35878
35879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35880 AVX check.
35881
59178ef9
AS
358822011-09-07 Andreas Schwab <schwab@redhat.com>
35883
35884 [BZ #13144]
35885 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35886 last change.
35887
e38ba7ab
UD
358882011-09-07 Ulrich Drepper <drepper@gmail.com>
35889
35890 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35891 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35892 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35894 clock_gettime.
35895
d53a73ac
UD
358962011-09-06 Ulrich Drepper <drepper@gmail.com>
35897
fc8bffcc
UD
35898 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35899 Forgot to demangle the pointer.
35900
ceaa0c5d
UD
35901 * sysdeps/i386/sysdep.h: Define atom_text_section.
35902 * sysdeps/x86_64/sysdep.h: Likewise.
35903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35904 section with atom_text_section.
35905 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35907 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35909 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35910
a77d3c17
UD
35911 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35912 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35913 already be defined. Change to take two parameters and don't assign
35914 result to variable. Adjust all users.
35915 Define INTERNAL_GETTIME if not already defined.
35916 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35917 call.
35918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35919 HAVE_CLOCK_GETTIME_VSYSCALL.
35920 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35921
d53a73ac
UD
35922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35923 gettimeofday vsyscall, just use time.
35924
a8f84144
AS
359252011-09-06 Andreas Schwab <schwab@redhat.com>
35926
35927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35928 <errno.h>.
35929
ef606249
UD
359302011-09-06 Ulrich Drepper <drepper@gmail.com>
35931
35932 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35933 syscall on x86-64.
35934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35935 syscall.
35936 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35938 syscall if possible.
35939
6585cb60
UD
359402011-09-05 Ulrich Drepper <drepper@gmail.com>
35941
35942 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35943 e_ident. Don't pass to find_mapsXX.
35944 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35945
a5f524e4
LD
359462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35947
35948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35949 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35950 * sysdeps/x86_64/multiarch/strchr.S: Update.
35951 Check bit_slow_BSF bit.
35952 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35953 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35954 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35955
554881ef
UD
359562011-09-05 Ulrich Drepper <drepper@gmail.com>
35957
d96de963
UD
35958 [BZ #13134]
35959 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35960 before glibc 2.15.
35961 (tryshell): Define.
35962 (__spawni): Change last parameter to be flag. Test
35963 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35964 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35965 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35966 * posix/spawni.c: Likewise.
35967 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35968 * posix/spawnp.c: Likewise. Change normal version to use
35969 SPAWN_XFLAGS_USE_PATH.
35970 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35971 SPAWN_XFLAGS_TRY_SHELL.
35972
d48e5868
UD
35973 [BZ #13150]
35974 * posix/glob.h: Remove gcc 1.x support.
35975
554881ef
UD
35976 [BZ #13068]
35977 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35978
693fb948
LD
359792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35980
35981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35982 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35983 strrchr-sse2-bsf
35984 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35985 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35986 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35988 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35990
1b48c537
UD
359912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35992
49d42c37
UD
35993 * sysdeps/x86_64/wcscmp.S: New file.
35994
1b48c537
UD
35995 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35996 wcscmp-c wcscmp-sse2
35997 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35998 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36000 * wcsmbs/wcscmp.c: Allow renaming.
36001
15c95c5d
DM
360022011-09-05 David S. Miller <davem@davemloft.net>
36003
36004 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36005 stack slot, rather than the struct return pointer slot.
36006 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36007 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36009 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36010
2f0ad8f3
UD
360112011-09-05 Ulrich Drepper <drepper@gmail.com>
36012
d88ae418
UD
36013 * po/ja.po: Update from translation team.
36014
2f0ad8f3
UD
36015 [BZ #13144]
36016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36017 kernel in 64-bit binaries.
36018
5f4318d1
DM
360192011-09-01 David S. Miller <davem@davemloft.net>
36020
36021 * elf/elf.h (HWCAP_SPARC_*): Move to..
36022 * sysdeps/sparc/sysdep.h: this new file and add new values.
36023 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36024 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36025 _DL_HWCAP_COUNT to 24.
36026 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36027 entries.
36028 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36029 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36030 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36032 instead of magic constants.
36033 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36034
3ba57516
DM
360352011-08-31 David S. Miller <davem@davemloft.net>
36036
36037 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36039 Reimplement to do errno handling inline.
36040 (SYSCALL_ERROR_HANDLER): New macro.
36041 (__SYSCALL_STRING): Do not do errno handling in asm.
36042 (__CLONE_SYSCALL_STRING): Delete.
36043 (__INTERNAL_SYSCALL_STRING): Delete.
36044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36045 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36046 (PSEUDO): Reimplement to do errno handling inline.
36047 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36048 (SYSCALL_ERROR_HANDLER): New macro.
36049 (__SYSCALL_STRING): Do not do errno handling in asm.
36050 (__CLONE_SYSCALL_STRING): Delete.
36051 (__INTERNAL_SYSCALL_STRING): Delete.
36052 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36053 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36054 i386.
36055 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36056 (inline_syscall*): Add 'err' argument.
36057 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36058 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36059 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36060 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36061
36062 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36063 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36064
2bc17433
AS
360652011-08-30 Andreas Schwab <schwab@redhat.com>
36066
36067 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36068
fbeb5f4d
JO
360692011-08-29 Jiri Olsa <jolsa@redhat.com>
36070
36071 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36072 directive.
36073
ad69cc26
DM
360742011-08-24 David S. Miller <davem@davemloft.net>
36075
36076 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36077
39dd69df
AS
360782011-08-24 Andreas Schwab <schwab@redhat.com>
36079
36080 * elf/Makefile: Add rules to build and run unload8 test.
36081 * elf/unload8.c: New file.
36082 * elf/unload8mod1.c: New file.
36083 * elf/unload8mod1x.c: New file.
36084 * elf/unload8mod2.c: New file.
36085 * elf/unload8mod3.c: New file.
36086
36087 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36088 it wasn't used.
36089
2c0b250a
DM
360902011-08-23 David S. Miller <davem@davemloft.net>
36091
36092 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36093 subtract stack bias.
36094 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36095 %sp not %fp in calculations.
36096 (_JMPBUF_UNWINDS_ADJ): Likewise.
36097
22044b48
DM
36098 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36099 (aio_suspend): Call it to force an exception region around the
36100 AIO_MISC_WAIT() invocation.
36101
2cae4995
AS
361022011-08-23 Andreas Schwab <schwab@redhat.com>
36103
36104 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36105 backslash.
36106
873a772e
AJ
361072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36108
36109 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36110 protection macro.
36111 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36112 and <dl-machine.h>.
36113 (Elf64_FuncDesc): Remove.
36114
25ad0df1
DM
361152011-08-22 David S. Miller <davem@davemloft.net>
36116
36117 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36118 sigaltstack check, add missing cfi directives.
36119 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36120 missing cfi directives, and sigaltstack handling.
36121
e888bcbe
AS
361222011-08-16 Andreas Schwab <schwab@redhat.com>
36123
36124 [BZ #11724]
36125 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36126 object is seen twice.
36127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36128
36129 * elf/Makefile (distribute): Add tst-initorder2.c.
36130 (tests): Add tst-initorder2.
36131 (modules-names): Add tst-initorder2a tst-initorder2b
36132 tst-initorder2c tst-initorder2d. Add rules to build them.
36133 ($(objpfx)tst-initorder2.out): New rule.
36134 * elf/tst-initorder2.c: New file.
36135 * elf/tst-initorder2.exp: New file.
36136
87162f46
AS
361372011-08-22 Andreas Schwab <schwab@redhat.com>
36138
70538b7f
AS
36139 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36140
f55ffe58
AS
36141 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36142 dependencies back to end of function.
36143
87162f46
AS
36144 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36145 $(elfobjdir)/ld.so.
36146
91b392a4
UD
361472011-08-21 Ulrich Drepper <drepper@gmail.com>
36148
36149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36150 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36152 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36153 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36154 of __vdso_gettimeofday.
36155 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36156 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36157 attribute_hidden.
36158 (_libc_vdso_platform_setup): Remove initialization of
36159 __vdso_gettimeofday and __vdso_time.
36160
5c43483f
UD
361612011-08-20 Ulrich Drepper <drepper@gmail.com>
36162
775a77e7
UD
36163 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36164 and fgetc_unlocked.
36165 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36166 getc_unlocked.
89f447ed 36167
49c74ba9
UD
36168 * elf/dl-open.c (add_to_global): Report additions to the global scope
36169 for LD_DEBUG=scopes.
36170 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36171 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36172
5c43483f
UD
36173 [BZ #13114]
36174 * stdio-common/Makefile (tests): Add bug24.
36175 * stdio-common/bug24.c: New file.
36176
a101b025
AJ
361772011-08-19 Andreas Jaeger <aj@suse.de>
36178
36179 [BZ #13114]
36180 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36181 non-existant file when using close-on-exec mode.
36182
c88f1766
UD
361832011-08-20 Ulrich Drepper <drepper@gmail.com>
36184
0276a718
UD
36185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36186 the very first instruction.
36187
c88f1766
UD
36188 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36189 the CFI state in the end.
36190 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36191 inclusion of dl-trampoline.h.
36192 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36193
51ccffa0
AS
361942011-08-19 Andreas Schwab <schwab@redhat.com>
36195
94d7165f
AS
36196 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36197 expectations for long double.
36198
51ccffa0
AS
36199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36200 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36201
fd708658 362022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36203
36204 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36205 artificual limit depends upon the system page size.
36206
44f0a71e
UD
362072011-08-17 Ulrich Drepper <drepper@gmail.com>
36208
36209 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36210 * resolv/Makefile: Define CFLAGS-libresolv.
36211
8de79a24
AS
362122011-08-17 Andreas Schwab <schwab@redhat.com>
36213
36214 * nss/makedb.c (compute_tables): Make variables used in nested
36215 function static.
36216
27724598
UD
362172011-08-17 Ulrich Drepper <drepper@gmail.com>
36218
c5305d88
UD
36219 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36220 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36221 if buffer was too small.
36222
27724598
UD
36223 * elf/pldd.c (main): Attach to all threads in the process.
36224 Rewrite /proc handling to use *at functions.
36225
076fe015
UD
362262011-08-16 Ulrich Drepper <drepper@gmail.com>
36227
174baab3
UD
36228 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36229 specifies first scope to show.
36230 (dl_open_worker): Update callers. Move printing scope of new
36231 object to before the relocation.
44f0a71e 36232 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36233 * sysdeps/generic/ldsodefs.h: Update declaration.
36234
076fe015
UD
36235 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36236 string for the scope number.
36237
a60df2c3
UD
362382011-08-14 Ulrich Drepper <drepper@gmail.com>
36239
36240 * nscd/servicescache.c (cache_addserv): Make sure written is always
36241 initialized.
36242
5e4287d1
RM
362432011-08-14 Roland McGrath <roland@hack.frob.com>
36244
85ae0589
RM
36245 * sysdeps/i386/i486/bits/atomic.h
36246 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36247 statement expression, so as to suppress "set but not used" warning.
36248 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36249
69f63097
RM
36250 * string/strncat.c (STRNCAT): Use prototype definition.
36251
675456ef
RM
36252 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36253 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36254 -Iprograms here.
36255 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36256 (localedef-modules): Add localedef.
36257 (locale-modules): Add locale.
36258
5e4287d1
RM
36259 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36260 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36261 to avoid a warning.
36262
9c96ff23
DM
362632011-08-14 David S. Miller <davem@davemloft.net>
36264
36265 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36266 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36267
f9ddf089
UD
362682011-08-13 Ulrich Drepper <drepper@gmail.com>
36269
44f0a71e 36270 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36271 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36272 * elf/rtld.c (dl_main): Set l_name of vDSO.
36273 Call _dl_show_scope when DL_DEBUG_SCOPES.
36274 (process_dl_debug): Recognize scopes flag and also set it for all.
36275 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36276 Declare _dl_show_scope.
36277
1dc27704
UD
36278 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36279 (do_dlopen): Pass caller_dlopen to dl_open.
36280 (__libc_dlopen_mode): Initialize caller_dlopen.
36281
f9ddf089
UD
36282 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36283 of libc. Make tolower call locale-independent. Optimize a bit by
36284 using isdigit instead of isalnum.
36285 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36286
9ac533d3
UD
362872011-08-12 Ulrich Drepper <drepper@gmail.com>
36288
36289 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36290 was a dependency or dynamically loaded.
36291
89edf2e9
UD
362922011-08-11 Ulrich Drepper <drepper@gmail.com>
36293
8e999d29
UD
36294 * intl/l10nflist.c: Allow architecture-specific pop function.
36295 * sysdeps/x86_64/l10nflist.c: New file.
36296
89edf2e9
UD
36297 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36298 classification.
36299
14d96785
AS
363002011-08-10 Andreas Schwab <schwab@redhat.com>
36301
36302 * include/dirent.h: Add libc_hidden_proto for scandirat and
36303 scandirat64. Don't declare __scandirat64.
36304 * dirent/scandirat.c: Add libc_hidden_def.
36305 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36306 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36307
6761ac04
DM
363082011-08-10 David S. Miller <davem@davemloft.net>
36309
36310 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36311 enum.
36312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36315
c55fbd1e
UD
363162011-08-09 Ulrich Drepper <drepper@gmail.com>
36317
36318 * Versions.def [libc]: Add GLIBC_2.15.
36319 * dirent/Makefile (routines): Add scandirat and scandirat64.
36320 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36321 GLIBC_2.15.
36322 * dirent/dirent.h: Declare scandirat and scandirat64.
36323 * dirent/scandirat.c: New file.
36324 * dirent/scandirat64.c: New file.
36325 * sysdeps/wordsize-64/scandirat.c: New file.
36326 * sysdeps/wordsize-64/scandirat64.c: New file.
36327 * dirent/opendir.c: Define opendirat.
36328 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36329 using scandirat.
36330 * dirent/scandir64.c: Adjust for scandir.c change.
36331 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36332 __scandirat64, and __scandir_cancel_handler.
36333 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36334 additional parameter and use openat instead of open (outside of ld.so).
36335 Add new __opendir as wrapper around __opendirat.
36336 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36337 here without requiring old scandirat implementation.
36338
879165f2
UD
363392011-08-08 Ulrich Drepper <drepper@gmail.com>
36340
36341 * dirent/scandir.c (cancel_handler): Renamed to
36342 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36343 defined. Adjust users.
36344 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36346
cb7e923b
UD
363472011-08-04 Ulrich Drepper <drepper@gmail.com>
36348
16292edd
UD
36349 * string/test-string.h (IMPL): Use __STRING to expand name and then
36350 stringify it.
36351
cb7e923b
UD
36352 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36353 of cleanups.
36354
cff82933
LD
363552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36356
36357 * string/Makefile: Update.
36358 (strop-tests): Append strncat.
36359 * string/test-wcscmp.c: New file.
36360 New comprehensive test for wcscmp.
36361 * string/test-strcmp.c: Update.
36362 (WIDE): New define.
36363
9be9bfcc
AS
363642011-07-22 Andreas Schwab <schwab@redhat.com>
36365
36366 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36367 line.
36368
2e96f1c7
AS
363692011-07-26 Andreas Schwab <schwab@redhat.com>
36370
36371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36372 encoding to ACE if AI_IDN.
36373
85188888
JJ
363742011-08-01 Jakub Jelinek <jakub@redhat.com>
36375
36376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36377 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36378
5fa16e9b
LD
363792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36380
36381 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36382 Fix overflow bug in strncat.
36383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36384
36385 * string/test-strncat.c: Update.
36386 Add new tests for checking overflow bugs.
36387
363882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36389
36390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36391 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36392 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36393 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36394 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36395 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36396 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36397 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36398 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36399
36400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36401 (USE_AS_STRCAT): Define.
36402 Add strcat and strncat support.
36403 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36404
8c1a459f
AS
364052011-07-25 Andreas Schwab <schwab@redhat.com>
36406
36407 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36408 __n bigger than INT_MAX+1.
36409 (__strncmp_g): Likewise.
36410
bba33c28
UD
364112011-07-23 Ulrich Drepper <drepper@gmail.com>
36412
798be72d
UD
36413 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36414 * libio/stido.h: Likewise.
36415
8accd4dc
UD
36416 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36417 (AF_NFC): Define.
36418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36419 (AF_NFC): Define.
36420
cbff0d96
UD
36421 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36424 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36426
9191c04a
UD
36427 [BZ #13021]
36428 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36429 installed.
36430
bba33c28
UD
36431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36432 typo.
36433 (_dl_x86_64_save_sse): Likewise.
36434
90f139dd
UD
364352011-07-22 Ulrich Drepper <drepper@gmail.com>
36436
1aae088a
UD
36437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36438 OSXSAVE.
36439 (_dl_x86_64_save_sse): Likewise.
36440
8e2045f5
UD
36441 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36442
90f139dd
UD
36443 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36444
1d002f25
AS
364452011-07-21 Andreas Schwab <schwab@redhat.com>
36446
36447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36448 change.
36449 (_dl_x86_64_save_sse): Use correct AVX check.
36450
21137f89
UD
364512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36452
36453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36454 bug in strncpy/strncat.
36455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36456
a65c0b7a
UD
364572011-07-21 Ulrich Drepper <drepper@gmail.com>
36458
36459 * string/tester.c (test_strcat): Add tests for different alignments
36460 of source and destination.
36461 (test_strncat): Likewise.
36462
6986b98a
UD
364632011-07-20 Ulrich Drepper <drepper@gmail.com>
36464
90bb2039
UD
36465 [BZ #12852]
36466 * posix/glob.c (glob): Check passed in values before using them in
36467 expressions to avoid some overflows.
36468 (glob_in_dir): Likewise.
36469
5644ef54
UD
36470 [BZ #13007]
36471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36472 check for AVX enablement so that we don't crash with old kernels and
36473 new hardware.
36474 * elf/tst-audit4.c: Add same checks here.
36475 * elf/tst-audit6.c: Likewise.
36476
36477 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36478
bfc9dc9b
AS
364792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36480
36481 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36482
702e64bb
UD
364832011-07-20 Ulrich Drepper <drepper@gmail.com>
36484
36485 * po/cs.po: Update from translation team.
36486 * po/bg.po: Likewise.
36487
295e904f
MP
364882011-07-12 Marek Polacek <mpolacek@redhat.com>
36489
36490 * misc/sys/cdefs.h: Add support for const attribute.
36491 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36492 to gnu_dev_{major,minor,makedev} functions.
36493
3ff94596
MP
364942011-07-20 Marek Polacek <mpolacek@redhat.com>
36495
36496 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36497
28b59fca
AS
364982011-07-20 Andreas Schwab <schwab@redhat.com>
36499
36500 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36501 strlen results.
36502
19df733e
AK
365032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36504
36505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36506 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36507 register in order to avoid conflicts with the soft frame pointer
36508 being held in r11 when necessary.
36509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36510 (INTERNAL_VSYSCALL_NCS): Likewise.
36511
c8835729
MP
365122011-07-14 Marek Polacek <mpolacek@redhat.com>
36513
36514 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36515 * elf/dl-fini.c (_dl_fini): Adjust caller.
36516 * elf/dl-close.c (_dl_close_worker): Likewise.
36517 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36518
b902330c
MP
365192011-07-15 Marek Polacek <mpolacek@redhat.com>
36520
8991e135
MP
36521 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36522 "aux_cache->nlibs < 0".
36523
b902330c
MP
36524 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36525 in the reload-count case.
36526
99710781
LD
365272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36528
36529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36530 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36531 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36532 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36533 * sysdeps/x86_64/multiarch/strcat.S: New file.
36534 * sysdeps/x86_64/multiarch/strncat.S: New file.
36535 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36536 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36537 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36538 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36540 (USE_AS_STRCAT): Define.
36541 Add strcat and strncat support.
36542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36543 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36544 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36545 * string/strncat.c: Update.
36546 (USE_AS_STRNCAT): Define.
36547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36548 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36549 and i7.
36550 * sysdeps/x86_64/multiarch/init-arch.h
36551 (bit_Prefer_PMINUB_for_stringop): New.
36552 (index_Prefer_PMINUB_for_stringop): Likewise.
36553 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36554 bit_Prefer_PMINUB_for_stringop.
36555
7dc6bd90
UD
365562011-07-19 Ulrich Drepper <drepper@gmail.com>
36557
36558 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36559 buffer64.
36560 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36561 of casting of buffer.
36562 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36563 buffer32 and buffer64.
36564 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36565 writes instead of casting of buffer.
36566 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36567 buffer32.
36568 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36569 casting of buffer.
36570
e0e72284
AS
365712011-07-19 Andreas Schwab <schwab@redhat.com>
36572
36573 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36574
feb1eb0b
UD
365752011-07-19 Ulrich Drepper <drepper@gmail.com>
36576
36577 * nscd/nscd.c (termination_handler): Don't do anything for a database
36578 if it has not yet been initialized.
36579
298711ff
UD
365802011-07-18 Ulrich Drepper <drepper@gmail.com>
36581
36582 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36583
365842011-07-15 Marek Polacek <mpolacek@redhat.com>
36585
36586 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36587
f9d68389
UD
365882011-07-18 Ulrich Drepper <drepper@gmail.com>
36589
36590 * po/nl.po: Update from translation team.
36591 * po/sv.po: Likewise.
36592
db290cf5
RM
365932011-07-16 Roland McGrath <roland@hack.frob.com>
36594
36595 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36596 now disallowed by GCC.
5c550700 36597
fd5e21c7
RM
36598 * configure.in (use-default-link): Default to yes if a test -shared
36599 link meets our qualifications.
36600 * configure: Regenerated.
36601
5c550700
RM
36602 * config.make.in (output-format): New variable.
36603 * configure.in: Check for ld --print-output-format support.
36604 * configure: Regenerated.
36605 * Makerules ($(common-objpfx)format.lds)
36606 [$(output-format) != unknown]: Just use $(output-format),
36607 instead of the linker-script munging.
36608
9fa2c032
RM
366092011-07-14 Roland McGrath <roland@hack.frob.com>
36610
a6928d51
RM
36611 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36612 of $(common-objpfx)shlib.lds.
36613 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36614
661607b3
RM
36615 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36616 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36617
9fa2c032
RM
36618 * configure.in (-z relro check): Adjust test code to add a large
36619 writable data section after it.
36620 * configure: Regenerated.
36621
defe9061
RM
366222011-07-11 Roland McGrath <roland@hack.frob.com>
36623
36624 * configure.in (-z relro check): Fix test code to make the variable
36625 truly const.
36626 * configure: Regenerated.
36627
319b9ad4
UD
366282011-07-11 Ulrich Drepper <drepper@gmail.com>
36629
36630 * nscd/nscd.h (struct traced_file): Define.
36631 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36632 elements. Add traced_files.
36633 (inotify_fd): Declare.
36634 (register_traced_file): Declare.
36635 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36636 (inotify_fd): Export.
36637 (resolv_conf_descr): Remove.
36638 (nscd_init): Move inotify descriptor creation to main.
36639 Don't register files for notification here.
36640 (register_traced_file): New function.
36641 (invalidate_cache): Don't use reset_res to determine whether to call
36642 res_init, go through the list of registered files.
36643 (main_loop_poll): The inotify descriptors are now stored in the
36644 structures for the traced files.
36645 (main_loop_epoll): Likewise
36646 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36647 to __nss_disable_nscd.
36648 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36649 for a database anymore. Check the records for all the registered
36650 files instead.
36651 * nss/Makefile (libnss_files-routines): Add files-init.
36652 (libnss_db-routines): Add db-init.
36653 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36654 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36655 * nss/nss_db/db-init.c: New file.
36656 * nss/nss_files/files-init.c: New file.
36657 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36658 __nss_lookup_function.
36659 (__nss_lookup_function): Call nss_load_library.
36660 (nss_load_all_libraries): New function.
36661 (__nss_disable_nscd): Take parameter with callback function for files
36662 to register. Set is_nscd. Load all the DSOs for the NSS modules
36663 used for the cached services.
36664 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36665 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36666 options for features to all the files in nscd.
36667
36668 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36669
23bee3e8
RM
366702011-07-10 Roland McGrath <roland@hack.frob.com>
36671
36672 * csu/elf-init.c (__libc_csu_init): Comment typo.
36673
46a5b7f0
UD
366742011-07-09 Ulrich Drepper <drepper@gmail.com>
36675
36676 * po/pl.po: Update from translation team.
36677 * po/ja.po: Likewise.
36678 * po/ru.po: Likewise.
36679 * po/ko.po: Likewise.
36680 * po/fr.po: Likewise.
36681
d30cf5bb
RM
366822011-07-09 Roland McGrath <roland@hack.frob.com>
36683
113ddea4
RM
36684 * configure.in (.ctors/.dtors header and trailer check):
36685 Use an empirical test on a built program.
36686 * configure: Regenerated.
36687
574920b4
RM
36688 * configure.in (-z relro check): Use an empirical test on a built DSO.
36689 Detect, but do not require, on ia64.
36690 * configure: Regenerated.
36691
d30cf5bb
RM
36692 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36693 Update tests that use readelf to use $READELF instead.
36694 * configure: Regenerated.
36695
8538fdb3
UD
366962011-07-08 Ulrich Drepper <drepper@gmail.com>
36697
36698 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36699 if the result is not used.
36700
04d08991
AJ
367012011-07-05 Andreas Jaeger <aj@suse.de>
36702
36703 [BZ#9696]
36704 * stdlib/tst-strtod.c: Add testcase.
36705
de283087
AD
367062011-07-07 Ulrich Drepper <drepper@gmail.com>
36707
4e5f31c8 36708 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36709 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36710 The latter has a higher limit. Take additional parameter to pass to
36711 the new function.
36712 (__pathconf): Pass file to __statfs_link_max.
36713 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36714 __statfs_link_max.
36715 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36716 __statfs_link_max.
36717
de283087
AD
36718 [BZ #12868]
36719 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36721 Handle Lustre.
36722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36723 (__statfs_filesize_max): Likewise.
36724 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36725
c75fa153
AJ
367262011-07-05 Andreas Jaeger <aj@suse.de>
36727
36728 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36729
1a544854
UD
367302011-07-06 Marek Polacek <mpolacek@redhat.com>
36731
36732 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36733 `status' variable.
36734 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36735 Likewise.
36736
6f0eec67
UD
367372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36738
36739 * Makefile (strop-tests): Add strncat.
36740 * string/test-strncat.c: New file.
36741
aae30307
UD
367422011-06-30 Marek Polacek <mpolacek@redhat.com>
36743
36744 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36745
c0cfb5eb
UD
367462011-06-21 Andreas Jaeger <aj@suse.de>
36747
36748 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36749 Copy rule from iconvdata/Makefile.
36750
01636b21
UD
367512011-07-06 Ulrich Drepper <drepper@gmail.com>
36752
36753 [BZ #12922]
36754 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36755 but no long options are defined, just return 'W'.
36756
9895c8bc
UD
367572011-06-22 Marek Polacek <mpolacek@redhat.com>
36758
36759 [BZ #9696]
36760 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36761
5d4cf042
UD
367622011-07-06 Ulrich Drepper <drepper@gmail.com>
36763
36764 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36765 netgroups to read.
960e5535 36766 (innetgr): Likewise.
5d4cf042 36767
751eb97e
RM
367682011-07-05 Roland McGrath <roland@hack.frob.com>
36769
36770 * config.make.in (install_root): Default to $(DESTDIR).
36771
f15f1e45
UD
367722011-07-05 Ulrich Drepper <drepper@gmail.com>
36773
36774 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36775
4e34ac6a
RM
367762011-07-02 Roland McGrath <roland@hack.frob.com>
36777
5e9b6af4
RM
36778 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36779
84f9ea0f
RM
36780 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36781 containing directory rather than embedding absolute directory names.
36782
ea5ee9f7
RM
36783 * scripts/check-local-headers.sh: Rewritten using awk.
36784 Match by word, not by line. Print error messages for matches.
36785 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36786
1b74661a
RM
36787 * Makerules [shlib-lds-flags empty]:
36788 ($(common-objpfx)libc_pic.opts): New target.
36789 ($(common-objpfx)libc_pic.os.clean): New target.
36790 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36791
36792 * config.make.in (OBJCOPY): New variable.
36793 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36794 * configure: Regenerated.
36795
f781ef40
RM
36796 * config.make.in (use-default-link): New variable.
36797 * configure.in (use_default_link): Grok --with-default-link to set it.
36798 * configure: Regenerated.
36799 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36800 (shlib-lds, shlib-lds-flags): Define to empty.
36801
2d4fa81e
RM
36802 * Makerules (shlib-lds): New variable.
36803 (shlib-lds-flags): New variable.
36804 (build-shlib, build-moduile, build-module-asneeded): Use it.
36805 ($(common-objpfx)libc.so): Use $(shlib-lds).
36806 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36807 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36808
31fffa6b
RM
36809 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36810 DT_FLAGS/DT_FLAGS_1 with zero flags.
36811
4e34ac6a
RM
36812 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36813 linker script munging.
36814
fcfc776b
UD
368152011-07-02 Ulrich Drepper <drepper@gmail.com>
36816
36817 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36818 as 128-bit value.
36819 * crypt/sha512.c (sha512_process_block): Perform total addition using
36820 128-bit if possible.
36821 (__sha512_finish_ctx): Likewise.
36822 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36823 as 64-bit value.
36824 * crypt/sha256.c (SWAP64): Define.
36825 (sha256_process_block): Perform total addition using 64-bit if
36826 possible.
36827 (__sha256_finish_ctx): Likewise.
36828
99231d9a
UD
368292011-07-01 Ulrich Drepper <drepper@gmail.com>
36830
36831 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36832 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36833 * nscd/hstcache.c (cache_addhst): Likewise.
36834 * nscd/grpcache.c (cache_addgr): Likewise.
36835 * nscd/aicache.c (addhstaiX): Likewise
36836 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36837
445b4a53
TK
368382011-07-01 Thorsten Kukuk <kukuk@suse.de>
36839
36840 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36842 * nscd/hstcache.c (cache_addhst): Likewise.
36843 * nscd/grpcache.c (cache_addgr): Likewise.
36844 * nscd/aicache.c (addhstaiX): Likewise
36845
6d4d8e8e
AS
368462011-07-01 Andreas Schwab <schwab@redhat.com>
36847
36848 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36849 domain only when needed.
36850
89f654c5
AS
368512011-06-30 Andreas Schwab <schwab@redhat.com>
36852
36853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36854 is always restored.
36855
cf3b23ff
UD
368562011-06-29 Ulrich Drepper <drepper@gmail.com>
36857
36858 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36859 are re-adding the entry.
36860 * nscd/servicescache.c (cache_addserv): Likewise.
36861
751626f9
AJ
368622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36863
36864 * sysdeps/generic/dl-irel.h: fix protection against multiple
36865 inclusions.
36866 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36867
9113ea1f
UD
368682011-06-28 Ulrich Drepper <drepper@gmail.com>
36869
5c0b8d90
UD
36870 [BZ #12935]
36871 * malloc/memusage.sh: Fix quoting in message.
36872 * debug/xtrace.sh: Likewise.
36873
9113ea1f
UD
36874 * configure.in: Remove support for --experimental-malloc option, make
36875 it the default.
36876 * config.make.in: Likewise.
36877 * malloc/Makefile: Likewise.
36878
a4172181
AS
368792011-06-27 Andreas Schwab <schwab@redhat.com>
36880
36881 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36882 two-byte characters.
36883
78a7eee7
RM
368842011-06-27 Roland McGrath <roland@hack.frob.com>
36885
62bede13
RM
36886 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36887 AC_CACHE_CHECK invocation.
36888 * configure: Regenerated.
36889
78a7eee7
RM
36890 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36891
5ce33a62
UD
368922011-06-27 Ulrich Drepper <drepper@gmail.com>
36893
034807a9
UD
36894 [BZ #12350]
36895 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36896 bit from old_res_options.
36897
4902da17
UD
36898 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36899
5ce33a62
UD
36900 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36901 value type for setfct.
36902
c2344f56
L
369032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36904
36905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36906 __gettimeofday instead of gettimeofday.
36907
68468076
UD
369082011-06-26 Ulrich Drepper <drepper@gmail.com>
36909
36910 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36911
acb0d739
L
369122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36915
36916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36917 info.
36918
8912479f
L
369192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36920
36921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36922 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36923 strcpy-sse2-unaligned strncpy-sse2-unaligned
36924 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36925 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36926 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36927 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36928 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36929 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36930 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36931 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36932 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36933 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36934 (STRCPY): Support SSE2 and SSSE3 versions.
36935
d5495a11
UD
369362011-06-24 Ulrich Drepper <drepper@gmail.com>
36937
36938 [BZ #12874]
36939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36940 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36941 kernels which artificially limit size of requests.
36942
0b1cbaae
L
369432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36944
36945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36946 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36947 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36948 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36949 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36950 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36951 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36952 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36955 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36956 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36957 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36958 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36959 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36961 Enable unaligned load optimization for Intel Core i3, i5 and i7
36962 processors.
36963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36964 Define.
36965 (index_Fast_Unaligned_Load): Define.
36966 (HAS_FAST_UNALIGNED_LOAD): Define.
36967
07f494a0
MP
369682011-06-23 Marek Polacek <mpolacek@redhat.com>
36969
36970 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36971
fa3fc0fe
UD
369722011-06-22 Ulrich Drepper <drepper@gmail.com>
36973
36974 [BZ #12907]
36975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36976 until it is clear that the information is realy needed.
36977 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36978
e12df166
AS
369792011-06-22 Andreas Schwab <schwab@redhat.com>
36980
36981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36982
852eb34d
UD
369832011-06-22 Ulrich Drepper <drepper@gmail.com>
36984
84e2a551
UD
36985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36986 /sys/devices/system/cpu/online if it is usable.
36987
852eb34d
UD
36988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36989 reading the information from the /proc filesystem to once a second.
36990
6e502e19
UD
369912011-06-21 Andreas Jaeger <aj@suse.de>
36992
36993 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36994 NULL after inclusion of kernel headers.
36995
75d39ff2
UD
369962011-06-21 Ulrich Drepper <drepper@gmail.com>
36997
51f9aa6a
UD
36998 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36999 calls to internal_setent.
37000
c0244a9d
UD
37001 [BZ #12885]
37002 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37003 addresses using gethostbyname4_r ignore IPv4 addresses.
37004
c5e3c2ae
UD
37005 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37006 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37007
75d39ff2
UD
37008 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37009
42675c6f
DM
370102011-06-20 David S. Miller <davem@davemloft.net>
37011
37012 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37013 inclusions.
37014 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37015
37016 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37017 (elf_irel): Use it.
37018 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37019 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37020 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37021 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37022 * sysdeps/x86_64/dl-irel.h: Likewise.
37023
37024 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37025 * elf/dl-sym.c: Likewise.
37026
57912a71
UD
370272011-06-15 Ulrich Drepper <drepper@gmail.com>
37028
37029 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37030 need to dereference resplen2.
37031
ee22793d
AS
370322011-06-14 Andreas Schwab <schwab@redhat.com>
37033
37034 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37035
a9e836b0
UD
370362011-06-15 Ulrich Drepper <drepper@gmail.com>
37037
77fb9117
UD
37038 * Makeconfig: Define vardbdir and inst_vardbdir.
37039 * nss/Makefile: Add rules to install db-Makefile.
37040
40c1b22c
UD
37041 * nss/nss_db/db-XXX.c: Cleanup.
37042
9f2da732
UD
37043 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37044 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37045 GLIBC_PRIVATE.
37046 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37047 * nss/makedb.c: Implement -g option to specify that value strings
37048 are generated and should not be added to table iterated over for
37049 get*ent calls.
37050 * nss/nss_db/db-initgroups.c: New file.
37051
82e9a1f7
UD
37052 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37053 interface.
37054
c41af17e
UD
37055 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37056 (internal_getgrouplist): Adjust to name change.
37057 Update use_initgroups_entry if this is not the first call.
37058 * nss/databases.def: Add initgroups entry.
37059
a9e836b0
UD
37060 * nss/makedb.c (compute_tables): Check result of multiple hash table
37061 sizes to minimize maximum chain length.
37062
2666d441
UD
370632011-06-14 Ulrich Drepper <drepper@gmail.com>
37064
37065 * Versions.def: Add entry for libnss_db.
37066 * shlib-versions: Likewise.
37067 * nss/Makefile: Add rules to build libnss_db.
37068 * nss/Versions: Add libnss_db information. Organize libnss_files
37069 entries better.
37070 * nss/db-Makefile: Add gshadow support. Change rules for the new
37071 makedb progra. Some minor improvements to generate smaller files.
37072 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37073 here from...
37074 * nss/makedb.c: ...here.
37075 Improve database format to be smaller and require less memory at
37076 runtime.
37077 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37078 db anymore.
37079 * nss/nss_db/db-netgrp.c: Likewise.
37080 * nss/nss_db/db-open.c: Likewise.
37081 * nss/nss_files/flies-XXX.x: Adjust comments.
37082 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37083 * nss/nss_files/files-grp.c: Likewise.
37084 * nss/nss_files/files-hosts.c: Likewise.
37085 * nss/nss_files/files-network.c: Likewise.
37086 * nss/nss_files/files-proto.c: Likewise.
37087 * nss/nss_files/files-pwd.c: Likewise.
37088 * nss/nss_files/files-rpc.c: Likewise.
37089 * nss/nss_files/files-service.c: Likewise.
37090 * nss/nss_files/files-sgrp.c: Likewise.
37091 * nss/nss_files/files-spwd.c: Likewise.
37092 * nss/nss_db/db-alias.c: Removed.
37093 * nss/nss_db/dummy-db.h: Removed.
37094
9ee76b5a
UD
370952011-06-02 Ulrich Drepper <drepper@gmail.com>
37096
37097 * nss/makedb.c: Rewritten to not use database library.
37098 * nss/Makefile: Update to build new makedb program.
37099
c71ca1f8
AJ
371002011-06-14 Andreas Jaeger <aj@suse.de>
37101
37102 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37103 memset declaration.
37104
3154bfb8
UD
371052011-06-10 Andreas Schwab <schwab@redhat.com>
37106
37107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37108 tmpbuf.
37109
b350afab
RM
371102011-06-10 Roland McGrath <roland@hack.frob.com>
37111
decd4e50
RM
37112 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37113 * elf/Makefile ($(objpfx)ld.so): Likewise.
37114
5615eaf2
RM
37115 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37116 Don't list ld.so twice in dependencies.
37117
37118 * posix/bug-regex31.c: Include <stdlib.h>.
37119
37120 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37121
37122 * nis/nss_compat/compat-spwd.c
37123 (getspent_next_nss_netgr): Remove unused variable.
37124 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37125
37126 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37127 nonmembers" output to use the right array.
37128
37129 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37130
37131 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37132
37133 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37134 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37135 * catgets/gencat.c (read_input_file): Likewise.
37136 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37137
37138 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37139 variable definition inside #if's controlling its use.
37140
37141 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37142
37143 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37144
37145 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37146
37147 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37148 unreachable code.
37149
37150 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37151
b68e08db
RM
37152 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37153 * configure: Regenerated.
37154
b350afab
RM
37155 * Makerules: Revert last change.
37156 * elf/Makefile: Likewise.
37157
28368601
RM
371582011-06-09 Roland McGrath <roland@hack.frob.com>
37159
37160 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37161 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37162 (reloc-link): Likewise.
37163
11988f8f
UD
371642011-06-09 Ulrich Drepper <drepper@gmail.com>
37165
37166 * elf/Makefile: Add rules to build pldd.
37167 * elf/pldd.c: New file.
37168 * elf/pldd-xx.c: New file.
37169
e80fab37
UD
371702011-06-07 Ulrich Drepper <drepper@gmail.com>
37171
37172 * version.h: Update for 2.15 development version.
37173
9b849836
DM
371742011-06-07 David S. Miller <davem@davemloft.net>
37175
37176 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37177 ifuncs.
37178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37179 elf_machine_lazy_rel): Likewise.
37180 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37182 elf_machine_lazy_rel): Likewise.
37183 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37184 dl_hwcap via passed in argument.
37185 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37186 Likewise.
37187
5a31b283
AK
371882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37189
37190 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37191
069e52f8
RM
371922011-06-06 Roland McGrath <roland@hack.frob.com>
37193
37194 [BZ #12849]
37195 * manual/fdl-1.1.texi: New file, verbatim from:
37196 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37197 * manual/lgpl-2.1.texi: New file, verbatim from:
37198 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37199 * manual/Makefile (licenses): New variable, list those new file names.
37200 (texis): Use it.
37201 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37202
37203 * manual/fdl.texi: File removed.
37204 * manual/lesser.texi: File removed.
37205 * manual/libc.texinfo (Copying, Documentation License):
37206 Use new @include file names, put @appendix directive before @include.
37207
f16846a5
JJ
372082011-06-04 Jakub Jelinek <jakub@redhat.com>
37209
37210 [BZ #12841]
37211 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37212 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37213 (mq_open): Add __NTH.
37214
3d29045b
L
372152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37216
37217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37218 Assume Intel Core i3/i5/i7 processor if AVX is available.
37219
8c297311
UD
372202011-05-31 Ulrich Drepper <drepper@gmail.com>
37221
37222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37223 typo.
37224
c8fc0c91
UD
372252011-05-31 Andreas Schwab <schwab@redhat.com>
37226
37227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37228 memory. Use alloca_account. Fix memory leak when retrying.
37229
5b27a807
UD
372302011-05-31 Ulrich Drepper <drepper@gmail.com>
37231
356f8bc6
UD
37232 * version.h (RELEASE): Bump for 2.14 release.
37233 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37234
5b27a807
UD
37235 * config.make.in (RANLIB): Remove entry.
37236
01f16ab0
UD
372372011-05-30 Ulrich Drepper <drepper@gmail.com>
37238
41fce8bd
UD
37239 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37240 (libc.pot): Work around missing support for .ksh extension in xgettext.
37241
4769ae77
UD
37242 [BZ #12684]
37243 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37244 if both request failed.
37245 (send_dg): In case of server errors clear resplen or *resplen2.
37246
6b1e7d19
UD
37247 [BZ #12454]
37248 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37249 when there are multiple maps.
37250 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37251 (_dl_fini): Remove test here.
37252
01f16ab0
UD
37253 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37254
b1ebd700
UD
372552011-05-29 Ulrich Drepper <drepper@gmail.com>
37256
7ae22829
UD
37257 [BZ #12350]
37258 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37259 bit from old_res_options.
37260 (gaih_inet): Likewise.
37261
553149f6 37262 [BZ #11099]
18a84741 37263 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37264 as signed.
37265
652ffab1
UD
37266 * resolv/res_init.c (res_setoptions): Make the code more compact.
37267
16985fd0
UD
37268 [BZ #11558]
37269 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37270 set RES_USEVC.
37271
0464f746
UD
37272 [BZ #11634]
37273 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37274
7d17596c
UD
37275 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37276
cf6bbbd7
UD
37277 [BZ #11781]
37278 * malloc/malloc.h: Declare malloc hook variables as volatile.
37279
13f1ab36
UD
37280 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37281 in last patch.
37282
b1ebd700
UD
37283 [BZ #11799]
37284 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37285 raise in the comment.
80e2212d
UD
37286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37288 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37289
ce67228d
UD
372902011-05-28 Ulrich Drepper <drepper@gmail.com>
37291
8887a920
UD
37292 [BZ #12811]
37293 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37294 grow the buffers more if it already has to be sufficient.
37295 (build_wcs_upper_buffer): Likewise.
37296 * posix/regexec.c (check_matching): Likewise.
37297 (clean_state_log_if_needed): Likewise.
37298 (extend_buffers): Don't enlarge buffers beyond size of the input
37299 buffer.
37300 Patches mostly by Emil Wojak <emil@wojak.eu>.
37301 * posix/bug-regex32.c: New file.
37302 * posix/Makefile (tests): Add bug-regex32.
37303
4f031072
UD
37304 * locale/findlocale.c (_nl_find_locale): Return right away if
37305 _nl_explode_name failed.
37306 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37307
d0478f0c
UD
37308 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37309
de81b246
UD
37310 * debug/xtrace.sh: Unify messages.
37311 * malloc/memusage.sh: Likewise.
37312
c738465a
UD
37313 [BZ #12813]
37314 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37315 time symbol from vDSO. Substitute with vsyscall if not available.
37316 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37317 __vdso_time.
37318
f1f929d7
UD
37319 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37320 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37321 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37322 Add sendmmsg and internal_sendmmsg.
37323 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37324 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37326
ce67228d
UD
37327 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37328 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37330
e57420c6
UD
373312011-05-27 Ulrich Drepper <drepper@gmail.com>
37332
a8509ca5
UD
37333 [BZ #12813]
37334 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37335 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37336 available.
37337 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37338 __vdso_getcpu.
37339
e57420c6
UD
37340 [BZ #12814]
37341 * iconvdata/Makefile (tests): Add bug-iconv9.
37342 * iconvdata/bug-iconv9.c: New file.
37343
4d07db15
AS
373442011-05-27 Andreas Schwab <schwab@redhat.com>
37345
37346 [BZ #12814]
37347 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37348
ea486f69
JJ
373492011-05-25 Jakub Jelinek <jakub@redhat.com>
37350
37351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37352 (struct user_regs_struct): Change intcs field back to cs.
37353
6f038433
UD
373542011-05-25 Ulrich Drepper <drepper@gmail.com>
37355
37356 * po/ja.po: Update from translation team.
37357
67f86a25
UD
373582011-05-23 Ulrich Drepper <drepper@gmail.com>
37359
37360 [BZ #12795]
37361 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37362 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37363
def7fbd6
AS
373642011-05-20 Andreas Schwab <schwab@redhat.com>
37365
37366 * stdlib/longlong.h: Update from GCC.
37367
f50ef8f1
AS
373682011-05-23 Andreas Schwab <schwab@redhat.com>
37369
37370 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37371 parameter name.
37372 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37373 Add parameter name.
37374 (__sysconf): Pass it down.
37375
de7ce8f1
UD
373762011-05-22 Ulrich Drepper <drepper@gmail.com>
37377
f2962a71
UD
37378 [BZ #12671]
37379 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37380 some situations.
37381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37382 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37383 add in in __libc_use_alloca calls. Adjust callers.
37384 (glob): Use malloc in some situations.
37385
de7ce8f1
UD
37386 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37387 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37388 pltexit.
37389
aec84f53
UD
373902011-05-21 Ulrich Drepper <drepper@gmail.com>
37391
05bb4a68
UD
37392 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37393 and CLOCK_BOOTTIME_ALARM.
37394
7ea72f99
UD
37395 [BZ #12782]
37396 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37397 is returned.
37398
7e4afad5
UD
37399 * string/_strerror.c (__strerror_r): Print negative errors as signed
37400 numbers.
37401
8e211fec
UD
37402 [BZ #12777]
37403 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37404 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37405 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37406
f7d82dc9
UD
37407 * configure.in: Fix typo in redirection and correct removal of test
37408 files in two cases.
37409
cc9e536d
UD
37410 [BZ #12788]
37411 * locale/setlocale.c (new_composite_name): Fix test to check for
37412 identical name of all categories.
37413
aec84f53
UD
37414 [BZ #12792]
37415 * libio/filedoalloc.c (local_isatty): New function.
37416 (_IO_file_doallocate): Use local_isatty.
37417 * stdio-common/perror.c (perror): In case a new stream is used
37418 forward the stream error.
37419 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37420 error flag.
37421
78e64fdc
RT
374222011-05-20 Ulrich Drepper <drepper@gmail.com>
37423
34a9094f
UD
37424 [BZ #11869]
37425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37426 alloca.
37427 * include/alloca.h (extend_alloca_account): Define.
37428
78e64fdc
RT
37429 [BZ #11857]
37430 * posix/regex.h: Fix comments with documentation of user-accessible
37431 fields after compilation and describe correct free'ing of pattern
37432 after re_compile_pattern.
37433 Patch by Reuben Thomas <rrt@sc3d.org>.
37434
457bddfc
RA
374352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37436
37437 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37438 and -mno-altivec to prevent the compiler from using Altivec and/or
37439 VSX instructions when the corresponding registers are not available.
37440
a4527b51
AS
374412011-05-19 Andreas Schwab <schwab@redhat.com>
37442
37443 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37444
ed690b2f
UD
374452011-05-19 Ulrich Drepper <drepper@gmail.com>
37446
37447 * libio/freopen.c (freopen): Use __dup2, not dup2.
37448 * libio/freopen64.c (freopen64): Likewise.
37449
8db73634
L
374502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37451
37452 [BZ #12775]
37453 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37454 * math/Makefile (tests): Add test-powl.
37455 (CFLAGS-test-powl.c): Define.
37456 * math/test-powl.c: New file.
37457
0a197a9d
L
374582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37459
37460 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37461
ee30c380
UD
374622011-05-17 Ulrich Drepper <drepper@gmail.com>
37463
37464 [BZ #11837]
37465 * iconvdata/gb18030.c: Update to GB18020-2005.
37466
6ce75379
UD
374672011-05-16 Ulrich Drepper <drepper@gmail.com>
37468
a4b89fd8
AR
37469 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37470 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37471 Patch by Aharon Robbins <arnold@skeeve.com>.
37472
ea389b12
UD
37473 [BZ #11892]
37474 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37475 on the stack.
37476
68a3f91f
UD
37477 [BZ #11895]
37478 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37479 through underflows.
37480
15cc7dd1
UD
37481 [BZ #12766]
37482 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37483 point to strings before performing equality test for error_one_per_line
37484 mode.
37485
f3799213
UD
37486 [BZ #11697]
37487 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37488
d79a9c94
UD
37489 [BZ #11820]
37490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37491 (struct user_fpregs_struct): Avoid __uint*_t types.
37492
56e5eb46
UD
37493 [BZ #6420]
37494 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37495 symbol info. Use it instead of calling _dl_addr locally.
37496 (lock_and_info): New function.
37497 (tr_freehook): Call lock_and_info and pass symbol info as additional
37498 parameter to tr_where.
37499 (tr_mallochook): Likewise.
37500 (tr_reallochook): Likewise.
37501 (tr_memalignhook): Likewise.
37502
6ce75379
UD
37503 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37504 used and couldn't be at all thread-safe.
37505
f8a3b5bf
UD
375062011-05-15 Ulrich Drepper <drepper@gmail.com>
37507
94b7cc37
UD
37508 * libio/freopen.c (freopen): Don't close old file descriptor
37509 before the new one is opened. Instead dup the new file descriptor
37510 to the old one after the new stream is created.
37511 * libio/freopen64.c (freopen64): Likewise.
37512 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37513 * libio/fileops.c (_IO_new_file_close_it): Handle new
37514 _IO_FLAGS2_NOCLOSE flag.
37515 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37516 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37517 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37518 _IO_FLAGS2_NOCLOSE flag.
37519 * include/unistd.h: Add hidden_proto for dup3.
37520 Define __have_dup3.
37521 * io/dup3.c: Define hidden symbol.
37522 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37523
bd25564e
UD
37524 [BZ #7101]
37525 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37526 when an incomplete long option is used.
37527 * posix/tst-getopt_long1.c: New file.
37528 * posix/Makefile (tests): Add tst-getopt_long1.
37529
c84cfef4
UD
37530 [BZ #10138]
37531 * scripts/config.guess: Update from autoconf-2.68.
37532 * scripts/config.sub: Likewise.
37533
3b85df27
UD
37534 [BZ #10157]
37535 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37536 tests into ...
37537 (has_cpuclock): ...this. New function.
37538 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37539 macro here based on has_cpuclock code.
37540
15a856b1
UD
37541 [BZ #10149]
37542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37543 First byte (not low byte) is now always NUL.
37544 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37545
05f399e6
UD
37546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37547 Use non-cancelable interfaces.
37548
10a52685 37549 [BZ #9809]
94ecc67d
UD
37550 * locale/iso-639.def: Add entry for Sorani.
37551
f8a3b5bf
UD
37552 [BZ #11901]
37553 * include/stdlib.h: Move include protection to the right place.
37554 Define abort_msg_s. Declare __abort_msg with it.
37555 * stdlib/abort.c (__abort_msg): Adjust type.
37556 * assert/assert.c (__assert_fail_base): New function. Majority
37557 of code from __assert_fail. Allocate memory for __abort_msg with
37558 mmap.
37559 (__assert_fail): Now call __assert_fail_base.
37560 * assert/assert-perr.c: Remove bulk of implementation. Use
37561 __assert_fail_base.
37562 * include/assert.hL Declare __assert_fail_base.
37563 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37564 mmap.
37565 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37566
1af4e298
UD
375672011-05-14 Ulrich Drepper <drepper@gmail.com>
37568
f8a3b5bf 37569 [BZ #11952]
d26dfc60
MG
37570 [BZ #12453]
37571 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37572 until all modules are registered in the DTV.
37573 * elf/Makefile: Add rules to build and run tst-tls19.
37574 * elf/tst-tls19.c: New file.
37575 * elf/tst-tls19mod1.c: New file.
37576 * elf/tst-tls19mod2.c: New file.
37577 * elf/tst-tls19mod3.c: New file.
37578 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37579
2fc54d6f
UD
37580 [BZ #12083]
37581 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37582 correctly.
37583
98d76b46
UD
37584 [BZ #12601]
37585 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37586 two-byte sequence errors.
37587 * iconvdata/Makefile (tests): Add bug-iconv8.
37588 * iconvdata/bug-iconv8.c: New file.
37589
da3c19ef
UD
37590 [BZ #12626]
37591 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37592 buf2 definition.
37593
ca408c15
UD
37594 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37595
d6f67f7d
UD
37596 [BZ #12432]
37597 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37598 (dummy_getcfa): New function.
37599 (init): Get _Unwind_GetCFA address, use dummy if not found.
37600 (backtrace_helper): In recursion check, also check whether CFA changes.
37601 (__backtrace): Completely initialize arg.
37602
1af4e298 37603 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37604 storing incomplete byte sequence in state object. Avoid testing for
37605 guaranteed too small input if we know there is enough data available.
1af4e298 37606
da62f81b
AS
376072011-05-11 Andreas Schwab <schwab@redhat.com>
37608
37609 * Makeconfig (+link-pie): Indent.
37610 * Rules (binaries-pie): Define if $(have-fpie) and
37611 $(build-shared).
37612 (binaries-shared): Also filter out $(binaries-pie).
37613 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37614 * nscd/Makefile (others-pie): Add nscd.
37615 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37616 ($(objpfx)nscd): Remove command override.
37617 * login/Makefile (others-pie): Add pt_chown.
37618 ($(objpfx)pt_chown): Remove command override.
37619 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37620 remove command overrides.
37621
fcabc0f8
UD
376222011-05-13 Ulrich Drepper <drepper@gmail.com>
37623
20030ae6
UD
37624 * libio/tst_putwc.c: Fix error messages.
37625
fcabc0f8
UD
37626 [BZ #12724]
37627 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37628 currently writing and seek to current position when not.
37629 * libio/Makefile (tests): Add bug-fclose1.
37630 * libio/bug-fclose1.c: New file.
37631
320a5dc0
PB
376322011-05-12 Ulrich Drepper <drepper@gmail.com>
37633
37634 [BZ #12511]
37635 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37636 don't set DF_1_NODELETE here.
37637 (do_lookup_x): When entering new entry test for copy relocation
37638 and if necessary set DF_1_NODELETE flag.
37639 * elf/tst-unique4.cc: New file.
37640 * elf/tst-unique4.h: New file.
37641 * elf/tst-unique4lib.cc: New file.
37642 * elf/Makefile: Add rules to build and run tst-unique4.
37643 Patch by Piotr Bury <pbury@goahead.com>.
37644
22836f52
UD
376452011-05-11 Ulrich Drepper <drepper@gmail.com>
37646
f574184a
UD
37647 [BZ #12052]
37648 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37649
e1fb097f
UD
37650 [BZ #12625]
37651 * misc/mntent_r.c (addmntent): Flush the stream after the output
37652
22836f52
UD
37653 [BZ #12393]
37654 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37655 (is_trusted_path_normalize): Skip initial colon. Append slash
37656 to empty buffer. Duplicate is_trusted_path code but allow
37657 constructed patch to be prefix.
37658 (is_dst): Allow $ORIGIN followed by /.
37659 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37660 Correct testing of result of is_trusted_path_normalize
37661 (decompose_rpath): Fix warning.
37662
7b3b0b2a
UD
376632011-05-10 Ulrich Drepper <drepper@gmail.com>
37664
37665 [BZ #11257]
37666 * grp/initgroups.c (internal_getgrouplist): When we found the service
37667 list through the initgroups entry in nsswitch.conf do not always
37668 continue on a successful lookup. Don't always use the
eac80ce2 37669 __nss_group_database value if it is set.
7b3b0b2a
UD
37670 * nss/nsswitch.conf (initgroups): Change action for successful db
37671 lookup to continue for compatibility.
37672
2a81eaa5
UD
376732011-05-09 Ulrich Drepper <drepper@gmail.com>
37674
be97a69e
UD
37675 [BZ #11532]
37676 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37677 and CP774 modules.
37678 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37679 and CP774 modules.
37680 * iconvdata/tst-tables.sh: Likewise.
37681 * iconvdata/cp770.c: New file.
37682 * iconvdata/cp771.c: New file.
37683 * iconvdata/cp772.c: New file.
37684 * iconvdata/cp773.c: New file.
37685 * iconvdata/cp774.c: New file.
37686 * iconvdata/testdata/CP770: New file.
37687 * iconvdata/testdata/CP770..UTF8: New file.
37688 * iconvdata/testdata/CP771: New file.
37689 * iconvdata/testdata/CP771..UTF8: New file.
37690 * iconvdata/testdata/CP772: New file.
37691 * iconvdata/testdata/CP772..UTF8: New file.
37692 * iconvdata/testdata/CP773: New file.
37693 * iconvdata/testdata/CP773..UTF8: New file.
37694 * iconvdata/testdata/CP774: New file.
37695 * iconvdata/testdata/CP774..UTF8: New file.
37696
37697 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37698 END CHARMAP line.
37699 * iconvdata/gen-8bit-gap.sh: Likewise.
37700 * iconvdata/gen-8bit.sh: Likewise.
37701
c1e9e399
UD
37702 * locale/iso-639.def: Add ary entry.
37703
24c55fb3 37704 [BZ #11258]
96b4b1b0
UD
37705 * locale/C-translit.h.in: Add U20A1 transliteration.
37706
bdc2f971
KB
37707 [BZ #12178]
37708 * locale/iso-639.def: Add wae entry.
37709 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37710
2952b117
UD
37711 [BZ #12545]
37712 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37713 for n.
37714
2a81eaa5
UD
37715 [BZ #12711]
37716 * locale/C-translit.h.in: Add entry for U20B9.
37717 Patch by pravin.d.s@gmail.com.
37718
28377d1b
UD
377192011-05-08 Ulrich Drepper <drepper@gmail.com>
37720
7fb90fb8
UD
37721 [BZ #12713]
37722 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37723 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37724 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37725 in rtld. Use *stat64.
7fb90fb8 37726 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37727 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37728 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37729 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37730 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37731 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37732 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37733 __fstatat64 macros.
7fb90fb8
UD
37734 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37735 * dirent/rewinddir.c: Add libc_hidden_def.
37736 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37737 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37738
28377d1b
UD
37739 * include/dirent.h (__alloc_dir): Add flags parameter.
37740 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37741 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37742 __alloc_dir.
37743 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37744 from fdopendir if O_CLOEXEC is already set.
37745
66bdbaa4
AM
377462011-03-15 Alan Modra <amodra@gmail.com>
37747
37748 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37749 l_tls_firstbyte_offset non-zero. Save padding offset in
37750 l_tls_firstbyte_offset for later use.
37751 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37752 freeing static tls block.
37753
95721191
JN
377542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37755
37756 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37757 where #ifdef was intended. The intent is to prevent ARG_MAX from
37758 being defined by the kernel headers.
37759
f87dfb1f
UD
377602011-05-07 Ulrich Drepper <drepper@gmail.com>
37761
37762 [BZ #12734]
37763 * resolv/resolv.h: Define RES_NOTLDQUERY.
37764 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37765 no-tld-query and set RES_NOTLDQUERY.
37766 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37767 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37768 modern BIND to search name as TLD unless forbidden.
37769
47c3cd7a
UD
377702011-05-07 Petr Baudis <pasky@suse.cz>
37771 Ulrich Drepper <drepper@gmail.com>
37772
37773 [BZ #12393]
37774 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37775 (is_trusted_path): ...to here.
c1e9ea35 37776 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37777 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37778 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37779
8a35c912
PP
377802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37781
37782 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37783 __BEGIN/__END_DECLS.
37784
acd41f47
UD
377852011-05-06 Ulrich Drepper <drepper@gmail.com>
37786
37787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37788 NSS_STATUS_NOTFOUND if no record was found.
37789
597df647
AS
377902011-05-05 Andreas Schwab <schwab@redhat.com>
37791
37792 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37793 (headers-not-in-tirpc): Remove rpc/netdb.h
37794 * resolv/netdb.h: Revert last change.
37795
b9af1301
PP
377962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37797
37798 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37799 circular dependency between libgcc.a and libc.a.
37800
4e34d5f5
AS
378012011-05-05 Andreas Schwab <schwab@redhat.com>
37802
37803 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37804 * nis/Makefile: Don't install rpcsvc/*.
37805 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37806 instead of <rpc/types.h>.
37807 (MAXHOSTNAMELEN): Define.
37808
00ee369c
AS
378092011-05-03 Andreas Schwab <schwab@redhat.com>
37810
37811 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37812
0b592a30
MB
378132011-04-28 Maciej Babinski <mbabinski@google.com>
37814
37815 [BZ #12714]
37816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37817 gethostbyname4_r when IPv6 results are possible.
37818
6e04cbbe
UD
378192011-05-02 Ulrich Drepper <drepper@gmail.com>
37820
37821 [BZ #12723]
37822 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37823 _PC_PIPE_BUF handling.
37824
e4ecafe0
BH
378252011-04-30 Bruno Haible <bruno@clisp.org>
37826
37827 [BZ #12717]
37828 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37829 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37830 to 'int'.
37831 * inet/getnameinfo.c (getnameinfo): Likewise.
37832
125ee683
UD
378332011-04-29 Ulrich Drepper <drepper@gmail.com>
37834
37835 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37836 to groups setting in database lookup.
37837 * nss/nsswitch.conf: Add initgroups entry.
37838
b722481a
EB
378392011-04-22 Ulrich Drepper <drepper@gmail.com>
37840
37841 [BZ #12685]
37842 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37843 mode string.
37844 Patch by Eric Blake <eblake@redhat.com>.
37845
4df46dbd
L
378462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37847
37848 * sunrpc/Makefile (need-export-routines): Add svc_run.
37849 (routines): Remove svc_run.
37850 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37851 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37852 * sunrpc/svc_run.c (svc_run): Likewise.
37853 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37854
e84142d2
UD
378552011-04-21 Ulrich Drepper <drepper@gmail.com>
37856
37857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37858 problem in reallocation in last patch.
37859
877175d8
UD
378602011-04-20 Ulrich Drepper <drepper@gmail.com>
37861
37862 * sunrpc/Makefile: Move inclusion of Rules.
37863
ab8eed78
UD
378642011-04-19 Ulrich Drepper <drepper@gmail.com>
37865
37866 * nss/nss_files/files-initgroups.c: New file.
37867 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37868 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37869 _nss_files_initgroups_dyn.
37870
e3d8f584
RS
378712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37872
37873 * elf/elf.h (R_ARM_IRELATIVE): Define.
37874
af190f45
UD
378752011-04-19 Ulrich Drepper <drepper@gmail.com>
37876
37877 * po/ru.po: Update from translation team.
37878
53cf59ef
UD
378792011-04-17 Ulrich Drepper <drepper@gmail.com>
37880
37881 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37882 dependencies.
37883
4c559bcd
MF
378842011-02-06 Mike Frysinger <vapier@gentoo.org>
37885
37886 [BZ #12653]
37887 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37888 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37889 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37891 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37892
4420675c
AS
378932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37894
37895 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37896 differing bytes.
37897 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37899 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37900
75ea32ab
UD
379012011-04-17 Ulrich Drepper <drepper@gmail.com>
37902
37903 [BZ #12420]
37904 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37905 storing it.
37906 * stdlib/bug-getcontext.c: New file.
37907 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37908
27390476
AK
379092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37910
37911 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37912 instructions into .machine "z9-109".
37913 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37914 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37915
10442705
AK
379162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37917
37918 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37919 between environment variables and auxiliary vector.
37920
7b57bfe5
UD
379212011-04-16 Ulrich Drepper <drepper@gmail.com>
37922
37923 * Makefile: Add rules to build linkobj/libc.so.
37924 * include/libc-symbols.h: Define libc_hidden_nolink.
37925 * include/rpc/auth.h: Mark functions which are to be hidden.
37926 * include/rpc/auth_des.h: Likewise.
37927 * include/rpc/auth_unix.h: Likewise.
37928 * include/rpc/clnt.h: Likewise.
37929 * include/rpc/des_crypt.h: Likewise.
37930 * include/rpc/key_prot.h: Likewise.
37931 * include/rpc/pmap_clnt.h: Likewise.
37932 * include/rpc/pmap_prot.h: Likewise.
37933 * include/rpc/pmap_rmt.h: Likewise.
37934 * include/rpc/rpc_msg.h: Likewise.
37935 * include/rpc/svc.h: Likewise.
37936 * include/rpc/svc_auth.h: Likewise.
37937 * include/rpc/xdr.h: Likewise.
37938 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37939 * nss/Makefile: Likewise.
37940 * sunrpc/Makefile: Don't install headers. Build library with normal
37941 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37942 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37943 for the compat linking library. Remove use of INTDEF/INTUSE.
37944 * sunrpc/auth_none.c: Likewise.
37945 * sunrpc/auth_unix.c: Likewise.
37946 * sunrpc/authdes_prot.c: Likewise.
37947 * sunrpc/authuxprot.c: Likewise.
37948 * sunrpc/clnt_gen.c: Likewise.
37949 * sunrpc/clnt_perr.c: Likewise.
37950 * sunrpc/clnt_raw.c: Likewise.
37951 * sunrpc/clnt_simp.c: Likewise.
37952 * sunrpc/clnt_tcp.c: Likewise.
37953 * sunrpc/clnt_udp.c: Likewise.
37954 * sunrpc/clnt_unix.c: Likewise.
37955 * sunrpc/des_crypt.c: Likewise.
37956 * sunrpc/des_soft.c: Likewise.
37957 * sunrpc/get_myaddr.c: Likewise.
37958 * sunrpc/key_call.c: Likewise.
37959 * sunrpc/key_prot.c: Likewise.
37960 * sunrpc/netname.c: Likewise.
37961 * sunrpc/pm_getmaps.c: Likewise.
37962 * sunrpc/pm_getport.c: Likewise.
37963 * sunrpc/pmap_clnt.c: Likewise.
37964 * sunrpc/pmap_prot.c: Likewise.
37965 * sunrpc/pmap_prot2.c: Likewise.
37966 * sunrpc/pmap_rmt.c: Likewise.
37967 * sunrpc/publickey.c: Likewise.
37968 * sunrpc/rpc_cmsg.c: Likewise.
37969 * sunrpc/rpc_common.c: Likewise.
37970 * sunrpc/rpc_dtable.c: Likewise.
37971 * sunrpc/rpc_prot.c: Likewise.
37972 * sunrpc/rpc_thread.c: Likewise.
37973 * sunrpc/rtime.c: Likewise.
37974 * sunrpc/svc.c: Likewise.
37975 * sunrpc/svc_auth.c: Likewise.
37976 * sunrpc/svc_authux.c: Likewise.
37977 * sunrpc/svc_raw.c: Likewise.
37978 * sunrpc/svc_run.c: Likewise.
37979 * sunrpc/svc_simple.c: Likewise.
37980 * sunrpc/svc_tcp.c: Likewise.
37981 * sunrpc/svc_udp.c: Likewise.
37982 * sunrpc/svc_unix.c: Likewise.
37983 * sunrpc/svcauth_des.c: Likewise.
37984 * sunrpc/xcrypt.c: Likewise.
37985 * sunrpc/xdr.c: Likewise.
37986 * sunrpc/xdr_array.c: Likewise.
37987 * sunrpc/xdr_float.c: Likewise.
37988 * sunrpc/xdr_intXX_t.c: Likewise.
37989 * sunrpc/xdr_mem.c: Likewise.
37990 * sunrpc/xdr_rec.c: Likewise.
37991 * sunrpc/xdr_ref.c: Likewise.
37992 * sunrpc/xdr_sizeof.c: Likewise.
37993 * sunrpc/xdr_stdio.c: Likewise.
37994
e6c61494
UD
379952011-04-10 Ulrich Drepper <drepper@gmail.com>
37996
37997 [BZ #12650]
37998 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37999 * sysdeps/ia64/dl-tls.h: Likewise.
38000 * sysdeps/powerpc/dl-tls.h: Likewise.
38001 * sysdeps/s390/dl-tls.h: Likewise.
38002 * sysdeps/sh/dl-tls.h: Likewise.
38003 * sysdeps/sparc/dl-tls.h: Likewise.
38004 * sysdeps/x86_64/dl-tls.h: Likewise.
38005 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38006
34fe483e
AS
380072011-03-14 Andreas Schwab <schwab@redhat.com>
38008
38009 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38010 rpath element also skip the following colon.
38011 (expand_dynamic_string_token): Add is_path parameter and pass
38012 down to DL_DST_REQUIRED and _dl_dst_substitute.
38013 (decompose_rpath): Call expand_dynamic_string_token with
38014 non-zero is_path. Ignore empty rpaths.
38015 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38016 with zero is_path.
38017
f12a32e6
AS
380182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38019
38020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38021 Make cancelable.
38022
38a7d692
UD
380232011-04-09 Ulrich Drepper <drepper@gmail.com>
38024
38025 [BZ #12655]
38026 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38027 Patch by Filipe David Manana <fdmanana@apache.org>.
38028
e451d22b
AS
380292011-04-07 Andreas Schwab <schwab@redhat.com>
38030
38031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38032 Maintain aligned stack.
38033 (CHECK_RSP): Remove unused macro.
38034
dedc7c7b
UD
380352011-04-03 Ulrich Drepper <drepper@gmail.com>
38036
38037 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38039
94521213
UD
380402011-04-02 Ulrich Drepper <drepper@gmail.com>
38041
38042 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38043
8cb700c0 38044 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38045
0354e355
L
380462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38047
38048 [BZ #12518]
38049 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38050 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38051 * sysdeps/x86_64/memmove.c: New file.
38052 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38053 (memcpy): Renamed to ...
38054 (__new_memcpy): This.
38055 (memcpy): Provide GLIBC_2_14 memcpy.
38056 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38057 (memcpy): Provide GLIBC_2_2_5 memcpy.
38058
8593482f
UD
380592011-04-01 Ulrich Drepper <drepper@gmail.com>
38060
38061 [BZ #12631]
38062 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38063
81a5726b
AS
380642011-03-30 Andreas Schwab <schwab@redhat.com>
38065
38066 * misc/syncfs.c: New file.
38067 * misc/Makefile (routines): Add syncfs.
38068 * posix/unistd.h: Declare syncfs.
38069 * sysdeps/unix/syscalls.list: Add syncfs.
38070
00e5419f
AS
380712011-04-01 Andreas Schwab <schwab@redhat.com>
38072
38073 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38074 open_by_handle_at.
38075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38080 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38082
748876bf
UD
380832011-04-01 Ulrich Drepper <drepper@gmail.com>
38084
658e451d
UD
38085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38087 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38092
748876bf
UD
38093 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38094 sync_file_range.c with -fexceptions.
38095 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38096 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38097 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38098 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38099 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38100 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38101 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38102 sync_file_range as cancellation point
38103 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38104 now a wrapper around __call_sync_file_range with cancellation handling.
38105 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38106 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38107 function name to __call_sync_file_range.
38108 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38109 Add call_sync_file_range.
748876bf 38110
6e63d5e1
AS
381112011-04-01 Andreas Schwab <schwab@redhat.com>
38112
38113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38114 bits/timex.h.
6e63d5e1 38115
46998f74
UD
381162011-04-01 Ulrich Drepper <drepper@gmail.com>
38117
4c1423ed
UD
38118 * iconv/iconv.h: Fix typo in comment.
38119 * io/fcntl.h: Likewise.
38120 * libio/stdio.h: Likewise.
38121 * posix/spawn.h: Likewise.
38122 * posix/unistd.h: Likewise.
38123 * stdlib/stdlib.h: Likewise.
38124 * time/time.h: Likewise.
38125 * wcsmbs/wchar.h: Likewise.
38126
158648c0
UD
38127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38128 open_by_handle): Add.
38129 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38130 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38131 Augment a few comments.
38132 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38137 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38138 open_by_handle.
38139
46998f74
UD
38140 * io/fcntl.h (AT_EMPTY_PATH): Define.
38141
83fe108b
UD
381422011-03-30 Ulrich Drepper <drepper@gmail.com>
38143
38144 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38145 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38146 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38147 to...
38148 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38149 * Versions.def: Add GLIBC_2.14.
38150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38151 Export.
83fe108b 38152
bb242059
UD
381532011-03-22 Ulrich Drepper <drepper@gmail.com>
38154
38155 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38156 round counter.
38157 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38158
c97a1282
L
381592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38160
38161 [BZ #12597]
38162 * string/test-strncmp.c (do_page_test): New function.
38163 (check2): Likewise.
38164 (test_main): Call check2.
38165 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38166
2a115601
UD
381672011-03-20 Ulrich Drepper <drepper@gmail.com>
38168
38169 [BZ #12587]
38170 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38171 Handle cache information in CPU leaf 4.
38172 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38173
8126d904
UD
381742011-03-18 Ulrich Drepper <drepper@gmail.com>
38175
042c49c6 38176 [BZ #12583]
8126d904
UD
38177 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38178 character representation.
38179 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38180
ccfe366e
RA
381812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38182
38183 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38184 END(__isnan) to END(__isnanf) to match function entry point/label
38185 EALIGN(__isnanf,...).
38186
c6e13027
JJ
381872011-03-10 Jakub Jelinek <jakub@redhat.com>
38188
38189 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38190
33f85a3f
UD
381912011-03-10 Ulrich Drepper <drepper@gmail.com>
38192
028478fa
UD
38193 [BZ #12510]
38194 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38195 copy from the symbol referenced in the relocation to initialize the
38196 used variable.
38197 Patch by Piotr Bury <pbury@goahead.com>.
38198 * elf/Makefile: Add rules to build and tst-unique3.
38199 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38200 * elf/tst-unique3.cc: New file.
38201 * elf/tst-unique3.h: New file.
38202 * elf/tst-unique3lib.cc: New file.
38203 * elf/tst-unique3lib2.cc: New file.
38204
33f85a3f
UD
38205 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38206
03592fc7
MF
382072011-03-10 Mike Frysinger <vapier@gentoo.org>
38208
38209 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38210 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38211 to _start.
03592fc7 38212
6a5ee102
UD
382132011-03-06 Ulrich Drepper <drepper@gmail.com>
38214
38215 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38216 to-be-loaded object along a path to loader is ld.so.
38217
7e4ba49c
HJ
382182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38219 Ulrich Drepper <drepper@gmail.com>
38220
38221 * sysdeps/x86_64/memset.S: After aligning destination, code
38222 branches to different locations depending on the value of
38223 misalignment, when multiarch is enabled. Fix this.
38224
382252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38226
38227 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38228 Set _x86_64_preferred_memory_instruction for AMD processsors.
38229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38230 Set bit_Prefer_SSE_for_memop for AMD processors.
38231
13a804de
UD
382322011-03-04 Ulrich Drepper <drepper@gmail.com>
38233
38234 * libio/fmemopen.c (fmemopen): Optimize a bit.
38235
9d25c392
AS
382362011-03-03 Andreas Schwab <schwab@redhat.com>
38237
38238 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38239
a5543c6a
RM
382402011-03-03 Roland McGrath <roland@redhat.com>
38241
38242 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38243
012d35f7
DM
382442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38245
7e4ba49c 38246 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38247 __bzero_ultra1 instead of __memset_ultra1.
38248
4bff6e01
AS
382492011-02-23 Andreas Schwab <schwab@redhat.com>
38250 Ulrich Drepper <drepper@gmail.com>
38251
38252 [BZ #12509]
38253 * include/link.h (struct link_map): Add l_orig_initfini.
38254 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38255 returning unsuccessfully.
38256 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38257 close of a file loaded at startup, restore the original l_initfini
38258 list.
38259 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38260 list, store the pointer.
38261 * elf/Makefile ($(objpfx)noload-mem): New rule.
38262 (noload-ENV): Define.
38263 (tests): Add $(objpfx)noload-mem.
38264 * elf/noload.c: Include <memcheck.h>.
38265 (main): Call mtrace. Close all opened handles.
38266
f2092faf
AS
382672011-02-17 Andreas Schwab <schwab@redhat.com>
38268
38269 [BZ #12454]
38270 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38271 dependencies are missing.
38272
6c8a2e88
ST
382732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38274
f2092faf 38275 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38276 Hurd needs munmap.
38277 * sysdeps/mach/hurd/ifreq.h: New file.
38278
84a42118
PB
382792011-01-27 Petr Baudis <pasky@suse.cz>
38280 Ulrich Drepper <drepper@gmail.com>
38281
071f805e 38282 [BZ 12445]#
84a42118
PB
38283 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38284 to extend_alloca().
38285 * stdio-common/bug23.c: New file.
38286 * stdio-common/Makefile (tests): Add bug23.
38287
e23fe25b
AS
382882010-09-28 Andreas Schwab <schwab@redhat.com>
38289 Ulrich Drepper <drepper@gmail.com>
38290
38291 [BZ #12489]
38292 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38293 before performing relro protection. At old place add assertion
38294 to make sure nothing changed.
38295
d3f02e10
NS
382962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38297 Glauber de Oliveira Costa <glommer@gmail.com>
38298
38299 * elf/elf.h: Add new ARM TLS relocs.
38300
d55fd7a5
RA
383012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38302
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38304 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38305 cast from r3.
38306 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38307 'tests' variable.
38308 * sysdeps/wordsize-64/tst-writev.c: New file.
38309
2206397e
RA
383102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38311
38312 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38313 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38314 insns in _dl_start to prevent a TOC reference before relocs are
38315 resolved.
38316
e9433893
UD
383172011-02-15 Ulrich Drepper <drepper@gmail.com>
38318
38319 [BZ #12469]
38320 * Makeconfig: Remove RANLIB definition.
38321 * Makerules: Don't use RANLIB.
38322 * aclocal.m4: Remove ranlib test.
38323 * configure.in: No need to check for ranlib.
38324 * elf/rtld-Rules: Don't use RANLIB.
38325
f75286c6
ST
383262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38327
8e31c82d
ST
38328 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38329 protection macro.
38330 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38331 inclusion protection macro.
38332
f75286c6
ST
38333 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38334 SIGRTMIN and SIGRTMAX and print information in that case only when
38335 SIGRTMIN is defined.
38336
c1d0e639
JJ
383372011-02-11 Jakub Jelinek <jakub@redhat.com>
38338
38339 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38340 arginfo fn returning -1.
38341
38342 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38343 and thousands string is zero terminated.
38344
edf9294e
AS
383452011-02-03 Andreas Schwab <schwab@redhat.com>
38346
38347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38348 sysdeps/unix/sysv/linux/bits/socket.h.
38349
2b7e92df
ST
383502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38351
edf9294e
AS
38352 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38353 (__CPU_COUNT): Remove old macros.
38354 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38355 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38356 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38357 (__sched_cpualloc, __sched_cpufree): Add declarations.
38358
a4c7ea7b
UD
383592011-02-05 Ulrich Drepper <drepper@gmail.com>
38360
38361 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38362 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38363 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38364 (readdhstai): Return value of addhstaiX call.
38365 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38366 (addgrbyX): Return value returned by cache_addgr.
38367 (readdgrbyname): Return value returned by addgrbyX.
38368 (readdgrbygid): Likewise.
38369 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38370 (addpwbyX): Return value returned by cache_addpw.
38371 (readdpwbyname): Return value returned by addhstbyX.
38372 (readdpwbyuid): Likewise.
38373 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38374 (addservbyX): Return value returned by cache_addserv.
38375 (readdservbyname): Return value returned by addservbyX:
38376 (readdservbyport): Likewise.
38377 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38378 (addhstbyX): Return value returned by cache_addhst.
38379 (readdhstbyname): Return value returned by addhstbyX.
38380 (readdhstbyaddr): Likewise.
38381 (readdhstbynamev6): Likewise.
38382 (readdhstbyaddrv6): Likewise.
38383 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38384 (readdinitgroups): Return value returned by addinitgroupsX.
38385 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38386 (prune_cache): Keep track of timeout value of re-added entries.
38387 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38388 * nscd/nscd.h: Adjust prototypes of readd* functions.
38389
a0bf67cc
RM
383902011-02-04 Roland McGrath <roland@redhat.com>
38391
38392 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38393 (nis_stats): Likewise.
38394 * nis/nis_modify.c (nis_modify): Likewise.
38395 * nis/nis_remove.c (nis_remove): Likewise.
38396 * nis/nis_add.c (nis_add): Likewise.
38397
38398 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38399
38400 * posix/fnmatch_loop.c: Add some consts.
38401
38402 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38403
435b95eb
L
384042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38405
38406 [BZ #12460]
38407 * config.make.in (config-cflags-novzeroupper): Define.
38408 * configure.in: Substitute libc_cv_cc_novzeroupper.
38409 * elf/Makefile (AVX-CFLAGS): Define.
38410 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38411 (CFLAGS-tst-auditmod4a.c): Likewise.
38412 (CFLAGS-tst-auditmod4b.c): Likewise.
38413 (CFLAGS-tst-auditmod6b.c): Likewise.
38414 (CFLAGS-tst-auditmod6c.c): Likewise.
38415 (CFLAGS-tst-auditmod7b.c): Likewise.
38416 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38417
8517b15e
UD
384182011-02-02 Ulrich Drepper <drepper@gmail.com>
38419
38420 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38421 function to the callback.
38422 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38423
10a656fe
AS
384242011-02-02 Andreas Schwab <schwab@redhat.com>
38425
38426 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38427 of errno.
38428
968dad0a
UD
384292011-01-19 Ulrich Drepper <drepper@gmail.com>
38430
9f94d2ea 38431 [BZ #11724]
968dad0a
UD
38432 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38433 of constructors.
38434 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38435 of destructors.
38436 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38437
38438 [BZ #11724]
38439 * elf/Makefile: Add rules to build and run new test.
38440 * elf/tst-initorder.c: New file.
38441 * elf/tst-initorder.exp: New file.
38442 * elf/tst-initordera1.c: New file.
38443 * elf/tst-initordera2.c: New file.
38444 * elf/tst-initordera3.c: New file.
38445 * elf/tst-initordera4.c: New file.
38446 * elf/tst-initorderb1.c: New file.
38447 * elf/tst-initorderb2.c: New file.
38448 * elf/tst-order-a1.c: New file.
38449 * elf/tst-order-a2.c: New file.
38450 * elf/tst-order-a3.c: New file.
38451 * elf/tst-order-a4.c: New file.
38452 * elf/tst-order-b1.c: New file.
38453 * elf/tst-order-b2.c: New file.
38454 * elf/tst-order-main.c: New file.
38455 New test case by George Gensure <werkt0@gmail.com>.
38456
86e92359
UD
384572010-10-01 Andreas Schwab <schwab@redhat.com>
38458
38459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38460 decoding ACE if AI_CANONIDN.
38461
5d5732b0
UD
384622011-01-18 Ulrich Drepper <drepper@gmail.com>
38463
38464 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38465
a77e8cbc
UD
384662011-01-17 Ulrich Drepper <drepper@gmail.com>
38467
6392473f
UD
38468 * version.h (RELEASE): Bump for 2.13 release.
38469 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38470
620a0529
UD
38471 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38472
18ba70a5
UD
38473 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38474 MADV_NOHUGEPAGE.
32465c3e
UD
38475 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38476 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38477 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38478 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38480 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38481
c0dafcf1
UD
38482 * posix/getconf.c: Update copyright year.
38483 * catgets/gencat.c: Likewise.
38484 * csu/version.c: Likewise.
38485 * debug/catchsegv.sh: Likewise.
38486 * debug/xtrace.sh: Likewise.
38487 * elf/ldconfig.c: Likewise.
38488 * elf/ldd.bash.in: Likewise.
38489 * elf/sprof.c (print_version): Likewise.
38490 * iconv/iconv_prog.c: Likewise.
38491 * iconv/iconvconfig.c: Likewise.
38492 * locale/programs/locale.c: Likewise.
38493 * locale/programs/localedef.c: Likewise.
38494 * malloc/memusage.sh: Likewise.
38495 * malloc/mtrace.pl: Likewise.
38496 * nscd/nscd.c (print_version): Likewise.
38497 * nss/getent.c: Likewise.
38498
a77e8cbc
UD
38499 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38500 PF_CAIF, and PF_ALG.
38501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38502
77e8bddf
AS
385032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38504
1f20b93a
AS
38505 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38506 (modules-names): Use them.
38507 (ifunc-test-modules, ifunc-pie-tests): Define.
38508 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38509 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38510 (test-extras): Likewise.
38511 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38512 $(compile-command.c).
38513 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38514 (all-built-dso): Define.
38515 (check-textrel.out, check-execstack.out): Depend on it.
38516
77e8bddf
AS
38517 * configure.in: Don't override --enable-multi-arch.
38518
bc425b33
UD
385192011-01-15 Ulrich Drepper <drepper@gmail.com>
38520
38521 [BZ #6812]
38522 * nscd/hstcache.c (tryagain): Define.
38523 (cache_addhst): Return tryagain not notfound for temporary errors.
38524 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38525 failed.
38526
794c3ad3
UD
385272011-01-14 Ulrich Drepper <drepper@gmail.com>
38528
70181fdd
UD
38529 [BZ #10563]
38530 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38531 to make the syscall.
38532 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38533
794c3ad3
UD
38534 [BZ #12378]
38535 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38536 and fall back to matching as normal character if the string ends before
38537 the matching ']' is found. This is what POSIX requires.
38538 * posix/testfnm.c: Adjust test result.
38539 * posix/globtest.sh: Adjust test result. Add new test.
38540 * posix/tst-fnmatch.input: Likewise.
38541 * posix/tst-fnmatch2.c: Add new test.
38542
68dc9497
AS
385432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38544
38545 * elf/Makefile (check-execstack): Revert last change. Depend on
38546 check-execstack.h.
38547 (check-execstack.h): New target.
38548 (generated): Add check-execstack.h.
38549 * elf/check-execstack.c: Include "check-execstack.h".
38550 (main): Revert last change.
38551 (handle_file): Return zero if GNU_STACK is absent and
38552 DEFAULT_STACK_PERMS doesn't include PF_X.
38553
451f001b
UD
385542011-01-13 Ulrich Drepper <drepper@gmail.com>
38555
cfa28e56
UD
38556 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38557 in child fails because the descriptor is already closed.
8cf8ce17
UD
38558 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38559 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38560 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38561
1086d70d
UD
38562 [BZ #12397]
38563 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38564 syscall.
38565
451f001b
UD
38566 [BZ #10484]
38567 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38568 temporary buffer used to handle multi lookups locally.
a85b5cb4 38569 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38570
08769175
UD
385712011-01-12 Ulrich Drepper <drepper@gmail.com>
38572
38573 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38574 loader is ld.so.
38575
5e49c52e
UD
385762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38577
38578 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38579 alignment for SSE2.
38580
60522a5f
UD
385812011-01-12 Ulrich Drepper <drepper@gmail.com>
38582
38583 [BZ #12394]
38584 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38585 characters. When rounding increased number of integer digits recompute
38586 number of groups.
38587 * stdio-common/tst-grouping.c: New file.
38588 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38589
f257bbd7
UD
385902011-01-09 Ulrich Drepper <drepper@gmail.com>
38591
38592 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38593 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38594
38595 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38596 void.
38597 * bits/select.h: Likewise.
38598
fa9c15cb
UD
385992011-01-08 Ulrich Drepper <drepper@gmail.com>
38600
38601 * po/ja.po: Update from translation team.
38602
16c2895f
DM
386032011-01-04 David S. Miller <davem@sunset.davemloft.net>
38604
38605 [BZ #11155]
38606 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38607 implementation just like for lxstat, fxstatat, et al.
38608
2543fef2
JM
386092010-12-27 Jim Meyering <meyering@redhat.com>
38610
38611 [BZ #12348]
38612 * posix/regexec.c (build_trtable): Return failure indication upon
38613 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38614
98727dbe
UD
386152010-12-25 Ulrich Drepper <drepper@gmail.com>
38616
5bd6dc5c
UD
38617 [BZ #12201]
38618 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38619 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38620 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38621 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38622
97983464
UD
38623 [BZ #12207]
38624 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38625
98727dbe
UD
38626 [BZ #12204]
38627 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38628 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38629
4a531bb0
L
386302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38631
38632 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38633 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38634 script has SORT_BY_INIT_PRIORITY.
38635 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38636 NO_CTORS_DTORS_SECTIONS is defined.
38637 * elf/soinit.c: Likewise.
38638 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38639 NO_CTORS_DTORS_SECTIONS is defined.
38640 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38641 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38642 * sysdeps/sh/init-first.c: Likewise.
38643 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38644
07eb4b71
UD
386452010-12-24 Ulrich Drepper <drepper@gmail.com>
38646
38647 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38648 always use the slow path.
38649
30950a5f
RA
386502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38651
38652 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38653 similar rule which adds the sysdep directories to the header search in
38654 order to pick up the correct platform stackinfo.h.
38655 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38656 perform test if it is, otherwise return successfully without testing.
38657 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38658 DEFAULT_STACK_PERMS define in stackinfo.h.
38659 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38660 defined in stackinfo.h.
38661 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38662 DEFAULT_STACK_PERMS defined in stackinfo.h.
38663 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38664 * sysdeps/ia64/stackinfo.h: Likewise.
38665 * sysdeps/s390/stackinfo.h: Likewise.
38666 * sysdeps/sh/stackinfo.h: Likewise.
38667 * sysdeps/sparc/stackinfo.h: Likewise.
38668 * sysdeps/x86_64/stackinfo.h: Likewise.
38669 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38670 PF_X for powerpc64. Retain PF_X for powerpc32.
38671
db753e2c
UD
386722010-12-19 Ulrich Drepper <drepper@gmail.com>
38673
14b697f7
UD
38674 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38675 accurately.
db753e2c
UD
38676 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38677 GETDENTS_64BIT_ALIGNED.
38678
28300719
UD
386792010-12-14 Ulrich Drepper <dreper@gmail.com>
38680
14b697f7 38681 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38682
4f197237
AS
386832010-12-10 Andreas Schwab <schwab@redhat.com>
38684
dbb0472f
AS
38685 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38686 _GNU_SOURCE.
38687
4f197237
AS
38688 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38689 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38690 Remove __restrict.
38691 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38692 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38693
fb88ac72
UD
386942010-12-09 Ulrich Drepper <drepper@gmail.com>
38695
38696 [BZ #11655]
38697 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38698 are initialized.
38699
42acbb92
JJ
387002010-12-09 Jakub Jelinek <jakub@redhat.com>
38701
38702 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38703
c038d98d
UD
387042010-12-03 Ulrich Drepper <drepper@gmail.com>
38705
38706 * po/it.po: Update from translation team.
38707
3a4a2499
L
387082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38709
38710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38711 unused codes.
38712
1e24cf6e
UD
387132010-11-30 Ulrich Drepper <drepper@gmail.com>
38714
38715 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38716
a7690819
AS
387172010-11-24 Andreas Schwab <schwab@redhat.com>
38718
38719 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38720 specially.
38721 (gaih_getanswer_slice): Likewise.
38722
3bf8d1b1
JJ
387232010-10-20 Jakub Jelinek <jakub@redhat.com>
38724
38725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38726
6db52fbb
PB
387272010-05-31 Petr Baudis <pasky@suse.cz>
38728
38729 [BZ #11149]
38730 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38731 silently even in the chroot mode.
38732
eaca7569
UD
387332010-11-22 Ulrich Drepper <drepper@gmail.com>
38734
38735 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38736 last patch a bit. Pretty printing
38737
3056dcdb
UD
387382010-05-31 Petr Baudis <pasky@suse.cz>
38739
38740 [BZ #10085]
38741 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38742 initialization of skip_initgroups_dyn.
38743
cf7c9078
UD
387442010-11-19 Ulrich Drepper <drepper@gmail.com>
38745
38746 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38747 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38748
a1fb5e3e
UD
387492010-11-16 Ulrich Drepper <drepper@gmail.com>
38750
38751 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38752
3540d66b
AS
387532010-11-11 Andreas Schwab <schwab@redhat.com>
38754
38755 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38756 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38757 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38758 ($(objpfx)tst-fnmatch-mem): New rule.
38759 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38760 * posix/tst-fnmatch.c (main): Call mtrace.
38761
13b69574
L
387622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38763
38764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38765 Support Intel processor model 6 and model 0x2c.
38766
da93d214
LM
387672010-11-10 Luis Machado <luisgpm@br.ibm.com>
38768
38769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38770 signed comparison.
38771
8ca52c6e
L
387722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38773
38774 [BZ #12205]
38775 * string/test-strncasecmp.c (check_result): New function.
38776 (do_one_test): Use it.
38777 (check1): New function.
38778 (test_main): Use it.
38779 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38780 Support strcasecmp and strncasecmp.
38781
69da074d
UD
387822010-11-08 Ulrich Drepper <drepper@gmail.com>
38783
38784 [BZ #12194]
38785 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38787
ff02d528
L
387882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38789
38790 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38791 IFUNC support.
38792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38793 memset-x86-64.
38794 * sysdeps/x86_64/multiarch/bzero.S: New file.
38795 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38796 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38797 * sysdeps/x86_64/multiarch/memset.S: New file.
38798 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38800 Set bit_Prefer_SSE_for_memop for Intel processors.
38801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38802 Define.
38803 (index_Prefer_SSE_for_memop): Define.
38804 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38805
344d0b54
LM
388062010-11-04 Luis Machado <luisgpm@br.ibm.com>
38807
38808 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38809 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38810
c0dde15b
UD
388112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38812
38813 [BZ #12191]
38814 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38815 (__x86_64_raw_data_cache_size_half): Likewise.
38816 (__x86_64_raw_shared_cache_size): Likewise.
38817 (__x86_64_raw_shared_cache_size_half): Likewise.
38818
38819 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38820 (__x86_64_raw_data_cache_size_half): Likewise.
38821 (__x86_64_raw_shared_cache_size): Likewise.
38822 (__x86_64_raw_shared_cache_size_half): Likewise.
38823 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38824 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38825 and __x86_64_raw_shared_cache_size_half. Round
38826 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38827 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38828 to multiple of 256 bytes.
38829
0e516e0e
MS
388302010-11-03 Ulrich Drepper <drepper@gmail.com>
38831
38832 [BZ #12167]
38833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38834 of inacessible symlinks. Verify result of symlink before returning it.
38835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38836 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38837
0e012e87
ER
388382010-10-28 Erich Ritz <erichritz@gmail.com>
38839
38840 * math/math.h (isinf): Fix typo in comment.
38841
de0ff7bc
UD
388422010-11-01 Ulrich Drepper <drepper@gmail.com>
38843
38844 * po/da.po: Update from translation team.
38845
fa41c84d
UD
388462010-10-26 Ulrich Drepper <drepper@gmail.com>
38847
38848 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38849 is added to the list.
38850
f0967738
AK
388512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38852 Ulrich Drepper <drepper@gmail.com>
38853
38854 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38855 the global list here. Move code to...
38856 (_dl_add_to_namespace_list): ...here. New function.
38857 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38858 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38859 * elf/dl-load.c (lose): Don't remove the element from the list.
38860 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38861 (_dl_map_object): Likewise.
38862
388632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38864
38865 [BZ #12159]
38866 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38867 into all bytes of SSE register.
38868 Patch by Richard Li <richardpku@gmail.com>.
38869
f0967738 388702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38871
38872 [BZ #12140]
38873 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38874 perturbing.
38875
d0b9e94f
MB
388762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38877
38878 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38879 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38881 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38883 submachine.
38884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38885
8e9f92e9
AS
388862010-10-22 Andreas Schwab <schwab@redhat.com>
38887
38888 * include/dlfcn.h (__RTLD_SECURE): Define.
38889 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38890 mode & __RTLD_SECURE instead.
38891 (open_path): Rename preloaded parameter to secure.
38892 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38893 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38894 * elf/dl-deps.c (openaux): Likewise.
38895 * elf/rtld.c (struct map_args): Remove is_preloaded.
38896 (map_doit): Don't use it.
38897 (dl_main): Likewise.
38898 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38899 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38900
bc96fbda
AS
389012010-09-09 Andreas Schwab <schwab@redhat.com>
38902
38903 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38904 (sysd-rules-targets): Remove duplicates.
38905 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38906 rtld-%.$o dependency.
38907
22cd1c9b
AS
389082010-10-18 Andreas Schwab <schwab@redhat.com>
38909
38910 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38911 _dl_map_object do it.
38912
18edac48
UD
389132010-10-19 Ulrich Drepper <drepper@gmail.com>
38914
38915 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38916 fast fma builtins, define the macros in the C99 standard.
38917 (FP_FAST_FMAF): Likewise.
38918 (FP_FAST_FMAL): Likewise.
38919 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38920
38921 * bits/mathdef.h: Update copyright year.
38922 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38923
d2050124
MM
389242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38925
38926 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38927 builtins, define the macros in the C99 standard.
38928 (FP_FAST_FMAF): Likewise.
38929 (FP_FAST_FMAL): Likewise.
38930 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38931 multiply/add.
38932 (FP_FAST_FMAF): Likewise.
38933
475facd1
JJ
389342010-10-15 Jakub Jelinek <jakub@redhat.com>
38935
38936 [BZ #3268]
38937 * math/libm-test.inc (fma_test): Some new testcases.
38938 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38940 y and infinite z. Do multiplication by C already in long double.
38941 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38943 y and infinite z. Do bitwise or of inexact bit into u.d.
38944 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38945 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38946 * sysdeps/i386/fpu/s_fma.S: Removed.
38947 * sysdeps/i386/fpu/s_fmal.S: Removed.
38948
7c08a05c
JJ
389492010-10-16 Jakub Jelinek <jakub@redhat.com>
38950
38951 [BZ #3268]
38952 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38954 computation is not scheduled after fetestexcept. Fix value
38955 of minimum denormal long double.
38956
f3f7372d
JJ
389572010-10-14 Jakub Jelinek <jakub@redhat.com>
38958
38959 [BZ #3268]
38960 * math/libm-test.inc (fma_test): Add some more tests.
38961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38962 correctly.
38963
14d43591
AS
389642010-10-15 Andreas Schwab <schwab@redhat.com>
38965
38966 * scripts/data/localplt-s390-linux-gnu.data: New file.
38967 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38968
5e908464
JJ
389692010-10-13 Jakub Jelinek <jakub@redhat.com>
38970
38971 [BZ #3268]
38972 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38973 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38974 instead of dbl-64.
38975 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38976 inlines.
38977 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38979 if one of x and y is very large and the other is subnormal.
38980 * sysdeps/s390/fpu/s_fmaf.c: New file.
38981 * sysdeps/s390/fpu/s_fma.c: New file.
38982 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38983 * sysdeps/powerpc/fpu/s_fma.S: New file.
38984 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38985 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38986 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38987
389882010-10-12 Jakub Jelinek <jakub@redhat.com>
38989
38990 [BZ #3268]
38991 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38992 fma tests.
38993 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38994 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38995 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38996 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38997 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38998 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39000
b833d51f
UD
390012010-10-12 Ulrich Drepper <drepper@redhat.com>
39002
39003 [BZ #12078]
39004 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39005 * posix/bug-regex31.input: Add test case.
39006
1751705d
UD
390072010-10-11 Ulrich Drepper <drepper@gmail.com>
39008
e9b9cbf5
UD
39009 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39010 * posix/bug-regex31.input: New file.
39011
39012 [BZ #12078]
39013 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39014 (parse_sub_exp): Fix last change, use postorder.
39015
ef06edbe
UD
39016 * posix/bug-regex31.c: New file.
39017 * posix/Makefile: Add rules to build and run bug-regex31.
39018
a129c80d
UD
39019 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39020
39021 [BZ #12078]
39022 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39023
b76b818e
UD
39024 [BZ #12108]
39025 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39026 to have entries in sys_siglist.
39027
1751705d
UD
39028 [BZ #12093]
39029 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39030 be NULL.
39031
9ff8d36f
JJ
390322010-10-07 Jakub Jelinek <jakub@redhat.com>
39033
39034 [BZ #3268]
39035 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39036 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39037 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39038 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39039 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39040 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39041 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39042 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39043 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39044 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39045 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39046 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39047 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39048 * math/ftestexcept.c (fetestexcept): Likewise.
39049 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39050 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39051 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39052 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39053 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39054 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39055 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39056
af325969
UD
390572010-10-11 Ulrich Drepper <drepper@gmail.com>
39058
c579b202 39059 [BZ #12107]
af325969
UD
39060 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39061 newline.
39062
67a67b95
UD
390632010-10-06 Ulrich Drepper <drepper@gmail.com>
39064
39065 * string/bug-strstr1.c: New file.
39066 * string/Makefile: Add rules to build and run bug-strstr1.
39067
5fb308bc
EB
390682010-10-05 Eric Blake <eblake@redhat.com>
39069
39070 [BZ #12092]
39071 * string/str-two-way.h (two_way_long_needle): Always clear memory
39072 when skipping input due to the shift table.
39073
45db99c7
UD
390742010-10-03 Ulrich Drepper <drepper@gmail.com>
39075
3b111893
UD
39076 [BZ #12005]
39077 * malloc/mcheck.c: Handle large requests.
39078
45db99c7
UD
39079 [BZ #12077]
39080 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39081 for strncmp and strncasecmp.
39082 * string/stratcliff.c: Add tests for strcmp and strncmp.
39083 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39084
cf7a1eb8
NI
390852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39086
39087 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39088 __set_fpscr.
39089
6484ba5e
AJ
390902010-09-30 Andreas Jaeger <aj@suse.de>
39091
39092 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39093 (CGROUP_SUPER_MAGIC): Define.
39094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39095 Handle btrfs and cgroup file systems.
39096 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39097 Likewise.
39098
91c42559
LM
390992010-09-27 Luis Machado <luisgpm@br.ibm.com>
39100
39101 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39102 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39103
87a97932
AK
391042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39105
39106 [BZ #12067]
39107 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39108 trying to locate the ELF header.
39109
c21cc9bc
AS
391102010-09-27 Andreas Schwab <schwab@redhat.com>
39111
39112 [BZ #11611]
39113 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39114 Mask out sign-bit copies when constructing f_fsid.
39115
315970f6
PB
391162010-09-24 Petr Baudis <pasky@suse.cz>
39117
39118 * debug/stack_chk_fail_local.c: Add missing licence exception.
39119 * debug/warning-nop.c: Likewise.
39120
1ac7a2c7
JM
391212010-09-15 Joseph Myers <joseph@codesourcery.com>
39122
39123 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39124 implementing getdents64 using getdents syscall, set d_type if
39125 __ASSUME_GETDENTS32_D_TYPE.
39126
56801c50
AS
391272010-09-16 Andreas Schwab <schwab@redhat.com>
39128
39129 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39130 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39131
dda51327
UD
391322010-09-21 Ulrich Drepper <drepper@redhat.com>
39133
39134 [BZ #12037]
39135 * posix/unistd.h: Undo change of feature selection for ftruncate from
39136 2010-01-11.
39137
8ffcee4a
UD
391382010-09-20 Ulrich Drepper <drepper@redhat.com>
39139
a545ecd9 39140 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39141 detection.
39142
e24f0a8b
AS
391432010-09-20 Andreas Schwab <schwab@redhat.com>
39144
39145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39146 fanotify_mark.
39147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39148
7291c56f
AS
391492010-09-14 Andreas Schwab <schwab@redhat.com>
39150
39151 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39152 variables after CHECK_SP call.
39153 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39154
bc5fb037
AS
391552010-09-13 Andreas Schwab <schwab@redhat.com>
39156 Ulrich Drepper <drepper@redhat.com>
39157
39158 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39159 re-relocationg ld.so.
39160 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39161 _dl_init_paths call.
39162 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39163 here anymore.
39164
e66e7419
UD
391652010-09-14 Ulrich Drepper <drepper@redhat.com>
39166
39167 * resolv/res_init.c (__res_vinit): Count the default server we added.
39168
c044aa75
CLT
391692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39170 Ulrich Drepper <drepper@redhat.com>
39171
39172 [BZ #11968]
39173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39174 (____longjmp_chk): Use %ebx for saving value across system call.
39175 Add unwind info.
39176
32cf4069
AS
391772010-09-06 Andreas Schwab <schwab@redhat.com>
39178
39179 * manual/Makefile: Don't mix pattern rules with normal rules.
39180
817328ee
AS
391812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39182
39183 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39184 operation.
39185 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39186 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39187 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39188 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39190 Likewise.
39191
29fddf61
UD
391922010-09-04 Ulrich Drepper <drepper@redhat.com>
39193
39194 [BZ #11979]
39195 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39196 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39197
0959ffc9
UD
391982010-09-02 Ulrich Drepper <drepper@redhat.com>
39199
39200 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39201 * sysdeps/x86_64/addmul_1.S: Likewise.
39202 * sysdeps/x86_64/lshift.S: Likewise.
39203 * sysdeps/x86_64/mul_1.S: Likewise.
39204 * sysdeps/x86_64/rshift.S: Likewise.
39205 * sysdeps/x86_64/sub_n.S: Likewise.
39206 * sysdeps/x86_64/submul_1.S: Likewise.
39207
ece29840
ST
392082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39209
0959ffc9
UD
39210 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39211 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39212 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39213 * bits/sched.h [__need_schedparam]
ece29840 39214 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39215 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39216 (__defined_schedparam): Define to 1.
ece29840
ST
39217 (__sched_param): New structure, identical to sched_param.
39218 (__need_schedparam): Undefine.
39219
e53a31fe
MF
392202010-08-31 Mike Frysinger <vapier@gentoo.org>
39221
fdc0c10d
MF
39222 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39223 (epoll_create1): Declare.
39224
e53a31fe
MF
39225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39226
a726d796
AS
392272010-08-31 Andreas Schwab <schwab@redhat.com>
39228
39229 [BZ #7066]
39230 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39231 shifting retval into place.
39232
2f3e3dc7
UD
392332010-09-01 Ulrich Drepper <drepper@redhat.com>
39234
f2933da9
UD
39235 * nis/rpcsvc/nis.h: Update copyright notice.
39236 * nis/rpcsvc/nis.x: Likewise.
39237 * nis/rpcsvc/nis_callback.h: Likewise.
39238 * nis/rpcsvc/nis_callback.x: Likewise.
39239 * nis/rpcsvc/nis_object.x: Likewise.
39240 * nis/rpcsvc/nis_tags.h: Likewise.
39241 * nis/rpcsvc/yp.h: Likewise.
39242 * nis/rpcsvc/yp.x: Likewise.
39243 * nis/rpcsvc/ypupd.h: Likewise.
39244 * nis/yp_xdr.c: Likewise.
39245 * nis/ypupdate_xdr.c: Likewise.
39246
2f3e3dc7
UD
39247 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39248 mainly the body of pmap_getport. Add parameters to specify timeouts.
39249 (pmap_getport): Use __libc_rpc_getport.
39250 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39251 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39252 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39253
f3dcc2f9
AS
392542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39255
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39257 fanotify_mark.
39258
6d34eb5b
RM
392592010-08-27 Roland McGrath <roland@redhat.com>
39260
39261 * sysdeps/i386/i686/multiarch/Makefile
39262 (CFLAGS-varshift.c): New variable.
39263
9ea3de11
UD
392642010-08-27 Ulrich Drepper <drepper@redhat.com>
39265
c96d23fc
UD
39266 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39267 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39268
9ea3de11
UD
39269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39270
39271 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39272
623aac7f
L
392732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39274
39275 * sysdeps/x86_64/strlen.S: Unroll the loop.
39276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39277 strlen-sse2 strlen-sse2-bsf.
39278 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39279 __strlen_no_bsf if bit_Slow_BSF is set.
39280 (__strlen_sse42): Removed.
39281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39282 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39283
8b2b7715
RM
392842010-08-25 Roland McGrath <roland@redhat.com>
39285
39286 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39287 * sysdeps/x86_64/multiarch/varshift.c: New file.
39288 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39289 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39290 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39291 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39292
e73015f2
L
392932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39294
39295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39296 strlen-sse2 strlen-sse2-bsf.
39297 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39298 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39299 (__strlen_sse2): Removed.
39300 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39301 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39303 bit_Slow_BSF for Atom.
39304 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39305 (index_Slow_BSF): Define.
39306 (HAS_SLOW_BSF): Define.
39307
df24a73e
UD
393082010-08-25 Ulrich Drepper <drepper@redhat.com>
39309
39310 [BZ #10851]
39311 * resolv/res_init.c (__res_vinit): When no server address at all
39312 is given default to loopback.
39313
f2ac4868
RM
393142010-08-24 Roland McGrath <roland@redhat.com>
39315
09055553
RM
39316 * configure.in: Remove config-name.h generation.
39317 * configure: Regenerated.
39318 * config-name.in: File removed.
39319 * scripts/config-uname.sh: New file.
39320 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39321 ($(objdir)config-name.h): New target.
39322
f2ac4868
RM
39323 * sunrpc/rpc_parse.h: Avoid nested comment.
39324
73f27d5e
RH
393252010-08-24 Richard Henderson <rth@redhat.com>
39326 Ulrich Drepper <drepper@redhat.com>
39327 H.J. Lu <hongjiu.lu@intel.com>
39328
39329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39331 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39332 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39333 _mm_alignr_epi8 with _mm_loadu_si128.
39334 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39335 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39336 (__m128i_shift_right): Removed.
39337 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39338 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39339 * sysdeps/x86_64/multiarch/varshift.h: New file.
39340 * sysdeps/x86_64/multiarch/varshift.S: New file.
39341
84b9230c
MF
393422010-08-21 Mike Frysinger <vapier@gentoo.org>
39343
39344 * configure.in: Move assembler checks to before sysdep dir checking.
39345
9bbd0ddc
PB
393462010-08-20 Petr Baudis <pasky@suse.cz>
39347
39348 * LICENSES: Sync the sunrpc license.
39349
9da4bb31
UD
393502010-08-19 Ulrich Drepper <drepper@redhat.com>
39351
a7ab6ec8
UD
39352 * sunrpc/auth_des.c: Update copyright notice once again.
39353 * sunrpc/auth_none.c: Likewise.
39354 * sunrpc/auth_unix.c: Likewise.
39355 * sunrpc/authdes_prot.c: Likewise.
39356 * sunrpc/authuxprot.c: Likewise.
39357 * sunrpc/bindrsvprt.c: Likewise.
39358 * sunrpc/clnt_gen.c: Likewise.
39359 * sunrpc/clnt_perr.c: Likewise.
39360 * sunrpc/clnt_raw.c: Likewise.
39361 * sunrpc/clnt_simp.c: Likewise.
39362 * sunrpc/clnt_tcp.c: Likewise.
39363 * sunrpc/clnt_udp.c: Likewise.
39364 * sunrpc/clnt_unix.c: Likewise.
39365 * sunrpc/des_crypt.c: Likewise.
39366 * sunrpc/des_soft.c: Likewise.
39367 * sunrpc/get_myaddr.c: Likewise.
39368 * sunrpc/getrpcport.c: Likewise.
39369 * sunrpc/key_call.c: Likewise.
39370 * sunrpc/key_prot.c: Likewise.
39371 * sunrpc/openchild.c: Likewise.
39372 * sunrpc/pm_getmaps.c: Likewise.
39373 * sunrpc/pm_getport.c: Likewise.
39374 * sunrpc/pmap_clnt.c: Likewise.
39375 * sunrpc/pmap_prot.c: Likewise.
39376 * sunrpc/pmap_prot2.c: Likewise.
39377 * sunrpc/pmap_rmt.c: Likewise.
39378 * sunrpc/rpc/auth.h: Likewise.
39379 * sunrpc/rpc/auth_unix.h: Likewise.
39380 * sunrpc/rpc/clnt.h: Likewise.
39381 * sunrpc/rpc/des_crypt.h: Likewise.
39382 * sunrpc/rpc/key_prot.h: Likewise.
39383 * sunrpc/rpc/netdb.h: Likewise.
39384 * sunrpc/rpc/pmap_clnt.h: Likewise.
39385 * sunrpc/rpc/pmap_prot.h: Likewise.
39386 * sunrpc/rpc/pmap_rmt.h: Likewise.
39387 * sunrpc/rpc/rpc.h: Likewise.
39388 * sunrpc/rpc/rpc_des.h: Likewise.
39389 * sunrpc/rpc/rpc_msg.h: Likewise.
39390 * sunrpc/rpc/svc.h: Likewise.
39391 * sunrpc/rpc/svc_auth.h: Likewise.
39392 * sunrpc/rpc/types.h: Likewise.
39393 * sunrpc/rpc/xdr.h: Likewise.
39394 * sunrpc/rpc_clntout.c: Likewise.
39395 * sunrpc/rpc_cmsg.c: Likewise.
39396 * sunrpc/rpc_common.c: Likewise.
39397 * sunrpc/rpc_cout.c: Likewise.
39398 * sunrpc/rpc_dtable.c: Likewise.
39399 * sunrpc/rpc_hout.c: Likewise.
39400 * sunrpc/rpc_main.c: Likewise.
39401 * sunrpc/rpc_parse.c: Likewise.
39402 * sunrpc/rpc_parse.h: Likewise.
39403 * sunrpc/rpc_prot.c: Likewise.
39404 * sunrpc/rpc_sample.c: Likewise.
39405 * sunrpc/rpc_scan.c: Likewise.
39406 * sunrpc/rpc_scan.h: Likewise.
39407 * sunrpc/rpc_svcout.c: Likewise.
39408 * sunrpc/rpc_tblout.c: Likewise.
39409 * sunrpc/rpc_util.c: Likewise.
39410 * sunrpc/rpc_util.h: Likewise.
39411 * sunrpc/rpcinfo.c: Likewise.
39412 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39413 * sunrpc/rpcsvc/key_prot.x: Likewise.
39414 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39415 * sunrpc/rpcsvc/mount.x: Likewise.
39416 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39417 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39418 * sunrpc/rpcsvc/rex.x: Likewise.
39419 * sunrpc/rpcsvc/rstat.x: Likewise.
39420 * sunrpc/rpcsvc/rusers.x: Likewise.
39421 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39422 * sunrpc/rpcsvc/spray.x: Likewise.
39423 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39424 * sunrpc/rtime.c: Likewise.
39425 * sunrpc/svc.c: Likewise.
39426 * sunrpc/svc_auth.c: Likewise.
39427 * sunrpc/svc_authux.c: Likewise.
39428 * sunrpc/svc_raw.c: Likewise.
39429 * sunrpc/svc_run.c: Likewise.
39430 * sunrpc/svc_simple.c: Likewise.
39431 * sunrpc/svc_tcp.c: Likewise.
39432 * sunrpc/svc_udp.c: Likewise.
39433 * sunrpc/svc_unix.c: Likewise.
39434 * sunrpc/svcauth_des.c: Likewise.
39435 * sunrpc/xcrypt.c: Likewise.
39436 * sunrpc/xdr.c: Likewise.
39437 * sunrpc/xdr_array.c: Likewise.
39438 * sunrpc/xdr_float.c: Likewise.
39439 * sunrpc/xdr_mem.c: Likewise.
39440 * sunrpc/xdr_rec.c: Likewise.
39441 * sunrpc/xdr_ref.c: Likewise.
39442 * sunrpc/xdr_sizeof.c: Likewise.
39443 * sunrpc/xdr_stdio.c: Likewise.
39444
9da4bb31
UD
39445 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39446 handling.
39447
bdaa77bc
AS
394482010-08-19 Andreas Schwab <schwab@redhat.com>
39449
39450 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39451
fe2f79db
LM
394522010-08-19 Luis Machado <luisgpm@br.ibm.com>
39453
39454 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39455 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39457 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39458 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39459 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39460 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39461 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39462 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39463 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39464 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39465 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39466 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39467 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39468
b9b42ee0
AB
394692010-07-26 Anton Blanchard <anton@samba.org>
39470
39471 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39472 * malloc/arena.c (heap_trim): Likewise.
39473
1c06ba31
UD
394742010-08-16 Ulrich Drepper <drepper@redhat.com>
39475
39476 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39477 here. Not...
39478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39479 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39480
f8392f40
L
394812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39482
39483 * sysdeps/i386/elf/Makefile: New file.
39484
3162f12e
AS
394852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39486
39487 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39488 from fanotify_init.
39489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39491
28c90b2c
UD
394922010-08-15 Ulrich Drepper <drepper@redhat.com>
39493
39494 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39495 of strncasecmp_l.
1feccb6c 39496 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39497
ca6bb004
UD
394982010-08-14 Ulrich Drepper <drepper@redhat.com>
39499
e9f82e0d
UD
39500 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39501 strncase_l-nonascii.
39502 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39503 Add strncase_l-ssse3.
39504 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39505 * sysdeps/x86_64/strcmp.S: Likewise.
39506 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39507 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39508 * sysdeps/x86_64/strncase.S: New file.
39509 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39510 * sysdeps/x86_64/strncase_l.S: New file.
39511 * string/Makefile (strop-tests): Add strncasecmp.
39512 * string/test-strncasecmp.c: New file.
39513
39514 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39515 warning.
39516
ca6bb004
UD
39517 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39518 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39519
052fa7b3
AS
395202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39521
39522 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39523
962dba78
UD
395242010-08-12 Ulrich Drepper <drepper@redhat.com>
39525
39526 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39528 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39529
bebff237
AM
395302010-05-01 Alan Modra <amodra@gmail.com>
39531
39532 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39533 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39534 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39535 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39536 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39537 tidying. Don't tail-call __sigjmp_save for static lib.
39538 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39539 save location.
39540 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39541 (CALL_MCOUNT): Add eh info, and nop after bl.
39542 (TAIL_CALL_SYSCALL_ERROR): New macro.
39543 (PSEUDO_RET): Use it.
39544 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39545 Correct save location of integer regs and cr.
39546 (_dl_profile_resolve): Correct cr save location. Delete nops
39547 after bl when SHARED. Reduce cfi size a little by better
39548 placement of cfi directives.
39549 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39550 make a stack frame. Instead use parm save area as a temp.
39551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39552 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39554 Don't make a stack frame for parent, use parm save area.
39555 Increase child stack frame to 112 bytes. Don't save unused reg,
39556 and adjust reg usage. Set up cfi on error recovery and
39557 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39559 (__makecontext): Add dummy nop after jump to exit.
39560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39561 Use correct parm save area and cr save, reduce stack frame.
39562 Correct cfi for possible PSEUDO_RET frame setup.
39563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39564 Branch to local label emitted by PSEUDO_RET rather than
39565 __syscall_error.
39566
02637374
AS
395672010-08-12 Andreas Schwab <schwab@redhat.com>
39568
39569 [BZ #11904]
39570 * locale/programs/locale.c (print_assignment): New function.
39571 (show_locale_vars): Use it.
39572
c3e2f19b
UD
395732010-08-11 Ulrich Drepper <drepper@redhat.com>
39574
3cdaa6ad
UD
39575 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39576 field.
39577 (struct statfs64): Likewise.
39578 (_STATFS_F_FLAGS): Define.
39579 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39580 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39581 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39582 (ST_VALID): Define locally.
39583 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39584 __statvfs_getflags, use the provided value.
39585 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39586 __ASSUME_STATFS_F_FLAGS.
39587
754f7da3
UD
39588 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39589
10b3bedc
UD
39590 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39591 Add sys/fanotify.h.
39592 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39593 fanotify_mask for GLIBC_2.13.
39594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39595 fanotify_init and fanotify_mark.
39596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39597 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39598
c08fb0d7
UD
39599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39600 Add prlimit.
39601 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39602 prlimit64 for GLIBC_2.13.
39603 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39604 prlimit64.
39605 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39606 syscall.
39607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39609 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39610 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39612 add prlimit alias.
39613 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39614
15bac72b
UD
39615 [BZ #11903]
39616 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39617 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39618
c3e2f19b
UD
39619 * nss/Makefile: Add rules to build and run tst-nss-test1.
39620 * shlib-versions: Add entry for libnss_test1.
39621 * nss/nss_test1.c: New file.
39622 * nss/tst-nss-test1.c: New file.
39623
39624 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39625 (__nss_configure_lookup): Set appropriate entry in
39626 __nss_configure_lookup to true.
39627 * nss/nsswitch.h: Define enum with indeces of databases in
39628 databases and __nss_database_custom arrays. Declare
39629 __nss_database_custom.
39630 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39631 to avoid using nscd when custom rules are installed.
39632 * nss/getXXbyYY_r.c: Likewise.
39633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39634
39635 * nss/nss_files/files-parse.c: Whitespace fixes.
39636
f15ce4d8
UD
396372010-08-09 Ulrich Drepper <drepper@redhat.com>
39638
39639 [BZ #11883]
39640 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39641 * posix/fnmatch_loop.c: Likewise.
39642
d22e4cc9
AK
396432010-07-17 Andi Kleen <ak@linux.intel.com>
39644
39645 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39646 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39647 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39648 * Versions.def [GLIBC_2.13]: Add.
39649
805bc17d
UD
396502010-08-06 Ulrich Drepper <drepper@redhat.com>
39651
39652 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39653 Also fail if tpwd after pwuid call is NULL.
39654
5a42321d
ST
396552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39656
39657 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39658 when converting to ms.
39659
fd3ebeda
ST
396602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39661
39662 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39663 EOPNOTSUPP errors with ENOTTY.
39664 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39665 EOPNOTSUPP errors with ENOTTY.
39666
73507d3a
UD
396672010-07-31 Ulrich Drepper <drepper@redhat.com>
39668
39669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39670 Add strcasecmp_l-ssse3.
39671 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39672 strcasecmp.
39673 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39674 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39675 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39676
fe36dd02
UD
396772010-07-30 Ulrich Drepper <drepper@redhat.com>
39678
66f6765a
UD
39679 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39680
42e08a54
UD
39681 * string/Makefile (strop-tests): Add strcasecmp.
39682 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39683 strcasecmp_l-nonascii.
39684 (gen-as-const-headers): Add locale-defines.sym.
39685 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39686 * sysdeps/x86_64/strcasecmp.S: New file.
39687 * sysdeps/x86_64/strcasecmp_l.S: New file.
39688 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39689 * sysdeps/x86_64/locale-defines.sym: New file.
39690 * string/test-strcasecmp.c: New file.
39691
fe36dd02
UD
39692 * string/test-strcasestr.c: Test both ends of the range of characters.
39693 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39694
48cbc0d6
RM
396952010-07-29 Roland McGrath <roland@redhat.com>
39696
76e6d6bc 39697 [BZ #11856]
48cbc0d6
RM
39698 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39699
880113d9
UD
397002010-07-27 Ulrich Drepper <drepper@redhat.com>
39701
39702 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39703 for ld.so.
39704
deb9cabb
AS
397052010-07-27 Andreas Schwab <schwab@redhat.com>
39706
39707 * manual/memory.texi (Malloc Tunable Parameters): Document
39708 M_PERTURB.
39709
1c7570ff
RM
397102010-07-26 Roland McGrath <roland@redhat.com>
39711
39712 [BZ #11840]
39713 * configure.in (-fgnu89-inline check): Set and substitute
39714 gnu89_inline, not libc_cv_gnu89_inline.
39715 * configure: Regenerated.
39716 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39717
24fb0f88
UD
397182010-07-26 Ulrich Drepper <drepper@redhat.com>
39719
39720 * string/test-strnlen.c: New file.
39721 * string/Makefile (strop-tests): Add strnlen.
39722 * string/tester.c (test_strnlen): Add a few more test cases.
39723 * string/tst-strlen.c: Better error reporting.
39724
39725 * sysdeps/x86_64/strnlen.S: New file.
39726
8e96b93a
UD
397272010-07-24 Ulrich Drepper <drepper@redhat.com>
39728
39729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39730 lower-latency instructions.
39731
dbc676d4
UD
397322010-07-23 Ulrich Drepper <drepper@redhat.com>
39733
39734 * string/test-strcasestr.c: New file.
39735 * string/test-strstr.c: New file.
39736 * string/Makefile (strop-tests): Add strstr and strcasestr.
39737 * string/str-two-way.h: Don't undefine MAX.
39738 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39739
f6a31e0e
AS
397402010-07-21 Andreas Schwab <schwab@redhat.com>
39741
39742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39743 strcasestr-nonascii.
39744 (CFLAGS-strcasestr-nonascii.c): Define.
39745 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39747 Remove unused attribute.
39748
5dbc3b6c
RM
397492010-07-20 Roland McGrath <roland@redhat.com>
39750
39751 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39752 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39753 ld.so.cache was broken. With it, there is no way to disable dsocaps
39754 like LD_HWCAP_MASK can disable hwcaps.
39755
23d101d8
EPM
397562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39757
39758 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39759
cc9f2e47
UD
397602010-07-16 Ulrich Drepper <drepper@redhat.com>
39761
39762 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39763 call in strcasestr.
39764 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39765 __strcasestr_sse42_nonascii.
39766 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39767 strcasestr-nonascii.c.
39768 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39769
77c1b069
LM
397702010-06-15 Luis Machado <luisgpm@br.ibm.com>
39771
39772 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39773 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39774 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39775 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39776
440566c3
UD
397772010-07-09 Ulrich Drepper <drepper@redhat.com>
39778
39779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39780 fcntl.
39781
5be9d05d
AS
397822010-07-06 Andreas Schwab <schwab@redhat.com>
39783
c30b7ee2 39784 [BZ #11577]
5be9d05d
AS
39785 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39786 dl_signal_cerror.
39787
8a492a67
UD
397882010-07-06 Ulrich Drepper <drepper@redhat.com>
39789
39790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39791 _PC_PIPE_BUF using F_GETPIPE_SZ.
39792
713df3d5
RM
397932010-07-05 Roland McGrath <roland@redhat.com>
39794
39795 * manual/arith.texi (Rounding Functions): Fix rint description
39796 implicit in round description.
39797
702e8f14
UD
397982010-07-02 Ulrich Drepper <drepper@redhat.com>
39799
39800 * elf/Makefile: Fix linking for a few tests to make recent linker
39801 happy.
39802
52ed8be9
AS
398032010-06-30 Andreas Schwab <schwab@redhat.com>
39804
39805 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39806 $(common-objpfx)libc_nonshared.a.
39807
f47c9a11
LM
398082010-06-21 Luis Machado <luisgpm@br.ibm.com>
39809
39810 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39811 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39812 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39813 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39814 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39815 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39816 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39817 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39832 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39833 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39834 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39835 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39836 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39837 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39838 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39839 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39840 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39841 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39842 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39843 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39858
6fb8cbcb
L
398592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39860
39861 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39862 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39863 * string/memmove.c (memmove): Renamed to ...
39864 (MEMMOVE): ...this. Default to memmove.
39865 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39866 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39867 (END_CHK): Define.
39868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39869 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39870 mempcpy-ssse3-back memmove-ssse3-back.
39871 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39874 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39875 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39876 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39877 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39878 * sysdeps/x86_64/multiarch/memmove.c: New file.
39879 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39880 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39881 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39882 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39883 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39885 Define.
39886 (index_Fast_Copy_Backward): Define.
39887 (HAS_ARCH_FEATURE): Define.
39888 (HAS_FAST_REP_STRING): Define.
39889 (HAS_FAST_COPY_BACKWARD): Define.
39890
4e733bac 398912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39892
39893 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39894 Restore proper fallback handling.
39895
63c4ed22
UD
398962010-06-19 Ulrich Drepper <drepper@redhat.com>
39897
ac2b484c
UD
39898 [BZ #11701]
39899 * posix/group_member.c (__group_member): Correct checking loop.
39900
63c4ed22
UD
39901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39902 OOM in getpwuid_r correctly. Return error number when the caller
39903 should return, otherwise -1.
39904 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39905 call returning > 0 value.
39906 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39907
765ade4b
AS
399082010-06-07 Andreas Schwab <schwab@redhat.com>
39909
39910 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39911 libc_nonshared.a from targets in modules-names.
39912
80da2e09
KS
399132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39914
39915 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39916 requires it.
39917
158db122
LM
399182010-06-10 Luis Machado <luisgpm@br.ibm.com>
39919
39920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39921 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39924
caa78cf8
AS
399252010-06-02 Andreas Schwab <schwab@redhat.com>
39926
39927 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39928
b2ef2c01
UD
399292010-06-14 Ulrich Drepper <drepper@redhat.com>
39930
39931 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39932 and F_GETPIPE_SZ.
39933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39937 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39938 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39939
fbd643b6
RM
399402010-06-14 Roland McGrath <roland@redhat.com>
39941
39942 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39943
f32f2869
JJ
399442010-06-07 Jakub Jelinek <jakub@redhat.com>
39945
39946 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39947 __REDIRECT followed by __THROW.
39948 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39949 * posix/getopt.h (getopt): Likewise.
39950
2a50c078
EPM
399512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39952
39953 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39954 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39955 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39956 in AT_FLAGS.
39957 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39958 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39959
eb5ad2eb
LM
399602010-05-28 Luis Machado <luisgpm@br.ibm.com>
39961
39962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39963
3c88fe1e
L
399642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39965
39966 [BZ #11640]
39967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39968 Properly check family and model.
39969
d2f73151
TY
399702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39971
39972 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39973
ebd2e13d
LM
399742010-05-24 Luis Machado <luisgpm@br.ibm.com>
39975
39976 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39977
b32b8b45
UD
399782010-05-21 Ulrich Drepper <drepper@redhat.com>
39979
39980 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39981 symbol reference.
39982
9acbe24d
AS
399832010-05-19 Andreas Schwab <schwab@redhat.com>
39984
39985 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39986 symbol reference.
39987
f0ccf6ea
AS
399882010-05-21 Andreas Schwab <schwab@redhat.com>
39989
3d04ff3a
AS
39990 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39991 and internal_recvmmsg.
39992 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39993 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39994 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39995 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39996
f0ccf6ea
AS
39997 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39998 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39999 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40000
5b08ac57
AS
400012010-05-20 Andreas Schwab <schwab@redhat.com>
40002
40003 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40004
4828935d
LM
400052010-05-17 Luis Machado <luisgpm@br.ibm.com>
40006
40007 POWER7 optimizations.
40008 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40009 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40010
373d545e
UD
400112010-05-19 Ulrich Drepper <drepper@redhat.com>
40012
40013 * version.h: Update for 2.13 development version.
40014
21a2b1ae
AS
400152010-05-12 Andrew Stubbs <ams@codesourcery.com>
40016
40017 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40018 exceptions. Return 0.
40019
3f7dcb2b
RM
400202010-05-07 Roland McGrath <roland@redhat.com>
40021
40022 * elf/ldconfig.c (main): Add a const.
40023
5f24d53a 400242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40025
a160f8d8
UD
40026 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40027 (args_options): Add no-idn option.
40028 (ahosts_keys_int): Add idn_flags to ai_flags.
40029 (parse_option): Handle 'i' option to clear idn_flags.
40030
5f24d53a
UD
40031 * malloc/malloc.c (_int_free): Possible race in the most recently
40032 added check. Only act on the data if no current modification
40033 happened.
265bb1ce
UD
40034
40035See ChangeLog.17 for earlier changes.