]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Complete _BSD_SOURCE / _SVID_source followup cleanup.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
acd7f096
JM
12014-02-21 Joseph Myers <joseph@codesourcery.com>
2
3 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4 * bits/sigaction.h [__USE_MISC]: Likewise.
5 * bits/waitstatus.h: Update #endif comments.
6 * ctype/ctype.h: Likewise.
7 * dirent/dirent.h: Likewise.
8 [__USE_MISC]: Remove redundant conditionals.
9 * grp/grp.h: Update #endif comments.
10 [__USE_GNU]: Remove redundant conditionals.
11 [__USE_MISC]: Likewise.
12 * inet/netinet/in.h [__USE_GNU]: Likewise.
13 * io/sys/stat.h [__USE_MISC]: Likewise.
14 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15 * libio/bits/stdio.h: Update #endif comments.
16 [__USE_MISC]: Remove redundant conditionals.
17 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18 * libio/stdio.h: Update #endif comments.
19 [__USE_MISC]: Remove redundant conditionals.
20 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22 * math/math.h: Update #else and #endif comments.
23 [__USE_MISC]: Remove redundant conditionals.
24 * misc/sys/uio.h: Update #endif comments.
25 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26 * posix/glob.h [__USE_MISC]: Likewise.
27 * posix/sys/types.h: Update #endif comments.
28 [__USE_MISC]: Remove redundant conditionals.
29 * posix/sys/wait.h: Update #endif comments.
30 [__USE_MISC]: Remove redundant conditionals.
31 * posix/unistd.h: Update #endif comments.
32 [__USE_MISC]: Remove redundant conditionals.
33 * pwd/pwd.h [__USE_GNU]: Likewise.
34 [__USE_MISC]: Likewise.
35 * resolv/netdb.h [__USE_GNU]: Likewise.
36 * signal/signal.h: Update #endif comments.
37 [__USE_MISC]: Remove redundant conditionals.
38 * stdlib/stdlib.h: Update #else and #endif comments.
39 [__USE_MISC]: Remove redundant conditionals.
40 [__USE_GNU]: Likewise.
41 * string/bits/string2.h [__USE_MISC]: Likewise.
42 * string/string.h: Update #endif comments.
43 [__USE_MISC]: Remove redundant conditionals.
44 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45 Likewise.
46 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
48 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49 Likewise.
50 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51 Likewise.
52 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53 comments.
54 [__USE_MISC]: Remove redundant conditionals.
55 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
57 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
58 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
59 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
60 Likewise.
61 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
62 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
63 Likewise.
64 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
65 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
66 Likewise.
67 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
68 Likewise.
69 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
70 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
71 Likewise.
72 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
73 Likewise.
74 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
75 * sysdeps/x86/bits/string.h: Update #endif comments.
76 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
77 conditionals.
78 * time/sys/time.h: Update #endif comments.
79 * time/time.h: Likewise.
80 [__USE_MISC]: Remove redundant conditionals.
81
a5d82e4e
YG
822014-02-21 Yury Gribov <y.gribov@samsung.com>
83
84 [BZ #16600]
85 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
86
9a80491d
AS
872014-02-21 Andreas Schwab <schwab@linux-m68k.org>
88
89 * Versions.def (librt): Add GLIBC_2.17.
90
105fa381
AC
912014-02-21 Adam Conrad <adconrad@0c3.net>
92
93 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
94 synonym for _SYS_AUXV_H to allow direct inclusion.
95 * sysdeps/sparc/bits/hwcap.h: Likewise.
96 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
97 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
98 * sysdeps/sparc/sysdep.h: Likewise.
99
b8cd1c4e
SP
1002014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
101
102 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
103
bd939d23
RS
1042014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
105
106 * benchtests/bench-strrchr.c: Print length instead of position.
107
5d7b57ca
JM
1082014-02-20 Joseph Myers <joseph@codesourcery.com>
109
bc688c10
JM
110 [BZ #16611]
111 * sysdeps/unix/sysv/linux/kernel-features.h
112 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
113 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
114 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
115 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
116 Likewise.
117 [__i386__ || __powerpc__ || __sh__ || __sparc__]
118 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
119 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
120 (__ASSUME_SENDMMSG): Define instead of using previous
121 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
122 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
123 (__ASSUME_SENDMMSG_SYSCALL): Define.
124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
125 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
126 Likewise.
127 * sysdeps/unix/sysv/linux/arm/kernel-features.h
128 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
129 Likewise.
130 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
131 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
132 Likewise.
133 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
134 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
135 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
136 [__ASSUME_SENDMMSG]: Change conditionals to
137 [__ASSUME_SENDMMSG_SOCKETCALL].
138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
139 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
140 Define.
141 * sysdeps/unix/sysv/linux/mips/kernel-features.h
142 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
143 Likewise.
144 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
145 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
146 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
147 [!__ASSUME_SENDMMSG]: Change conditional to
148 [!__ASSUME_SENDMMSG_SOCKETCALL].
149 * sysdeps/unix/sysv/linux/tile/kernel-features.h
150 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
151 Define.
152
0e31b18c
JM
153 [BZ #16610]
154 * sysdeps/unix/sysv/linux/kernel-features.h
155 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
156 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
157 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
158 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
159 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
160 [__i386__ || __sparc__]
161 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
162 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
163 (__ASSUME_RECVMMSG): Define instead of using previous
164 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
165 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
166 (__ASSUME_RECVMMSG_SYSCALL): Define.
167 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
168 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
169 Likewise.
170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
171 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
172 Likewise.
173 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
174 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
175 Likewise.
176 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
177 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
178 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
179 [__ASSUME_RECVMMSG]: Change condition to
180 [__ASSUME_RECVMMSG_SOCKETCALL].
181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
182 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
183 Define.
184 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
185 * sysdeps/unix/sysv/linux/mips/kernel-features.h
186 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
187 Likewise.
188 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
189 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
190 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
191 [!__ASSUME_RECVMMSG]: Change condition to
192 [!__ASSUME_RECVMMSG_SOCKETCALL].
193 * sysdeps/unix/sysv/linux/tile/kernel-features.h
194 (__ASSUME_RECVMMSG_SYSCALL): Define.
195
dd481ccf
JM
196 [BZ #16609]
197 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
198 __powerpc__ || __s390__ || __sh__ || __sparc__]
199 (__ASSUME_SOCKETCALL): Define.
200 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
201 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
202 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
203 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
204 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
205 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
206 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
207 (__ASSUME_ACCEPT4): Define instead of using previous
208 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
209 __powerpc__ || __sparc__ || __s390__)] condition.
210 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
211 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
212 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
213 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
214 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
215 [!__ASSUME_ACCEPT4]: Change condition to
216 [!__ASSUME_ACCEPT4_SOCKETCALL].
217 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
218 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
219 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
220 * sysdeps/unix/sysv/linux/arm/kernel-features.h
221 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
222 __ASSUME_ACCEPT4_SYSCALL.
223 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
224 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
225 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
226 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
227 __ASSUME_ACCEPT4_SYSCALL.
228 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
229 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
230 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
231 [__ASSUME_ACCEPT4]: Change condition to
232 [__ASSUME_ACCEPT4_SOCKETCALL].
233 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
234 (__ASSUME_SOCKETCALL): Define.
235 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
237 (__ASSUME_SOCKETCALL): Define.
238 (__ASSUME_ACCEPT4): Remove.
239 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
240 Define.
241 * sysdeps/unix/sysv/linux/mips/kernel-features.h
242 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
243 Likewise.
244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
245 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
246
5d7b57ca
JM
247 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
248 macro.
249 (HWCAP_ARM_LPAE): Likewise.
250 (HWCAP_ARM_EVTSTRM): Likewise.
251 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
252 Add vpfd32, lpae and evtstrm.
253 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
254 Increase to 22.
255
63689d61
JM
2562014-02-19 Joseph Myers <joseph@codesourcery.com>
257
258 * math/auto-libm-test-in: Add tests of clog10.
259 * math/auto-libm-test-out: Regenerated.
260 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
261 * sysdeps/i386/fpu/libm-test-ulps: Update.
262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
263
ab09bf61
AS
2642014-02-18 Andreas Schwab <schwab@suse.de>
265
266 [BZ #16574]
267 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
268 Store non-zero if the second buffer was newly allocated.
269 (send_dg): Likewise.
270 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
271 to send_vc and send_dg.
272 (res_nsend): Pass NULL for ansp2_malloced.
273 * resolv/res_query.c (__libc_res_nquery): Add parameter
274 answerp2_malloced and pass it down to __libc_res_nsend.
275 (res_nquery): Pass additional NULL to __libc_res_nquery.
276 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
277 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
278 second answer buffer if answerp2_malloced was set.
279 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
280 (__libc_res_nquerydomain): Add parameter
281 answerp2_malloced and pass it down to __libc_res_nquery.
282 (res_nquerydomain): Pass additional NULL to
283 __libc_res_nquerydomain.
284 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
285 additional NULL to __libc_res_nsend and __libc_res_nquery.
286 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
287 additional NULL to __libc_res_nsearch.
288 (_nss_dns_gethostbyname4_r): Revert last change. Use new
289 parameter of __libc_res_nsearch to check for separately allocated
290 second buffer.
291 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
292 __libc_res_nquery.
293 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
294 additional NULL to __libc_res_nquery.
295 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
296 __libc_res_nsearch.
297 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
298 * include/resolv.h: Update prototypes of __libc_res_nquery,
299 __libc_res_nsearch, __libc_res_nsend.
300
a4fb7861
JM
3012014-02-18 Joseph Myers <joseph@codesourcery.com>
302
c6af2d89
JM
303 * math/auto-libm-test-in: Add tests of fma.
304 * math/auto-libm-test-out: Regenerated.
305 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
306 (fma_towardzero_test_data): Likewise.
307 (fma_downward_test_data): Likewise.
308 (fma_upward_test_data): Likewise.
309 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
310 mpc_mode.
311 (rounding_modes): Add values for new field.
312 (func_calc_method): Add value mpfr_fff_f.
313 (func_calc_desc): Add mpfr_fff_f union field.
314 (test_function): Add field exact_args.
315 (FUNC): Add macro argument EXACT_ARGS.
316 (FUNC_mpfr_f_f): Update call to FUNC.
317 (FUNC_mpfr_f_f): Likewise.
318 (FUNC_mpfr_ff_f): Likewise.
319 (FUNC_mpfr_if_f): Likewise.
320 (FUNC_mpc_c_f): Likewise.
321 (FUNC_mpc_c_c): Likewise.
322 (test_functions): Add fma. Update calls to FUNC.
323 (handle_input_arg): Add argument exact_args.
324 (add_test): Update call to handle_input_arg.
325 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
326 (output_for_one_input_case): Update call to calc_generic_results.
327 Recalculate exact zero results in each rounding mode.
328
a4fb7861
JM
329 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
330 non-negative before setting low bit.
331 * math/auto-libm-test-in: Mark one asin test possibly having
332 spurious underflow.
333 * math/auto-libm-test-out: Regenerated.
334 * sysdeps/i386/fpu/libm-test-ulps: Update.
335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
336
ef114eaf
DH
3372014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
338
339 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
340 * sysdeps/unix/sysv/linux/microblaze: Move directory from
341 ports/sysdeps/unix/sysv/linux/microblaze.
342 * README: Add missing listing for microblaze*-*-linux-gnu.
343
c70a4b1d
MF
3442014-02-16 Mike Frysinger <vapier@gentoo.org>
345
346 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
347 * sysdeps/unix/sysv/linux/ia64: Move directory from
348 ports/sysdeps/unix/sysv/linux/ia64.
349 * README: Update listing for ia64-*-linux-gnu.
350
591aeaf7
TD
3512014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
352 Joseph Myers <joseph@codesourcery.com>
353
354 * Makeconfig (test-name): New variable.
355 (evaluate-test): Likewise.
356 * Makerules (do-test-clean): Remove .test-result files.
357 (common-mostlyclean): Likewise.
358 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
359 * scripts/evaluate-test.sh: New file.
360
6e89caf1
JM
3612014-02-14 Joseph Myers <joseph@codesourcery.com>
362
7f98f180
JM
363 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
364 separate $(objpfx)tst-fopenloc-cmp.out and
365 $(objpfx)tst-fopenloc-mem.out targets.
366 (tests): Update dependencies.
367 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
368 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
369 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
370 (tst-rxspencer-no-utf8-ARGS): New variable.
371 (tst-rxspencer-no-utf8-ENV): Likewise.
372 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
373 instead of $(objpfx)tst-rxspencer-mem.
374 ($(objpfx)tst-rxspencer-mem): Change target to
375 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
376 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
377 * posix/tst-rxspencer-no-utf8.c: New file.
378
6e89caf1
JM
379 * elf/Makefile ($(objpfx)order.out): Remove rule.
380 [$(run-built-tests) = yes] (tests): Depend on
381 $(objpfx)order-cmp.out.
382 ($(objpfx)order-cmp.out): New rule.
383 [$(run-built-tests) = yes] (tests): Depend on
384 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
385 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
386 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
387 $(objpfx)tst-array5-static-cmp.out.
388 ($(objpfx)tst-array1.out): Remove rule.
389 ($(objpfx)tst-array1-cmp.out): New rule.
390 ($(objpfx)tst-array1-static.out): Remove rule.
391 ($(objpfx)tst-array1-static-cmp.out): New rule.
392 ($(objpfx)tst-array2.out): Remove rule.
393 ($(objpfx)tst-array2-cmp.out): New rule.
394 ($(objpfx)tst-array3.out): Remove rule.
395 ($(objpfx)tst-array3-cmp.out): New rule.
396 ($(objpfx)tst-array4.out): Remove rule.
397 ($(objpfx)tst-array4-cmp.out): New rule.
398 ($(objpfx)tst-array5.out): Remove rule.
399 ($(objpfx)tst-array5-cmp.out): New rule.
400 ($(objpfx)tst-array5-static.out): Remove rule.
401 ($(objpfx)tst-array5-static-cmp.out): New rule.
402 [$(run-built-tests) = yes] (tests): Depend on
403 $(objpfx)order2-cmp.out.
404 ($(objpfx)order2.out): Remove rule.
405 ($(objpfx)order2-cmp.out): New rule.
406 ($(objpfx)tst-initorder.out): Remove rule.
407 [$(run-built-tests) = yes] (tests): Depend on
408 $(objpfx)tst-initorder-cmp.out.
409 ($(objpfx)tst-initorder-cmp.out): New rule.
410 ($(objpfx)tst-initorder2.out): Remove rule.
411 [$(run-built-tests) = yes] (tests): Depend on
412 $(objpfx)tst-initorder2-cmp.out.
413 ($(objpfx)tst-initorder2-cmp.out): New rule.
414 [$(run-built-tests) = yes] (tests): Depend on
415 $(objpfx)tst-unused-dep-cmp.out.
416 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
417 ($(objpfx)tst-unused-dep-cmp.out): New rule.
418 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
419 on $(objpfx)tst-setvbuf1-cmp.out.
420 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
421 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
422 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
423 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
424 ($(objpfx)tst-svc.out): Remove rule.
425 ($(objpfx)tst-svc-cmp.out): New rule.
426
ed9a38e2
JM
4272014-02-13 Joseph Myers <joseph@codesourcery.com>
428
429 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
430 * ctype/ctype.h [__USE_MISC]: Likewise.
431 * dirent/dirent.h [__USE_MISC]: Likewise.
432 * grp/grp.h [__USE_MISC]: Likewise.
433 * io/fcntl.h [__USE_MISC]: Likewise.
434 * io/sys/stat.h [__USE_MISC]: Likewise.
435 * libio/stdio.h [__USE_MISC]: Likewise.
436 * posix/unistd.h [__USE_MISC]: Likewise.
437 * pwd/pwd.h [__USE_MISC]: Likewise.
438 * stdlib.h [__USE_MISC]: Likewise.
439 * string/bits/string2.h [__USE_MISC]: Likewise.
440 * string/string.h [__USE_MISC]: Likewise.
441 * time/time.h [__USE_MISC]: Likewise.
442
d6680619
AS
4432014-02-13 Andreas Schwab <schwab@suse.de>
444
445 [BZ #16574]
446 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
447 second answer buffer if it was separately allocated.
448
ace614b8
JM
4492014-02-12 Joseph Myers <joseph@codesourcery.com>
450
743151ae
JM
451 * sysdeps/mips/math-tests.h: Include <features.h>.
452 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
453 (ROUNDING_TESTS_long_double): Do not define.
454 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
455 (EXCEPTION_TESTS_long_double): Likewise.
456 * sysdeps/mips/mips64/libm-test-ulps: Update.
457
498afc54
JM
458 * include/features.h (__USE_BSD): Remove macro definitions.
459 (__USE_SVID): Likewise.
460 (_BSD_SOURCE): Likewise.
461 (_SVID_SOURCE): Likewise.
462 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
463 from definition of _DEFAULT_SOURCE.
464 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
465 [_DEFAULT_SOURCE].
466 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
467 * bits/mman.h [__USE_BSD]: Likewise.
468 * bits/termios.h [__USE_BSD]: Likewise.
469 * bits/waitstatus.h [__USE_BSD]: Likewise.
470 * ctype/ctype.h [__USE_SVID]: Likewise.
471 * dirent/dirent.h [__USE_BSD]: Likewise.
472 * grp/grp.h [__USE_SVID]: Likewise.
473 [__USE_BSD]: Likewise.
474 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
475 * io/fcntl.h [__USE_BSD]: Likewise.
476 * io/ftw.h [__USE_BSD]: Likewise.
477 * io/sys/stat.h [__USE_BSD]: Likewise.
478 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
479 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
480 * libio/stdio.h [__USE_SVID]: Likewise.
481 [__USE_BSD]: Likewise.
482 * math/math.h [__USE_SVID]: Likewise.
483 [__USE_BSD]: Likewise.
484 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
485 * misc/bits/syslog.h [__USE_BSD]: Likewise.
486 * misc/search.h [__USE_SVID]: Likewise.
487 * misc/sys/mman.h [__USE_BSD]: Likewise.
488 * misc/sys/syslog.h [__USE_BSD]: Likewise.
489 * misc/sys/uio.h [__USE_BSD]: Likewise.
490 * posix/bits/unistd.h [__USE_BSD]: Likewise.
491 * posix/glob.h [__USE_BSD]: Likewise.
492 * posix/regex.h [__USE_BSD]: Likewise.
493 * posix/sys/types.h [__USE_BSD]: Likewise.
494 [__USE_SVID]: Likewise.
495 * posix/sys/utsname.h [__USE_SVID]: Likewise.
496 * posix/sys/wait.h [__USE_BSD]: Likewise.
497 [__USE_SVID]: Likewise.
498 * posix/unistd.h [__USE_BSD]: Likewise.
499 [__USE_SVID]: Likewise.
500 * pwd/pwd.h [__USE_SVID]: Likewise.
501 * resolv/netdb.h [__USE_BSD]: Likewise.
502 * setjmp/setjmp.h [__USE_BSD]: Likewise.
503 * signal/signal.h [__USE_BSD]: Likewise.
504 [__USE_SVID]: Likewise.
505 * socket/sys/socket.h [__USE_BSD]: Likewise.
506 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
507 * stdlib/stdlib.h [__USE_BSD]: Likewise.
508 [__USE_SVID]: Likewise.
509 * string/bits/string2.h [__USE_BSD]: Likewise.
510 [__USE_SVID]: Likewise.
511 * string/bits/string3.h [__USE_BSD]: Likewise.
512 * string/endian.h [__USE_BSD]: Likewise.
513 * string/string.h [__USE_SVID]: Likewise.
514 [__USE_BSD]: Likewise.
515 * string/strings.h [__USE_BSD]: Likewise.
516 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
517 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
518 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
519 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
520 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
521 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
522 Likewise.
523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
524 Likewise.
525 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
526 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
527 Likewise.
528 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
529 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
530 Likewise.
531 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
532 Likewise.
533 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
534 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
535 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
536 Likewise.
537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
538 Likewise.
539 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
540 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
541 * termios/termios.h [__USE_BSD]: Likewise.
542 * time/sys/time.h [__USE_BSD]: Likewise.
543 * time/time.h [__USE_BSD]: Likewise.
544 [__USE_SVID]: Likewise.
545
dd7b064c
JM
546 * Makefile (subdir_targets): Remove subdir_lint.out.
547
a2c4c199
JM
548 * stdio-common/Makefile (do-tst-unbputc): Remove target.
549 (do-tst-printf): Likewise.
550 (tests): Depend directly on $(objpfx)tst-unbputc.out and
551 $(objpfx)tst-printf.out.
552
8756f740
JM
553 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
554
1b6dd3f1
JM
555 * Makerules (check-abi-%): Change target to
556 $(objpfx)check-abi-%.out.
557 (check-abi target): Update dependencies.
558 (check-abi-pattern variable): Redirect output of diff to $@.
559 (check-abi variable): Likewise.
560 * elf/Makefile (check-abi): Update dependencies.
561
ace614b8
JM
562 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
563 unused.
564 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
565 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
566 subnormal range.
567 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
568 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
569 value has largest subnormal exponent.
570 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
571 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
572 * sysdeps/aarch64/soft-fp/sfp-machine.h
573 (_FP_TININESS_AFTER_ROUNDING): New macro.
574 * sysdeps/alpha/soft-fp/sfp-machine.h
575 (_FP_TININESS_AFTER_ROUNDING): Likewise.
576 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
577 Likewise.
578 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
579 (_FP_TININESS_AFTER_ROUNDING): Likewise.
580 * sysdeps/mips/soft-fp/sfp-machine.h
581 (_FP_TININESS_AFTER_ROUNDING): Likewise.
582 * sysdeps/powerpc/soft-fp/sfp-machine.h
583 (_FP_TININESS_AFTER_ROUNDING): Likewise.
584 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
585 Likewise.
586 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
587 (_FP_TININESS_AFTER_ROUNDING): Likewise.
588 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
589 (_FP_TININESS_AFTER_ROUNDING): Likewise.
590 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
591 Likewise.
592
fbfdf9cb
DAS
5932014-02-12 Dylan Alex Simon <dylan@dylex.net>
594
595 [BZ #16545]
596 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
597 model 1.
598
68b7efaa
RH
5992014-02-12 Richard Henderson <rth@redhat.com>
600
c70a4b1d 601 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
602 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
603 * sysdeps/unix/sysv/linux/alpha: Move directory from
604 ports/sysdeps/unix/sysv/linux/alpha.
605 * README: Update listing for alpha-*-linux-gnu.
606
cb4a2928
JM
6072014-02-11 Joseph Myers <joseph@codesourcery.com>
608
c941736c
JM
609 * include/features.h: Update comment documenting feature test
610 macros.
611 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
612 _DEFAULT_SOURCE.
613 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
614 (_SVID_SOURCE): Likewise.
615 (_DEFAULT_SOURCE): Update description of default features.
616 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
617 with _GNU_SOURCE.
618 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
619 (S_ISVTX): Likewise.
620 * manual/math.texi (Mathematical Constants): Likewise.
621 * manual/signal.texi (Interrupted Primitives): Likewise.
622 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
623 * math/test-matherr.c (_SVID_SOURCE): Do not define.
624 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
625 Don't refer to _SVID_SOURCE in warning text.
626
e8d8d7ec
JM
627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
628
cb4a2928
JM
629 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
630 already defined.
631 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
632 * sysdeps/mips/dl-lookup.c: Remove.
633 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
634
7e6424e3
AK
6352014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
636
637 [BZ #16447]
638 * math/auto-libm-test-in: Add testcase for expl.
639 * math/auto-libm-test-out: Regenerate.
640 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
641 calculation of unsafe.
642 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
643
75eff3fe
MS
6442014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
645
646 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
647 * sysdeps/unix/sysv/linux/aarch64: Move directory from
648 ports/sysdeps/unix/sysv/linux/aarch64.
649 * README: Update listing for aarch64*-*-linux-gnu.
650
d35f1e80
WN
6512014-02-11 Will Newton <will.newton@linaro.org>
652
653 * manual/probes.texi (Mathematical Function Probes): Use
654 "triggered" instead of "hit".
655
7b3436d4
WN
6562014-02-11 Will Newton <will.newton@linaro.org>
657
658 * manual/probes.texi (Internal Probes): Add documentation
659 of setjmp, longjmp and longjmp_target probes.
660
b4f12ca3
WN
6612014-02-11 Will Newton <will.newton@linaro.org>
662
663 * include/stap-probe.h: Add comment about probe argument
664 format.
665
c13a72b7
WN
6662014-02-11 Will Newton <will.newton@linaro.org>
667
668 * malloc/mtrace.c (attribute_hidden): Remove unused macro
669 definition. (tr_where, tr_freehook, tr_mallochook,
670 tr_reallochook, tr_memalignhook): Use ANSI protoype.
671
195b8165
DM
6722014-02-11 David S. Miller <davem@davemloft.net>
673
674 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
675 processing int_tests.
676
2ad7600b
JM
6772014-02-10 Joseph Myers <joseph@codesourcery.com>
678
679 * sysdeps/mips: Move directory from ports/sysdeps/mips.
680 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
681 * sysdeps/unix/sysv/linux/mips: Move directory from
682 ports/sysdeps/unix/sysv/linux/mips.
683 * README: Update listing for mips-*-linux-gnu and
684 mips64-*-linux-gnu.
685
73588a72
AS
6862014-02-10 Andreas Schwab <schwab@linux-m68k.org>
687
688 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
689 * sysdeps/unix/sysv/linux/m68k: Move directory from
690 ports/sysdeps/unix/sysv/linux/m68k.
691 * README: Update listing for m68k-*-linux-gnu.
692
4372980f
CM
6932014-02-10 Chris Metcalf <cmetcalf@tilera.com>
694
695 * sysdeps/tile: Move directory from ports/sysdeps/tile.
696 * sysdeps/unix/sysv/linux/generic: Move directory from
697 ports/sysdeps/unix/sysv/linux/generic.
698 * sysdeps/unix/sysv/linux/tile: Move directory from
699 ports/sysdeps/unix/sysv/linux/tile.
700 * README: Update listing for tile*-*-linux-gnu.
701
a1ffb40e
OB
7022014-02-10 Ondřej Bílka <neleai@seznam.cz>
703
704 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
705 * benchtests/bench-memmem.c (simple_memmem): Likewise.
706 * catgets/open_catalog.c (__open_catalog): Likewise.
707 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
708 * debug/confstr_chk.c: Likewise.
709 * debug/fread_chk.c (__fread_chk): Likewise.
710 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
711 * debug/getgroups_chk.c: Likewise.
712 * debug/mbsnrtowcs_chk.c: Likewise.
713 * debug/mbsrtowcs_chk.c: Likewise.
714 * debug/mbstowcs_chk.c: Likewise.
715 * debug/memcpy_chk.c: Likewise.
716 * debug/memmove_chk.c: Likewise.
717 * debug/mempcpy_chk.c: Likewise.
718 * debug/memset_chk.c: Likewise.
719 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
720 * debug/strcat_chk.c (__strcat_chk): Likewise.
721 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
722 * debug/strncat_chk.c (__strncat_chk): Likewise.
723 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
724 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
725 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
726 * debug/wcpncpy_chk.c: Likewise.
727 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
728 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
729 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
730 * debug/wcsncpy_chk.c: Likewise.
731 * debug/wcsnrtombs_chk.c: Likewise.
732 * debug/wcsrtombs_chk.c: Likewise.
733 * debug/wcstombs_chk.c: Likewise.
734 * debug/wmemcpy_chk.c: Likewise.
735 * debug/wmemmove_chk.c: Likewise.
736 * debug/wmempcpy_chk.c: Likewise.
737 * debug/wmemset_chk.c: Likewise.
738 * dirent/scandirat.c (SCANDIRAT): Likewise.
739 * dlfcn/dladdr1.c (dladdr1): Likewise.
740 * dlfcn/dladdr.c (dladdr): Likewise.
741 * dlfcn/dlclose.c (dlclose_doit): Likewise.
742 * dlfcn/dlerror.c (__dlerror): Likewise.
743 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
744 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
745 * dlfcn/dlopen.c (dlopen_doit): Likewise.
746 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
747 * dlfcn/dlsym.c (dlsym_doit): Likewise.
748 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
749 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
750 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
751 Likewise.
752 * elf/dl-conflict.c: Likewise.
753 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
754 * elf/dl-dst.h: Likewise.
755 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
756 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
757 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
758 * elf/dl-init.c (call_init, _dl_init): Likewise.
759 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
760 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
761 _dl_map_object_from_fd, open_verify, open_path,
762 _dl_map_object): Likewise.
763 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
764 Likewise.
765 * elf/dl-minimal.c (__libc_memalign): Likewise.
766 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
767 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
768 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
769 * elf/dl-sym.c (do_sym): Likewise.
770 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
771 _dl_tls_get_addr_soft): Likewise.
772 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
773 * elf/dl-writev.h (_dl_writev): Likewise.
774 * elf/ldconfig.c (search_dir): Likewise.
775 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
776 dl_main): Likewise.
777 * elf/setup-vdso.h (setup_vdso): Likewise.
778 * grp/compat-initgroups.c (compat_call): Likewise.
779 * grp/fgetgrent.c (fgetgrent): Likewise.
780 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
781 * grp/putgrent.c (putgrent): Likewise.
782 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
783 Likewise.
784 * hurd/hurdinit.c: Likewise.
785 * iconvdata/8bit-gap.c (struct): Likewise.
786 * iconvdata/ansi_x3.110.c : Likewise.
787 * iconvdata/big5.c : Likewise.
788 * iconvdata/big5hkscs.c : Likewise.
789 * iconvdata/cp1255.c: Likewise.
790 * iconvdata/cp1258.c : Likewise.
791 * iconvdata/cp932.c : Likewise.
792 * iconvdata/euc-cn.c: Likewise.
793 * iconvdata/euc-jisx0213.c : Likewise.
794 * iconvdata/euc-jp.c: Likewise.
795 * iconvdata/euc-jp-ms.c : Likewise.
796 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
797 * iconvdata/gb18030.c : Likewise.
798 * iconvdata/gbbig5.c (const): Likewise.
799 * iconvdata/gbgbk.c: Likewise.
800 * iconvdata/gbk.c : Likewise.
801 * iconvdata/ibm1364.c : Likewise.
802 * iconvdata/ibm930.c : Likewise.
803 * iconvdata/ibm932.c: Likewise.
804 * iconvdata/ibm933.c : Likewise.
805 * iconvdata/ibm935.c : Likewise.
806 * iconvdata/ibm937.c : Likewise.
807 * iconvdata/ibm939.c : Likewise.
808 * iconvdata/ibm943.c: Likewise.
809 * iconvdata/iso_11548-1.c: Likewise.
810 * iconvdata/iso-2022-cn.c : Likewise.
811 * iconvdata/iso-2022-cn-ext.c : Likewise.
812 * iconvdata/iso-2022-jp-3.c: Likewise.
813 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
814 * iconvdata/iso-2022-kr.c : Likewise.
815 * iconvdata/iso646.c (gconv_end): Likewise.
816 * iconvdata/iso_6937-2.c : Likewise.
817 * iconvdata/iso_6937.c : Likewise.
818 * iconvdata/iso8859-1.c: Likewise.
819 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
820 * iconvdata/shift_jisx0213.c : Likewise.
821 * iconvdata/sjis.c : Likewise.
822 * iconvdata/t.61.c : Likewise.
823 * iconvdata/tcvn5712-1.c : Likewise.
824 * iconvdata/tscii.c: Likewise.
825 * iconvdata/uhc.c : Likewise.
826 * iconvdata/unicode.c (gconv_end): Likewise.
827 * iconvdata/utf-16.c (gconv_end): Likewise.
828 * iconvdata/utf-32.c (gconv_end): Likewise.
829 * iconvdata/utf-7.c (base64): Likewise.
830 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
831 * iconv/gconv_close.c (__gconv_close): Likewise.
832 * iconv/gconv_open.c (__gconv_open): Likewise.
833 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
834 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
835 internal_ucs4le_loop_single, ucs4le_internal_loop,
836 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
837 * iconv/iconv.c (iconv): Likewise.
838 * iconv/iconv_close.c: Likewise.
839 * iconv/loop.c (SINGLE): Likewise.
840 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
841 * include/atomic.h: Likewise.
842 * inet/inet6_option.c (option_alloc): Likewise.
843 * intl/bindtextdom.c (set_binding_values): Likewise.
844 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
845 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
846 * intl/localealias.c (read_alias_file): Likewise.
847 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
848 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
849 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
850 * libio/fmemopen.c (fmemopen): Likewise.
851 * libio/iofgets.c (_IO_fgets): Likewise.
852 * libio/iofgets_u.c (fgets_unlocked): Likewise.
853 * libio/iofgetws.c (fgetws): Likewise.
854 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
855 * libio/iogetdelim.c (_IO_getdelim): Likewise.
856 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
857 adjust_wide_data, _IO_wfile_seekoff): Likewise.
858 * locale/findlocale.c (_nl_find_locale): Likewise.
859 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
860 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
861 Likewise.
862 * locale/setlocale.c (setlocale): Likewise.
863 * login/programs/pt_chown.c (main): Likewise.
864 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
865 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
866 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
867 mmap, mmap64, mremap, munmap): Likewise.
868 * math/e_exp2l.c: Likewise.
869 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
870 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
871 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
872 * math/s_catan.c (__catan): Likewise.
873 * math/s_catanf.c (__catanf): Likewise.
874 * math/s_catanh.c (__catanh): Likewise.
875 * math/s_catanhf.c (__catanhf): Likewise.
876 * math/s_catanhl.c (__catanhl): Likewise.
877 * math/s_catanl.c (__catanl): Likewise.
878 * math/s_ccosh.c (__ccosh): Likewise.
879 * math/s_ccoshf.c (__ccoshf): Likewise.
880 * math/s_ccoshl.c (__ccoshl): Likewise.
881 * math/s_cexp.c (__cexp): Likewise.
882 * math/s_cexpf.c (__cexpf): Likewise.
883 * math/s_cexpl.c (__cexpl): Likewise.
884 * math/s_clog10.c (__clog10): Likewise.
885 * math/s_clog10f.c (__clog10f): Likewise.
886 * math/s_clog10l.c (__clog10l): Likewise.
887 * math/s_clog.c (__clog): Likewise.
888 * math/s_clogf.c (__clogf): Likewise.
889 * math/s_clogl.c (__clogl): Likewise.
890 * math/s_csin.c (__csin): Likewise.
891 * math/s_csinf.c (__csinf): Likewise.
892 * math/s_csinh.c (__csinh): Likewise.
893 * math/s_csinhf.c (__csinhf): Likewise.
894 * math/s_csinhl.c (__csinhl): Likewise.
895 * math/s_csinl.c (__csinl): Likewise.
896 * math/s_csqrt.c (__csqrt): Likewise.
897 * math/s_csqrtf.c (__csqrtf): Likewise.
898 * math/s_csqrtl.c (__csqrtl): Likewise.
899 * math/s_ctan.c (__ctan): Likewise.
900 * math/s_ctanf.c (__ctanf): Likewise.
901 * math/s_ctanh.c (__ctanh): Likewise.
902 * math/s_ctanhf.c (__ctanhf): Likewise.
903 * math/s_ctanhl.c (__ctanhl): Likewise.
904 * math/s_ctanl.c (__ctanl): Likewise.
905 * math/w_pow.c: Likewise.
906 * math/w_powf.c: Likewise.
907 * math/w_powl.c: Likewise.
908 * math/w_scalb.c (sysv_scalb): Likewise.
909 * math/w_scalbf.c (sysv_scalbf): Likewise.
910 * math/w_scalbl.c (sysv_scalbl): Likewise.
911 * misc/error.c (error_tail): Likewise.
912 * misc/pselect.c (__pselect): Likewise.
913 * nis/nis_callback.c (__nis_create_callback): Likewise.
914 * nis/nis_call.c (__nisfind_server): Likewise.
915 * nis/nis_creategroup.c (nis_creategroup): Likewise.
916 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
917 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
918 * nis/nis_getservlist.c (nis_getservlist): Likewise.
919 * nis/nis_lookup.c (nis_lookup): Likewise.
920 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
921 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
922 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
923 * nis/nis_xdr.c (xdr_endpoint): Likewise.
924 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
925 internal_getgrgid_r): Likewise.
926 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
927 Likewise.
928 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
929 internal_getpwuid_r): Likewise.
930 * nis/nss_compat/compat-spwd.c (getspent_next_file,
931 internal_getspnam_r): Likewise.
932 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
933 _nss_nis_getaliasbyname_r): Likewise.
934 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
935 _nss_nis_getntohost_r): Likewise.
936 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
937 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
938 Likewise.
939 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
940 internal_nis_gethostent_r, internal_gethostbyname2_r,
941 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
942 _nss_nis_gethostbyname4_r): Likewise.
943 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
944 initgroups_netid): Likewise.
945 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
946 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
947 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
948 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
949 _nss_nis_getprotobynumber_r): Likewise.
950 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
951 _nss_nis_getsecretkey): Likewise.
952 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
953 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
954 Likewise.
955 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
956 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
957 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
958 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
959 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
960 _nss_nis_getspnam_r): Likewise.
961 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
962 Likewise.
963 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
964 _nss_nisplus_getntohost_r): Likewise.
965 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
966 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
967 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
968 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
969 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
970 Likewise.
971 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
972 _nss_nisplus_getnetbyaddr_r): Likewise.
973 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
974 _nss_nisplus_getprotobynumber_r): Likewise.
975 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
976 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
977 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
978 Likewise.
979 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
980 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
981 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
982 _nss_nisplus_getspnam_r): Likewise.
983 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
984 * nscd/aicache.c (addhstaiX): Likewise.
985 * nscd/cache.c (cache_search, prune_cache): Likewise.
986 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
987 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
988 * nscd/grpcache.c (addgrbyX): Likewise.
989 * nscd/hstcache.c (addhstbyX): Likewise.
990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
991 * nscd/mem.c (gc, mempool_alloc): Likewise.
992 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
993 Likewise.
994 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
995 Likewise.
996 * nscd/nscd_getai.c (__nscd_getai): Likewise.
997 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
998 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
999 Likewise.
1000 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1002 * nscd/nscd_helper.c (__readvall, open_socket,
1003 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1004 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1005 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1006 * nscd/pwdcache.c (addpwbyX): Likewise.
1007 * nscd/selinux.c (preserve_capabilities): Likewise.
1008 * nscd/servicescache.c (addservbyX): Likewise.
1009 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1010 * posix/fnmatch.c (fnmatch): Likewise.
1011 * posix/getopt.c (_getopt_internal_r): Likewise.
1012 * posix/glob.c (glob, glob_in_dir): Likewise.
1013 * posix/wordexp.c (exec_comm_child): Likewise.
1014 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1015 gaih_getanswer_slice): Likewise.
1016 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1017 * resolv/res_init.c: Likewise.
1018 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1019 * resolv/res_query.c (__libc_res_nquery): Likewise.
1020 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1021 Likewise.
1022 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1023 * stdio-common/perror.c (perror): Likewise.
1024 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1025 * stdio-common/tmpnam.c (tmpnam): Likewise.
1026 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1027 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1028 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1029 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1030 * stdlib/putenv.c (putenv): Likewise.
1031 * stdlib/setenv.c (__add_to_environ): Likewise.
1032 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1033 * stdlib/strtol_l.c (INTERNAL): Likewise.
1034 * string/memmem.c (memmem): Likewise.
1035 * string/strerror.c (strerror): Likewise.
1036 * string/strnlen.c (__strnlen): Likewise.
1037 * string/test-memmem.c (simple_memmem): Likewise.
1038 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1039 * sunrpc/pm_getport.c (__get_socket): Likewise.
1040 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1041 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1042 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1043 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1044 Likewise.
1045 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1047 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1048 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1049 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1050 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1051 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1052 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1053 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1054 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1055 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1056 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1058 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1059 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1060 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1061 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1062 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1063 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1064 Likewise.
1065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1066 Likewise.
1067 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1068 Likewise.
1069 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1072 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1073 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1074 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1075 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1078 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1079 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1081 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1082 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1085 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1086 Likewise.
1087 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1088 Likewise.
1089 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1090 Likewise.
1091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1093 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1094 Likewise.
1095 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1096 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1097 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1098 * sysdeps/posix/sleep.c: Likewise.
1099 * sysdeps/posix/tempname.c: Likewise.
1100 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1101 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1102 Likewise.
1103 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1104 elf_machine_rela): Likewise.
1105 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1107 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1108 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1109 Likewise.
1110 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1112 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1113 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1114 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1115 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1116 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1117 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1118 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1119 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1121 elf_machine_lazy_rel): Likewise.
1122 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1124 elf_machine_lazy_rel): Likewise.
1125 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1126 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1127 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1128 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1129 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1130 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1131 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1133 Likewise.
1134 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1135 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1136 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1137 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1138 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1139 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1140 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1141 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1142 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1143 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1144 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1145 Likewise.
1146 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1147 (__posix_fallocate64_l64): Likewise.
1148 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1149 (posix_fallocate): Likewise.
1150 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1151 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1152 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1153 getifaddrs_internal): Likewise.
1154 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1155 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1156 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1157 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1158 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1159 (__posix_fallocate64_l64): Likewise.
1160 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1161 Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1164 Likewise.
1165 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1166 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1167 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1171 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1172 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1173 Likewise.
1174 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1175 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1176 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1177 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1178 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1179 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1181 Likewise.
1182 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1183 (posix_fallocate): Likewise.
1184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1185 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1186 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1187 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1188 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1189 Likewise.
1190 * time/asctime.c (asctime_internal): Likewise.
1191 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1192 * time/tzset.c (__tzset_parse_tz): Likewise.
1193 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1194 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1195 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1196 * wcsmbs/wcsmbsload.h: Likewise.
1197
f3d338c9
OB
11982014-02-10 Ondřej Bílka <neleai@seznam.cz>
1199
1200 [BZ #15894]
1201 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1202
bdfe308a
OB
12032014-02-10 Ondřej Bílka <neleai@seznam.cz>
1204
1205 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1206 arena_get2): Remove THREAD_STATS conditionals.
1207 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1208 __malloc_stats, int): Likewise.
1209
d674667c
MF
12102014-02-08 Mike Frysinger <vapier@gentoo.org>
1211
1212 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1213 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1214
6349768c
MF
12152014-02-08 Mike Frysinger <vapier@gentoo.org>
1216
1217 * manual/setjmp.texi: Fix typos/grammar errors.
1218
0b7c7473
MF
12192014-02-08 Mike Frysinger <vapier@gentoo.org>
1220
1221 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1222 Only return early when n is <= 0. Delete unused return statement.
1223
ac8cc9e3
MF
12242014-02-08 Mike Frysinger <vapier@gentoo.org>
1225
1226 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1227 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1228 * debug/tst-longjmp_chk3.c: New file.
1229
c5bb8e23
MF
12302014-02-08 Mike Frysinger <vapier@gentoo.org>
1231
1232 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1233 (test_main): Replace code with set_fortify_handler call.
1234 * debug/test-strcpy_chk.c: Likewise.
1235 * debug/tst-chk1.c: Likewise.
1236 * debug/tst-longjmp_chk.c: Likewise.
1237 * test-skeleton.c: Include fcntl.h & paths.h
1238 (set_fortify_handler): Define.
1239
10444e42
MF
12402014-02-08 Mike Frysinger <vapier@gentoo.org>
1241
1242 * debug/tst-longjmp_chk.c: Add header comment and include
1243 ../test-skeleton.c.
1244 (do_test): Mark static.
1245 (TEST_FUNCTION): Define.
1246
1e805e8d
MF
12472014-02-08 Mike Frysinger <vapier@gentoo.org>
1248
1249 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1250 (IP_PMTUDISC_INTERFACE): Likewise.
1251 (IP_MULTICAST_IF): Likewise.
1252 (IP_MULTICAST_TTL): Likewise.
1253 (IP_MULTICAST_LOOP): Likewise.
1254 (IP_ADD_MEMBERSHIP): Likewise.
1255 (IP_DROP_MEMBERSHIP): Likewise.
1256 (IP_UNBLOCK_SOURCE): Likewise.
1257 (IP_BLOCK_SOURCE): Likewise.
1258 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1259 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1260 (IP_MSFILTER): Likewise.
1261 (MCAST_JOIN_GROUP): Likewise.
1262 (MCAST_BLOCK_SOURCE): Likewise.
1263 (MCAST_UNBLOCK_SOURCE): Likewise.
1264 (MCAST_LEAVE_GROUP): Likewise.
1265 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1266 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1267 (MCAST_MSFILTER): Likewise.
1268 (IP_MULTICAST_ALL): Likewise.
1269 (IP_UNICAST_IF): Likewise.
1270
73f79bb7
MF
12712014-02-08 Mike Frysinger <vapier@gentoo.org>
1272
1273 * timezone/Makefile: Delete $(have-ksh) check.
1274 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1275 * timezone/tzselect.ksh: Add +x mode bits.
1276
8da79b60
MF
12772014-02-08 Mike Frysinger <vapier@gentoo.org>
1278
1279 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1280 (ANON_INODE_FS_MAGIC): Likewise.
1281 (BDEVFS_MAGIC): Likewise.
1282 (BINFMTFS_MAGIC): Likewise.
1283 (BTRFS_TEST_MAGIC): Likewise.
1284 (CRAMFS_MAGIC_WEND): Likewise.
1285 (DEBUGFS_MAGIC): Likewise.
1286 (ECRYPTFS_SUPER_MAGIC): Likewise.
1287 (EXT3_SUPER_MAGIC): Likewise.
1288 (EXT4_SUPER_MAGIC): Likewise.
1289 (FUTEXFS_SUPER_MAGIC): Likewise.
1290 (HOSTFS_SUPER_MAGIC): Likewise.
1291 (HUGETLBFS_MAGIC): Likewise.
1292 (MINIX3_SUPER_MAGIC): Likewise.
1293 (MTD_INODE_FS_MAGIC): Likewise.
1294 (NILFS_SUPER_MAGIC): Likewise.
1295 (OPENPROM_SUPER_MAGIC): Likewise.
1296 (PIPEFS_MAGIC): Likewise.
1297 (PSTOREFS_MAGIC): Likewise.
1298 (QNX6_SUPER_MAGIC): Likewise.
1299 (RAMFS_MAGIC): Likewise.
1300 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1301 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1302 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1303 (SECURITYFS_MAGIC): Likewise.
1304 (SELINUX_MAGIC): Likewise.
1305 (SMACK_MAGIC): Likewise.
1306 (SOCKFS_MAGIC): Likewise.
1307 (SQUASHFS_MAGIC): Likewise.
1308 (STACK_END_MAGIC): Likewise.
1309 (TMPFS_MAGIC): Likewise.
1310 (USBDEVICE_SUPER_MAGIC): Likewise.
1311 (V9FS_MAGIC): Likewise.
1312 (XENFS_SUPER_MAGIC): Likewise.
1313 (CRAMFS_MAGIC): Fix typo in comment.
1314 (EXT2_SUPER_MAGIC): Update comment.
1315 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1316
464263cc
JM
13172014-02-08 Joseph Myers <joseph@codesourcery.com>
1318
c6bfe5c4
JM
1319 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1320 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1321 * sysdeps/unix/sysv/linux/arm: Move directory from
1322 ports/sysdeps/unix/sysv/linux/arm.
1323 * README: Update listing for arm-*-linux-gnueabi.
1324
464263cc
JM
1325 * README: Remove mention of am33.
1326
32749f6c
RM
13272014-02-07 Roland McGrath <roland@hack.frob.com>
1328
1329 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1330 than the comma operator, to avoid "rhs of comma has no effect"
1331 compiler warnings.
1332 (__sigfillset, __sigandset, __sigorset): Likewise.
1333 * include/signal.h (__sigemptyset): Likewise.
1334 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1335
d5b396c1
AM
13362014-02-07 Allan McRae <allan@archlinux.org>
1337
1338 * version.h (RELEASE): Set to "development".
1339 (VERSION): Set to "2.19.90"
1340 * NEWS: Add 2.20 section.
1341
3bfff2ed
CD
13422014-02-06 Carlos O'Donell <carlos@redhat.com>
1343
1344 [BZ #16529]
1345 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1346
ee7cc385
SP
13472014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1348
1349 * manual/contrib.texi: Update entry for Carlos O'Donell,
1350 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1351
f877c4f2
CD
13522014-02-05 Carlos O'Donell <carlos@rehdat.com>
1353
27e839f6
CD
1354 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1355
f877c4f2
CD
1356 * sysdeps/unix/sysv/linux/kernel-features.h
1357 [__LINUX_KERNEL_VERSION >= 0x020621]
1358 (__ASSUME_PROC_PID_TASK_COMM): Define.
1359
68159946
SP
13602014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1361
1362 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1363 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1364 Leonard and Allan McRae.
1365
2b528732
DM
13662014-02-04 David S. Miller <davem@davemloft.net>
1367
1368 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1369 32-bit.
1370
0ff82463
AZ
13712014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
c01603f7
AZ
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1374 file
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1376 New file
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1378 file.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1380 file.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1382 New file.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1384 file.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1386 file.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1388 New file.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1390 New file.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1392 New file.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1394 New file.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1396 New file.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1398 New file.
1399
14002014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401
0ff82463
AZ
1402 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1403 * shlib-versions: Likewise.
1404
1695c773
AZ
14052014-02-04 Roland McGrath <roland@hack.frob.com>
1406 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407
1408 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1409 (abilist-pattern): New variable, set to %-le.abilist.
1410
1411 * Makerules (abilist-pattern): New variable.
1412 (vpath): Use $(abilist-pattern) in place of %.abilist.
1413 (check-abi-% pattern rule): Likewise.
1414 (check-abi, update-abi): Likewise.
1415
6c0ce4b4
EW
14162014-02-04 Eric Wong <normalperson@yhbt.net>
1417
1418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1419
dc98b8f5
EW
14202014-02-04 Eric Wong <normalperson@yhbt.net>
1421
1422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1423
481e3524
CD
14242014-02-03 Carlos O'Donell <carlos@redhat.com>
1425
1426 * manual/startup.texi: Add next, previous, and top entries for
1427 the `Program Arguments' and `Environment Variables' nodes.
1428
375592d3
AO
14292014-02-03 Alexandre Oliva <aoliva@redhat.com>
1430
1431 * manual/macros.texi: Add comments before MTASC-safety macros.
1432
f54838ba
AO
1433 * manual/users.texi: Document MTASC-safety properties.
1434
909e12ad
AO
1435 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1436 pthread_getspecific, pthread_setspecific): Format with
1437 @deftypefun, and add @safety note.
1438 * manual/signal.texi: Move comments that analyze the above
1439 functions to their home place.
1440
fd3daba4
AM
14412014-02-03 Allan McRae <allan@archlinux.org>
1442
1443 * po/sl.po: Update Slovenian translation from translation project.
1444
597636d7
AO
14452014-02-02 Alexandre Oliva <aoliva@redhat.com>
1446
1447 * manual/time.texi (timegm): Add missing blank after @c.
1448 Reported by Joseph Myers <joseph@codesourcery.com>.
1449
ee196e3c
AO
14502014-02-01 Alexandre Oliva <aoliva@redhat.com>
1451
1452 * manual/check-safety.sh: New.
1453 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1454
f8d529d5
AO
1455 * manual/terminal.texi: Document MTASC-safety properties.
1456
de55fdf4
AO
1457 * manual/filesys.texi: Document MTASC-safety properties.
1458
c3299c08
AO
1459 * manual/errno.texi: Document MTASC-safety properties.
1460
06e90b14
AO
1461 * manual/intro.texi: Document safety identifiers and
1462 conditionals.
1463
1acd4371
AO
1464 * manual/string.texi (wcstok): Fix prototype.
1465 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1466
23e5b8cb
AO
1467 * manual/time.texi: Document MTASC-safety properties.
1468
11087373
AO
1469 * manual/string.texi: Document MTASC-safety properties.
1470
5da2c93d
AO
1471 * manual/threads.texi: Document MTASC-safety properties.
1472
171e9210
AO
1473 * manual/stdio.texi: Document MTASC-safety properties.
1474
d9e02532
AO
1475 * manual/syslog.texi: Document MTASC-safety properties.
1476
6af8bab7
AO
1477 * manual/sysinfo.texi: Document MTASC-safety properties.
1478
663b02d7
AO
1479 * manual/startup.texi: Document MTASC-safety properties.
1480
973f180b
AO
1481 * manual/socket.texi: Document MTASC-safety properties.
1482
8f3c25c8
AO
1483 * manual/signal.texi: Document MTASC-safety properties.
1484
542210fb
AO
14852014-01-31 Alexandre Oliva <aoliva@redhat.com>
1486
1487 * manual/setjmp.texi: Document MTASC-safety properties.
1488
433c45a2
AO
1489 * manual/search.texi: Document MTASC-safety properties.
1490
c8ce789c
AO
1491 * manual/resource.texi: Document MTASC-safety properties.
1492
19f5d29c
AO
1493 * manual/process.texi: Document MTASC-safety properties.
1494
e2dfb7f4
AO
1495 * manual/platform.texi: Document MTASC-safety properties.
1496
8c1413f5
AO
1497 * manual/pipe.texi: Document MTASC-safety properties.
1498
03483ada
AO
1499 * manual/pattern.texi: Document MTASC-safety properties.
1500
29e7e2df
AO
1501 * manual/message.texi: Document MTASC-safety properties.
1502
9f529d7c
AO
1503 [BZ #12751]
1504 * manual/memory.texi: Document MTASC-safety properties.
1505
27aaa791
AO
1506 * manual/math.texi: Document MTASC-safety properties.
1507
f2d58726
AO
1508 * manual/locale.texi: Document MTASC-safety properties.
1509
2cc3615c
AO
1510 * manual/llio.texi: Document MTASC-safety properties.
1511
d9f0ec97
AO
1512 * manual/libdl.texi: New.
1513
e7c4409a
AO
1514 * manual/lang.texi: Document MTASC-safety properties.
1515
27bdc63c
AO
1516 * manual/job.texi: Document MTASC-safety properties.
1517
a7b90ea9
AO
1518 * manual/getopt.texi: Document MTASC-safety properties.
1519
c49130e3
AO
1520 * manual/ctype.texi: Document MTASC-safety properties.
1521
0d23a5c1
MR
15222014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1523
1524 [BZ #16046]
1525 * csu/libc-tls.c (static_map): Remove variable.
1526 (__libc_setup_tls): Use main executable's link map for TLS data.
1527 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1528 casing for LM_ID_BASE and GL(dl_nns).
1529 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1530 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1531 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1532 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1533 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1534 member.
1535 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1536 l_phnum members.
1537
0037bb60
AO
15382014-01-30 Alexandre Oliva <aoliva@redhat.com>
1539
1540 * manual/debug.texi: Document MTASC-safety properties.
1541
409e00bd
L
15422014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 [BZ #16510]
1545 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1546 of __x86_64__ when disabling x87 inline functions.
1547
86e60666
AO
15482014-01-29 Alexandre Oliva <aoliva@redhat.com>
1549
1550 * manual/charset.texi: Document MTASC-safety properties.
1551
76167637
AO
1552 * manual/crypt.texi: Document MTASC-safety properties.
1553
e567f2a0
AO
1554 * manual/conf.texi: Document MTASC-safety properties.
1555
b719dafd
AO
1556 * manual/arith.texi: Document MTASC-safety properties.
1557
4a16c662
AO
1558 * manual/argp.texi: Document MTASC-safety properties.
1559
0a57b83e
AO
1560 * manual/macros.texi: Introduce macros to document multi
1561 thread, asynchronous signal and asynchronous cancellation
1562 safety properties.
1563 * manual/intro.texi: Introduce the properties themselves.
1564
feab2397
KK
15652014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1566
1567 * sysdeps/sh/sh4/Makefile: New file.
1568
1c0d11bc
AS
15692014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1570
1571 * math/gen-libm-test.pl ($srcdir): New variable.
1572 ($auto_input): Use it.
1573
af37a8a3
SP
15742014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1575
d7b00f98
SP
1576 [BZ #16506]
1577 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1578 access beyond array bounds when parsing netgroups file.
1579
af37a8a3
SP
1580 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1581 the old buffer before realloc.
1582
0c00f062
AM
15832014-01-27 Allan McRae <allan@archlinux.org>
1584
1585 * po/fr.po: Update French translation from translation project.
1586
7d69a1b0
KK
15872014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1588
1589 * sysdeps/sh/libm-test-ulps: Regenerate.
1590
6e697ff7
DM
15912014-01-24 David S. Miller <davem@davemloft.net>
1592
1593 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1594
9cadb35c
KK
15952014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1596
1597 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1598 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1599
5d41dadf
SP
16002013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1601
1602 [BZ #16474]
1603 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1604 string pointers after reallocation.
1605
0bad441c
KK
16062014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1607
1608 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1609 __SH4A__ instead of __SH_FPU_ANY__.
1610
7007c661
KK
16112014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1612
1613 * sysdeps/sh/fpu_control.h: New file.
1614 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1615 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1616 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1617 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1618 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1619 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1620 * sysdeps/sh/sys/ucontext.h: Remove.
1621 * sysdeps/sh/sys: Remove directory.
1622
0f0c35e4
AK
16232014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1624
1625 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1626 s390/sys/ucontext.h.
1627 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1628 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1629
4959e284
L
16302014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1631
1632 [BZ #15605]
1633 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1634
d98720e0
AZ
16352014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 [BZ#16431]
1638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1639 Adjust the vDSO correctly for internal calls.
1640 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1641
91cbd0bc
AM
16422014-01-20 Allan McRae <allan@archlinux.org>
1643
1644 * po/ca.po: Update Catalan translation from translation project.
1645
7a02cfad
MF
16462014-01-16 Mike Frysinger <vapier@gentoo.org>
1647
1648 * sysdeps/s390/sotruss-lib.c: New file.
1649
736c304a
AZ
16502014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 [BZ#16430]
6e077ee5 1653 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1654 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1655 local calls issues by not having a PLT stub required for IFUNC calls.
1656 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1657
94d0cea0
JM
16582014-01-16 Joseph Myers <joseph@codesourcery.com>
1659
1660 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1661 * math/test-fpucw-static.c: Likewise.
1662
980cb518
SP
16632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1664
1665 [BZ #16453]
1666 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1667
2393fc01
AZ
16682014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669
1670 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1671 implementation for powerpc.
1672
d359bcc2
OB
16732014-01-15 Ondřej Bílka <neleai@seznam.cz>
1674
1675 [BZ #14782]
1676 * sysdeps/posix/system.c (__libc_system): Do not enable
1677 asynchronous cancellation.
1678
7beb48cb
AK
16792014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1680
1681 [BZ #16427]
1682 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1683 handling only for numbers special also in the IEEE case.
1684
c20d5bf5
AK
16852014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1686
1687 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1688
e83bd4ee
AM
16892014-01-11 Allan McRae <allan@archlinux.org>
1690
76d0ea69
AM
1691 * po/bg.po: Update Bulgarian translation from translation project.
1692
e83bd4ee
AM
1693 * po/de.po: Update German translation from translation project.
1694
bc2ba20a
RM
16952014-01-10 Roland McGrath <roland@hack.frob.com>
1696
1697 * sysdeps/generic/gcc-compat.h: New file.
1698
649ecea2
SP
16992014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1700
1701 * benchtests/asin-inputs: Correct slow inputs.
1702 * benchtests/acos-inputs: Likewise.
1703
1b19c006
AM
17042014-01-10 Allan McRae <allan@archlinux.org>
1705
a46dab08
AM
1706 * po:sv.po: Update Swedish translation from translation project.
1707
421df74a
AM
1708 * po/vi.po: Update Vietnamese translation from translation project.
1709
d61c51a7
AM
1710 * po/eo.po: Update Esperanto translation from translation project.
1711
0339a319
AM
1712 * po/cs.po: Update Czech translation from translation project.
1713
94ad3e99
AM
1714 * po/nl.po: Update Dutch translation from translation project.
1715
e349ca71
AM
1716 * po/pl.po: Update Polish translation from translation project.
1717
ddf930c1
AM
1718 * po/ru.po: Update Russian translation from translation project.
1719
1b19c006
AM
1720 * po/uk.po: Update Ukrainian translation from translation project.
1721
9f236c49
BM
17222014-01-08 Brooks Moses <bmoses@google.com>
1723
1724 * elf/dl-load.c: Fix comment typo.
1725
cd6701cf
CD
17262014-01-08 Carlos O'Donell <carlos@redhat.com>
1727
1728 * po/header.pot: Rename to...
1729 * po/pot.header: ... this.
1730 * po/Makefile: Use pot.header.
1731
66671c84
YK
17322014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1733 Maxim Kuvyrkov <maxim@kugelworks.com>
1734
1735 [BZ #16394]
cd6701cf
CD
1736 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1737 SRC and DEST against LEN.
66671c84 1738
38f34581
AZ
17392014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740
1741 [BZ #16414]
1742 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1743 implementation.
1744 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1745
17462014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1747
1748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1749
4c327f2a
JM
17502014-01-08 Joseph Myers <joseph@codesourcery.com>
1751
1752 [BZ #16408]
1753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1754 for large positive arguments.
1755
b821f414
JM
17562014-01-07 Joseph Myers <joseph@codesourcery.com>
1757
1f0f2067
JM
1758 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1759
a5a326f6
JM
1760 * math/auto-libm-test-in: Mark various tests with
1761 xfail-rounding:ldbl-128ibm.
1762 * math/auto-libm-test-out: Regenerated.
1763
b821f414
JM
1764 [BZ #16407]
1765 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1766 Increase overflow threshold.
1767
94c8a4bc
OB
17682014-01-07 Ondřej Bílka <neleai@seznam.cz>
1769
1770 [BZ #14286]
1771 * stdio-common/vfprintf.c: Check for integer overflow.
1772
87ded0c3
AK
17732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1774
1775 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1776 the first argument and return value of __tls_get_addr_internal.
1777
c5eebdd0
AK
17782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1779
1780 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1781 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1782
05d138ef
AK
17832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1784
1785 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1786 * sysdeps/s390/rtld-global-offsets.sym: New file.
1787 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1788 GLIBC_2.19 symbol.
1789 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1792 ... this.
1793 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1794 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1795 ... this.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1797 Regenerate.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1799 Regenerate.
1800 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1801 halfs of GPRs for high_gprs contexts.
1802 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1803 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1804 field.
1805 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1806 uc_flags field.
1807 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1808 64 bit versions:
1809 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1810 for high GPRs (uc_high_gprs) and for future extensions
1811 (__reserved).
1812 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1813 for future extensions (__reserved).
1814 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1815 64 bit versions:
1816 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1817 SC_HIGHGPRS offset definition.
1818 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1819 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1820
93a45ff1
AK
18212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1822
1823 * Versions.def: Add GLIBC_2.19 for libpthread.
1824 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1825 siglongjmp for libpthread with GLIBC_2.19 symver.
1826 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1827 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1828 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1829 * sysdeps/s390/__longjmp.c: New file.
1830 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1831 * sysdeps/s390/longjmp.c: New file.
1832 * sysdeps/s390/setjmp.S: New file.
1833 * sysdeps/s390/sigjmp.S: New file.
1834 * sysdeps/s390/v1-longjmp.c: New file.
1835 * sysdeps/s390/v1-setjmp.h: New file.
1836 * sysdeps/s390/v1-sigjmp.c: New file.
1837 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1838 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1839 GLIBC_2.19 version.
1840 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1841 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1842 versioned symbols for ____longjmp_chk.
1843 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1844 Likewise.
1845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1846 Regenerate.
1847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1848 Regenerate.
1849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1850 Regenerate.
1851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1852 Regenerate.
1853 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1854 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1855 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1856 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1857 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1858 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1859 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1860 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1861 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1862 * sysdeps/s390/rtld-__longjmp.c: New file.
1863 * sysdeps/s390/rtld-setjmp.S: New file.
1864
eb3fc44b
JM
18652014-01-06 Joseph Myers <joseph@codesourcery.com>
1866
1867 [BZ #16400]
1868 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1869 Return -__logl (x) for small positive arguments without evaluating
1870 a polynomial.
1871
9341dde4
MF
18722014-01-06 Mike Frysinger <vapier@gentoo.org>
1873
1874 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1875 Rename to ...
1876 (__ptrace_peeksiginfo_args): ... this.
1877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1880
4cff0293
AM
18812014-01-06 Allan McRae <allan@archlinux.org>
1882
1883 * inet/netinet/in.h: Fix typo in comment.
1884
75595dcf
AJ
18852014-01-05 Andreas Jaeger <aj@suse.de>
1886
1887 * sysdeps/i386/fpu/libm-test-ulps: Update.
1888
79c1e109
AM
18892014-01-05 Allan McRae <allan@archlinux.org>
1890
dd804818
AM
1891 * po/libc.pot: Regenerated.
1892
79c1e109
AM
1893 * malloc/memusagestat.c: Fix gettext call formatting.
1894
0c813d1f
SK
18952014-01-04 Sami Kerola <kerolasa@iki.fi>
1896
1897 * nscd/nscd.c: Improve usage() output.
1898
20f4a8d9
MF
18992014-01-04 Mike Frysinger <vapier@gentoo.org>
1900
1901 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1902 * sysdeps/unix/sysv/linux/configure: Regenerated.
1903 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1904 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1905
22562bb2
JM
19062014-01-03 Joseph Myers <joseph@codesourcery.com>
1907
1908 [BZ #16390]
1909 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1910 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1911
d7ad2d9b
AZ
19122014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1915 extra tokens at end of #undef directive.
1916 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1917 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1918 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1919
7dd009d8
JM
19202014-01-03 Joseph Myers <joseph@codesourcery.com>
1921
24db925a
JM
1922 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1923
7dd009d8
JM
1924 * math/auto-libm-test-in: Mark various tests with
1925 xfail-rounding:ldbl-128ibm.
1926 * math/auto-libm-test-out: Regenerated.
1927
396e3ecf
JM
19282014-01-02 Joseph Myers <joseph@codesourcery.com>
1929
819e5d50
JM
1930 [BZ #16386]
1931 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1932 numbers with subnormal high part when calculating exponent.
1933
90b6a1e5
JM
1934 [BZ #16385]
1935 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1936 fabs.
1937
396e3ecf
JM
1938 [BZ #16384]
1939 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1940 M_LN2l.
1941 (__ieee754_acoshl): Use __log1pl not __log1p.
1942
6c8dbf00
OB
19432013-01-02 Ondřej Bílka <neleai@seznam.cz>
1944
1945 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1946 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1947 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1948 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1949 Convert to GNU style.
1950 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1951 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1952 memalign_check, __malloc_set_state): Likewise.
1953 * malloc/mallocbug.c (main): Likewise.
1954 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1955 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1956 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1957 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1958 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1959 * malloc/malloc.h: Likewise.
1960 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1961 memalignhook, reallochook, mabort): Likewise.
1962 * malloc/mcheck.h: Likewise.
1963 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1964 mmap64, mremap, munmap, dest): Likewise.
1965 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1966 * malloc/morecore.c (__default_morecore): Likewise.
1967 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1968 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1969 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1970 print_and_abort): Likewise.
1971 * malloc/obstack.h: Likewise.
1972 * malloc/set-freeres.c (__libc_freeres): Likewise.
1973 * malloc/tst-mallocstate.c (main): Likewise.
1974 * malloc/tst-mtrace.c (main): Likewise.
1975 * malloc/tst-realloc.c (do_test): Likewise.
1976
d4124212
SP
19772013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1978
9a3c6a6f
SP
1979 [BZ #16366]
1980 * nscd/netgroupcache.c (do_notfound): New function.
1981 (addgetnetgrentX): Use it.
1982
d4124212
SP
1983 [BZ # 16365]
1984 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1985 NSS_STATUS_NOTFOUND.
1986
97b9a009
JM
19872014-01-01 Joseph Myers <joseph@codesourcery.com>
1988
1989 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1991
d4697bc9
AM
19922014-01-01 Allan McRae <allan@archlinux.org>
1993
ddb3687f
AM
1994 * scripts/update-copyrights: Update configure input file suffix.
1995
88726d48
AM
1996 * NEWS: Update copyright year.
1997 * catgets/gencat.c: Likewise.
1998 * csu/version.c: Likewise.
1999 * debug/catchsegv.sh: Likewise.
2000 * debug/pcprofiledump.c: Likewise.
2001 * debug/xtrace.sh: Likewise.
2002 * elf/ldconfig.c: Likewise.
2003 * elf/ldd.bash.in: Likewise.
2004 * elf/pldd.c: Likewise.
2005 * elf/sotruss.ksh: Likewise.
2006 * elf/sprof.c: Likewise.
2007 * iconv/iconv_prog.c: Likewise.
2008 * iconv/iconvconfig.c: Likewise.
2009 * locale/programs/locale.c: Likewise.
2010 * locale/programs/localedef.c: Likewise.
2011 * login/programs/pt_chown.c: Likewise.
2012 * malloc/memusage.sh: Likewise.
2013 * malloc/memusagestat.c: Likewise.
2014 * malloc/mtrace.pl: Likewise.
2015 * manual/libc.texinfo: Likewise.
2016 * nscd/nscd.c: Likewise.
2017 * nss/getent.c: Likewise.
2018 * nss/makedb.c: Likewise.
2019 * posix/getconf.c: Likewise.
2020 * scripts/test-installation.pl: Likewise.
2021
d4697bc9
AM
2022 * All files with FSF copyright notices: Update copyright dates
2023 using scripts/update-copyrights.
2024 * intl/plural.c: Regenerated.
2025 * locale/programs/charmap-kw.h: Likewise.
2026 * locale/programs/locfile-kw.h: Likewise.
2027
c8590f9d
MF
20282013-12-31 Mike Frysinger <vapier@gentoo.org>
2029
2030 * sysdeps/unix/sysv/linux/configure: Regenerated.
2031 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2032 the linux/fanotify.h header.
2033 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2034 HAVE_LINUX_FANOTIFY_H is defined.
2035
b19221b9
SP
20362013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2037
dd1d85e5
SP
2038 * benchtests/cos-inputs: New inputs.
2039 * benchtests/sin-inputs: Likewise.
2040
1acbb90f
SP
2041 * benchtests/atan-inputs: New inputs. Fix name of multiple
2042 precision fallback inputs.
2043
4c012ed3
SP
2044 * benchtests/atanh-inputs: New inputs.
2045 * benchtests/tanh-inputs: Likewise.
2046
eff98324
SP
2047 * benchtests/acosh-inputs: New inputs.
2048 * benchtests/asinh-inputs: Likewise.
2049
ce641152
SP
2050 * benchtests/cosh-inputs: New inputs.
2051 * benchtests/sinh-inputs: Likewise.
2052
b19221b9
SP
2053 * benchtests/acos-inputs: Add more inputs.
2054 * benchtests/asin-inputs: Likewise.
2055
030a4976 20562013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2057
030a4976 2058 [BZ #16375]
9dcc8f11
VS
2059 * manual/arith.texi: Fix spelling.
2060 * manual/charset.texi: Likewise.
2061 * manual/errno.texi: Likewise.
2062 * manual/filesys.texi: Likewise.
2063 * manual/lang.texi: Likewise.
2064 * manual/llio.texi: Likewise.
2065 * manual/locale.texi: Likewise.
2066 * manual/message.texi: Likewise.
2067 * manual/resource.texi: Likewise.
2068 * manual/search.texi: Likewise.
2069 * manual/setjmp.texi: Likewise.
2070 * manual/stdio.texi: Likewise.
2071 * manual/string.texi: Likewise.
2072 * manual/sysinfo.texi: Likewise.
2073 * manual/time.texi: Likewise.
2074
11520a57
CD
20752013-12-27 Carlos O'Donell <carlos@redhat.com>
2076
2077 * po/sl.po: New file.
2078
471103ae
MF
20792013-12-27 Mike Frysinger <vapier@gentoo.org>
2080
2081 * .gitignore: Add core/.gdbinit/.gdb_history.
2082
6c9642ed
AM
20832013-12-27 Allan McRae <allan@archlinux.org>
2084
2085 [BZ #16369]
2086 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2087 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2088
3f637079
BM
20892013-12-24 Brooks Moses <bmoses@google.com>
2090
2091 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2092 all compilers that claim C++98 compliance, not just GCC.
2093 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2094 Likewise.
2095
abc26e99
MK
20962013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2097
2098 * NEWS: Restore accidentally deleted bug-fix entries.
2099
362b47fe
MK
21002013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2101 Ondřej Bílka <neleai@seznam.cz>
2102
2103 [BZ #15073]
2104 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2105 have_lock.
362b47fe 2106
b9bcbbcb
OB
21072013-12-23 Ondřej Bílka <neleai@seznam.cz>
2108
2109 [BZ #12986]
2110 * manual/stdio.texi (String Input Conversions): Clarify that character
2111 classes are not supported.
2112
fb55fcd2
AZ
21132013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2114
2115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2116
ef7344f0
JM
21172013-12-22 Joseph Myers <joseph@codesourcery.com>
2118
4f40e4b3
JM
2119 [BZ #16337]
2120 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2121 Calculate results for small negative arguments directly rather
2122 than using reflection formula with special underflow handling.
2123
ef7344f0
JM
2124 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2125 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2126 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2127 (fchflags): Likewise.
2128 (revoke): Likewise.
2129 (setlogin): Likewise.
2130 (sigaltstack): Likewise.
2131 (wait4): Likewise.
2132 (sigblock): Remove.
2133 (sigsetmask): Likewise.
2134 (wait3): Likewise.
2135 (waitpid): Likewise.
2136 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2137 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2138 file.
2139 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2140 * sysdeps/unix/bsd/Makefile: ... here.
2141 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2142 * sysdeps/unix/bsd/Versions: ... here.
2143 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2144 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2145 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2146 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2147 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2148 * sysdeps/unix/bsd/sigblock.c: ... here.
2149 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2150 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2151 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2152 * sysdeps/unix/bsd/sigvec.c: ... here.
2153 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2154 * sysdeps/unix/bsd/tcdrain.c: ... here.
2155 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2156 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2157 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2158 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2159 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2160 * sysdeps/unix/bsd/wait.c: ... here.
2161 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2162 * sysdeps/unix/bsd/wait3.c: ... here.
2163 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2164 * sysdeps/unix/bsd/waitpid.c: ... here.
2165
5b0626b9
JM
21662013-12-21 Joseph Myers <joseph@codesourcery.com>
2167
2168 [BZ #16356]
2169 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2170 round-to-nearest for [!USE_AS_EXPM1L].
2171 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2172 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2173 more tests of exp and exp10. Expect some exp10 tests to miss
2174 exceptions or fail in directed rounding modes.
2175 * math/auto-libm-test-out: Regenerated.
2176 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2177 (exp10_test_tonearest): New function.
2178 (exp10_towardzero_test_data): New array.
2179 (exp10_test_towardzero): New function.
2180 (exp10_downward_test_data): New array.
2181 (exp10_test_downward): New function.
2182 (exp10_upward_test_data): New array.
2183 (exp10_test_upward): New function.
2184 (main): Call the new functions.
2185 * sysdeps/i386/fpu/libm-test-ulps: Update.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2187
7fda5682
JM
21882013-12-20 Joseph Myers <joseph@codesourcery.com>
2189
31e3a405
JM
2190 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2191 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2192 * math/auto-libm-test-out: Regenerated.
2193 * math/libm-test.inc (acosh_test_data): Add more tests.
2194 (atanh_test_data): Likewise.
2195 (ceil_test_data): Likewise.
2196 (copysign_test_data): Likewise.
2197 * sysdeps/i386/fpu/libm-test-ulps: Update.
2198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2199
85bff96a
JM
2200 * timezone/checktab.awk: Update from tzcode 2013i.
2201 * timezone/private.h: Likewise.
2202 * timezone/scheck.c: Likewise.
2203 * timezone/tzfile.h: Likewise.
2204 * timezone/tzselect.ksh: Likewise.
2205 * timezone/zdump.c: Likewise.
2206 * timezone/zic.c: Likewise.
2207
b7867a3b
JM
2208 * math/auto-libm-test-in: Add tests of cpow.
2209 * math/auto-libm-test-out: Regenerated.
2210 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2211 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2212 mpc_cc_c.
2213 (func_calc_desc): Add mpc_cc_c union field.
2214 (test_functions): Add cpow.
2215 (special_fill_2pi): New function.
2216 (special_real_inputs): Add 2pi.
2217 (calc_generic_results): Handle mpc_cc_c.
2218 * sysdeps/i386/fpu/libm-test-ulps: Update.
2219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2220
7fda5682
JM
2221 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2222 csqrt, ctan and ctanh.
2223 * math/auto-libm-test-out: Regenerated.
2224 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2225 (TEST_COND_x86): Likewise.
2226 (ccos_test_data): Use AUTO_TESTS_c_c.
2227 (ccosh_test_data): Likewise.
2228 (cexp_test_data): Likewise.
2229 (clog_test_data): Likewise.
2230 (csqrt_test_data): Likewise.
2231 (ctan_test_data): Likewise.
2232 (ctan_tonearest_test_data): Likewise.
2233 (ctan_towardzero_test_data): Likewise.
2234 (ctan_downward_test_data): Likewise.
2235 (ctan_upward_test_data): Likewise.
2236 (ctanh_test_data): Likewise.
2237 (ctanh_tonearest_test_data): Likewise.
2238 (ctanh_towardzero_test_data): Likewise.
2239 (ctanh_downward_test_data): Likewise.
2240 (ctanh_upward_test_data): Likewise.
2241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2242 mpc_c_c.
2243 (func_calc_desc): Add mpc_c_c union field.
2244 (FUNC_mpc_c_c): New macro.
2245 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2246 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2247 ctanh.
2248 (special_fill_min_subnorm_p120): New function.
2249 (special_real_inputs): Add min_subnorm_p120.
2250 (calc_generic_results): Handle mpc_c_c.
2251 * sysdeps/i386/fpu/libm-test-ulps: Update.
2252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2253
5ff8d60e
SP
22542013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2255
392dd2de
SP
2256 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2257 do_sin_slow): New functions.
2258 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2259 cslow2, csloww1, csloww2): Use the new functions.
2260
84ba214c
SP
2261 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2262 Use M to change sign of result instead of X. Assume X is
2263 positive.
2264 (csloww1): Likewise.
2265 (__sin): Adjust.
2266 (__cos): Adjust.
2267
975195e4
SP
2268 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2269 arguments A and DA.
2270 (__sin): Adjust.
2271 (__cos): Likewise.
2272
5ff8d60e
SP
2273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2274 (__cos): Likewise.
2275 (sloww1): Don't adjust sign of DX.
2276 (csloww1): Likewise.
2277 (sloww2): Use X directly and don't adjust sign of DX.
2278 (csloww2): Likewise.
2279
eb983568
JM
22802013-12-19 Joseph Myers <joseph@codesourcery.com>
2281
64a17f1a
JM
2282 * math/auto-libm-test-in: Add tests of cabs and carg.
2283 * math/auto-libm-test-out: Regenerated.
2284 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2285 (carg_test_data): Likewise.
2286 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2287 mpc_c_f.
2288 (func_calc_desc): Add mpc_c_f union field.
2289 (test_functions): Add cabs and carg.
2290 (calc_generic_results): Handle mpc_c_f.
2291
eb983568
JM
2292 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2293 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2294 as a macro and a compat symbol.
2295 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2296 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2297 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2298 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2299 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2300 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2301 not use .hidden.
2302 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2303 Likewise.
2304 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2305 Likewise.
2306 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2307 Likewise.
2308 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2309 Likewise.
2310 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2311 Likewise.
2312 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2313 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2314 from GLIBC_2.3.2.
2315
6eeb678a
AZ
23162013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2319
6f6fc482
JM
23202013-12-19 Joseph Myers <joseph@codesourcery.com>
2321
21fea2e2
JM
2322 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2323 trailing whitespace removed.
2324 * scripts/config.guess: Update to version 2013-11-29.
2325 * scripts/config.sub: Update to version 2013-10-01.
2326
6f6fc482
JM
2327 * math/auto-libm-test-in: Add tests of sincos.
2328 * math/auto-libm-test-out: Regenerated.
2329 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2330 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2331 mpfr_f_11.
2332 (func_calc_desc): Add mpfr_f_11 union field.
2333 (test_functions): Add sincos.
2334 (calc_generic_results): Handle mpfr_f_11.
2335 * sysdeps/i386/fpu/libm-test-ulps: Update.
2336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2337
83f5c32d
AS
23382013-12-19 Andreas Schwab <schwab@suse.de>
2339
2340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2341 CALL_MCOUNT.
2342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2344 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2345
c688b419
JM
23462013-12-19 Joseph Myers <joseph@codesourcery.com>
2347
335ee092
JM
2348 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2349 * sysdeps/i386/fpu/libm-test-ulps: Update.
2350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2351
f88acd39
JM
2352 [BZ #16293]
2353 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2354 round-to-nearest mode when using frndint.
2355 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2356 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2358 Likewise.
2359 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2360 sinh test to fail.
2361 * math/auto-libm-test-out: Regenerated.
2362 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2363 (TEST_COND_x86): Likewise.
2364 (expm1_tonearest_test_data): New array.
2365 (expm1_test_tonearest): New function.
2366 (expm1_towardzero_test_data): New array.
2367 (expm1_test_towardzero): New function.
2368 (expm1_downward_test_data): New array.
2369 (expm1_test_downward): New function.
2370 (expm1_upward_test_data): New array.
2371 (expm1_test_upward): New function.
2372 (main): Run the new test functions.
2373 * sysdeps/i386/fpu/libm-test-ulps: Update.
2374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375
c688b419
JM
2376 * include/features.h: Update comment documenting feature test
2377 macros. Mention _DEFAULT_SOURCE in comment.
2378 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2379 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2380 _BSD_SOURCE and _SVID_SOURCE.
2381 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2382 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2383 !_SVID_SOURCE]: Likewise.
2384 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2385 (__USE_POSIX_IMPLICITLY): Define.
2386 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2387 (_POSIX_SOURCE): Undefine and redefine.
2388 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2389 (_POSIX_C_SOURCE): Likewise.
2390 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2391 (Feature Test Macros): Update documentation of default features.
2392
9f6e964c
RS
23932013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2394
2395 * benchtests/Makefile: Add bench-strtok.
2396 * benchtests/bench-strtok.c: New file: strtok benchtest.
2397
ee0a148a
AM
23982013-12-19 Allan McRae <allan@archlinux.org>
2399
2400 * manual/install.texi: Suppress menu for plain text output.
2401 * INSTALL: Regenerated.
2402
b9ab448f
BM
24032013-12-18 Brooks Moses <bmoses@google.com>
2404
2405 [BZ #15846]
2406 * misc/getauxval.c: Include errno.h.
2407 (__getauxval): Set errno to ENOENT if the requested type is not
2408 found.
2409 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2410 don't declare with __attribute_const__.
2411 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2412 * manual/startup.texi: Document that getauxval sets errno.
2413
23776487
JM
24142013-12-18 Joseph Myers <joseph@codesourcery.com>
2415
f889953b
JM
2416 * math/auto-libm-test-in: Add tests of jn and yn.
2417 * math/auto-libm-test-out: Regenerated.
2418 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2419 (yn_test_data): Likewise.
2420 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2421 mpfr_if_f.
2422 (func_calc_desc): Add mpfr_if_f union field.
2423 (FUNC_mpfr_if_f): New macro.
2424 (test_functions): Add jn and yn.
2425 (calc_generic_results): Assert type of second input for
2426 mpfr_ff_f. Handle mpfr_if_f.
2427 (output_for_one_input_case): Disable all checking for arguments
2428 fitting floating-point types in case of an integer argument.
2429 * sysdeps/i386/fpu/libm-test-ulps: Update.
2430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2431
23776487
JM
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2433 Don't expect fegetround reference in libm.so.
2434
cb756c6d
MS
24352013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2436
2437 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2438 $(config-cflags-nofma).
2439
2dec468f
JM
24402013-12-18 Joseph Myers <joseph@codesourcery.com>
2441
5953eb3a
JM
2442 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2443 * math/auto-libm-test-out: Regenerated.
2444
2dec468f
JM
2445 [BZ #16338]
2446 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2447 to determine exponent and adjust argument to have exponent of -1.
2448 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2449 log2.
2450 * math/auto-libm-test-out: Regenerated.
2451 * sysdeps/i386/fpu/libm-test-ulps: Update.
2452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2453
4d84e6ad
OB
24542013-12-18 Ondřej Bílka <neleai@seznam.cz>
2455
2456 * manual/probes.texi: Remove cases when per-thread arenas are
2457 disabled.
2458
1818483b
AS
24592013-12-18 Andreas Schwab <schwab@suse.de>
2460
2461 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2462 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2463 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2464 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2465 * sysdeps/i386/i686/multiarch/Makefile: Update.
2466 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2467
25de95bf
JM
24682013-12-17 Joseph Myers <joseph@codesourcery.com>
2469
2470 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2471 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2472
674762d9
PE
24732013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2474
ed27ed83 2475 [BZ #15968]
0748546f
PE
2476 Support TZ transition times < 00:00:00.
2477 This is needed for version-3 tz-format files; it supports time
2478 stamps past 2037 for America/Godthab (the only entry in the tz
2479 database for which this change is relevant).
2480 * manual/time.texi (TZ Variable): Document transition times
2481 from -167:59:59 through -00:00:01.
2482 * time/tzset.c (tz_rule): Time of day is now signed.
2483 (__tzset_parse_tz): Parse negative time of day.
2484
4480e934
PE
2485 Document TZ transition times >= 25:00:00.
2486 * manual/time.texi (TZ Variable): Document transition times from
2487 25:00:00 through 167:59:59. These are already supported, and this
2488 support will help with version-3 tz-format files.
2489
69947401
PE
2490 * manual/time.texi (TZ Variable): Modernize North America example
2491 to reflect current (i.e., 2007-and-later) daylight saving rules.
2492
674762d9
PE
2493 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2494
7011c262
JM
24952013-12-17 Joseph Myers <joseph@codesourcery.com>
2496
2fc6557e
JM
2497 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2498 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2501 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2502 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2503 * sysdeps/unix/bsd/clock.c: Likewise.
2504 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2505 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2506 * sysdeps/unix/bsd/init-posix.c: Likewise.
2507 * sysdeps/unix/bsd/poll.c: Likewise.
2508 * sysdeps/unix/bsd/ptsname.c: Likewise.
2509 * sysdeps/unix/bsd/seekdir.c: Likewise.
2510 * sysdeps/unix/bsd/setegid.c: Likewise.
2511 * sysdeps/unix/bsd/seteuid.c: Likewise.
2512 * sysdeps/unix/bsd/setgid.c: Likewise.
2513 * sysdeps/unix/bsd/setrgid.c: Likewise.
2514 * sysdeps/unix/bsd/setruid.c: Likewise.
2515 * sysdeps/unix/bsd/setsid.c: Likewise.
2516 * sysdeps/unix/bsd/setuid.c: Likewise.
2517 * sysdeps/unix/bsd/sigaction.c: Likewise.
2518 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2519 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2520 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2521 * sysdeps/unix/bsd/telldir.c: Likewise.
2522 * sysdeps/unix/bsd/times.c: Likewise.
2523 * sysdeps/unix/bsd/usleep.c: Likewise.
2524
029c7b25
JM
2525 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2526 ($(objpfx)libbsd-compat.a): Remove rule.
2527
7011c262
JM
2528 * include/features.h (__FAVOR_BSD): Do not define.
2529 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2530 features conflicting with POSIX.
2531 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2532 (_BSD_SOURCE): Remove description of not being a subset of other
2533 feature test macros.
2534 * manual/job.texi (getpgrp): Do not document BSD version.
2535 (getpgid): Do not document by reference to BSD getpgrp.
2536 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2537 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2538 * signal/signal.h [__FAVOR_BSD]: Likewise.
2539 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2540 instead of making contents conditional on [__FAVOR_BSD].
2541 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2542
affb6f78
AZ
25432013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544
2545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2546
c88769dd
JM
25472013-12-17 Joseph Myers <joseph@codesourcery.com>
2548
6432a540
JM
2549 [BZ #16314]
2550 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2551 values below 2**-450, not 2**-500.
2552 * math/auto-libm-test-in: Don't allow spurious underflow from
2553 hypot.
2554 * math/auto-libm-test-out: Regenerated.
2555
c88769dd
JM
2556 [BZ #16316]
2557 [BZ #16330]
2558 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2559 values of ha and hb and sort them after adjusting subnormal
2560 arguments.
2561 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2562 Likewise.
2563 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2564 values of ea and eb and sort them after adjusting subnormal
2565 arguments.
2566 * math/auto-libm-test-in: Do not expect some hypot tests of
2567 subnormals to fail. Add more hypot tests.
2568 * math/auto-libm-test-out: Regenerated.
2569
29618f6b
KK
25702013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2571
2572 [BZ #13304]
2573 * sysdeps/sh/s_fma.c: New file.
2574 * sysdeps/sh/s_fmaf.c: New file.
2575 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2576 version.
2577 * sysdeps/sh/Implies: Add sh/soft-fp.
2578
eacfdfbf
RM
25792013-12-16 Roland McGrath <roland@hack.frob.com>
2580
2581 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2582 level of indirection to members `objname', `errstring', `malloced'.
2583 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2584 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2585 it as the __longjmp argument (just pass 1 instead).
2586 (_dl_catch_error): Initialize C with argument pointers and address of
2587 volatile local ERRCODE rather than copying values out of C at return.
2588
ff362e5b
JM
25892013-12-16 Joseph Myers <joseph@codesourcery.com>
2590
2591 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2592 * math/auto-libm-test-out: Regenerated.
2593 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2594 (hypot_test_data): Likewise.
2595 (pow_test_data): Likewise.
2596 (pow_tonearest_test_data): Likewise.
2597 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2598 mpfr_ff_f.
2599 (func_calc_desc): Add mpfr_ff_f union field.
2600 (FUNC_mpfr_ff_f): New macro.
2601 (test_functions): Add atan2, hypot and pow.
2602 (special_fill_min): New function.
2603 (special_fill_minus_min): Likewise.
2604 (special_fill_min_subnorm): Likewise.
2605 (special_fill_minus_min_subnorm): Likewise.
2606 (special_real_inputs): Add min, -min, min_subnorm and
2607 -min_subnorm.
2608 (calc_generic_results): Handle mpfr_ff_f.
2609 * sysdeps/i386/fpu/libm-test-ulps: Update.
2610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611
5764c27f
WN
26122013-12-16 Will Newton <will.newton@linaro.org>
2613
2614 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2615 (Aligned Memory Blocks): Add documentation for aligned_alloc
2616 and suggest it as an alternative to posix_memalign.
2617 (Hooks for Malloc): Document __memalign_hook is also called
2618 for aligned_alloc. (Summary of Malloc): Add summary for
2619 aligned alloc. Document __memalign_hook is also called
2620 for aligned_alloc.
2621
0a096e44
WN
26222013-12-16 Will Newton <will.newton@linaro.org>
2623
2624 * manual/memory.texi (Malloc Examples): Clarify default
2625 alignment documentation. Suggest posix_memalign rather
2626 than memalign or valloc.
2627 (Aligned Memory Blocks): Remove suggestion to use memalign
2628 or valloc. Remove obsolete comment about BSD.
2629 Document memalign errno values and mark the function obsolete.
2630 Document posix_memalign returned error codes. Mark valloc
2631 as obsolete. (Hooks for Malloc): __memalign_hook is also
2632 called for posix_memalign and valloc.
2633 (Summary of Malloc): Add posix_memalign to function summary.
2634 __memalign_hook is also called for posix_memalign and valloc.
2635
8d561986
SP
26362013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2637
2638 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2639 TAYLOR_SIN.
2640 (__sin): Adjust.
2641 (__cos): Likewise.
2642 (sloww): Use mynumber union. Expand ternary operator into
2643 if-else statements.
2644 (cslow): use mynumber union.
2645
73616a74
AM
26462013-12-16 Allan McRae <allan@archlinux.org>
2647
9e8ac24b
AM
2648 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2649 * configure: Regenerated.
2650
6f8e37eb
AM
2651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2652
8894bad3
AM
2653 [BZ #14120]
2654 * configure.ac: Added --enable-maintainer-mode. Check for
2655 autoconf when enabled.
2656 * configure: Regenerated.
2657
73616a74
AM
2658 * nscd/nscd.service: New file.
2659 * nscd/nscd.tmpfiles: New file.
2660
584b18eb
OB
26612013-12-14 Ondřej Bílka <neleai@seznam.cz>
2662
2663 [BZ #12100]
2664 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2665 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2666 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2667 (strstr): Add __strstr_sse2_unaligned ifunc.
2668 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2669 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2670 (strcasestr): Remove __strcasestr_sse42 ifunc.
2671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2674
8a5c7897
KK
26752013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2676
2677 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2678 * sysdeps/sh/bits/fenv.h: ... here.
2679 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2680
fd712ef3
AZ
26812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2682
2683 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2684
42fcb46c
AZ
26852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2686
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2688 hypotf multiarch implementations.
2689 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2692 multiarch hypot for PPC64.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2696 multiarch hypotf for PPC64.
2697
83efded4
AZ
26982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2701 modff multiarch implementations.
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2705 multiarch modf for PPC64.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2709 multiarch modff for PPC64.
2710
43e246d2
AZ
27112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2712
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2714 and logl multiarch implementations.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2718 multiarch logb for PPC64.
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2722 multiarch logb for PPC64.
2723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2726 multiarch logb for PPC64.
2727
8fdad123
AZ
27282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729
2730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2731 isinff multiarch implementation.
2732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2733 file.
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2736 multiarch isinf for PPC64.
2737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2738 file.
2739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2740 multiarch isinff for PPC64.
2741
1481d706
AZ
27422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743
2744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2745 finitef multiarch implementation.
2746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2747 file.
2748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2750 multiarch finite for PPC64.
2751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2752 file.
2753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2754 multiarch finitef for PPC64.
2755
5ccd5fc8
AZ
27562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2759 lrint multiarch implementation.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2761 file.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2764 multiarch llrint for PPC64.
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2766 multiarch lrint for PPC64.
2767
2568f3fa
AZ
27682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2769
2770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2771 copysignf multiarch implementation.
2772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2773 file.
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2775 file.
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2777 multiarch copysign for PPC64.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2779 multiarch copysignf for PPC64.
2780
1cb341fd
AZ
27812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2782
2783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2784 multiarch implementation.
2785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2786 file.
2787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2788 file.
2789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2790 file.
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2792 file.
2793 multiarch llround for PPC64.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2795 multiarch trunc for PPC64.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2797 multiarch truncf for PPC64.
2798
59a3e194
AZ
27992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2800
2801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2802 multiarch implementation.
2803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2804 file.
2805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2806 file.
2807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2808 file.
2809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2810 file.
2811 multiarch llround for PPC64.
2812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2813 multiarch round for PPC64.
2814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2815 multiarch roundf for PPC64.
2816
357fd3b4
AZ
28172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2818
2819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2820 multiarch implementation.
2821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2822 file.
2823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2824 file.
2825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2826 file.
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2828 file.
2829 multiarch llround for PPC64.
2830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2831 multiarch floor for PPC64.
2832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2833 multiarch floorf for PPC64.
2834
96770f12
AZ
28352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2836
2837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2838 multiarch implementation.
2839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2840 file.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2842 file.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2844 file.
2845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2846 file.
2847 multiarch llround for PPC64.
2848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2849 multiarch ceil for PPC64.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2851 multiarch ceilf for PPC64.
2852
c3627f6e
AZ
28532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2854
2855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2856 multiarch implementation.
2857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2858 file.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2860 file.
2861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2862 file.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2864 multiarch llround for PPC64.
2865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2866 multiarch lround for PPC64.
2867
b2284ad7
AZ
28682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869
2870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2871 multiarch implementation.
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2875 file.
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2879 multiarch isnan for PPC64.
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2881 multiarch isnanf for PPC64.
2882
69bbc63d
AZ
28832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2884
2885 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2886 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2887 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2888 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2889 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2891
c24517c9
AZ
28922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2893
2894 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2895 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2898
a52374e8
AZ
28992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2900
2901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2902 multiarch implementations.
2903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2904 (__libc_ifunc_impl_list): Likewise.
2905 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2906 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2907 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2908 multiarch stpcpy for PPC64.
2909
7f5ec113
AZ
29102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911
2912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2913 multiarch implementations.
2914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2915 (__libc_ifunc_impl_list): Likewise.
2916 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2917 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2918 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2919 multiarch strcpy for PPC64.
2920
e28bcd42
AZ
29212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922
2923 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2924 redefine function name.
2925 (_wordcopy_fwd_dest_aligned): Likewise.
2926 (_wordcopy_bwd_aligned): Likewise.
2927 (_wordcopy_bwd_dest_aligned): Likewise.
2928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2929 multiarch implementations.
2930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2931 (__libc_ifunc_impl_list): Likewise.
2932 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2933 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2934 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2935 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2936 multiarch wcscpy for PPC64.
2937
92cacfce
AZ
29382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939
2940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2941 multiarch implementations.
2942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2943 (__libc_ifunc_impl_list): Likewise.
2944 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2945 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2946 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2947 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2948 multiarch wcscpy for PPC64.
2949
7b714620
AZ
29502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2951
2952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2953 multiarch implementations.
2954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2955 (__libc_ifunc_impl_list): Likewise.
2956 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2957 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2958 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2959 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2960 multiarch wcsrchr for PPC64.
2961
16fd2ae3
AZ
29622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963
2964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2965 multiarch implementations.
2966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2967 (__libc_ifunc_impl_list): Likewise.
2968 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2969 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2970 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2971 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2972 multiarch wcschr for PPC64.
2973
9ee2969b
AZ
29742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2975
2976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2977 multiarch implementations.
2978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2979 (__libc_ifunc_impl_list): Likewise.
2980 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2981 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2982 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2983 multiarch strchrnul for PPC64.
2984
372dc060
AZ
29852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2986
2987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2988 implementations.
2989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2990 (__libc_ifunc_impl_list): Likewise.
2991 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2992 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2993 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2994 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2995 strchr for PPC64.
2996
24c2c3b9
AZ
29972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998
2999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3000 implementations.
3001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3002 (__libc_ifunc_impl_list): Likewise.
3003 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3004 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3005 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3006 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3007 strncmp for PPC64.
3008
1c92d9a0
AZ
30092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3010
3011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3012 multiarch implementations.
3013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3014 (__libc_ifunc_impl_list): Likewise.
3015 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3016 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3017 strncasecmp for PPC64.
3018 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3019 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3020 multiarch strncasecmp_l for PPC64.
3021
17de3ee3
AZ
30222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3025 multiarch implementations.
3026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3027 (__libc_ifunc_impl_list): Likewise.
3028 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3030 multiarch strcasecmp for PPC64.
3031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3032 file.
3033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3034 multiarch strcasecmp_l for PPC64.
3035
62982bf9
AZ
30362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037
3038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3039 implementations.
3040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3041 (__libc_ifunc_impl_list): Likewise.
3042 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3043 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3044 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3045 strnlen for PPC64.
3046
a65f4904
AZ
30472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3048
3049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3050 implementations.
3051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3052 (__libc_ifunc_impl_list): Likewise.
3053 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3054 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3055 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3056 strlen for PPC64.
3057
1fd005ad
AZ
30582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3061 implementations.
3062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3063 (__libc_ifunc_impl_list): Likewise.
3064 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3065 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3066 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3067 rawmemrchr for PPC64.
3068
cd05ba91
AZ
30692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3070
3071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3072 implementation.
3073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3074 (__libc_ifunc_impl_list): Likewise.
3075 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3076 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3077 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3078 memrchr for PPC64.
3079
870f8676
AZ
30802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3081
3082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3083 implementation.
3084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3085 (__libc_ifunc_impl_list): Likewise.
3086 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3087 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3088 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3089 memchr for PPC64.
3090
f00be62b
AZ
30912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3092
3093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3094 implementation.
3095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3096 (__libc_ifunc_impl_list): Likewise.
3097 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3098 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3099 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3100 mempcpy for PPC64.
3101
8a29a3d0
AZ
31022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103
3104 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3105 avoid cretion of __bzero symbol.
3106 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3107 Likewise.
3108 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3109 Likewise.
3110 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3111 Likewise.
3112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3113 multiarch implementations.
3114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3115 (__libc_ifunc_impl_list): Likewise.
3116 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3117 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3119 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3120 bzero for PPC32.
3121 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3122 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3123 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3124 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3125 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3126 memset for PPC64.
3127 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3128
07253fcf
AZ
31292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130
3131 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3133 implementations.
3134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3135 (__libc_ifunc_impl_list): Likewise.
3136 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3137 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3138 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3139 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3140 memcmp for PPC64.
3141
b5beafbc
AZ
31422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143
3144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3145 multiarch for POWER/PPC64.
3146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3147 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3154 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3155 memcpy for PPC64.
3156
5e6a4d4b
AZ
31572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158
3159 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3160 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3161 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3162 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3163 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3164 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3165 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3166 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3167 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3168 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3169 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3170 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3171 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3172 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3173 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3181
ddfab6dc
KK
31822013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3183
3184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3185
19b5525e
SP
31862013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3187
3188 * benchtests/Makefile (bench): Add exp2 and log2.
3189 (LDLIBS-bench-exp2): Add -lm.
3190 (LDLIBS-bench-log2): Likewise.
3191 * benchtests/exp2-inputs: New inputs file.
3192 * benchtests/log2-inputs: New inputs file.
3193 * benchtests/log-inputs: Add new inputs.
3194 * benchtests/tan-inputs: Likewise.
3195
196f7f5d
SP
31962013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3197
7a74607f
SP
3198 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3199 definition...
3200 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3201 csloww1, csloww2): ... from here.
3202
196f7f5d
SP
3203 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3204 instead of structures.
3205 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3206 (POLYNOMIAL): Likewise.
3207 (TAYLOR_SLOW): Likewise.
3208 (__sin): Likewise.
3209 (__cos): Likewise.
3210 (slow1): Likewise.
3211 (slow2): Likewise.
3212 (sloww): Likewise.
3213 (sloww1); Likewise.
3214 (sloww2): Likewise.
3215 (bsloww1): Likewise.
3216 (bsloww2): Likewise.
3217 (cslow2): Likewise.
3218 (csloww): Likewise.
3219 (csloww1): Likewise.
3220 (csloww2): Likewise.
3221
0dfa665c
OB
32222013-12-10 Ondřej Bílka <neleai@seznam.cz>
3223
3224 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3225 (__malloc_assert, __libc_realloc, __libc_calloc,
3226 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3227 memcpy and memset.
3228 * malloc/hooks.c (realloc_check): Likewise.
3229
5782a80f
OB
32302013-12-10 Ondřej Bílka <neleai@seznam.cz>
3231
3232 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3233 * malloc/arena.c: Remove PER_THREAD conditional.
3234 [!PER_THREAD]: Remove code.
3235 (ptmalloc_unlock_all2): Likewise.
3236 (ptmalloc_init): Likewise.
3237 (_int_new_arena): Likewise.
3238 (arena_get2): Likewise.
3239 * malloc/hooks.c (__malloc_get_state): Likewise.
3240 (__malloc_set_state): Likewise.
3241 * malloc/malloc.c: Likewise.
3242 (struct malloc_state): Likewise.
3243 (struct malloc_par): Likewise.
3244 (__libc_realloc): Likewise.
3245 (__libc_mallopt): Likewise.
3246
aeb95445
AZ
32472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248
3249 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3250
e8349efd
OB
32512013-12-09 Ondřej Bílka <neleai@seznam.cz>
3252
3253 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3254 macro to a function. Check for zero perturb_byte.
3255 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3256
f3eeb3fc
OB
32572013-12-09 Ondřej Bílka <neleai@seznam.cz>
3258
3259 * malloc/malloc.c: (force_reg): Remove.
3260 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3261 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3262 force_reg by atomic_forced_read.
3263 * malloc/arena.c (ptmalloc_init): Likewise.
3264 * malloc/hooks.c (top_check): Likewise.
3265
be2f9009
AZ
32662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
3268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3269
e7b914bd
MT
32702013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3271
3272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3273
9f0be4f8
JM
32742013-12-08 Joseph Myers <joseph@codesourcery.com>
3275
3276 * math/auto-libm-test-in: Add tests of lgamma.
3277 * math/auto-libm-test-out: Regenerated.
3278 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3279 (M_LOG_2_SQRT_PIl): Likewise.
3280 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3281 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3282 mpfr_f_f1.
3283 (func_calc_desc): Add mpfr_f_f1 union field.
3284 (ARGS1): New macro.
3285 (ARGS2): Likewise.
3286 (ARGS3): Likewise.
3287 (ARGS4): Likewise.
3288 (RET1): Likewise.
3289 (RET2): Likewise.
3290 (CALC): Likewise.
3291 (FUNC): Likewise.
3292 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3293 (test_functions): Add lgamma.
3294 (calc_generic_results): Handle mpfr_f_f1.
3295 * sysdeps/i386/fpu/libm-test-ulps: Update.
3296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3297
24eeafdb
AZ
32982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3299
3300 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3301 __mpn_add_n for PowerPC64/POWER7.
3302 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3303 __mpn_sub_n for PowerPC64/POWER7.
3304
4a2c0fd4
AZ
33052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3306
3307 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3308 __mpn_addmul_1 for PowerPC64.
3309 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3310 __mpn_submul_1 for PowerPC64.
3311 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3312 for PowerPC64.
3313 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3314 for PowerPC64.
3315
4b5b548c
FS
33162013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3317
3318 [BZ #15089]
3319 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3320
0a3ac0aa
AZ
33212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3322
3323 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3324
ccdc8438
AZ
33252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3328 add multiarch folders.
3329 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3330 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3331 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3332 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3333 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3334 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3335 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3336 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3337 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3338 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3339 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3346
2e973d99
AZ
33472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3348
3349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3350 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3352 New file.
3353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3354 New file.
3355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3356 multiarch __ieee754_hypot for PowerPC32.
3357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3358 New file.
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3360 New file.
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3362 multiarch __ieee754_hypotf for PowerPC32.
3363
2d9470b2
AZ
33642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3365
3366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3367 long_double_symbol only if __logbl is defined.
3368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3369 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3371 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3373 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3374 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3375 path for implementation.
3376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3379 logb, and logbl multiarch implementations for PowerPC32.
3380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3381 file.
3382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3383 file.
3384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3385 multiarch logb for PowerPC32.
3386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3387 file.
3388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3389 file.
3390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3391 multiarch logbf for PowerPC32.
3392 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3394 file.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3396 multiarch logbl implementation for PowerPC32.
3397
5212ffce
AZ
33982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3399
3400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3401 and modff multiarch implementations.
3402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3403 New file.
3404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3405 New file.
3406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3407 multiarch modf for PowerPC32.
3408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3409 New file.
3410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3411 New file.
3412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3413 multiarch modff for PowerPC32.
3414
79dccf31
AZ
34152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3416
3417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3418 and lrintf multiarch implementations.
3419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3420 New file.
3421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3422 New file.
3423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3424 multiarch lrint for PowerPC32.
3425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3426 file: multiarch lrintf for PowerPC32.
3427
deb66480
AZ
34282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3429
3430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3431 and lroundf multiarch implementations.
3432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3433 New file.
3434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3435 New file.
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3437 New file.
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3439 multiarch lround for PowerPC32.
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3441 file: multiarch lroundf for PowerPC32.
3442
264b036b
AZ
34432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444
3445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3446 copysign and copysignf multiarch implementations.
3447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3448 New file.
3449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3450 New file.
3451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3452 file: multiarch copysign for PowerPC32.
3453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3454 file: multiarch copysignf for PowerPC32.
3455
d47db6c9
AZ
34562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3457
3458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3459 and truncf multiarch implementations.
3460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3461 New file.
3462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3463 file.
3464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3465 multiarch trunc for PowerPC32.
3466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3467 New file.
3468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3469 New file.
3470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3471 multiarch truncf for PowerPC32.
3472
ddb60b5a
AZ
34732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3474
3475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3476 and roundf multiarch implementations.
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3478 New file.
3479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3480 file.
3481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3482 multiarch round for PowerPC32.
3483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3484 New file.
3485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3486 New file.
3487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3488 multiarch roundf for PowerPC32.
3489
bedcf49b
AZ
34902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3491
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3493 and floorf multiarch implementations.
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3495 New file.
3496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3497 file.
3498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3499 multiarch floor for PowerPC32.
3500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3501 New file.
3502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3503 New file.
3504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3505 multiarch floorf for PowerPC32.
3506
35ae5b40
AZ
35072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3508
3509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3510 and ceilf multiarch implementations.
3511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3512 New file.
3513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3514 file.
3515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3516 multiarch ceil for PowerPC32.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3518 New file.
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3520 file.
3521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3522 multiarch ceilf for PowerPC32.
3523
ae1a4cd9
AZ
35242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3527 is defined.
3528 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3529 FINITEF is defined.
3530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3531 and finitef multiarch implementations.
3532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3533 New file.
3534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3535 file.
3536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3537 multiarch finite for PowerPC32.
3538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3539 New file.
3540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3541 file: multiarch finitef for PowerPC32.
3542
64fffd65
AZ
35432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3544
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3546 and isinff multiarch implementations.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3548 file.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3550 file.
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3552 multiarch isinf for PowerPC32.
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3554 New file.
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3556 multiarch isinff for PowerPC32.
3557
8e4e7ba2
AZ
35582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559
3560 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3561 alias when __isnan is defined.
3562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3563 and isnanf multiarch implementations.
3564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3565 file.
3566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3567 file.
3568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3569 file.
3570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3571 file.
3572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3573 multiarch isnan for PowerPC32.
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3575 New file.
3576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3577 New file.
3578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3579 multiarch isnanf for PowerPC32.
3580
ddba588e
AZ
35812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3582
3583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3584 and sqrtf multiarch implementations.
3585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3586 file.
3587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3588 file.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3590 multiarch sqrt for PowerPC32.
3591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3592 file.
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3594 file.
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3596 multiarch sqrtf for PowerPC32.
3597
0f96a2f0
AZ
35982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3599
3600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3601 and llroundf multiarch implementations.
3602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3603 New file.
3604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3605 New file.
3606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3607 New file.
3608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3609 file: multiarch llround for PowerPC32.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3611 file: multiarch llroundf for PowerPC32.
3612
c9b5d79e
AZ
36132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614
3615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3616 multiarch PowerPC32 fpu implementations.
3617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3618 New file.
3619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3620 New file.
3621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3622 multiarch llrint for PowerPC32.
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3624 New file.
3625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3626 New file.
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3628 file.
3629
9cbb3aab
AZ
36302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3631
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3633
ea5a72f8
AZ
36342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3635
3636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3637 file.
3638 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3639 file.
3640 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3641 file.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3643 multiarch wordcopy for PPC32.
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3645 wordcopy objects.
3646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3647 (__libc_ifunc_impl_list): Likewise.
3648 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3649 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3651 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3652 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3653 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3654
93be09e7
AZ
36552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3656
3657 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3658 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3659 file.
3660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3661 file.
3662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3663 file.
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3665 multiarch wcscpy for PPC32.
3666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3667 multiarch objects.
3668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3669 (__libc_ifunc_impl_list): Likewise.
3670 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3671 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3672 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3673 sysdeps/powerpc/power6/wcscpy.c.
3674
bb04e529
AZ
36752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3676
3677 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3679 file.
3680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3681 file.
3682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3683 file.
3684 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3685 multiarch wcsrchr for PPC32.
3686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3687 multiarch objects.
3688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3689 (__libc_ifunc_impl_list): Likewise.
3690 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3691 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3692 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3693 sysdeps/powerpc/power6/wcsrchr.c.
3694
05b5cd1c
AZ
36952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3696
3697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3698 file.
3699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3700 file.
3701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3703 multiarch wcschr for PPc32.
3704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3705 multiarch objects.
3706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3707 (__libc_ifunc_impl_list): Likewise.
3708 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3709 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3710 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3711 sysdeps/powerpc/power6/wcschr.c.
3712
ba964147
AZ
37132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3714
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3716 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3717 file.
3718 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3719 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3720 file: multiarch strchr for PPC32.
3721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3722 multiarch objects.
3723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3724 (__libc_ifunc_impl_list): Likewise.
3725
31c81aaa
AZ
37262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727
3728 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3729 name.
3730 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3731 file.
3732 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3733 file.
3734 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3735 multiarch strchrnul for PPC32.
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3737 multiarch objects.
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3739 (__libc_ifunc_impl_list): Likewise.
3740
0d0607d9
AZ
37412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742
3743 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3744 file.
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3746 multiarch strncasecmp for PPC32.
3747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3748 file.
3749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3750 multiarch strncasecmp_l for PPC32.
3751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3752 strncasecmp multiarch objects.
3753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3754 (__libc_ifunc_impl_list): Likewise.
3755
4dfd5c86
AZ
37562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757
3758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3759 file.
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3761 multiarch strncasecmp for PPC32.
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3763 New file.
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3765 multiarch strcasecmp_l for PPC32.
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3767 multiarch objects.
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3769 (__libc_ifunc_impl_list): Likewise.
3770
a19e01a3
AZ
37712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3772
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3774 file.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3776 file.
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3778 multiarch strncmp for PPC32.
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3780 multiarch objects.
3781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3782 (__libc_ifunc_impl_list): Likewise.
3783
ae9cf7a2
AZ
37842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3787 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3788 file.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3790 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3792 multiarch objects.
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3794 (__libc_ifunc_impl_list): Likewise.
3795
3148bb7d
AZ
37962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3797
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3799 file.
3800 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3801 file.
3802 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3804 multiarch objects.
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3806 (__libc_ifunc_impl_list): Likewise.
3807
7af8b946
AZ
38082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3809
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3811 file.
3812 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3813 file.
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3815 multiarch rawmemchr for PPC32.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3817 multiarch objects.
3818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3819 (__libc_ifunc_impl_list): Likewise.
3820
03a6aa6a
AZ
38212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3824 file.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3826 file.
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3828 file: memrchr multiarch for PPC32.
3829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3830 multiarch objects.
3831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3832 (__libc_ifunc_impl_list): Likewise.
3833
1c62e6d9
AZ
38342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3835
3836 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3837 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3838 file.
3839 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3840 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3841 multiarch memchr for PPC32.
3842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3843 multiarch objects.
3844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3845 (__libc_ifunc_impl_list): Likewise.
3846
87da8bdb
AZ
38472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3848
3849 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3850 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3851 file.
3852 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3853 file.
3854 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3855 file: multiarch mempcpy for PPC32.
3856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3857 multiarch objects.
3858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3859 (__libc_ifunc_impl_list): Likewise.
3860
20ed4714
AZ
38612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3862
3863 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3864 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3865 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3867 multiarch bzero for PPC32.
3868 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3869 file.
3870 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3871 file.
3872 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3873 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3874 file: multiarch memset for PPC32.
3875 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3877 memset multiarch objects.
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3879 (__libc_ifunc_impl_list): Likewise.
3880
ab3e3a46
AZ
38812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882
3883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3884 file.
3885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3887 memcmp for PPC32.
3888 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3890 multiarch objects.
3891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3892 (__libc_ifunc_impl_list): Likewise.
3893
930de6f0
AZ
38942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3895
3896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3899 file.
3900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3901 file.
3902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3903 file.
3904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3905 multiarch memcpy for PPC32.
3906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3907 multiarch objects.
3908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3909 (__libc_ifunc_impl_list): Likewise.
3910
4c628e00
AZ
39112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
3913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3914 support multiarch for POWER/PPC32.
3915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3916 Likewise.
3917 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3919 Implies file to make multiarch folder appers before the fpu and
3920 default folder for power4 configuration.
3921
f4479220
SP
39222013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3923
3924 * scripts/bench.pl: Append volatile keyword to type.
3925
8517800f
KK
39262013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3927
3928 * sysdeps/sh/sotruss-lib.c: New file.
3929 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3930
180138f1
AZ
39312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932
3933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3934
bbf37bdc
JM
39352013-12-05 Joseph Myers <joseph@codesourcery.com>
3936
e47cc4e0
JM
3937 [BZ #6810]
3938 * math/w_tgamma.c: Include <errno.h>.
3939 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3940 * math/w_tgammaf.c: Include <errno.h>.
3941 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3942 * math/w_tgammal.c: Include <errno.h>.
3943 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3944 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3945 underflow. Add more tgamma tests.
3946 * math/auto-libm-test-out: Regenerated.
3947 * sysdeps/i386/fpu/libm-test-ulps: Update.
3948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3949
bbf37bdc
JM
3950 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3951 sin, sinh, tan, tanh, tgamma, y0 and y1.
3952 * math/auto-libm-test-out: Regenerated.
3953 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3954 (TEST_COND_x86): Likewise.
3955 (M_E2l): Remove macro.
3956 (M_E3l): Likewise.
3957 (M_2_SQRT_PIl): Likewise.
3958 (M_SQRT_PIl): Likewise.
3959 (M_1_DIV_El): Likewise.
3960 (log_test_data): Use AUTO_TESTS_f_f.
3961 (log10_test_data): Likewise.
3962 (log1p_test_data): Likewise.
3963 (log2_test_data): Likewise.
3964 (sin_test_data): Likewise.
3965 (sin_tonearest_test_data): Likewise.
3966 (sin_towardzero_test_data): Likewise.
3967 (sin_downward_test_data): Likewise.
3968 (sin_upward_test_data): Likewise.
3969 (sinh_test_data): Likewise.
3970 (sinh_tonearest_test_data): Likewise.
3971 (sinh_towardzero_test_data): Likewise.
3972 (sinh_downward_test_data): Likewise.
3973 (sinh_upward_test_data): Likewise.
3974 (tan_test_data): Likewise.
3975 (tan_tonearest_test_data): Likewise.
3976 (tan_towardzero_test_data): Likewise.
3977 (tan_downward_test_data): Likewise.
3978 (tan_upward_test_data): Likewise.
3979 (tanh_test_data): Likewise.
3980 (tgamma_test_data): Likewise.
3981 (y0_test_data): Likewise.
3982 (y1_test_data): Likewise.
3983 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3984 (special_real_inputs): Add pi/4.
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3987
eb5ad6b9
AZ
39882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3989
3990 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3991 "longjmp_target" static probes.
3992 (__longjmp): Rename to __longjmp_symbol.
3993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3994 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3995 on which longjmp to generate.
3996 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3997 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3998 probe.
3999 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4000 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4001 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4002 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4003 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4004 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4006 __longjmp_symbol based on which __longjmp to generate.
4007 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4008 probe.
4009 (setjmp): Rename to setjmp_symbol.
4010 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4011 (_setjmp): Rename to _setjmp_symbol.
4012 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4013 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4014 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4015 which setjmp to generate.
4016 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4017 "longjmp_target" static probes.
4018
d136c6dc
SP
40192013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
9298ecba
SP
4021 * benchtests/README: Add note about output arguments.
4022 * benchtests/bench-sincos.c: Remove file.
4023 * benchtests/sincos-inputs: New file.
4024 * scripts/bench.pl: Identify output arguments and define
4025 static variables for them.
4026
232983e9
SP
4027 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4028
d136c6dc
SP
4029 [BZ #15941]
4030 * Makefile (INSTALL): Add install-plain.texi as the primary
4031 dependency.
4032 * manual/install-plain.texi: New file.
4033 * manual/install.texi: Include node directive only for
4034 non-plaintext output.
4035
699ff837
JM
40362013-12-04 Joseph Myers <joseph@codesourcery.com>
4037
ab07cea8
JM
4038 * stdlib/longlong.h: Update from GCC.
4039
699ff837
JM
4040 [BZ #6807]
4041 [BZ #15901]
4042 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4043 * math/w_j0f.c (y0f): Likewise.
4044 * math/w_j0l.c (__y0l): Likewise.
4045 * math/w_j1.c (y1): Likewise.
4046 * math/w_j1f.c (y1f): Likewise.
4047 * math/w_j1l.c (__y1l): Likewise
4048 * math/w_jn.c (yn): Likewise.
4049 * math/w_jnf.c (ynf): Likewise.
4050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4051 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4052 value for Bessel function domain errors outside _SVID_ mode.
4053 Adjust sign of return value for yn (negative integer, 0).
4054 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4055 by zero in return for negative x and set sign appropriately for
4056 negative n.
4057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4059 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4060 expectations in error cases.
4061 (y1_test_data): Likewise.
4062 (yn_test_data): Likewise.
4063 * sysdeps/i386/fpu/libm-test-ulps: Update.
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4065
5b118558
UW
40662013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4067
4068 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4069 "64" to "64-v1". Add "64-v2".
4070 (abi-64-options): Rename to ...
4071 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4072 (abi-64-condition): Rename to ...
4073 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4074 (abi-64-ld-soname): Rename to ...
4075 (abi-64-v1-ld-soname): ... this.
4076 (abi-64-v2-options): Define.
4077 (abi-64-v2-condition): Likewise.
4078 (abi-64-v2-ld-soname): Likewise.
4079 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4080 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4084
61cd8fe4
UW
40852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4086 Alan Modra <amodra@gmail.com>
4087
4088 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4089 New versions for use with the ELFv2 ABI.
4090 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4091 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4092 declaration.
4093 (struct La_ppc64v2_retval): Likewise.
4094 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4095 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4096 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4097 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4098 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4099 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4100 Do not save or restore CR.
4101 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4102 (_dl_profile_resolve): Do no save or restore CR. Support extended
4103 return values for ELFv2 ABI. Fix location of FPR return registers.
4104 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4105 updated values for _CALL_ELF == 2.
4106 (La_regs, La_retval, int_retval): Likewise.
4107
8b8a692c
UW
41082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4109
4110 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4111 (FRAME_MIN_SIZE_PARM): Likewise.
4112 (FRAME_BACKCHAIN): Likewise.
4113 (FRAME_CR_SAVE): Likewise.
4114 (FRAME_LR_SAVE): Likewise.
4115 (FRAME_TOC_SAVE): Likewise.
4116 (FRAME_PARM_SAVE): Likewise.
4117 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4118 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4119 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4120 (call_mcount_parm_offset): New macro.
4121 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4122 (PROF): Use symbolic stack frame offsets.
4123 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4124 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4125 Redefine in terms of FRAME_MIN_SIZE.
4126 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4127 (_dl_profile_resolve): Likewise. Update comment.
4128 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4129 symbols stack frame offsets.
4130 (__sigsetjmp): Likewise.
4131 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4132 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4133 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4134 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4135
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4137 (FRAME_BACKCHAIN): Remove.
4138 (FRAME_CR_SAVE): Likewise.
4139 (FRAME_LR_SAVE): Likewise.
4140 (FRAME_COMPILER_DW): Likewise.
4141 (FRAME_LINKER_DW): Likewise.
4142 (FRAME_TOC_SAVE): Likewise.
4143 (FRAME_PARM_SAVE): Likewise.
4144 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4145 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4146 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4148 (CHECK_SP): Use symbolic stack frame offsets.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4150 zone" instead of caller's parameter save area for temp storage.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4152 Likewise. Also, use symbolic stack frame offsets.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4154 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4155 our own stack frame instead of the caller's.
4156 (__socket): Use symbolic stack frame offsets.
4157
122b66de
UW
41582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4159 Alan Modra <amodra@gmail.com>
4160
4161 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4162 Define.
4163 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4164 PPC64_LOCAL_ENTRY_OFFSET): Define.
4165 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4166 New function.
4167 (elf_machine_fixup_plt): Call it.
4168 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4169 reloc arguments.
4170 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4172 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4173 r2 before calling target.
4174
696caf1d
UW
41752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4176 Alan Modra <amodra@gmail.com>
4177
4178 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4179 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4180 versions of macros to support ELFv2 ABI.
4181 (LOCALENTRY): New macro.
4182 (ENTRY, EALIGN): Use it.
4183 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4184 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4185 fall through into ENTRY entry point.
4186 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4187 Only define if _CALL_ELF != 2.
4188
4189 (elf_machine_matches_host): Verify ABI version matches.
4190 (RTLD_START): Use LOCALENTRY.
4191 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4192 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4193 (PLT_ENTRY_WORDS): New macro.
4194 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4195 (elf_machine_runtime_setup): Support ELFv2 ABI.
4196 (elf_machine_fixup_plt): Likewise.
4197 (elf_machine_plt_conflict): Likewise.
4198 (resolve_ifunc): Likewise.
4199 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4201 Likewise.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4203 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4205 (makecontext): Support ELFv2 ABI.
4206 * elf/elf.h (EF_PPC64_ABI): Define.
4207
d31beafa
UW
42082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4209
4210 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4211 New assembler macro.
4212 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4213 [ASSEMBLER] (ENTRY): ... but instead here ...
4214 [ASSEMBLER] (EALIGN): ... and here.
4215 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4216 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4217 [!ASSEMBLER] (ENTRY_2): Use it.
4218 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4219 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4221 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4222 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4224 Use PPC64_LOAD_FUNCPTR.
4225
b525166b
UW
42262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4227
4228 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4229
7ec07d9a
AM
42302013-12-04 Alan Modra <amodra@gmail.com>
4231
4232 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4233 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4234 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4235 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4236
4237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4238 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4239 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4240 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4241 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4242 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4243
5162e7dd
UW
42442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4245
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4247 (__makecontext): Fix incorrect CFI when backtracing out of
4248 context created via makecontext.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4250 (__setcontext): Fix incorrect CFI during switch to new context.
4251 (__novec_setcontext): Likewise.
4252
19e3372b
OB
42532013-12-04 Ondřej Bílka <neleai@seznam.cz>
4254
4255 [BZ #4772]
4256 * time/strptime_l.c (__strptime_internal): Allow modifiers
4257 in strptime.
4258 * time/tst-strptime.c (day_tests): Add testcase.
4259
4260
ecaf142d
SP
42612013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4262
4263 * scripts/bench.pl: Skip over blank lines.
4264
fbf964ae
PE
42652013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4266
4267 [BZ #926]
4268 * manual/time.texi (Calendar Time): Clarify what timezone functions
4269 use.
4270
fa60a674
AZ
42712013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4272
4273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4274
d674f0ef
OB
42752013-12-04 Ondřej Bílka <neleai@seznam.cz>
4276
4277 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4278 implementation.
4279 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4280 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4281 * debug/memset_chk.c (__memset_chk): Likewise.
4282 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4283 * debug/strncpy_chk.c: Likewise.
4284
17dea188
JM
42852013-12-03 Joseph Myers <joseph@codesourcery.com>
4286
749008ff
JM
4287 [BZ #15268]
4288 [BZ #15425]
4289 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4290 (__ieee754_exp): For possibly underflowing results, check size of
4291 result and force underflow exception if required.
4292 * math/auto-libm-test-in: Add more tests of exp.
4293 * math/auto-libm-test-out: Regenerated.
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296
17dea188
JM
4297 [BZ #16283]
4298 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4299 * math/w_exp2f.c (__exp2f): Likewise.
4300 * math/w_exp2l.c (__exp2l): Likewise.
4301 * math/auto-libm-test-in: Do not allow missing errno on exp2
4302 underflow.
4303 * math/auto-libm-test-out: Regenerated.
4304
b20de2c3
OB
43052013-12-03 Ondřej Bílka <neleai@seznam.cz>
4306
4307 [BZ #16274]
4308 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4309 handle filename validation.
4310 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4311 (do_open): Delete.
4312
d8e2dbe3
JM
43132013-12-03 Joseph Myers <joseph@codesourcery.com>
4314
34e16df5
JM
4315 [BZ #6786]
4316 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4317 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4318 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4319 <float.h>.
4320 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4321 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4322 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4324 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4326 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4327 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4328 Add more erfc tests.
4329 * math/auto-libm-test-out: Regenerated.
4330 * sysdeps/i386/fpu/libm-test-ulps: Update.
4331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4332
d8e2dbe3
JM
4333 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4334 exp2, expm1, j0 and j1.
4335 * math/auto-libm-test-out: Regenerated.
4336 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4337 (erfc_test_data): Likewise.
4338 (exp_test_data): Likewise.
4339 (exp_tonearest_test_data): Likewise.
4340 (exp_towardzero_test_data): Likewise.
4341 (exp_downward_test_data): Likewise.
4342 (exp_upward_test_data): Likewise.
4343 (exp10_test_data): Likewise.
4344 (exp2_test_data): Likewise.
4345 (expm1_test_data): Likewise.
4346 (j0_test_data): Likewise.
4347 (j1_test_data): Likewise.
4348 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4349 (input_flag_type): Add flag_xfail_rounding.
4350 (input_flags): Add xfail-rounding.
4351 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4352 (output_for_one_input_case): Handle flag_xfail_rounding.
4353 * sysdeps/i386/fpu/libm-test-ulps: Update.
4354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355
18d14251
AJ
43562013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4357
3d2e6075 4358 [BZ #16289]
18d14251
AJ
4359 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4360 division by 0.
4361
520d437b
SP
43622013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4363
4364 [BZ #16195]
4365 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4366 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4367 (STAP_PROBE0): New macro.
4368 (STAP_PROBE1): Likewise.
4369 (STAP_PROBE2): Likewise.
4370 (STAP_PROBE3): Likewise.
4371 (STAP_PROBE4): Likewise.
4372
416e0145
OB
43732013-12-02 Ondřej Bílka <neleai@seznam.cz>
4374
4375 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4376
9d17796a
SE
43772013-12-02 Steve Ellcey <sellcey@mips.com>
4378
4379 * benchtests/Makefile (bench): Add sqrt.
4380 (LDLIBS-bench-sqrt): New.
4381 * benchtests/sqrt-input: New.
4382
f524d6a8
PS
43832013-12-02 Pavel Simerda <psimerda@redhat.com>
4384
639a0ef8
PS
4385 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4386 (GAIH_EAI): Likewise.
4387 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4388 (gaih_inet): Likewise.
4389 (getaddrinfo): Don't use GAIH_EAI.
4390
f524d6a8
PS
4391 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4392 (struct gaih): Remove definition.
4393
df3aedaf
SP
43942013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4395
4396 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4397 Use HERRNOP directly.
4398
1ab19dec
AZ
43992013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4400
b42ad38d 4401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4402
176b0c79
JM
44032013-11-30 Joseph Myers <joseph@codesourcery.com>
4404
4405 * math/gen-auto-libm-tests.c (test_functions): Add more
4406 single-argument functions.
4407 (special_fill_pi_2): New function.
4408 (special_fill_minus_pi_2): Likewise.
4409 (special_fill_pi_6): Likewise.
4410 (special_fill_minus_pi_6): Likewise.
4411 (special_fill_pi_3): Likewise.
4412 (special_fill_2pi_3): Likewise.
4413 (special_fill_e): Likewise.
4414 (special_fill_1_e): Likewise.
4415 (special_fill_e_minus_1): Likewise.
4416 (special_real_inputs): Add more special inputs.
4417 (output_for_one_input_case): Do not require ERANGE on underflow to
4418 zero if round-to-nearest result does not underflow to zero, unless
4419 exact results required.
4420 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4421 atan, atanh, cbrt, cos and cosh.
4422 * math/auto-libm-test-out: Regenerated.
4423 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4424 (acos_tonearest_test_data): Likewise.
4425 (acos_towardzero_test_data): Likewise.
4426 (acos_downward_test_data): Likewise.
4427 (acos_upward_test_data): Likewise.
4428 (acosh_test_data): Likewise.
4429 (asin_test_data): Likewise.
4430 (asin_tonearest_test_data): Likewise.
4431 (asin_towardzero_test_data): Likewise.
4432 (asin_upward_test_data): Likewise.
4433 (asinh_test_data): Likewise.
4434 (atan_test_data): Likewise.
4435 (atanh_test_data): Likewise.
4436 (cbrt_test_data): Likewise.
4437 (cos_test_data): Likewise.
4438 (cos_tonearest_test_data): Likewise.
4439 (cos_towardzero_test_data): Likewise.
4440 (cos_downward_test_data): Likewise.
4441 (cos_upward_test_data): Likewise.
4442 (cosh_test_data): Likewise.
4443 (cosh_tonearest_test_data): Likewise.
4444 (cosh_towardzero_test_data): Likewise.
4445 (cosh_downward_test_data): Likewise.
4446 (cosh_upward_test_data): Likewise.
4447 * sysdeps/i386/fpu/libm-test-ulps: Update.
4448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4449
ffb536d0
JM
44502013-11-29 Joseph Myers <joseph@codesourcery.com>
4451
2a77a467
JM
4452 [BZ #6787]
4453 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4454 * math/w_exp10f.c (__exp10f): Likewise.
4455 * math/w_exp10l.c (__exp10l): Likewise.
4456 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4457 errno settings in existing tests.
4458
ea3bc4e8
JM
4459 [BZ #14032]
4460 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4461 precision control set to double precision.
4462 * sysdeps/i386/fpu/w_sqrt.c: New file.
4463 * math/auto-libm-test-in: Add more tests.
4464 * math/auto-libm-test-out: Update.
4465
0712c9d8
JM
4466 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4467 (sqrt_test_tonearest): New function.
4468 (sqrt_towardzero_test_data): New variable.
4469 (sqrt_test_towardzero): New function.
4470 (sqrt_downward_test_data): New variable.
4471 (sqrt_test_downward): New function.
4472 (sqrt_upward_test_data): New variable.
4473 (sqrt_test_upward): New function.
4474 (main): Call the new functions.
4475
ffb536d0
JM
4476 * math/gen-auto-libm-tests.c: New file.
4477 * math/auto-libm-test-in: Likewise.
4478 * math/auto-libm-test-out: New generated file.
4479 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4480 variables.
4481 (%beautify): Add generated representations of zero.
4482 (top level): Set $auto_input and call parse_auto_input.
4483 (beautify): Remove trailing "f" from hex float constants.
4484 (parse_args): Handle XFAIL_TEST.
4485 (convert_condition): New function.
4486 (or_value): Likewise.
4487 (or_cond_value): Likewise.
4488 (generate_testfile): Handle AUTO_TESTS_* lines.
4489 (parse_auto_input): New function.
4490 * math/libm-test.inc (XFAIL_TEST): New macro.
4491 (ERRNO_UNCHANGED): Update value.
4492 (ERRNO_EDOM): Likewise.
4493 (ERRNO_ERANGE): Likewise.
4494 (IGNORE_RESULT): Likewise.
4495 (TEST_COND_flt_32): New macro.
4496 (TEST_COND_dbl_64): Likewise.
4497 (TEST_COND_ldbl_96_intel): Likewise.
4498 (TEST_COND_ldbl_96_m68k): Likewise.
4499 (TEST_COND_ldbl_128): Likewise.
4500 (TEST_COND_ldbl_128ibm): Likewise.
4501 (TEST_COND_long32): Likewise.
4502 (TEST_COND_long64): Likewise.
4503 (TEST_COND_before_rounding): Likewise.
4504 (TEST_COND_after_rounding): Likewise.
4505 (enable_test): Handle XFAIL_TEST flag.
4506 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4507 with finite results.
4508 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4509 auto-libm-test-out.
4510
acd98a8e
AK
45112013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4512 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4513
4514 [BZ #16214]
4515 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4516 __tls_get_addr_internal instead of __tls_get_offset in order to
4517 avoid GOT pointer dependency. Make rtld export
4518 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4519 __tls_get_addr since we are a __tls_get_offset platform.
4520 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4521 GOT pointer being set up before.
4522 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4523
3c1c46a6
JM
45242013-11-28 Joseph Myers <joseph@codesourcery.com>
4525
7475aef5
JM
4526 * manual/math.texi (Errors in Math Functions): Document accuracy
4527 goals.
4528
8bca7cd8
JM
4529 [BZ #15004]
4530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4531 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4534 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4546
91a1f3fe
JM
4547 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4548 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4549 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4550 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4551 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4552 Likewise.
4553 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4554 Likewise.
4555 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4556 Likewise.
4557 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4558 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4559 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4560 atomic-feupdateenv and flt-rounds.
4561 * sysdeps/powerpc/nofpu/Versions (libc): Add
4562 __atomic_feholdexcept, __atomic_feclearexcept,
4563 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4564 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4565 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4567 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4568 here.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4570 Update.
4571
c5df7609
JM
4572 * manual/arith.texi (FP Exceptions): Document that exceptions may
4573 not be raised when matherr is used.
4574 (Math Error Reporting): Document overflow in directed rounding
4575 modes. Document that errno may not be set when finite values are
4576 returned on overflow. Document intent to set errno on underflow
4577 only for underflow to zero.
4578
3c1c46a6
JM
4579 [BZ #16271]
4580 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4581 round-to-nearest then adjust result for other rounding modes.
4582 * include/fenv.h (fegetround): Use libm_hidden_proto.
4583 * math/fegetround.c (fegetround): Use libm_hidden_def.
4584 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4585 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4586 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4587 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4588 Likewise.
4589 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4591 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4592 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4593
5a4c6d53
SP
45942013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4595
4596 [BZ #16077]
4597 * nss/Versions (libnss_files): Add
4598 _nss_files_gethostbyname3_r.
4599 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4600 New function.
4601 (HOST_DB_LOOKUP): Remove macro.
4602 (_nss_files_gethostbyname_r): Implement function without the
4603 HOST_DB_LOOKUP macro.
4604 (_nss_files_gethostbyname2_r): Likewise.
4605
897b98ba
OB
46062013-11-28 Ondřej Bílka <neleai@seznam.cz>
4607
4608 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4609
6f476861
UB
46102013-11-26 Uros Bizjak <ubizjak@gmail.com>
4611
4612 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4613 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4614 warning.
4615
bd12ab55
AZ
46162013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617
4618 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4619 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4620 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4621 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4622 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4623 __fe_nomask_env_priv and attribute_hidden.
4624 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4625 (libc_feupdateenv_test_ppc): Likewise.
4626 (libc_feresetround_ppc): Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4628 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4629 compat_symbol macro.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4631 (__fe_nomask_env): Likewise.
4632 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4633
52bb6543
OB
46342013-11-26 Ondřej Bílka <neleai@seznam.cz>
4635
4636 * string/Makefile: Remove ifunc tests.
4637 * string/test-string.h: Define TEST_IFUNC.
4638 * string/test-bcopy-ifunc.c: Remove.
4639 * string/test-bzero-ifunc.c: Likewise.
4640 * string/test-memccpy-ifunc.c: Likewise.
4641 * string/test-memchr-ifunc.c: Likewise.
4642 * string/test-memcmp-ifunc.c: Likewise.
4643 * string/test-memcpy-ifunc.c: Likewise.
4644 * string/test-memmem-ifunc.c: Likewise.
4645 * string/test-memmove-ifunc.c: Likewise.
4646 * string/test-mempcpy-ifunc.c: Likewise.
4647 * string/test-memrchr-ifunc.c: Likewise.
4648 * string/test-memset-ifunc.c: Likewise.
4649 * string/test-rawmemchr-ifunc.c: Likewise.
4650 * string/test-stpcpy-ifunc.c: Likewise.
4651 * string/test-stpncpy-ifunc.c: Likewise.
4652 * string/test-strcasecmp-ifunc.c: Likewise.
4653 * string/test-strcasestr-ifunc.c: Likewise.
4654 * string/test-strcat-ifunc.c: Likewise.
4655 * string/test-strchr-ifunc.c: Likewise.
4656 * string/test-strchrnul-ifunc.c: Likewise.
4657 * string/test-strcmp-ifunc.c: Likewise.
4658 * string/test-strcpy-ifunc.c: Likewise.
4659 * string/test-strcspn-ifunc.c: Likewise.
4660 * string/test-strlen-ifunc.c: Likewise.
4661 * string/test-strncasecmp-ifunc.c: Likewise.
4662 * string/test-strncat-ifunc.c: Likewise.
4663 * string/test-strncmp-ifunc.c: Likewise.
4664 * string/test-strncpy-ifunc.c: Likewise.
4665 * string/test-strnlen-ifunc.c: Likewise.
4666 * string/test-strpbrk-ifunc.c: Likewise.
4667 * string/test-strrchr-ifunc.c: Likewise.
4668 * string/test-strspn-ifunc.c: Likewise.
4669 * string/test-strstr-ifunc.c: Likewise.
4670
ab260039 46712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4672
4673 * benchtests/Makefile: Remove ifunc tests.
4674 * benchtests/bench-string.h: Define TEST_IFUNC.
4675 * benchtests/bench-bcopy-ifunc.c: Remove.
4676 * benchtests/bench-bzero-ifunc.c: Likewise.
4677 * benchtests/bench-memccpy-ifunc.c: Likewise.
4678 * benchtests/bench-memchr-ifunc.c: Likewise.
4679 * benchtests/bench-memcmp-ifunc.c: Likewise.
4680 * benchtests/bench-memcpy-ifunc.c: Likewise.
4681 * benchtests/bench-memmem-ifunc.c: Likewise.
4682 * benchtests/bench-memmove-ifunc.c: Likewise.
4683 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4684 * benchtests/bench-memrchr-ifunc.c: Likewise.
4685 * benchtests/bench-memset-ifunc.c: Likewise.
4686 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4687 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4688 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4689 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4690 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4691 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4692 * benchtests/bench-strcat-ifunc.c: Likewise.
4693 * benchtests/bench-strchr-ifunc.c: Likewise.
4694 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4695 * benchtests/bench-strcmp-ifunc.c: Likewise.
4696 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4697 * benchtests/bench-strcpy-ifunc.c: Likewise.
4698 * benchtests/bench-strcspn-ifunc.c: Likewise.
4699 * benchtests/bench-strlen-ifunc.c: Likewise.
4700 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4701 * benchtests/bench-strncat-ifunc.c: Likewise.
4702 * benchtests/bench-strncmp-ifunc.c: Likewise.
4703 * benchtests/bench-strncpy-ifunc.c: Likewise.
4704 * benchtests/bench-strnlen-ifunc.c: Likewise.
4705 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4706 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4707 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4708 * benchtests/bench-strspn-ifunc.c: Likewise.
4709 * benchtests/bench-strstr-ifunc.c: Likewise.
4710
47112013-11-26 Ondřej Bílka <neleai@seznam.cz>
4712
ab260039
OB
4713 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4714
d1d9eaf4 47152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4716
d1d9eaf4
OB
4717 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4718 * rt/aio.h: Likewise.
4719 * sysdeps/gnu/bits/utmp.h: Likewise.
4720 * sysdeps/gnu/bits/utmpx.h: Likewise.
4721 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4722 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4723 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4724 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4725 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4726 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4727 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4728 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4729 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4730 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4733 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4735 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4740 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4741 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4742 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4745 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4747 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4753 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4755 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4756 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4757 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4758 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4759 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4760 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4761 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4762 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4763
a7624ed9
CD
47642013-11-25 Carlos O'Donell <carlos@redhat.com>
4765
4766 [BZ #16245]
4767 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4768 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4769
63cfe52b
JM
47702013-11-25 Joseph Myers <joseph@codesourcery.com>
4771
4772 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4773 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4774 Likewise.
4775
41e8926a
AZ
47762013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4777
4778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4779 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4780 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4781 (__fesetround): Remove define.
4782 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4783 rounding and exceptions handling.
4784 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4785 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4786 (__fe_nomask_env): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4788 __fegetround instead of fegetround.
4789 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4790 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4791
6851bd4d
RM
47922013-11-21 Roland McGrath <roland@hack.frob.com>
4793
070906ff
RM
4794 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4795 it's there.
4796
6851bd4d
RM
4797 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4798
84ae135d
MI
47992013-11-21 Meador Inge <meadori@codesourcery.com>
4800
4801 [BZ #11157]
4802 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4803 (encrypt_r): Likewise.
4804 * malloc/obstack.h (obstack_free): Likewise.
4805 * posix/unistd.h (encrypt): Likewise.
4806
daf75146
GM
48072013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4808
4809 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4810 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4811 DL_CALL_DT_FINI() that call the functions directly.
4812 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4813 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4814 * elf/dl-fini.c: Likewise.
4815
10ad46bc
OB
48162013-11-20 Ondřej Bílka <neleai@seznam.cz>
4817
4818 * malloc/hooks.c (memalign_check): Add alignment rounding.
4819 * malloc/malloc.c (_mid_memalign): New function.
4820 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4821 Implement by calling _mid_memalign.
4822 * manual/probes.texi (Memory Allocation Probes): Remove
4823 memory_valloc_retry and memory_pvalloc_retry.
4824
f3fd2628
SP
48252013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4712799f
SP
4827 * locale/programs/locarchive.c (open_archive): Add const
4828 qualifier to ARCHIVEFNAME and copy default fname to
4829 DEFAULT_FNAME.
4830
0417b20f
SP
4831 [BZ #15601]
4832 * libio/tst-widetext.input: Rename Oriya to Odia.
4833 * locale/iso-639.def: Likewise.
4834
f3fd2628
SP
4835 * manual/probes.texi (Mathematical Function Probes): Add
4836 documentation for sin, cos, asin and acos probes.
4837 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4838 (__sin32): Add slowasin probe.
4839 (__cos32): Add slowacos probe.
4840 (__mpsin): Add slowsin probe.
4841 (__mpcos): Add slowcos probe.
4842
73c1ce4f
JM
48432013-11-19 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #15483]
4846 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4847 thread-local __sim_exceptions_thread and global
4848 __sim_exceptions_global.
4849 (__sim_disabled_exceptions): Change to thread-local
4850 __sim_disabled_exceptions_thread and global
4851 __sim_disabled_exceptions_global.
4852 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4853 and global __sim_round_mode_global.
4854 (__simulate_exceptions): Use thread-local floating-point state and
4855 set global state from it as needed.
4856 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4857 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4858 __sim_round_mode_thread.
4859 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4860 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4861 and global __sim_exceptions_global.
4862 (__sim_disabled_exceptions): Change to thread-local
4863 __sim_disabled_exceptions_thread and global
4864 __sim_disabled_exceptions_global.
4865 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4866 and global __sim_round_mode_global.
4867 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4868 (SIM_SET_GLOBAL): Likewise.
4869 * sysdeps/powerpc/soft-fp/sfp-machine.h
4870 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4871 __sim_round_mode_thread.
4872 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4873 __sim_disabled_exceptions_thread.
4874 (__sim_exceptions): Change to __sim_exceptions_thread.
4875 (__sim_disabled_exceptions): Change to
4876 __sim_disabled_exceptions_thread.
4877 (__sim_round_mode): Change to __sim_round_mode_thread.
4878 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4879 thread-local floating-point state and set global state from it as
4880 needed.
4881 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4882 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4883 (__sim_disabled_exceptions): Remove extern declaration.
4884 (feenableexcept): Use thread-local floating-point state and set
4885 global state from it as needed.
4886 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4887 extern declaration.
4888 (__sim_disabled_exceptions): Likewise.
4889 (__sim_round_mode): Likewise.
4890 (__fegetenv): Use thread-local floating-point state.
4891 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4892 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4893 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4894 floating-point state and set global state from it as needed.
4895 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4896 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4897 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4898 Likewise.
4899 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4900 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4901 Likewise.
4902 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4903 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4904 Use __sim_round_mode_thread.
4905 * math/test-fenv-tls.c: New file.
4906 * math/Makefile (tests): Add test-fenv-tls.
4907 ($(objpfx)test-fenv-tls): Depend on
4908 $(common-objpfx)nptl/libpthread.so.
4909
b5449b12
AS
49102013-11-19 Andreas Schwab <schwab@suse.de>
4911
4912 * locale/programs/locale.c (show_info): Decode wordarray elements.
4913 * locale/categories.def (LC_MONETARY): Add element for
4914 _NL_MONETARY_CRNCYSTR.
4915 * locale/C-monetary.c (conversion_rate): New variable.
4916 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4917 element.
4918
e186536b
CM
49192013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4920
4921 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4922 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4923
5c349950
PP
49242013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4925
4926 * elf/Makefile (tst-auxv): New test.
4927 * elf/tst-auxv.c: New
4928 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4929
699df45b
JM
49302013-11-18 Joseph Myers <joseph@codesourcery.com>
4931
4932 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4933 (hidden_proto): Caller changed.
4934 (hidden_tls_proto): New macro.
4935 (libc_hidden_tls_proto): Likewise.
4936 (rtld_hidden_tls_proto): Likewise.
4937 (libm_hidden_tls_proto): Likewise.
4938 (libresolv_hidden_tls_proto): Likewise.
4939 (librt_hidden_tls_proto): Likewise.
4940 (libdl_hidden_tls_proto): Likewise.
4941 (libnss_files_hidden_tls_proto): Likewise.
4942 (libnsl_hidden_tls_proto): Likewise.
4943 (libnss_nisplus_hidden_tls_proto): Likewise.
4944 (libutil_hidden_tls_proto): Likewise.
4945
b7589107
OB
49462013-11-18 Ondřej Bílka <neleai@seznam.cz>
4947
4948 [BZ #10253]
4949 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4950 (decompose_rpath): Defer expansion to fillin_rpath.
4951 (_dl_init_paths): Pass linkmap to fillin_rpath.
4952
250c23bd
RS
49532013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4954
4955 * benchtests/Makefile: Add strsep.
4956 * benchtests/bench-strsep.c: New file: strsep benchtest.
4957 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4958
a7931fcf
AS
49592013-11-18 Andreas Schwab <schwab@suse.de>
4960
4961 * locale/programs/locale.c (show_info) [case byte]: Check for
4962 '\377' instead of '\177'.
4963 * locale/C-monetary.c (not_available): Always use "\377".
4964 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4965 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4966 detect unavailable sign_posn locale elements.
4967 * locale/localeconv.c (__localeconv): For grouping and
4968 mon_grouping handle "\177" and "\377" like no grouping.
4969 (INT_ELEM): New macro. Use it to set all numeric members.
4970 * locale/programs/ld-monetary.c (monetary_read)
4971 <tok_mon_grouping>: Normalize single -1 to the empty string.
4972 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4973 Likewise.
4974
728dab0e
OB
49752013-11-07 Ondřej Bílka <neleai@seznam.cz>
4976
4977 [BZ #16055]
4978 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4979 when we match (nil).
4980 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4981
66294491
JM
49822013-11-16 Joseph Myers <joseph@codesourcery.com>
4983
ce665817
JM
4984 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4985 (NO_TEST_INLINE): Update value.
4986 (ERRNO_UNCHANGED): Likewise.
4987 (ERRNO_EDOM): Likewise.
4988 (ERRNO_ERANGE): Likewise.
4989 (IGNORE_RESULT): Likewise.
4990 (check_float_internal): Check signs of NaN results if
4991 TEST_NAN_SIGN used.
4992 (check_complex): Pass TEST_NAN_SIGN flag through to second
4993 check_float_internal call.
4994 (copysign_test_data): Add tests with quiet NaNs as second
4995 argument. Use TEST_NAN_SIGN.
4996 (fabs_test_data): Add test of negative quiet NaN argument. Use
4997 TEST_NAN_SIGN.
4998 (signbit_test_data): Add tests of quiet NaN argument.
4999 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5000
ee1466a9
JM
5001 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5002 $ignore_result.
5003 (parse_args): Handle function results specified as IGNORE.
5004 * math/libm-test.inc (IGNORE_RESULT): New macro.
5005 (check_float_internal): Do not check numerical result if flag
5006 IGNORE_RESULT set.
5007 (check_complex): Pass through IGNORE_RESULT to second
5008 check_float_internal call.
5009 (check_int): Do not check numerical result if flag IGNORE_RESULT
5010 set.
5011 (check_long): Likewise.
5012 (check_bool): Likewise.
5013 (check_longlong): Likewise.
5014 (lrint_test_data): Add tests of infinite and NaN arguments.
5015 (lrint_tonearest_test_data): Likewise.
5016 (lrint_towardzero_test_data): Likewise.
5017 (lrint_downward_test_data): Likewise.
5018 (lrint_upward_test_data): Likewise.
5019 (llrint_test_data): Likewise.
5020 (llrint_tonearest_test_data): Likewise.
5021 (llrint_towardzero_test_data): Likewise.
5022 (llrint_downward_test_data): Likewise.
5023 (llrint_upward_test_data): Likewise.
5024 (lround_test_data): Likewise.
5025 (llround_test_data): Likewise.
5026
14407b7e
JM
5027 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5028 (ERRNO_UNCHANGED): Update value.
5029 (ERRNO_EDOM): Likewise.
5030 (ERRNO_ERANGE): Likewise.
5031 (NO_TEST_INLINE_FLOAT): New macro.
5032 (NO_TEST_INLINE_DOUBLE): Likewise.
5033 (enable_test): New function.
5034 (RUN_TEST_f_f): Check enable_test before running test.
5035 (RUN_TEST_2_f): Likewise.
5036 (RUN_TEST_fff_f): Likewise.
5037 (RUN_TEST_c_f): Likewise.
5038 (RUN_TEST_f_f1): Likewise.
5039 (RUN_TEST_fF_f1): Likewise.
5040 (RUN_TEST_fI_f1): Likewise.
5041 (RUN_TEST_ffI_f1): Likewise.
5042 (RUN_TEST_c_c): Likewise.
5043 (RUN_TEST_cc_c): Likewise.
5044 (RUN_TEST_f_i): Likewise.
5045 (RUN_TEST_f_i_tg): Likewise.
5046 (RUN_TEST_ff_i_tg): Likewise.
5047 (RUN_TEST_f_b): Likewise.
5048 (RUN_TEST_f_b_tg): Likewise.
5049 (RUN_TEST_f_l): Likewise.
5050 (RUN_TEST_f_L): Likewise.
5051 (RUN_TEST_fFF_11): Likewise.
5052 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5053 conditionals.
5054 (cosh_test_data): Likewise.
5055 (exp_test_data): Likewise.
5056 (expm1_test_data): Likewise.
5057 (hypot_test_data): Likewise.
5058 (pow_test_data): Likewise.
5059 (sinh_test_data): Likewise.
5060 (tanh_test_data): Likewise.
5061 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5062 flags argument.
5063
ca07f197
JM
5064 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5065 tests with quiet NaN input and output.
5066 (acosh_test_data): Likewise.
5067 (asin_test_data): Likewise.
5068 (asinh_test_data): Likewise.
5069 (atan_test_data): Likewise.
5070 (atanh_test_data): Likewise.
5071 (atan2_test_data): Likewise.
5072 (cbrt_test_data): Likewise.
5073 (cos_test_data): Likewise.
5074 (cosh_test_data): Likewise.
5075 (erf_test_data): Likewise.
5076 (erfc_test_data): Likewise.
5077 (exp_test_data): Likewise.
5078 (exp10_test_data): Likewise.
5079 (exp2_test_data): Likewise.
5080 (expm1_test_data): Likewise.
5081 (hypot_test_data): Likewise.
5082 (j0_test_data): Likewise.
5083 (j1_test_data): Likewise.
5084 (jn_test_data): Likewise.
5085 (lgamma_test_data): Likewise.
5086 (log_test_data): Likewise.
5087 (log10_test_data): Likewise.
5088 (log1p_test_data): Likewise.
5089 (log2_test_data): Likewise.
5090 (pow_test_data): Likewise.
5091 (scalb_test_data): Likewise.
5092 (sin_test_data): Likewise.
5093 (sincos_test_data): Likewise.
5094 (sinh_test_data): Likewise.
5095 (tan_test_data): Likewise.
5096 (tanh_test_data): Likewise.
5097 (tgamma_test_data): Likewise.
5098 (y0_test_data): Likewise.
5099 (y1_test_data): Likewise.
5100 (yn_test_data): Likewise.
5101
66294491
JM
5102 [BZ #16167]
5103 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5104 argument being NaN and avoid computations with second argument in
5105 that case.
5106 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5107 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5108 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5109
1820b143
CL
51102013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5111
5112 * locale/iso-639.def: Add Chitwani Tharu (the).
5113
714bd261
AS
51142013-11-14 Andreas Schwab <schwab@suse.de>
5115
5116 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5117 word instead of empty string.
5118
7ab44563
AZ
51192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5120
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5122 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5124 (__fe_nomask_env): Likewise.
5125
e8470ea2
SE
51262013-11-13 Steve Ellcey <sellcey@mips.com>
5127
5128 * benchtests/bench-timing.h: Include time.h.
5129
17c1d9f0
L
51302013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5131
5132 [BZ #15997]
5133 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5134 to 3.4.0 for x32.
5135 * sysdeps/unix/sysv/linux/configure: Regenerated.
5136
9310c284
JM
51372013-11-13 Joseph Myers <joseph@codesourcery.com>
5138
5139 [BZ #16151]
5140 * stdlib/strtod_l.c (round_and_return): Do not consider
5141 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5142 exponent one less than half the least subnormal exponent.
5143 * stdlib/test-strtod-round-data: Add more tests.
5144 * stdlib/tst-strtod-round.c (tests): Regenerated.
5145
7a2ad8cf
AZ
51462013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147
5148 [BZ #14143]
5149 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5150 (__fe_mask_env): Likewise.
5151 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5152 libm_hidden_proto and add function prototype.
5153 (__fe_mask_env): Add function prototype.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5155 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5157 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5159 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5160
50727aa7
MS
51612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5162
b2f386c1 5163 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5164 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5165
a615be46
MS
51662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5167
5168 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5169 of htab_find_slot().
5170
7ddace62
DM
51712013-11-11 David S. Miller <davem@davemloft.net>
5172
5173 [BZ #16150]
5174 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5175 symbol in the non-vis3 case in static builds.
5176 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5177 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5178 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5179 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5180
9182aa67
JK
51812013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5182
5183 [BZ #387]
5184 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5185 it is empty.
5186
450a2e2d
AZ
51872013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188
b2f386c1
SP
5189 * benchtests/Makefile: Add bench-strtod.
5190 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5191
8ec3f656
AS
51922013-11-11 Andreas Schwab <schwab@suse.de>
5193
5194 [BZ #16153]
5195 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5196 terminating NUL in key length.
5197
76a9b998
AZ
51982013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199
5200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5201 Add artificial ODP entry for vDSO symbol for PPC64.
5202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5203 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5204
e4368156
OB
52052013-11-07 Ondřej Bílka <neleai@seznam.cz>
5206
5207 [BZ #15374]
5208 * nss/getent.c (services_keys): Recognize services starting with digit.
5209
8d6bb57c
DM
52102013-11-06 David S. Miller <davem@davemloft.net>
5211
5212 [BZ #15985]
5213 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5214 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5215
e256c421
WN
52162013-11-06 Will Newton <will.newton@linaro.org>
5217
5218 * manual/memory.texi (Malloc Examples): Remove register
5219 keyword from examples.
5220
f6e12daa 52212013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5222
f6e12daa 5223 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5224
9d880655
AS
52252013-11-04 Joseph Myers <joseph@codesourcery.com>
5226
fd2f9486 5227 [BZ #6981]
9d880655
AS
5228 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5229 depending on [__GCC_IEC_559 > 0].
5230 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5231 depending on [__GCC_IEC_559_COMPLEX > 0].
5232
ae129d3c
CL
52332013-11-03 Chris Leonard <cjl@sugarlabs.org>
5234
5235 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5236 to iso-639.def.
5237
4a15c2a4 52382013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5239
5240 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5241
8b35e35d
OB
52422013-11-01 Ondřej Bílka <neleai@seznam.cz>
5243
5244 [BZ #16112]
5245 * malloc/malloc (malloc_info): Do not handle first bin as
5246 special case.
5247
1d70fd6c
CL
52482013-11-01 Chris Leonard <cjl@sugarlabs.org>
5249
5250 * locale/iso-639.def: Add Central Nahuatl (nhn).
5251
8c5c2600
BH
52522013-11-01 Bruno Haible <bruno@clisp.org>
5253
5254 [BZ #7003]
5255 * manual/math.texi (BSD Random): Specify range upper bound as
5256 in POSIX.
5257
da5579c2
CL
52582013-10-31 Chris Leonard <cjl@sugarlabs.org>
5259
5260 * locale/iso-639.def: Add Meadow Mari (mhr).
5261
5d30d853
OB
52622013-10-31 Ondřej Bílka <neleai@seznam.cz>
5263
5264 [BZ #14752], [BZ #15763]
5265 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5266 Validate name.
5267 * rt/tst_shm.c: Add test for escaping directory.
5268
a4966c61
AS
52692013-10-31 Andreas Schwab <schwab@suse.de>
5270
8a43e768 5271 [BZ #15917]
a4966c61
AS
5272 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5273 followed by 'x' as part of digit sequence.
5274 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5275
28d708c4
MAP
52762013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5277
5278 [BZ #16037]
5279 * configure.ac: allow GNU Make 4.0 and greater.
5280 * configure: Regenerated.
5281
a56ee40b
WN
52822013-10-30 Will Newton <will.newton@linaro.org>
5283
5284 [BZ #16038]
5285 * malloc/hooks.c (memalign_check): Limit alignment to the
5286 maximum representable power of two.
5287 * malloc/malloc.c (__libc_memalign): Likewise.
5288 * malloc/tst-memalign.c (do_test): Add test for very
5289 large alignment values.
5290 * malloc/tst-posix_memalign.c (do_test): Likewise.
5291
c6e4925d
OB
52922013-10-30 Ondřej Bílka <neleai@seznam.cz>
5293
5294 [BZ #11087]
5295 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5296 (munmap_chunk): Likewise.
5297 (mremap_chunk): Likewise.
5298
52992013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5300
8a43e768 5301 [BZ #15799]
bbea82f7
OB
5302 * stdlib/div.c (div): Remove obsolete code.
5303 * stdlib/ldiv.c (ldiv): Likewise.
5304 * stdlib/lldiv.c (lldiv): Likewise.
5305
977f4b31
SP
53062013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5307
5308 [BZ #16071]
5309 * nss/nss_files/files-XXX.c (get_contents_ret): New
5310 enumerator.
5311 (get_contents): New function.
5312 (internal_getent): Use it. Expand size of LINEBUFLEN.
5313
cb8a6dbd
MF
53142013-10-30 Mike Frysinger <vapier@gentoo.org>
5315
5316 * configure.in: Moved to ...
5317 * configure.ac: ... here. Change reference to configure.in
5318 to configure.ac.
5319 * sysdeps/arm/preconfigure.ac: ... here.
5320 configure.in to configure.ac.
5321 * sysdeps/gnu/configure.in: Moved to ...
5322 * sysdeps/gnu/configure.ac: ... here.
5323 * sysdeps/i386/configure.in: Moved to ...
5324 * sysdeps/i386/configure.ac: ... here.
5325 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5326 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5327 * sysdeps/mach/configure.in: Moved to ...
5328 * sysdeps/mach/configure.ac: ... here.
5329 * sysdeps/mach/hurd/configure.in: Moved to ...
5330 * sysdeps/mach/hurd/configure.ac: ... here.
5331 * sysdeps/powerpc/configure.in: Moved to ...
5332 * sysdeps/powerpc/configure.ac: ... here.
5333 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5334 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5335 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5336 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5337 * sysdeps/s390/s390-32/configure.in: Moved to ...
5338 * sysdeps/s390/s390-32/configure.ac: ... here.
5339 * sysdeps/s390/s390-64/configure.in: Moved to ...
5340 * sysdeps/s390/s390-64/configure.ac: ... here.
5341 * sysdeps/sh/configure.in: Moved to ...
5342 * sysdeps/sh/configure.ac: ... here.
5343 * sysdeps/sparc/configure.in: Moved to ...
5344 * sysdeps/sparc/configure.ac: ... here.
5345 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5346 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5347 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5348 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5349 * sysdeps/x86_64/configure.in: Moved to ...
5350 * sysdeps/x86_64/configure.ac: ... here.
5351 * sysdeps/x86_64/preconfigure.in: Moved to ...
5352 * sysdeps/x86_64/preconfigure.ac: ... here.
5353 * aclocal.m4: Change reference to configure.in to configure.ac.
5354 * config.h.in: Likewise.
5355 * manual/install.texi: Likewise.
5356 * manual/maint.texi: Likewise.
5357 * Makefile: Likewise.
5358 * malloc/Makefile: Likewise.
5359 * nscd/Makefile: Likewise.
5360 * Makeconfig: Change reference to configure.in and
5361 preconfigure.in to configure.ac and preconfigure.ac
5362 respectively.
5363 * INSTALL: Regenerated.
5364 * configure: Likewise.
5365 * sysdeps/gnu/configure: Likewise.
5366 * sysdeps/i386/configure: Likewise.
5367 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5368 * sysdeps/mach/configure: Likewise.
5369 * sysdeps/mach/hurd/configure: Likewise.
5370 * sysdeps/powerpc/configure: Likewise.
5371 * sysdeps/powerpc/powerpc32/configure: Likewise.
5372 * sysdeps/powerpc/powerpc64/configure: Likewise.
5373 * sysdeps/s390/s390-32/configure: Likewise.
5374 * sysdeps/s390/s390-64/configure: Likewise.
5375 * sysdeps/sh/configure: Likewise.
5376 * sysdeps/sparc/configure: Likewise.
5377 * sysdeps/unix/sysv/linux/configure: Likewise.
5378 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5379 * sysdeps/x86_64/configure: Likewise.
5380 * sysdeps/x86_64/preconfigure: Likewise.
5381
36a4953a
AS
53822013-10-29 Andreas Schwab <schwab@suse.de>
5383
5384 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5385
c79a1204
SP
53862013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5387
dfa1b402
SP
5388 * benchtests/pow-inputs: Add new inputs.
5389
54f73d9c
SP
5390 * benchtests/exp-inputs: Add new inputs.
5391
c79a1204
SP
5392 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5393 conditional check for return value.
5394 (__cos32): Likewise.
5395
67beb545 53962013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5397
5398 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5399 to provide a boost for large inputs with word alignment.
5400 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5401 implementation based on optimized PPC64 strcpy.
5402 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5403 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5404 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5405 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5406
151659f6
OB
54072013-10-25 Ondřej Bílka <neleai@seznam.cz>
5408
482a077e 5409 [BZ #2801]
151659f6
OB
5410 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5411
10b0f26b
OB
54122013-10-25 Ondřej Bílka <neleai@seznam.cz>
5413
5414 [BZ #14876]
5415 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5416 * time/tst-strptime.c (day_tests): Add testcase.
5417
ca42d35e
OB
54182013-10-25 Ondřej Bílka <neleai@seznam.cz>
5419
482a077e 5420 [BZ #14029]
ca42d35e
OB
5421 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5422
52e6d801
FB
54232013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5424
5425 [BZ #16074]
5426 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5427 MAP_FAILED on error.
5428
7cbcdb36
SP
54292013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5430
5431 [BZ #16072]
5432 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5433 heap for large requests.
5434
894f3f10
AM
54352013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5436
5437 [BZ #9954]
5438 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5439 result if the result has no associated interface.
5440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5441 interface for all 127.X.Y.Z addresses.
5442
b85545a6
CL
54432013-10-24 Chris Leonard <cjl@sugarlabs.org>
5444
5445 * locale/iso-639.def: Add Ligurian (lij)
5446
d1f23d46
OB
54472013-10-21 Ondřej Bílka <neleai@seznam.cz>
5448
5449 [BZ #15825]
5450 * sunrpc/rpc_main.c: Document rpcgen -5.
5451
4db5b08f
MS
54522013-10-19 Michael Stahl <mstahl@redhat.com>
5453
5454 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5455
a471e96a
OB
54562013-10-19 Ondřej Bílka <neleai@seznam.cz>
5457
d1f23d46 5458 [BZ #10278]
a471e96a
OB
5459 * posix/glob.c: Match only directories when trailing slash is present.
5460 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5461 (main): Add testcase.
5462
45c30c61
OB
54632013-10-19 Ondřej Bílka <neleai@seznam.cz>
5464
5465 [BZ #15670]
5466 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5467
484c12fb
CD
54682013-10-18 Carlos O'Donell <carlos@redhat.com>
5469
3d7dc513
CD
5470 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5471 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5472 AUTH_DES and cindex for FIPS 140-2.
5473 (DES Encryption): Add cindex FIPS 46-3.
5474
484c12fb
CD
5475 * locale/locarchive.h (struct locarhandle): Add fname.
5476 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5477 if an optional argument was specified to --list-archive,
5478 otherwise NULL.
5479 * locale/programs/locarchive.c (show_archive_content): Take new
5480 argument fname and pass it via ah.fname to open_archive.
5481 * locale/programs/localedef.h: Update decl.
5482 (open_archive): If AH->fname is non-null, open that file
5483 rather than the default file name, and don't ignore ENOENT.
5484 (create_archive): Set AH.fname to NULL.
5485 (delete_locales_from_archive): Likewise.
5486 (add_locales_to_archive): Likewise.
5487 * locale/programs/locfile.c (write_all_categories): Likewise.
5488
3c8325fb
JM
54892013-10-18 Joseph Myers <joseph@codesourcery.com>
5490 Aldy Hernandez <aldyh@redhat.com>
5491
5492 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5493 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5494 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5495 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5496 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5498 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5500 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5503 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5504 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5505 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5506 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5507 Likewise.
5508 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5509 Likewise.
5510 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5511 Likewise.
5512 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5513 Likewise.
5514 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5515 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5516 Likewise.
5517 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5518 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5519 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5520 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5521 Likewise.
5522 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5523 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5524 * sysdeps/powerpc/preconfigure: Likewise.
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5526 Likewise.
5527 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5528 Replace contents of file by #include of <fenv_libc.h>.
5529 * sysdeps/powerpc/soft-fp/sfp-machine.h
5530 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5531 and <sys/prctl.h>.
5532 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5545 Allow copysignl PLT reference to be missing.
5546
5abe0682
RS
55472013-10-18 Richard Sandiford <richard@codesourcery.com>
5548 Joseph Myers <joseph@codesourcery.com
5549
5550 [BZ #15948]
5551 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5552 single character.
5553 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5554
c7738d08
SP
55552013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5556
5557 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5558 * elf/tst-tls1.c: Likewise.
5559 * elf/tst-tls10.h: Likewise.
5560 * elf/tst-tls14.c: Likewise.
5561 * elf/tst-tls2.c: Likewise.
5562 * elf/tst-tls3.c: Likewise.
5563 * elf/tst-tls4.c: Likewise.
5564 * elf/tst-tls5.c: Likewise.
5565 * elf/tst-tls6.c: Likewise.
5566 * elf/tst-tls7.c: Likewise.
5567 * elf/tst-tls8.c: Likewise.
5568 * elf/tst-tls9.c: Likewise.
5569 * elf/tst-tlsmod1.c: Likewise.
5570 * elf/tst-tlsmod13.c: Likewise.
5571 * elf/tst-tlsmod13a.c: Likewise.
5572 * elf/tst-tlsmod14a.c: Likewise.
5573 * elf/tst-tlsmod16a.c: Likewise.
5574 * elf/tst-tlsmod16b.c: Likewise.
5575 * elf/tst-tlsmod2.c: Likewise.
5576 * elf/tst-tlsmod3.c: Likewise.
5577 * elf/tst-tlsmod4.c: Likewise.
5578 * elf/tst-tlsmod5.c: Likewise.
5579 * elf/tst-tlsmod6.c: Likewise.
5580
0bfcf2c7
OB
55812013-10-18 Ondřej Bílka <neleai@seznam.cz>
5582
5583 [BZ #12486]
5584 * malloc/malloc.c: remove checks for statistics.
5585
264aad1e
OB
55862013-10-17 Ondřej Bílka <neleai@seznam.cz>
5587
5588 [BZ #15277]
5589 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5590 * inet/tst-network.c: Add testcase.
5591
b957ced8
AS
55922013-10-17 Andreas Schwab <schwab@suse.de>
5593
5594 [BZ #15218]
5595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5596 to determine canonical name.
5597
c5d5d574
OB
55982013-10-17 Ondřej Bílka <neleai@seznam.cz>
5599
5600 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5601 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5624 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5630 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5655 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5657 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5658
e5c2c2d0
JM
56592013-10-17 Joseph Myers <joseph@codesourcery.com>
5660
5661 [BZ #16041]
5662 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5663 make result into a quiet NaN.
5664
51ca9e29
JM
56652013-10-16 Joseph Myers <joseph@codesourcery.com>
5666
5667 * soft-fp/adddf3.c: Fix horizontal whitespace.
5668 * soft-fp/addsf3.c: Likewise.
5669 * soft-fp/addtf3.c: Likewise.
5670 * soft-fp/divdf3.c: Likewise.
5671 * soft-fp/divsf3.c: Likewise.
5672 * soft-fp/divtf3.c: Likewise.
5673 * soft-fp/double.h: Likewise.
5674 * soft-fp/eqdf2.c: Likewise.
5675 * soft-fp/eqsf2.c: Likewise.
5676 * soft-fp/eqtf2.c: Likewise.
5677 * soft-fp/extenddftf2.c: Likewise.
5678 * soft-fp/extended.h: Likewise.
5679 * soft-fp/extendsfdf2.c: Likewise.
5680 * soft-fp/extendsftf2.c: Likewise.
5681 * soft-fp/extendxftf2.c: Likewise.
5682 * soft-fp/fixdfdi.c: Likewise.
5683 * soft-fp/fixdfsi.c: Likewise.
5684 * soft-fp/fixdfti.c: Likewise.
5685 * soft-fp/fixsfdi.c: Likewise.
5686 * soft-fp/fixsfsi.c: Likewise.
5687 * soft-fp/fixsfti.c: Likewise.
5688 * soft-fp/fixtfdi.c: Likewise.
5689 * soft-fp/fixtfsi.c: Likewise.
5690 * soft-fp/fixtfti.c: Likewise.
5691 * soft-fp/fixunsdfdi.c: Likewise.
5692 * soft-fp/fixunsdfsi.c: Likewise.
5693 * soft-fp/fixunsdfti.c: Likewise.
5694 * soft-fp/fixunssfdi.c: Likewise.
5695 * soft-fp/fixunssfsi.c: Likewise.
5696 * soft-fp/fixunssfti.c: Likewise.
5697 * soft-fp/fixunstfdi.c: Likewise.
5698 * soft-fp/fixunstfsi.c: Likewise.
5699 * soft-fp/fixunstfti.c: Likewise.
5700 * soft-fp/floatdidf.c: Likewise.
5701 * soft-fp/floatdisf.c: Likewise.
5702 * soft-fp/floatditf.c: Likewise.
5703 * soft-fp/floatsidf.c: Likewise.
5704 * soft-fp/floatsisf.c: Likewise.
5705 * soft-fp/floatsitf.c: Likewise.
5706 * soft-fp/floattidf.c: Likewise.
5707 * soft-fp/floattisf.c: Likewise.
5708 * soft-fp/floattitf.c: Likewise.
5709 * soft-fp/floatundidf.c: Likewise.
5710 * soft-fp/floatundisf.c: Likewise.
5711 * soft-fp/floatunditf.c: Likewise.
5712 * soft-fp/floatunsidf.c: Likewise.
5713 * soft-fp/floatunsisf.c: Likewise.
5714 * soft-fp/floatunsitf.c: Likewise.
5715 * soft-fp/floatuntidf.c: Likewise.
5716 * soft-fp/floatuntisf.c: Likewise.
5717 * soft-fp/floatuntitf.c: Likewise.
5718 * soft-fp/fmadf4.c: Likewise.
5719 * soft-fp/fmasf4.c: Likewise.
5720 * soft-fp/fmatf4.c: Likewise.
5721 * soft-fp/gedf2.c: Likewise.
5722 * soft-fp/gesf2.c: Likewise.
5723 * soft-fp/getf2.c: Likewise.
5724 * soft-fp/ledf2.c: Likewise.
5725 * soft-fp/lesf2.c: Likewise.
5726 * soft-fp/letf2.c: Likewise.
5727 * soft-fp/muldf3.c: Likewise.
5728 * soft-fp/mulsf3.c: Likewise.
5729 * soft-fp/multf3.c: Likewise.
5730 * soft-fp/negdf2.c: Likewise.
5731 * soft-fp/negsf2.c: Likewise.
5732 * soft-fp/negtf2.c: Likewise.
5733 * soft-fp/op-1.h: Likewise.
5734 * soft-fp/op-2.h: Likewise.
5735 * soft-fp/op-4.h: Likewise.
5736 * soft-fp/op-8.h: Likewise.
5737 * soft-fp/op-common.h: Likewise.
5738 * soft-fp/quad.h: Likewise.
5739 * soft-fp/single.h: Likewise.
5740 * soft-fp/soft-fp.h: Likewise.
5741 * soft-fp/sqrtdf2.c: Likewise.
5742 * soft-fp/sqrtsf2.c: Likewise.
5743 * soft-fp/sqrttf2.c: Likewise.
5744 * soft-fp/subdf3.c: Likewise.
5745 * soft-fp/subsf3.c: Likewise.
5746 * soft-fp/subtf3.c: Likewise.
5747 * soft-fp/truncdfsf2.c: Likewise.
5748 * soft-fp/trunctfdf2.c: Likewise.
5749 * soft-fp/trunctfsf2.c: Likewise.
5750 * soft-fp/trunctfxf2.c: Likewise.
5751 * soft-fp/unorddf2.c: Likewise.
5752 * soft-fp/unordsf2.c: Likewise.
5753 * soft-fp/unordtf2.c: Likewise.
5754
9ebb0332
JM
57552013-10-15 Joseph Myers <joseph@codesourcery.com>
5756
5757 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5758 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5759
4b1a6d8b
OB
57602013-10-15 Ondřej Bílka <neleai@seznam.cz>
5761
5762 * elf/dl-libc.c: Clear initfini list after freeing.
5763
1e145589
JM
57642013-10-14 Joseph Myers <joseph@codesourcery.com>
5765
5766 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5767 * soft-fp/addsf3.c: Likewise.
5768 * soft-fp/addtf3.c: Likewise.
5769 * soft-fp/divdf3.c: Likewise.
5770 * soft-fp/divsf3.c: Likewise.
5771 * soft-fp/divtf3.c: Likewise.
5772 * soft-fp/double.h: Likewise.
5773 * soft-fp/eqdf2.c: Likewise.
5774 * soft-fp/eqsf2.c: Likewise.
5775 * soft-fp/eqtf2.c: Likewise.
5776 * soft-fp/extenddftf2.c: Likewise.
5777 * soft-fp/extended.h: Likewise.
5778 * soft-fp/extendsfdf2.c: Likewise.
5779 * soft-fp/extendsftf2.c: Likewise.
5780 * soft-fp/extendxftf2.c: Likewise.
5781 * soft-fp/fixdfdi.c: Likewise.
5782 * soft-fp/fixdfsi.c: Likewise.
5783 * soft-fp/fixdfti.c: Likewise.
5784 * soft-fp/fixsfdi.c: Likewise.
5785 * soft-fp/fixsfsi.c: Likewise.
5786 * soft-fp/fixsfti.c: Likewise.
5787 * soft-fp/fixtfdi.c: Likewise.
5788 * soft-fp/fixtfsi.c: Likewise.
5789 * soft-fp/fixtfti.c: Likewise.
5790 * soft-fp/fixunsdfdi.c: Likewise.
5791 * soft-fp/fixunsdfsi.c: Likewise.
5792 * soft-fp/fixunsdfti.c: Likewise.
5793 * soft-fp/fixunssfdi.c: Likewise.
5794 * soft-fp/fixunssfsi.c: Likewise.
5795 * soft-fp/fixunssfti.c: Likewise.
5796 * soft-fp/fixunstfdi.c: Likewise.
5797 * soft-fp/fixunstfsi.c: Likewise.
5798 * soft-fp/fixunstfti.c: Likewise.
5799 * soft-fp/floatdidf.c: Likewise.
5800 * soft-fp/floatdisf.c: Likewise.
5801 * soft-fp/floatditf.c: Likewise.
5802 * soft-fp/floatsidf.c: Likewise.
5803 * soft-fp/floatsisf.c: Likewise.
5804 * soft-fp/floatsitf.c: Likewise.
5805 * soft-fp/floattidf.c: Likewise.
5806 * soft-fp/floattisf.c: Likewise.
5807 * soft-fp/floattitf.c: Likewise.
5808 * soft-fp/floatundidf.c: Likewise.
5809 * soft-fp/floatundisf.c: Likewise.
5810 * soft-fp/floatunsidf.c: Likewise.
5811 * soft-fp/floatunsisf.c: Likewise.
5812 * soft-fp/floatuntidf.c: Likewise.
5813 * soft-fp/floatuntisf.c: Likewise.
5814 * soft-fp/floatuntitf.c: Likewise.
5815 * soft-fp/fmadf4.c: Likewise.
5816 * soft-fp/fmasf4.c: Likewise.
5817 * soft-fp/fmatf4.c: Likewise.
5818 * soft-fp/gedf2.c: Likewise.
5819 * soft-fp/gesf2.c: Likewise.
5820 * soft-fp/getf2.c: Likewise.
5821 * soft-fp/ledf2.c: Likewise.
5822 * soft-fp/lesf2.c: Likewise.
5823 * soft-fp/letf2.c: Likewise.
5824 * soft-fp/muldf3.c: Likewise.
5825 * soft-fp/mulsf3.c: Likewise.
5826 * soft-fp/multf3.c: Likewise.
5827 * soft-fp/negdf2.c: Likewise.
5828 * soft-fp/negsf2.c: Likewise.
5829 * soft-fp/negtf2.c: Likewise.
5830 * soft-fp/op-1.h: Likewise.
5831 * soft-fp/op-2.h: Likewise.
5832 * soft-fp/op-4.h: Likewise.
5833 * soft-fp/op-8.h: Likewise.
5834 * soft-fp/op-common.h: Likewise.
5835 * soft-fp/quad.h: Likewise.
5836 * soft-fp/single.h: Likewise.
5837 * soft-fp/soft-fp.h: Likewise.
5838 * soft-fp/sqrtdf2.c: Likewise.
5839 * soft-fp/sqrtsf2.c: Likewise.
5840 * soft-fp/sqrttf2.c: Likewise.
5841 * soft-fp/subdf3.c: Likewise.
5842 * soft-fp/subsf3.c: Likewise.
5843 * soft-fp/subtf3.c: Likewise.
5844 * soft-fp/truncdfsf2.c: Likewise.
5845 * soft-fp/trunctfdf2.c: Likewise.
5846 * soft-fp/trunctfsf2.c: Likewise.
5847 * soft-fp/trunctfxf2.c: Likewise.
5848 * soft-fp/unorddf2.c: Likewise.
5849 * soft-fp/unordsf2.c: Likewise.
5850 * soft-fp/unordtf2.c: Likewise.
5851
17c48a60
OB
58522013-10-14 Ondřej Bílka <neleai@seznam.cz>
5853
5854 [BZ #15672]
5855 * misc/error.c (error_tail): Fix possible buffer overflow.
5856
cabba934
OB
58572013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5858
5859 [BZ #13028]
5860 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5861 address.
5862
94bf958a
PM
58632013-10-14 P. J. McDermott <pj@pehjota.net>
5864
5865 [BZ #832]
5866 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5867 testing pipefail option.
5868
71b4dea7
JM
58692013-10-12 Joseph Myers <joseph@codesourcery.com>
5870
5871 * soft-fp/double.h: Indent preprocessor directives inside #if.
5872 * soft-fp/extended.h: Likewise.
5873 * soft-fp/op-2.h: Likewise.
5874 * soft-fp/op-4.h: Likewise.
5875 * soft-fp/op-common.h: Likewise.
5876 * soft-fp/quad.h: Likewise.
5877 * soft-fp/single.h: Likewise.
5878 * soft-fp/soft-fp.h: Likewise.
5879
55602758
YC
58802013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5881
5882 * iconv/iconv_prog.c: Fix typos.
5883 * stdio-common/psiginfo-data.h: Likewise.
5884
9cd83302
RT
58852013-10-12 Reuben Thomas <rrt@sc3d.org>
5886
5887 [BZ #15764]
5888 * locale/setlocale.c: Fix typo.
5889
99fd9f47
JM
58902013-10-12 Joseph Myers <joseph@codesourcery.com>
5891
b7ea74f0
JM
5892 [BZ #16036]
5893 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5894 signaling NaN arguments.
5895 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5896 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5897
8a509447
JM
5898 [BZ #14910]
5899 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5900 unordered operands.
5901 * soft-fp/gesf2.c (__gesf2): Likewise.
5902 * soft-fp/getf2.c (__getf2): Likewise.
5903 * soft-fp/ledf2.c (__ledf2): Likewise.
5904 * soft-fp/lesf2.c (__lesf2): Likewise.
5905 * soft-fp/letf2.c (__letf2): Likewise.
5906
98998e9f
JM
5907 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5908 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5909 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5910 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5911 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5912 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5913 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5914 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5915 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5916 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5917 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5918 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5919 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5920 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5921 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5922 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5923 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5924 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5925 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5926 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5927 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5928 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5929 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5930 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5931 * soft-fp/floattidf.c (__floattidf): Likewise.
5932 * soft-fp/floattisf.c (__floattisf): Likewise.
5933 * soft-fp/floattitf.c (__floattitf): Likewise.
5934 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5935 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5936 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5937 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5938 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5939 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5940 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5941 * soft-fp/gesf2.c (__gesf2): Likewise.
5942 * soft-fp/getf2.c (__getf2): Likewise.
5943 * soft-fp/ledf2.c (__ledf2): Likewise.
5944 * soft-fp/lesf2.c (__lesf2): Likewise.
5945 * soft-fp/letf2.c (__letf2): Likewise.
5946
8edc4a11
JM
5947 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5948 Undefine and redefine.
5949 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5950 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5951 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5952 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5953 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5954 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5955 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5956 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5957 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5958 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5959 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5960 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5961 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5962 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5963 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5964
8399acaf
JM
5965 [BZ #16032]
5966 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5967 without decrementing exponent if mantissa >= that for the
5968 denominator, not >.
5969 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5970 denominator, not >. Decrement exponent in < case instead of
5971 incrementing in >= case.
5972 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5973 without decrementing exponent if mantissa >= that for the
5974 denominator, not >.
5975
99fd9f47
JM
5976 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5977 computing saturated result for unsigned overflow.
5978
10e1cf6b
SP
59792013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5980 Jeff Law <law@redhat.com>
5981
5982 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5983 (atan2Mp): Add systemtap probe marker.
5984 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5985 (__ieee754_log): Add systemtap probe marker.
5986 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5987 (atanMp): Add systemtap probe marker.
5988 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5989 (tanMp): Add systemtap probe marker.
5990 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5991 (__slowexp): Add systemtap probe marker.
5992 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5993 (__slowpow): Add systemtap probe marker.
5994 * manual/probes.texi: Document probes.
5995
3d110c7c
EB
59962013-10-11 Eric Biggers <ebiggers3@gmail.com>
5997
5998 [BZ #15362]
5999 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6000 written.
6001 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6002 written.
6003 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6004 written to buffer but not flushed.
6005 * libio/iofwrite_u.c: Likewise.
6006 * libio/iopadn.c: Return bytes returned even if EOF was
6007 encountered.
6008 * libio/iowpadn.c: Likewise.
6009 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6010 if _IO_padn does not write the whole buffer.
6011 [!COMPILE_WPRINTF] (PAD): Likewise.
6012
75b4202a
DM
60132013-10-10 David S. Miller <davem@davemloft.net>
6014
6015 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6016 directory block.
6017
6c6352e6
JM
60182013-10-10 Joseph Myers <joseph@codesourcery.com>
6019
33b853c3
JM
6020 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6021 instead of FSF address.
6022 * soft-fp/fixdfti.c: Likewise.
6023 * soft-fp/fixsfti.c: Likewise.
6024 * soft-fp/fixtfti.c: Likewise.
6025 * soft-fp/fixunsdfti.c: Likewise.
6026 * soft-fp/fixunssfti.c: Likewise.
6027 * soft-fp/fixunstfti.c: Likewise.
6028 * soft-fp/floattidf.c: Likewise.
6029 * soft-fp/floattisf.c: Likewise.
6030 * soft-fp/floattitf.c: Likewise.
6031 * soft-fp/floatuntidf.c: Likewise.
6032 * soft-fp/floatuntisf.c: Likewise.
6033 * soft-fp/floatuntitf.c: Likewise.
6034 * soft-fp/trunctfxf2.c: Likewise.
6035
6c6352e6
JM
6036 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6037 * soft-fp/fixdfti.c: Likewise.
6038 * soft-fp/fixsfti.c: Likewise.
6039 * soft-fp/fixtfti.c: Likewise.
6040 * soft-fp/fixunsdfti.c: Likewise.
6041 * soft-fp/fixunssfti.c: Likewise.
6042 * soft-fp/fixunstfti.c: Likewise.
6043 * soft-fp/floattidf.c: Likewise.
6044 * soft-fp/floattisf.c: Likewise.
6045 * soft-fp/floattitf.c: Likewise.
6046 * soft-fp/floatuntidf.c: Likewise.
6047 * soft-fp/floatuntisf.c: Likewise.
6048 * soft-fp/floatuntitf.c: Likewise.
6049 * soft-fp/trunctfxf2.c: Likewise.
6050
3bf78b71
DM
60512013-10-10 David S. Miller <davem@davemloft.net>
6052
6053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6054
6f10289e
JM
60552013-10-10 Joseph Myers <joseph@codsourcery.com>
6056
bd878fc0
JM
6057 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6058 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6059 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6060 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6061 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6062 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6063 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6064
6f10289e
JM
6065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6066 for NaNs before doing comparisons on argument.
6067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6068 Likewise.
6069
321e2684
WN
60702013-10-10 Will Newton <will.newton@linaro.org>
6071
6072 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6073 passed to _int_memalign does not overflow.
6074
40fefba1
TR
60752013-10-10 Torvald Riegel <triegel@redhat.com>
6076
6077 * scripts/bench.pl: Add include-sources directive.
6078 * benchtests/README: Update documentation.
6079
2ae21ed2
JM
60802013-10-10 Joseph Myers <joseph@codesourcery.com>
6081
dcc2dd3f
JM
6082 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6083 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6084 instead of FP_INIT_ROUNDMODE.
6085 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6086 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6087
2ae21ed2
JM
6088 [BZ #16034]
6089 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6090 copy class of input value.
6091 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6092 not handle exceptions.
6093 * soft-fp/negsf2.c (__negsf2): Likewise.
6094 * soft-fp/negtf2.c (__negtf2): Likewise.
6095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6096
cb8f9562
JM
60972013-10-09 Joseph Myers <joseph@codesourcery.com>
6098
6099 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6100 semicolon. From Linux kernel.
6101
5b60c59d
AB
61022013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6103
6104 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6105
b86835ca
YC
61062013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6107
6108 [BZ #156]
6109 * manual/socket.texi: Added statement about buffer
6110 for gethostbyname2_r.
6111
e7044ea7
OB
61122013-10-08 Ondřej Bílka <neleai@seznam.cz>
6113
6114 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6115 Use .p2align directive instead, throughout.
6116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6117 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6118 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6121 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6122 * sysdeps/x86_64/strchr.S: Likewise.
6123 * sysdeps/x86_64/strrchr.S: Likewise.
6124
09544cbc
SP
61252013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6126
88576635
SP
6127 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6128
e7b2d1dd
SP
6129 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6130
09544cbc
SP
6131 * sysdeps/generic/math_private.h (__mpsin1): Remove
6132 declaration.
6133 (__mpcos1): Likewise.
6134 (__mpsin): New argument __range_reduce.
6135 (__mpcos): Likewise.
6136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6137 (slow): Use __mpsin and __mpcos.
6138 (slow1): Likewise.
6139 (slow2): Likewise.
6140 (sloww): Likewise.
6141 (sloww1): Likewise.
6142 (sloww2): Likewise.
6143 (bsloww): Likewise.
6144 (bsloww1): Likewise.
6145 (bsloww2): Likewise.
6146 (cslow2): Likewise.
6147 (csloww): Likewise.
6148 (csloww1): Likewise.
6149 (csloww2): Likewise.
6150 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6151 range_reduce. Merge in __mpsin1.
6152 (__mpcos): Likewise.
6153 (__mpsin1): Remove.
6154 (__mpcos1): Likewise.
6155
7602d070
JM
61562013-10-07 Joseph Myers <joseph@codesourcery.com>
6157
6158 * locale/loadlocale.c (_nl_intern_locale_data): Use
6159 LOCFILE_ALIGNED_P.
6160 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6161 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6162 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6163 obstack data is appropriately aligned.
6164 (obstack_int32_grow_fast): Likewise.
6165 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6166 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6167 (add_locale_uint32_array): Likewise.
6168
a357259b
SP
61692013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6170
6171 * benchtests/Makefile: Remove ARGLIST and RET variables.
6172 ($(objpfx)bench-%.c): Pass only function name to the script.
6173 * benchtests/README: Update documentation.
6174 * benchtests/acos-inputs: Add new directives.
6175 * benchtests/acosh-inputs: Likewise.
6176 * benchtests/asin-inputs: Likewise.
6177 * benchtests/asinh-inputs: Likewise.
6178 * benchtests/atan-inputs: Likewise.
6179 * benchtests/atanh-inputs: Likewise.
6180 * benchtests/cos-inputs: Likewise.
6181 * benchtests/cosh-inputs: Likewise.
6182 * benchtests/exp-inputs: Likewise.
6183 * benchtests/log-inputs: Likewise.
6184 * benchtests/pow-inputs: Likewise.
6185 * benchtests/rint-inputs: Likewise.
6186 * benchtests/sin-inputs: Likewise.
6187 * benchtests/sinh-inputs: Likewise.
6188 * benchtests/tan-inputs: Likewise.
6189 * benchtests/tanh-inputs: Likewise.
6190 * scripts/bench.pl: Add support for new directives.
6191
9ec1b13d
AM
61922013-10-07 Alan Modra <amodra@gmail.com>
6193
6194 * README: Fix careless merge.
6195
8b7d57cd
AM
61962013-10-05 Alan Modra <amodra@gmail.com>
6197
6198 * NEWS: Mention powerpc64le support and bugs fixed.
6199 * README: Both big-endian and little-endian powerpc64 supported.
6200
7b7bab13
ST
62012013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6202
6203 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6204 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6205 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6206 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6207
d39baad1
RA
62082013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6209
6210 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6211 match prototype.
6212
cd78f7e7
JM
62132013-10-04 Joseph Myers <joseph@codesourcery.com>
6214
29d73d86
JM
6215 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6216 Move -mhard-float appending from
6217 ports/sysdeps/powerpc/powerpc32/Makefile.
6218 [$(with-fp) = yes] (ASFLAGS): Likewise.
6219 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6220 * sysdeps/powerpc/nofpu: Move directory from
6221 ports/sysdeps/powerpc/nofpu.
6222 * sysdeps/powerpc/soft-fp: Move directory from
6223 ports/sysdeps/powerpc/soft-fp.
6224 * sysdeps/powerpc/powerpc32/405: Move directory from
6225 ports/sysdeps/powerpc/powerpc32/405.
6226 * sysdeps/powerpc/powerpc32/440: Move directory from
6227 ports/sysdeps/powerpc/powerpc32/440.
6228 * sysdeps/powerpc/powerpc32/464: Move directory from
6229 ports/sysdeps/powerpc/powerpc32/464.
6230 * sysdeps/powerpc/powerpc32/476: Move directory from
6231 ports/sysdeps/powerpc/powerpc32/476.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6233 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6235 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6237 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6239 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6242 * README: Update for powerpc-*-linux-gnu software floating point
6243 support in libc.
6244
e246b347
JM
6245 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6246 case to powerpc/powerpc32*.
6247 * sysdeps/unix/sysv/linux/configure: Regenerated.
6248
89c2003e
JM
6249 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6250 (_FPU_MASK_OM): Define as 0x04.
6251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6253 0x00c10080.
6254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6255 0x0000003c.
6256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6257
cd78f7e7
JM
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6259 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6260 getcontext_e500.
6261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6262 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6263 setcontext_e500.
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6265 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6266 and setcontext_e500.
6267
c755294d
CL
62682013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6269
6270 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6271
e16d221c
SP
62722013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6273
6274 * manual/threads.texi (Default Thread Attributes): Fix typo.
6275
215c7d43
WN
62762013-10-04 Will Newton <will.newton@linaro.org>
6277
6278 * malloc/Makefile: Add tst-memalign.
6279 * malloc/tst-memalign.c: New file.
6280
27d0461b
WN
6281 * malloc/tst-posix_memalign.c: Add comments.
6282 (do_test): Add comments and call free on all potentially
6283 allocated pointers. Add space after cast.
6284
1bc92709
WN
6285 * malloc/tst-pvalloc.c: Add comments.
6286 (do_test): Add comments and call free on all potentially
6287 allocated pointers. Remove duplicate check for NULL pointer.
6288 Add space after cast.
6289
66a9be9d
WN
6290 * malloc/tst-valloc.c: Add comments.
6291 (do_test): Add comments and call free on all potentially
6292 allocated pointers. Remove duplicate check for NULL pointer.
6293 Add space after cast.
6294
4cb81307
AM
62952013-10-04 Alan Modra <amodra@gmail.com>
6296
6297 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6298 Use stdint types in rather than __attribute__((mode())).
6299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6300
f8e3e9f3
AM
63012013-10-04 Alan Modra <amodra@gmail.com>
6302
6303 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6304 Correct handling of unaligned relocs for little-endian.
6305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6306
8f9ebb08
AM
63072013-10-04 Alan Modra <amodra@gmail.com>
6308
6309 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6310 * configure: Regenerate.
6311 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6312 * shlib-versions: Likewise.
6313
0edf96c2
AM
63142013-10-04 Alan Modra <amodra@gmail.com>
6315
6316 * string/tester.c (test_memrchr): Increment reported test cycle.
6317
e0f7a380
AM
63182013-10-04 Alan Modra <amodra@gmail.com>
6319
6320 * string/test-memcpy.c (do_one_test): When reporting errors, print
6321 string address and don't overrun end of string.
6322
466b0393
AM
63232013-10-04 Alan Modra <amodra@gmail.com>
6324
6325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6326 insrdi. Make better use of reg selection to speed exit slightly.
6327 Schedule entry path a little better. Remove useless "are we done"
6328 checks on entry to main loop. Handle wrapping around zero address.
6329 Correct main loop count. Handle single left-over word from main
6330 loop inline rather than by using loop_small. Remove extra word
6331 case in loop_small caused by wrong loop count. Add little-endian
6332 support.
6333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6334 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6335 cache hint.
6336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6338 support. Avoid rlwimi.
6339 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6340
3be87c77
AM
63412013-10-04 Alan Modra <amodra@gmail.com>
6342
6343 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6344 insrdi. Formatting.
3be87c77
AM
6345 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6346 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6347 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6348 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6349 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6350 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6351
759cfef3
AM
63522013-10-04 Alan Modra <amodra@gmail.com>
6353
6354 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6358 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6361 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6362 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6363 use of regs. Use power7 mtocrf. Tidy function tails.
6364
fe6e95d7
AM
63652013-10-04 Alan Modra <amodra@gmail.com>
6366
6367 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6368 Formatting. Consistently use rXXX register defines or rN defines.
6369 Use early exit labels that avoid restoring unused non-volatile regs.
6370 Make cr field use more consistent with rWORDn compares. Rename
6371 regs used as shift registers for unaligned loop, using rN defines
6372 for short lifetime/multiple use regs.
6373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6375 addi 1,1,64 to pop stack frame. Simplify return value code.
6376 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6377
664318c3
AM
63782013-10-04 Alan Modra <amodra@gmail.com>
6379
6380 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6381 support. Correct typos, formatting. Optimize tail. Use insrdi
6382 rather than rlwimi.
6383 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6384 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6385 little-endian support. Correct typos.
6386 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6387 rather than rlwimi.
6388 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6389 in loop and entry code to keep "and." results.
6390 (strchr): Add little-endian support. Comment. Move cntlzd
6391 earlier in tail.
6392 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6393
43b84013
AM
63942013-10-04 Alan Modra <amodra@gmail.com>
6395
6396 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6397 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6398 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6399 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6400
8a7413f9
AM
64012013-10-04 Alan Modra <amodra@gmail.com>
6402
6403 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6404 (rTMP): Define as r11.
6405 (strcmp): Add little-endian support. Optimise tail.
6406 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6407 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6408 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6413
33ee81de
AM
64142013-10-04 Alan Modra <amodra@gmail.com>
6415
6416 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6417 little-endian support. Remove unnecessary "are we done" tests.
6418 Handle "s" wrapping around zero and extremely large "size".
6419 Correct main loop count. Handle single left-over word from main
6420 loop inline rather than by using small_loop. Correct comments.
6421 Delete "zero" tail, use "end_max" instead.
6422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6423
db9b4570
AM
64242013-10-04 Alan Modra <amodra@gmail.com>
6425
6426 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6427 support. Don't branch over align.
6428 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6429 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6430 support. Rearrange tmp reg use to suit. Comment.
6431 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6432
f7c399cf
AM
64332013-10-04 Alan Modra <amodra@gmail.com>
6434
6435 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6436
0b2c2ace
AM
64372013-10-04 Alan Modra <amodra@gmail.com>
6438
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6440 conditional form of branch and link when obtaining pc.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6442
02f04a6c
AM
64432013-10-04 Alan Modra <amodra@gmail.com>
6444
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6446 HIWORD/LOWORD.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6449
9b874b2f
AM
64502013-10-04 Alan Modra <amodra@gmail.com>
6451
6452 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6453 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6454 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6455 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6456 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6457 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6458 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6460 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6461 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6462
be1e5d31
AB
64632013-10-04 Anton Blanchard <anton@au1.ibm.com>
6464 Alistair Popple <alistair@ozlabs.au.ibm.com>
6465 Alan Modra <amodra@gmail.com>
6466
6467 [BZ #15723]
6468 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6469 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6470 _dl_hwcap access for little-endian.
6471 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6472 destroy vmx regs when saving unaligned.
6473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6475 destroy vmx regs when saving unaligned.
6476
fef13a78
AM
64772013-10-04 Alan Modra <amodra@gmail.com>
6478
6479 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6480 Don't use a union to pack hi/low value.
6481
76a66d51
AB
64822013-10-04 Anton Blanchard <anton@au1.ibm.com>
6483
6484 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6485 for little-endian.
6486 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6488 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6490 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6491
6a31fe7f
AM
64922013-10-04 Alan Modra <amodra@gmail.com>
6493
6494 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6495 constants to usual value for .cst8 section, and remove redundant
6496 high address load.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6498 constant for 0x1p52. Load little-endian words of double from
6499 correct stack offsets.
6500
7b88401f
AM
65012013-10-04 Alan Modra <amodra@gmail.com>
6502
6503 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6504 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6505 words of double from correct stack offsets.
6506 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6508 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6513 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6514 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6518 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6519 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6520 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6522 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6523
9c008155
AM
65242013-10-04 Alan Modra <amodra@gmail.com>
6525
6526 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6527 64-bit int/double union.
6528 (_FPU_SETCW): Likewise.
6529 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6530 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6531
da13146d
AM
65322013-10-04 Alan Modra <amodra@gmail.com>
6533
6534 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6535 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6536
603e8410
AM
65372013-10-04 Alan Modra <amodra@gmail.com>
6538
6539 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6540 use vector int constants.
6541 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6542
4a28b3ca
AB
65432013-10-04 Anton Blanchard <anton@au1.ibm.com>
6544
6545 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6546 array with long long.
6547 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6549 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6550 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6552 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6553 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6554 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6555 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6556 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6557 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6558 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6559 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6560
2ca85d2b
AB
65612013-10-04 Anton Blanchard <anton@au1.ibm.com>
6562
6563 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6564 (__signbit): Likewise. Correct for little-endian.
6565 (__signbitl): Call __signbit.
6566 (lrint): Correct for little-endian.
6567 (lrintf): Call lrint.
6568
62a728ae
AM
65692013-10-04 Alan Modra <amodra@gmail.com>
6570
6571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6572 union 32-bit int array member with 64-bit int array.
6573 (t515, tm256): Double rather than long double.
6574 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6575
32c301df
AM
65762013-10-04 Alan Modra <amodra@gmail.com>
6577
6578 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6579 Delete.
6580 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6582 version of math_ldbl.h.
6583
650ef4bd
AM
65842013-10-04 Alan Modra <amodra@gmail.com>
6585
6586 [BZ #15734], [BZ #15735]
6587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6588 all uses of ieee875 long double macros and unions. Simplify test
6589 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6590 ldbl_extract_mantissa value for ix,iy exponents. Properly
6591 normalize after ldbl_extract_mantissa, and don't add hidden bit
6592 already handled. Don't treat low word of ieee854 mantissa like
6593 low word of IBM long double and mask off bit when testing for
6594 zero.
6595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6596 all uses of ieee875 long double macros and unions. Simplify tests
6597 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6598 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6599 two1022, instead use their values. Recognise that tests for large
6600 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6602 Rewrite all uses of ieee875 long double macros and unions. Simplify
6603 test for 0.0L and nan. Correct negation.
6604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6605 ieee875 long double macros and unions. Correct output for large
6606 magnitude x. Correct absolute value calculation.
6607 (__erfcl): Likewise.
6608 * math/libm-test.inc: Add tests for errors discovered in IBM long
6609 double versions of fmodl, remainderl, erfl and erfcl.
6610
765714ca
AM
66112013-10-04 Alan Modra <amodra@gmail.com>
6612
6613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6614 all uses of ieee854 long double macros and unions. Simplify tests
6615 for long doubles that are fully specified by the high double.
6616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6617 Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6619 Remove dead code too.
6620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6621 (__ieee754_ynl): Likewise.
6622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6625 Remove dead code too.
6626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6630 Simplify.
6631 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6632 Simplify.
6633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6636 Comment on variable precision.
6637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6639 Likewise.
6640 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6643 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6645
4ebd120c
AM
66462013-10-04 Alan Modra <amodra@gmail.com>
6647
6648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6650 all uses of ieee854 long double macros and unions.
6651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6656 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6657 Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6664 Simplify sign and nan test too.
6665 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6669 Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6672 Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6679
1b6adf88
AM
66802013-10-04 Alan Modra <amodra@gmail.com>
6681
6682 * stdio-common/printf_size.c (__printf_size): Don't use
6683 union ieee854_long_double in fpnum union.
6684 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6685 signbit macro to retrieve sign from long double.
6686 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6687 retrieve sign from long double.
6688 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6689 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6691 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6692 * math/test-misc.c (main): Don't use union ieee854_long_double.
6693
4cf69995
AM
66942013-10-04 Alan Modra <amodra@gmail.com>
6695
6696 [BZ #15680]
6697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6698 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6699 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6700 calculation. Remove unnecessary test for denormal exponent.
6701 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6702 Correct handling of denormals. Avoid undefined shift behaviour.
6703 Correct normalisation of low mantissa when low double is denormal.
6704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6705 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6706 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6707 Correct normalisation of low mantissa. Test for overflow of high
6708 mantissa and normalise.
6709 (ldbl_nearbyint): Use more readable constant for two52.
6710 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6711 (__mpn_construct_long_double): Fix test for overflow of high
6712 mantissa and correct normalisation. Avoid undefined shift.
6713
9605ca6c
AM
67142013-10-04 Alan Modra <amodra@gmail.com>
6715
6716 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6717 (union ibm_extended_long_double): Define as an array of ieee754_double.
6718 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6719 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6720 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6729
975569d0
JM
67302013-10-03 Joseph Myers <joseph@codesourcery.com>
6731
d3d23756
JM
6732 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6733 page size instead of calling getpagesize.
6734
975569d0
JM
6735 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6736 (LOCFILE_ALIGN_MASK): Likewise.
6737 (LOCFILE_ALIGN_UP): Likewise.
6738 (LOCFILE_ALIGNED_P): Likewise.
6739 * locale/programs/ld-collate.c (collate_output): Use the new
6740 macros instead of __alignof__ (int32_t).
6741 * locale/weight.h (findidx): Likewise.
6742
b1fe1f2b
OB
67432013-10-03 Ondřej Bílka <neleai@seznam.cz>
6744
6745 [BZ #431]
6746 * manual/string.texi: Fix strncat and wcsncat.
6747
5f855e35
BM
67482013-10-03 Brooks Moses <bmoses@google.com>
6749
6750 [BZ #15915]
6751 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6752 * Makerules: ...here, and adjust associated comments.
6753
3cef6009
WN
67542013-10-02 Will Newton <will.newton@linaro.org>
6755
6756 * malloc/Makefile: Add tst-pvalloc.
6757 * malloc/tst-pvalloc.c: New file.
6758
7815420b
WN
67592013-10-02 Will Newton <will.newton@linaro.org>
6760
6761 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6762 improve test coverage.
6763
4868b204
WN
67642013-10-02 Will Newton <will.newton@linaro.org>
6765
6766 * malloc/Makefile: Add tst-posix_memalign.
6767 * malloc/tst-posix_memalign.c: New file.
6768
29c793b3
EB
67692013-10-01 Eric Blake <eblake@redhat.com>
6770
6771 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6772 Use __THROWNL rather than __THROW on static functions.
6773
fd967522
PM
67742013-09-30 Petr Machata <pmachata@redhat.com>
6775
6776 * elf/elf.h (R_AARCH64_ABS16): New macro.
6777 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6778 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6779 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6780 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6781 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6782 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6783 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6784 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6785 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6786 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6787 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6788 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6789 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6790 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6791 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6792 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6793 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6794 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6795 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6796 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6797 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6798 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6799 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6800 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6801 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6802 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6803 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6804 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6805 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6806 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6807 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6808 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6809 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6810 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6811 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6812 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6813 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6814 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6815 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6816 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6817 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6818 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6819 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6820 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6821 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6822 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6823 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6824 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6825 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6826 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6827 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6828 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6829 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6830 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6831 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6832 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6833 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6834 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6835 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6836 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6837 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6838 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6839 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6840 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6841 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6842 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6843 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6844 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6845 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6846 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6847 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6848 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6849 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6850 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6851 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6852 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6853 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6854 (R_AARCH64_TLSDESC_LDR): Likewise.
6855 (R_AARCH64_TLSDESC_ADD): Likewise.
6856 (R_AARCH64_TLSDESC_CALL): Likewise.
6857
b2179107
AS
68582013-09-30 Andreas Schwab <schwab@suse.de>
6859
6860 [BZ #15048]
6861 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6862 the nss database lookup.
6863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6865
47f28d0a
MF
68662013-09-28 Mike Frysinger <vapier@gentoo.org>
6867
6868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6869
68702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6871
6872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6873 ${Bash-specific parameter/pattern/string} parameter expansion.
6874 * sysdeps/unix/make-syscalls.sh: Likewise.
6875
f4518a17
KK
68762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6877
6878 * sysdeps/sh/stackguard-macros.h: New file.
6879
dc1a95c7
OB
68802013-09-26 Ondřej Bílka <neleai@seznam.cz>
6881
6882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6884 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6885 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6887 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6888
5ebbff8f
AZ
68892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890
6891 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6892 Fix thread ID register.
6893
4fd2cf9f
JM
68942013-09-25 Joseph Myers <joseph@codesourcery.com>
6895
6896 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6897 [POSIX || UNIX98]: Require rather than permitting all symbols from
6898 <time.h>.
6899 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6900 element of struct sched_param.
6901 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6902 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6903 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6904 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6905 constant.
6906
12c22bc4
OL
69072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6908
6909 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6910 argument calculation.
6911
a03d8ea7
JM
69122013-09-24 Joseph Myers <joseph@codesourcery.com>
6913
6914 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6915 Expect macro.
6916 [POSIX] (pthread_attr_t): Do not require type.
6917 [POSIX] (pthread_cond_t): Likewise.
6918 [POSIX] (pthread_condattr_t): Likewise.
6919 [POSIX] (pthread_key_t): Likewise.
6920 [POSIX] (pthread_mutex_t): Likewise.
6921 [POSIX] (pthread_mutexattr_t): Likewise.
6922 [POSIX] (pthread_once_t): Likewise.
6923 [POSIX] (pthread_t): Likewise.
6924 [POSIX-based standards] (pthread_atfork): Expect function.
6925
6055173a
JM
69262013-09-24 Joseph Myers <joseph@codesourcery.com>
6927 Richard Sandiford <richard@codesourcery.com>
6928
6929 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6930 (swap_endianness_p): New extern variable.
6931 (set_big_endian): New inline function.
6932 (maybe_swap_uint32): Likewise.
6933 (maybe_swap_uint32_array): Likewise.
6934 (maybe_swap_uint32_obstack): Likewise.
6935 * locale/programs/locfile.c: Include <stdbool.h>.
6936 (swap_endianness_p): New variable.
6937 (add_locale_uint32): Call maybe_swap_uint32.
6938 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6939 (write_locale_data): Call maybe_swap_uint32_array.
6940 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6941 maybe_swap_uint32.
6942 (obstack_int32_grow_fast): Likewise.
6943 (output_weightwc): Call maybe_swap_uint32_obstack.
6944 (collate_output): Likewise.
6945 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6946 (OPT_LITTLE_ENDIAN): Likewise.
6947 (options): Add --little-endian and --big-endian options.
6948 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6949 * locale/programs/locarchive.c: Include "locfile.h".
6950 (GET): New macro.
6951 (SET): Likewise.
6952 (INC): Likewise.
6953 (create_archive): Use the new macros to access fields of
6954 structures directly mapped from or written to locale archives.
6955 (oldlocrecentcmp): Likewise.
6956 (enlarge_archive): Likewise.
6957 (insert_name): Likewise.
6958 (add_alias): Likewise.
6959 (add_locale): Likewise.
6960 (delete_locales_from_archive): Likewise.
6961 (show_archive_content): Likewise.
6962 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6963 locale data.
6964
39bf0bb4
RM
69652013-09-24 Roland McGrath <roland@hack.frob.com>
6966
6967 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6968 http://www.gnu.org/doc/freemanuals.texi.
6969 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6970
f02eed10
WN
69712013-09-24 Will Newton <will.newton@linaro.org>
6972
6973 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6974 macro.
6975
a3a6c312
JM
69762013-09-23 Joseph Myers <joseph@codesourcery.com>
6977
6978 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6979 unsigned char.
6980
107375ac
MR
69812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6982
6983 * manual/threads.texi (POSIX Threads): Fix a typo.
6984
141f3a77
SP
69852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6986
303e567a
SP
6987 [BZ #14547]
6988 * string/tst-strcoll-overflow.c: New test case.
6989 * string/Makefile (xtests): Add tst-strcoll-overflow.
6990 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6991 cache if string sizes may cause integer overflow.
6992
141f3a77
SP
6993 [BZ #14547]
6994 * string/strcoll_l.c (coll_seq): New members rule, idx,
6995 save_idx and back_us.
6996 (get_next_seq_nocache): New function.
6997 (do_compare_nocache): New function.
6998 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6999 when malloc fails.
7000
c61b4d41
CD
70012013-09-23 Carlos O'Donell <carlos@redhat.com>
7002
0b1f8e35
CD
7003 [BZ #15754]
7004 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7005 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7006 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7007
c61b4d41
CD
7008 [BZ #15754]
7009 * elf/Makefile (tests): Add tst-ptrguard1.
7010 (tests-static): Add tst-ptrguard1-static.
7011 (tst-ptrguard1-ARGS): Define.
7012 (tst-ptrguard1-static-ARGS): Define.
7013 * elf/tst-ptrguard1.c: New file.
7014 * elf/tst-ptrguard1-static.c: New file.
7015 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7016 * sysdeps/i386/stackguard-macros.h: Likewise.
7017 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7018 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7019 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7020 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7021 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7022 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7023
70242013-09-23 Hector Marco <hecmargi@upv.es>
7025 Ismael Ripoll <iripoll@disca.upv.es>
7026 Carlos O'Donell <carlos@redhat.com>
7027
7028 [BZ #15754]
7029 * sysdeps/generic/stackguard-macros.h: Define
7030 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7031 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7032 Define __pointer_chk_guard_local.
7033 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7034 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7035
f5f4e7b4
VV
70362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7037
7038 [BZ #15859]
7039 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7040
5bb43a43
AS
70412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7042
7043 * include/string.h (__ffs): Declare as hidden.
7044 * string/ffs.c (__ffs): Define as hidden.
7045 * sysdeps/i386/ffs.c (__ffs): Likewise.
7046 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7047 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7048 * sysdeps/s390/ffs.c (__ffs): Likewise.
7049 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7050
3ea5be54
AO
70512013-09-20 Alexandre Oliva <aoliva@redhat.com>
7052
ffb89e53
AO
7053 * NEWS: Mention malloc probes.
7054
322dea08
AO
7055 * malloc/arena.c (new_heap): New memory_heap_new probe.
7056 (grow_heap): New memory_heap_more probe.
7057 (shrink_heap): New memory_heap_less probe.
7058 (heap_trim): New memory_heap_free probe.
7059 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7060 (systrim): New memory_sbrk_less probe.
7061 * manual/probes.texi: Document them.
7062
655673f3
AO
7063 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7064 * manual/probes.texi: Document it.
7065
35fed6f1
AO
7066 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7067 (__libc_realloc): Add memory_realloc_retry probe.
7068 (__libc_memalign): Add memory_memalign_retry probe.
7069 (__libc_valloc): Add memory_valloc_retry probe.
7070 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7071 (__libc_calloc): Add memory_calloc_retry probe.
7072 * manual/probes.texi: Document them.
7073
6999d38c
AO
7074 * malloc/arena.c (get_free_list): Add probe
7075 memory_arena_reuse_free_list.
7076 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7077 and memory_arena_reuse.
7078 (arena_get2) [!PER_THREAD]: Likewise.
7079 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7080 memory_arena_reuse_realloc.
7081 * manual/probes.texi: Document them.
7082
0653427f
AO
7083 * malloc/malloc.c (__libc_free): Add
7084 memory_mallopt_free_dyn_thresholds probe.
7085 (__libc_mallopt): Add multiple memory_mallopt probes.
7086 * manual/probes.texi: Document them.
7087
3ea5be54
AO
7088 * malloc/malloc.c: Include stap-probe.h.
7089 (__libc_mallopt): Add memory_mallopt probe.
7090 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7091 * manual/probes.texi: New.
7092 * manual/Makefile (chapters): Add probes.
7093 * manual/threads.texi: Set next node.
7094
e35696c3 70952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7096
e35696c3
CL
7097 [BZ #15963, #13985]
7098 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7099 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7100 Add `Chinese' to `nan' entry name.
7101
4aafb73c
SP
71022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7103
7104 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7105 (POLYNOMIAL): Likewise.
7106 (TAYLOR_SINCOS): Likewise.
7107 (TAYLOR_SLOW): Likewise.
7108 (__sin): Use TAYLOR_SINCOS.
7109 (__cos): Likewise.
7110 (slow): Use TAYLOR_SLOW.
7111 (sloww): Likewise.
7112 (bsloww): Likewise.
7113 (csloww): Likewise.
7114
d84f25c7
LD
71152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7116
7117 * stdlib/strtod_l.c: Fix buffer overrun.
7118
5eea0404
SP
71192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7120
7849ff93
SP
7121 * benchtests/Makefile (bench): Add sincos.
7122 * benchtests/bench-sincos.c: New file.
7123
cfa3c886
SP
7124 * math/libm-test.inc (cos_test_data): New test inputs.
7125 (sin_test_data): Likewise.
7126
b348e1e3
SP
7127 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7128 macro.
7129 (__sin): Use it.
7130 (__cos): Likewise.
7131 (slow1): Likewise.
7132 (slow2): Likewise.
7133 (sloww1): Likewise.
7134 (sloww2): Likewise.
7135 (bsloww1): Likewise.
7136 (bsloww2): Likewise.
7137 (cslow2): Likewise.
7138 (csloww1): Likewise.
7139 (csloww2): Likewise.
7140
6cce25f8
SP
7141 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7142 function.
7143 (__sin): Use it.
7144 (__cos): Likewise.
7145
5eea0404
SP
7146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7147 gotos.
7148 (__cos): Likewise.
7149
9c21573c
MR
71502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7151
7152 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7153 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7154 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7155 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7156 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7157 * elf/cache.c (print_entry): Handle the new cache flags.
7158
24d22e65
JM
71592013-09-18 Joseph Myers <joseph@codesourcery.com>
7160 Aldy Hernandez <aldyh@redhat.com>
7161
7162 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7163 Change condition to [_SOFT_FLOAT].
7164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7176 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7179 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7180 declaration.
7181
d13ef066
JM
71822013-09-18 Joseph Myers <joseph@codesourcery.com>
7183
2e071de0
JM
7184 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7186 (__longjmp): Use LOAD_GP to load saved GPRs.
7187 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7188 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7189 (__sigsetjmp): Use SAVE_GP to save GPRs.
7190
d13ef066
JM
7191 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7192 Do not append -msoft-float.
7193 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7194
97a0650b
SP
71952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7196
7197 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7198
11ca09e9
JM
71992013-09-17 Joseph Myers <joseph@codesourcery.com>
7200
7201 [BZ #15966]
7202 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7203 (_FPU_GETCW): Use initial "__" on variable and field names but not
7204 on macro parameter name.
7205 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7206 parentheses around reference to macro parameter.
7207
08ffcf34
RS
72082013-09-13 Richard Sandiford <richard@codesourcery.com>
7209
7210 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7211 prototype.
7212 (ctype_startup): Use uint32_t in cast and sizeof for
7213 ctype->charnames.
7214
ae7080d3
JL
72152013-09-11 Jia Liu <proljc@gmail.com>
7216
7217 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7218 __daddr_t_defined.
7219 [__FreeBSD__]: Likewise.
7220
5905e7b3
OB
72212013-09-11 Ondřej Bílka <neleai@seznam.cz>
7222
7223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7224 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7225 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7226 (strchr): Remove __strchr_sse42 ifunc selection.
7227 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7228 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7229
b987c776
WN
72302013-09-11 Will Newton <will.newton@linaro.org>
7231
7232 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7233 parameter to RES. Remove hardcoded 1000 value.
7234 * benchtests/bench-skeleton.c (main): Pass RES parameter
7235 to TIMING_INIT and multiply result by 1000.
7236
ddf985af
AZ
72372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238
7239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7240
ffdd3181
AS
72412013-09-11 Andreas Schwab <schwab@suse.de>
7242
7243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7244 if not defined.
7245 (O_TMPFILE) [__USE_GNU]: Define.
7246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7247 Define.
7248
b73ed247
WN
72492013-09-11 Will Newton <will.newton@linaro.org>
7250
7251 [BZ #15857]
7252 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7253 does not overflow.
7254
55e17aad
WN
72552013-09-11 Will Newton <will.newton@linaro.org>
7256
7257 [BZ #15856]
7258 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7259 does not overflow.
7260
1159a193
WN
72612013-09-11 Will Newton <will.newton@linaro.org>
7262
7263 [BZ #15855]
7264 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7265 does not overflow.
7266
5905e7b3 72672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7268
7269 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7274
cdfc721b
AM
72752013-09-10 Allan McRae <allan@archlinux.org>
7276
aa04af00
AM
7277 [BZ #15748]
7278 * manual/arith.texi (Parsing of Floats): Clarify
7279 cross-reference.
7280
cdfc721b
AM
7281 [BZ #15849]
7282 * manual/install.texi (Running make install): Mention
7283 --enable-pt-chown.
7284 * INSTALL: Regenerated.
7285
95e7cf29
MR
72862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7287
7288 * csu/init-first.c (_init): Remove the !SHARED condition around
7289 FPU control word initialization.
7290 * elf/dl-support.c (_dl_fpu_control): New variable.
7291 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7292 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7293 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7294 * math/test-fpucw-static.c: New file.
7295 * math/test-fpucw-ieee.c: New file.
7296 * math/test-fpucw-ieee-static.c: New file.
7297 * math/Makefile (tests): Add `test-fpucw-ieee' and
7298 `$(tests-static)'.
7299 (tests-static): New variable.
7300 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7301 dependency to...
7302 [($(build-shared),yes)]
7303 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7304 ... this.
7305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7306 New dependency.
7307
83e43bf0
AM
73082013-09-09 Allan McRae <allan@archlinux.org>
7309
a9f5ce09
AM
7310 [BZ #15939]
7311 * manual/string.texi (Collation Functions): Fix typo in
7312 strcoll example.
7313 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7314
34829bc2
AM
7315 [BZ #15893]
7316 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7317
3932737d
AM
7318 [BZ #15892]
7319 * libio/memstream.c (open_memstream): Fix memory leak.
7320 * libio/wmemstream.c (open_wmemstream): Likewise.
7321
83e43bf0
AM
7322 [BZ #15895]
7323 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7324
0c66b8e9
WN
73252013-09-09 Will Newton <will.newton@linaro.org>
7326
7327 * malloc/Makefile: Add tst-realloc to tests.
7328 * malloc/tst-realloc.c: New file.
7329
f6b00fd1
AM
73302013-09-09 Allan McRae <allan@archlinux.org>
7331
7332 [BZ #15844]
7333 * COPYING: Update from GNU website to fix FSF address.
7334 * COPYING.LIB: Likewise.
7335
eec55e16
DM
73362013-09-06 David S. Miller <davem@davemloft.net>
7337
7338 * po/zh_TW.po: Update Chinese (traditional) translation from
7339 translation project.
7340
1ecbb381
RS
73412013-09-06 Richard Sandiford <richard@codesourcery.com>
7342 Joseph Myers <joseph@codesourcery.com>
7343
7344 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7345 "localeinfo.h".
7346 (obstack_chunk_alloc): New macro.
7347 (obstack_chunk_free): Likewise.
7348 (record_offset): New function.
7349 (init_locale_data): Likewise.
7350 (align_locale_data): Likewise.
7351 (add_locale_empty): Likewise.
7352 (add_locale_raw_data): Likewise.
7353 (add_locale_raw_obstack): Likewise.
7354 (add_locale_string): Likewise.
7355 (add_locale_wstring): Likewise.
7356 (add_locale_uint32): Likewise.
7357 (add_locale_uint32_array): Likewise.
7358 (add_locale_char): Likewise.
7359 (start_locale_structure): Likewise.
7360 (end_locale_structure): Likewise.
7361 (start_locale_prelude): Likewise.
7362 (end_locale_prelude): Likewise.
7363 (write_locale_data): Take locale_file structure rather than an
7364 iovec.
7365 * locale/programs/locfile.h: Include "obstack.h".
7366 (struct locale_file): Change to store locale file contents instead
7367 of header.
7368 (init_locale_data): New prototype.
7369 (align_locale_data): Likewise.
7370 (add_locale_empty): Likewise.
7371 (add_locale_raw_data): Likewise.
7372 (add_locale_raw_obstack): Likewise.
7373 (add_locale_string): Likewise.
7374 (add_locale_wstring): Likewise.
7375 (add_locale_uint32): Likewise.
7376 (add_locale_uint32_array): Likewise.
7377 (add_locale_char): Likewise.
7378 (start_locale_structure): Likewise.
7379 (end_locale_structure): Likewise.
7380 (start_locale_prelude): Likewise.
7381 (end_locale_prelude): Likewise.
7382 (write_locale_data): Update prototype.
7383 * locale/programs/3level.h (struct TABLE): Remove result field.
7384 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7385 Use new locale_file interface.
7386 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7387 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7388 * locale/programs/ld-address.c (address_output): Use new
7389 locale_file interface.
7390 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7391 NO_ADD_LOCALE.
7392 (collate_finish): Don't call collseq_table_finalize.
7393 (collate_output): Use new locale_file interface.
7394 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7395 in file.
7396 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7397 (TABLE): Move defines earlier in file.
7398 (ELEMENT): Likewise.
7399 (DEFAULT): Likewise.
7400 (wctrans_table_add): Move macro and inline function earlier in
7401 file.
7402 (struct wctype_table): Move type earlier in file.
7403 (add_locale_wctype_table): New static prototype.
7404 (struct locale_ctype_t): Use logical types instead of struct iovec
7405 pointers for members.
7406 (ctype_output): Use new locale_file interface.
7407 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7408 new locale_file interface.
7409 (allocate_arrays): Update for use of new locale_file interface.
7410 * locale/programs/ld-identification.c (identification_output): Use
7411 new locale_file interface.
7412 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7413 * locale/programs/ld-messages.c (messages_output): Likewise.
7414 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7415 * locale/programs/ld-name.c (name_output): Likewise.
7416 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7417 * locale/programs/ld-paper.c (paper_output): Likewise.
7418 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7419 * locale/programs/ld-time.c (time_output): Likewise.
7420
e029e2e5
AZ
74212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7422
7423 * benchtests/Makefile: Add memrchr benchmark.
7424 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7425 benchmark as memrchr.
7426 * benchtests/bench-memrchr-ifunc.c: New file.
7427 * benchtests/bench-memrchr.c: New file.
7428
bbf6e8e4
WN
74292013-09-06 Will Newton <will.newton@linaro.org>
7430
7431 * benchtests/Makefile (string-bench): Add memcpy.
7432
6c82a2f8
CD
74332013-09-05 Carlos O'Donell <carlos@redhat.com>
7434 Cong Wang <amwang@redhat.com>
7435
e732c5f0 7436 [BZ #15850]
6c82a2f8
CD
7437 * sysdeps/unix/sysv/linux/bits/in.h
7438 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7439 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7440 before __USE_KERNEL_IPV6_DEFS uses.
7441 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7442 IPPROTO_BEETPH.
7443 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7444 sockaddr_in6, or ipv6_mreq.
7445
5430fc65
AZ
74462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447
7448 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7449 memory access for final bytes in some large inputs.
7450 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7451
4660856c
AZ
74522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7453
7454 * string/test-memrchr.c: New file.
7455 * string/test-memrchr-ifunc.c: New file.
7456 * string/Makefile: Add new memrchr testcase.
7457
bb8ea713
MF
74582013-09-05 Mike Frysinger <vapier@gentoo.org>
7459
7460 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7461 fanotify_init returns EPERM.
7462
b92a20b5
JM
74632013-09-04 Joseph Myers <joseph@codesourcery.com>
7464
7465 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7466 errors.
7467 (top level): Treat second token from macro or constant entries for
7468 allowed headers as allowed.
7469 * include/complex.h: Condition internal declarations on
7470 [!_ISOMAC].
7471 * include/fenv.h: Condition include of <stdbool.h> and internal
7472 declarations on [!_ISOMAC].
7447ccd9
CL
7473
74742013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7475
3e181dda 7476 [BZ #15923]
7447ccd9
CL
7477 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7478
3f2e46a4
JM
74792013-09-04 Joseph Myers <joseph@codesourcery.com>
7480
7481 * configure.in (--enable-versioning): Remove configure option.
7482 (libc_cv_asm_symver_directive): Remove configure test.
7483 (libc_cv_ld_version_script_option): Likewise.
7484 (VERSIONING): Remove variable and AC_SUBST.
7485 (DO_VERSIONING): Remove AC_DEFINE.
7486 * configure: Regenerated.
7487 * config.h.in (DO_VERSIONING): Remove macro.
7488 * Makerules [$(versioning) = yes]: Change conditionals to
7489 [$(build-shared) = yes].
7490 * config.make.in (versioning): Remove variable.
7491 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7492 [$(build-shared) = yes].
7493 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7494 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7495 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7496 [$(build-shared) = yes].
7497 * extra-lib.mk [$(versioning) = yes]: Likewise.
7498 * hurd/Makefile [$(versioning) = yes]: Likewise.
7499 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7500 [SHARED].
7501 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7502 [SHARED].
7503 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7504 [SHARED && !NO_HIDDEN].
7505 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7506 [SHARED].
7507 [SHARED && DO_VERSIONING]: Likewise..
7508 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7509 [$(build-shared) = yes].
7510 * manual/install.texi (--disable-versioning): Remove
7511 documentation.
7512 * INSTALL: Regenerated.
7513 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7514 to [SHARED].
7515 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7516 [$(build-shared) = yes].
7517 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7518 * sysdeps/i386/i686/multiarch/strstr-c.c
7519 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7520 [SHARED && !NO_HIDDEN].
7521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7522 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7523 * sysdeps/powerpc/powerpc32/dl-machine.c
7524 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7525 * sysdeps/powerpc/powerpc32/sysdep.h
7526 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7527 to [SHARED && PIC && !NO_HIDDEN].
7528 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7529 conditional to [SHARED].
7530
44558701
WN
75312013-09-04 Will Newton <will.newton@linaro.org>
7532
7533 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7534 * benchtests/bench-string.h: Include bench-timing.h instead
7535 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7536 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7537 call to HP_TIMING_DIFF_INIT.
7538 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7539 instead of hp-timing.h macros.
7540 * benchtests/bench-memchr.c: Likewise.
7541 * benchtests/bench-memcmp.c: Likewise.
7542 * benchtests/bench-memcpy.c: Likewise.
7543 * benchtests/bench-memmem.c: Likewise.
7544 * benchtests/bench-memmove.c: Likewise.
7545 * benchtests/bench-memset.c: Likewise.
7546 * benchtests/bench-rawmemchr.c: Likewise.
7547 * benchtests/bench-strcasecmp.c: Likewise.
7548 * benchtests/bench-strcasestr.c: Likewise.
7549 * benchtests/bench-strcat.c: Likewise.
7550 * benchtests/bench-strchr.c: Likewise.
7551 * benchtests/bench-strcmp.c: Likewise.
7552 * benchtests/bench-strcpy.c: Likewise.
7553 * benchtests/bench-strcpy_chk.c: Likewise.
7554 * benchtests/bench-strlen.c: Likewise.
7555 * benchtests/bench-strncasecmp.c: Likewise.
7556 * benchtests/bench-strncat.c: Likewise.
7557 * benchtests/bench-strncmp.c: Likewise.
7558 * benchtests/bench-strncpy.c: Likewise.
7559 * benchtests/bench-strnlen.c: Likewise.
7560 * benchtests/bench-strpbrk.c: Likewise.
7561 * benchtests/bench-strrchr.c: Likewise.
7562 * benchtests/bench-strspn.c: Likewise.
7563 * benchtests/bench-strstr.c: Likewise.
7564
cae16d66
WN
75652013-09-04 Will Newton <will.newton@linaro.org>
7566
7567 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7568
ffa3cd7f
JM
75692013-09-03 Joseph Myers <joseph@codesourcery.com>
7570
7571 [BZ #15427]
7572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7573 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7574 * math/libm-test.inc (lgamma_test_data): Add more tests.
7575 * sysdeps/i386/fpu/libm-test-ulps: Update.
7576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577
8f02859f
OB
75782013-09-03 Ondřej Bílka <neleai@seznam.cz>
7579
7580 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7582 Add ifunc.
7583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7584 Add strcmp-sse2-unaligned
7585 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7586
18d43716
MF
75872013-09-02 Mike Frysinger <vapier@gentoo.org>
7588
7589 * Versions.def (libc): Add GLIBC_2.19.
7590
ac444012
MF
75912013-09-02 Mike Frysinger <vapier@gentoo.org>
7592
7593 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7594 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7595
b7835e32
JM
75962013-09-02 Joseph Myers <joseph@codesourcery.com>
7597
7598 [BZ #14155]
7599 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7600 intermediate calculations in recurrence.
7601 (__ieee754_ynf): Likewise.
7602 * math/libm-test.inc (jn_test_data): Do not allow spurious
7603 underflow exception. Add more tests.
7604 (yn_test_data): Add more tests.
7605 * sysdeps/i386/fpu/libm-test-ulps: Update.
7606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607
8220f4f0
OB
76082013-09-02 Ondřej Bílka <neleai@seznam.cz>
7609
7610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7611
f24a6d08
OB
76122013-08-30 Ondřej Bílka <neleai@seznam.cz>
7613
7614 * csu/init-first.c: Fix then/than typos.
7615 * locale/programs/ld-collate.c: Likewise.
7616 * locale/programs/linereader.h: Likewise.
7617 * manual/charset.texi: Likewise.
7618 * manual/filesys.texi: Likewise.
7619 * manual/stdio.texi: Likewise.
7620 * manual/string.texi: Likewise.
7621 * stdlib/fmtmsg.c: Likewise.
7622 * sysdeps/i386/stpncpy.S: Likewise.
7623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7624 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7626 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7627
382466e0
OB
76282013-08-30 Ondřej Bílka <neleai@seznam.cz>
7629
7630 * elf/dl-open.c: Fix typos.
7631 * iconvdata/gbbig5.c: Likewise.
7632 * iconvdata/iso-2022-jp.c: Likewise.
7633 * iconv/gconv_int.h: Likewise.
7634 * iconv/loop.c: Likewise.
7635 * nis/rpcsvc/nis.h: Likewise.
7636 * resolv/ns_name.c: Likewise.
7637 * stdio-common/vfscanf.c: Likewise.
7638 * streams/stropts.h: Likewise.
7639 * sunrpc/rpc_thread.c: Likewise.
7640 * sysdeps/i386/strpbrk.S: Likewise.
7641 * sysdeps/ieee754/k_standard.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7644 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7645 * sysdeps/mach/hurd/profil.c: Likewise.
7646 * sysdeps/s390/dl-procinfo.h: Likewise.
7647 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7649 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7650 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7652
0186c6e9
OB
76532013-08-30 Ondřej Bílka <neleai@seznam.cz>
7654
7655 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7657
d4e16af1
OB
76582013-08-29 Ondřej Bílka <neleai@seznam.cz>
7659
7660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7661 aix specific files.
7662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7665 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7666 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7669 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7670
88335980
TS
76712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7672 Roland McGrath <roland@hack.frob.com>
7673
7674 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7675 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7676
ed479b02
ST
76772013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7678
7679 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7680 __executable_start symbol instead of _start.
7681
f1cc4c86
TS
76822013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7683
d821f07c
TS
7684 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7685 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7686 Move macros to...
7687 * sysdeps/gnu/ldsodefs.h: ... this new file.
7688
c54290cf
TS
7689 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7690 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7691 instead of ELFOSABI_LINUX.
7692
0007fc9b 7693 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7694 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7695 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7696 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7697 Likewise.
7698 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7699 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7700 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7701 Likewise.
7702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7703 (ibm_extended_long_double): Add ieee_nan member.
7704 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7705 (do_test): New function.
7706
f1cc4c86
TS
7707 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7708 TEST_TRUNC.
7709 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7710 functions, renamed from truncdfsf_test, trunctfsf_test,
7711 trunctfdf_test.
7712 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7713 functions.
7714 (do_test): Run all these.
7715
6f65e668
OB
77162013-08-29 Ondřej Bílka <neleai@seznam.cz>
7717
7718 * argp/argp-help.c: Fix typos.
7719 * argp/argp-parse.c: Likewise.
7720 * debug/backtracesyms.c: Likewise.
7721 * elf/elf.h: Likewise.
7722 * malloc/malloc.c: Likewise.
7723 * nis/nis_print.c: Likewise.
7724 * resolv/res_comp.c: Likewise.
7725 * stdlib/stdlib.h: Likewise.
7726 * sunrpc/clnt_tcp.c: Likewise.
7727 * sunrpc/clnt_udp.c: Likewise.
7728 * sunrpc/clnt_unix.c: Likewise.
7729 * sysdeps/unix/bsd/ptsname.c: Likewise.
7730 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7733 Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7735 Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7737 Likewise.
6f65e668
OB
7738 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7739
3a309239
SP
77402013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
7742 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7744
3b813b29
MF
77452013-08-27 Mike Frysinger <vapier@gentoo.org>
7746
7747 [BZ #15897]
7748 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7749 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7750 ($(objpfx)bug-dl-leaf): New rule.
7751 ($(objpfx)bug-dl-leaf.so): Likewise.
7752 ($(objpfx)bug-dl-leaf.out): Likewise.
7753 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7754 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7755 * dlfcn/bug-dl-leaf.c: New test.
7756 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7757 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7758 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7759 (dlclose): Likewise.
7760 (dlmopen): Likewise.
7761
8cc3269f
RM
77622013-08-27 Roland McGrath <roland@hack.frob.com>
7763
7f9d0034
RM
7764 * include/netdb.h [!_ISOMAC]:
7765 Don't include <tls.h>.
7766 (h_errno, __libc_h_errno): Move declaration and macros out of
7767 [_LIBC_REENTRANT].
7768
fb431262
RM
7769 * include/resolv.h [_RESOLV_H_]:
7770 Don't include <tls.h>.
7771 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7772 * resolv/res_libc.c: Don't include <tls.h>.
7773 (_res): Use __attribute__ ((nocommon)) in place of
7774 __attribute__ ((section (".bss"))).
7775
bd81123a
RM
7776 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7777 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7778
c4e42566
RM
7779 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7780
f890a59b
RM
7781 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7782 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7783
7784 * resolv/res_mkquery.c: Include <sys/time.h>.
7785
5d1f0a09
RM
7786 * inet/ifreq.c: Moved to ...
7787 * sysdeps/unix/ifreq.c: ... here.
7788 * inet/ifreq.c: New file, true stub version.
7789
6fcf28b3
RM
7790 * socket/sa_len.c: New file.
7791 * socket/Makefile (aux): Add it.
7792 * sysdeps/unix/sysv/linux/Makefile
7793 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7794 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7795 and #include <socket/sa_len.c>.
7796 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7797 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7798
e041fb8b
RM
7799 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7800 * bits/socket.h: ... here.
7801
8cc3269f
RM
7802 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7803 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7804 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7805
5d228a43
AS
78062013-08-27 Andreas Schwab <schwab@suse.de>
7807
45b8accc
AS
7808 [BZ #15736]
7809 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7810 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7811 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7812 * string/test-strcasecmp.c (test_main): Run tests in several
7813 locales.
7814 * string/test-strncasecmp.c (test_main): Likewise.
7815
5d228a43
AS
7816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7817 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7818 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7820 (__strncasecmp_ssse3) [PIC]: Likewise.
7821
59d112a4
RM
78222013-08-26 Roland McGrath <roland@hack.frob.com>
7823
53234cc3
RM
7824 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7825
59d112a4
RM
7826 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7827 instead of explicitly declaring xdecrypt.
7828 * nis/nss_nis/nis-publickey.c: Likewise.
7829
595aba70
SP
78302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7831
7832 [BZ #15890]
7833 * nscd/aicache.c: Include res_hconf.h.
7834 (addhstaiX): Initialize res_hconf.
7835
ffabd393
AS
78362013-08-26 Andreas Schwab <schwab@suse.de>
7837
7838 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7839 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7840
e0a69f5c
SP
78412013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7842
7843 * nscd/aicache.c (addhstaiX): Fix indentation.
7844
8c12f01d
MF
78452013-08-25 Mike Frysinger <vapier@gentoo.org>
7846
7847 * configure.ac: Quote $build_pt_chown test.
7848 * configure: Regenerated.
7849
8fe89494
JM
78502013-08-23 Joseph Myers <joseph@codesourcery.com>
7851
7852 [BZ #15532]
7853 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7854 * math/s_cexpf.c (__cexpf): Likewise.
7855 * math/s_cexpl.c (__cexpl): Likewise.
7856 * math/libm-test.inc (cexp_test_data): Correct expected return
7857 value for NaN + i0. Add another test.
7858
75b181d6
DM
78592013-08-22 David S. Miller <davem@davemloft.net>
7860
7861 * po/ca.po: Update Catalan translation from translation project.
936241e4 7862 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7863
acd06bb1
JM
78642013-08-21 Joseph Myers <joseph@codesourcery.com>
7865
7866 [BZ #15797]
7867 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7868 is infinite, not alongside NaN test.
7869 * math/s_fdimf.c (__fdimf): Likewise.
7870 * math/s_fdiml.c (__fdiml): Likewise.
7871 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7872 errno is unchanged.
7873
c0c3f78a
OB
78742013-08-21 Ondřej Bílka <neleai@seznam.cz>
7875
7876 * argp/argp-help.c: Fix typos.
7877 * crypt/speeds.c: Likewise.
7878 * csu/check_fds.c: Likewise.
7879 * elf/dl-load.c: Likewise.
7880 * elf/dl-open.c: Likewise.
7881 * elf/reldep3.c: Likewise.
7882 * elf/reldep.c: Likewise.
7883 * elf/sprof.c: Likewise.
7884 * iconv/iconv_charmap.c: Likewise.
7885 * iconv/skeleton.c: Likewise.
7886 * iconv/strtab.c: Likewise.
7887 * io/lockf64.c: Likewise.
7888 * libio/libioP.h: Likewise.
7889 * resolv/gai_notify.c: Likewise.
7890 * resolv/ns_name.c: Likewise.
7891 * resolv/ns_samedomain.c: Likewise.
7892 * resolv/res_send.c: Likewise.
7893 * stdlib/random.c: Likewise.
7894 * sunrpc/rpc/xdr.h: Likewise.
7895 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7897 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7898 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7899 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7903 * sysdeps/mach/hurd/check_fds.c: Likewise.
7904 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7905 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7909 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7910 * sysdeps/pthread/aio_notify.c: Likewise.
7911 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7912 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7915 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7916
46ed1038
LD
79172013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7918
7919 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7920 version if bit_Slow_SSE4_2 is set.
7921 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7923
d400dcac
AZ
79242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7925
7926 [BZ #15867]
7927 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7928 trampoline stack frame information.
7929 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7931 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7932 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7933 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7934 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7935 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7936 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7937 sa_flags value.
7938 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7939 interrupting a syscall and set with option SA_SIGINFO.
7940
42c8fdd8
JM
79412013-08-20 Joseph Myers <joseph@codesourcery.com>
7942
c980f2f4
JM
7943 [BZ #15531]
7944 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7945 argument is infinite.
7946 * math/s_cprojf.c (__cprojf): Likewise.
7947 * math/s_cprojl.c (__cprojl): Likewise.
7948 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7949 * math/libm-test.inc (cproj_test_data): Add more tests.
7950
0716c4fc
JM
7951 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7952
42c8fdd8
JM
7953 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7954 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7955 size. Use __ffs to determine corresponding shift.
7956
b31469d0
JM
79572013-08-20 Joseph Myers <joseph@codesourcery.com>
7958 Roland McGrath <roland@hack.frob.com>
7959
7960 * Makefile (INSTALL): Remove trailing blank lines from output of
7961 makeinfo.
7962
4e39af6e
AK
79632013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7964
7965 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7966 Align 32 bit compat elf_greg to 8 bytes.
7967
f315524e
AA
79682013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7969
7970 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7971
1326ba1a
SP
79722013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7973
7974 * string/strcoll_l.c (coll_seq): New structure.
7975 (get_next_seq_cached): New function.
7976 (get_next_seq): New function.
7977 (do_compare): New function.
7978 (STRCOLL): Use GNU style definition. Simplify implementation
7979 by using get_next_seq, get_next_seq_cached and do_compare.
7980
91ce4085
FW
79812013-08-16 Florian Weimer <fweimer@redhat.com>
7982
7983 [BZ #14699]
7984 CVE-2013-4237
7985 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7986 member.
7987 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7988 member.
7989 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7990 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7991 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7992 conditional.
7993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7994 GETDENTS_64BIT_ALIGNED.
7995 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7996 * manual/filesys.texi (Reading/Closing Directory): Document
7997 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7998 strongly.
7999 * manual/conf.texi (Limits for Files): Add portability note to
8000 NAME_MAX, PATH_MAX.
8001 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8002
ca0a6bc4
AS
80032013-08-13 Andreas Schwab <schwab@suse.de>
8004
8005 [BZ #15749]
8006 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8007 of fabs.
8008 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8009 LDBL_MAX_EXP >= 16384]: Add tests for it.
8010
6c1fd795
DM
80112013-08-12 David S. Miller <davem@davemloft.net>
8012
8013 * version.h (RELEASE): Set to "development".
8014 (VERSION): Set to "2.18.90".
8015 * NEWS: Add 2.19 section.
8016
31ad488d
DM
80172013-08-03 David S. Miller <davem@davemloft.net>
8018
8019 * po/ko.po: Update Korean translation from translation project.
8020
db24e684
DM
80212013-08-01 David S. Miller <davem@davemloft.net>
8022
8023 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8024 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8025 Bilka.
8026
f723285b
DM
80272013-07-30 David S. Miller <davem@davemloft.net>
8028
8029 * po/fr.po: Update French translation from translation project.
8030
3cbc52db
DM
80312013-07-28 David S. Miller <davem@davemloft.net>
8032
30bbc0cc
DM
8033 * po/cs.po: Update Czech translation from translation project.
8034
3cbc52db
DM
8035 * po/sv.po: Update Swedish translation from translation project.
8036
d492e6d0
DM
80372013-07-27 David S. Miller <davem@davemloft.net>
8038
f1a7f492
DM
8039 * po/eo.po: Update Esperanto translation from translation project.
8040
90e62a4a
DM
8041 * po/vi.po: Update Vietnamese translation from translation project.
8042
d492e6d0
DM
8043 * po/de.po: Update German translation from translation project.
8044
d4baa62d
DM
80452013-07-26 David S. Miller <davem@davemloft.net>
8046
641aa7b4
DM
8047 * po/bg.po: Update Bulgarian translation from translation project.
8048
d4baa62d
DM
8049 * po/nl.po: Update Dutch translation from translation project.
8050 * po/pl.po: Update Polish translation from translation project.
8051 * po/ru.po: Update Russian translation from translation project.
8052
61a9dcb9
DM
80532013-07-24 David S. Miller <davem@davemloft.net>
8054
8055 * po/libc.pot: Update.
8056
7b1f8b58
AZ
80572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058
8059 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8060 variable page size.
8061 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8062 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8063 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8064
a8fc7a03
AK
80652013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8066
8067 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8068
e4608715
CD
80692013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8070 Andreas Schwab <schwab@suse.de>
8071 Roland McGrath <roland@hack.frob.com>
8072 Joseph Myers <joseph@codesourcery.com>
8073 Carlos O'Donell <carlos@redhat.com>
8074
8075 [BZ #15755]
8076 * config.h.in: Define HAVE_PT_CHOWN.
8077 * config.make.in (build-pt-chown): New variable.
8078 * configure.in (--enable-pt_chown): New configure option.
8079 * configure: Regenerate.
8080 * login/Makefile: Include Makeconfig. Build pt_chown only if
8081 build-pt-chown is enabled.
8082 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8083 pt_chown to fix pty ownership.
8084 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8085 CLOSE_ALL_FDS.
8086 * manual/install.texi (Configuring and compiling): Mention
8087 --enable-pt_chown. Add @findex for grantpt.
8088 * INSTALL: Regenerate.
8089
da2d62df
DM
80902013-07-20 David S. Miller <davem@davemloft.net>
8091
8092 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8093 difference between 32-bit and 64-bit.
8094
d7e06450
CD
80952013-07-15 Carlos O'Donell <carlos@redhat.com>
8096
8097 [BZ #15711]
8098 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8099 Avoid system header dependency with -ffreestanding.
8100 ($(objpfx)bits/syscall%d): Likewise.
8101
f959cfd7
DM
81022013-07-13 David S. Miller <davem@davemloft.net>
8103
8104 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8105 underflows from atanl/atan2l due to bug 15319.
8106 (casinh_test_data): Likewise.
8107
c61f8513
DM
81082013-07-07 David S. Miller <davem@davemloft.net>
8109
8110 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8111
72c90ed0
JA
81122013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8113
8114 * sysdeps/i386/fpu/libm-test-ulps: Update.
8115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8116
52dfbe13
SP
81172013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8118
8119 * configure.in (--enable-lock-elision): Fix message text.
8120 * INSTALL: Regenerate.
8121 * configure: Regenerate.
8122
3f169543
AZ
81232013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8124
8125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8126
521c6785
AJ
81272013-07-03 Andreas Jaeger <aj@suse.de>
8128
8129 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8130 define.
8131 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8132 (ptrace_peeksiginfo_args): Add.
8133 (__ptrace_peeksiginfo_flags): Add.
8134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8137
d2cc15cb
AM
81382013-07-03 Allan McRae <allan@archlinux.org>
8139
8140 * sysdeps/i386/fpu/libm-test-ulps: Update.
8141
3aaeeca7
DM
81422013-07-02 David S. Miller <davem@davemloft.net>
8143
8144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8145
5314ed1a
MT
81462013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8147
8148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8149
67338156
JM
81502013-07-02 Joseph Myers <joseph@codesourcery.com>
8151
8152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8154
1717da59
AK
81552013-07-02 Andi Kleen <ak@linux.intel.com>
8156
8157 * config.h.in (ENABLE_LOCK_ELISION): Add.
8158 * configure.in (--enable-lock-elision): Add option.
8159 * manual/install.texi: Document --enable lock elision.
8160 * configure: Regenerate
8161 * INSTALL: Regenerate.
8162
1c81621c
L
81632013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8164
8165 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8166 SSE4.2 strcasecmp for libc.a.
8167 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8168
77f01ab5
JM
81692013-07-02 Joseph Myers <joseph@codesourcery.com>
8170
8171 [BZ #13304]
8172 * soft-fp/op-common.h (_FP_FMA): New macro.
8173 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8174 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8175 (_FP_MUL_MEAT_1_imm): ... here.
8176 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8177 (_FP_MUL_MEAT_1_wide): ... here.
8178 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8179 (_FP_MUL_MEAT_1_hard): ... here.
8180 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8181 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8182 (_FP_MUL_MEAT_2_wide): ... here.
8183 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8184 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8185 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8186 (_FP_MUL_MEAT_2_gmp): ... here.
8187 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8188 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8189 (_FP_MUL_MEAT_4_wide): ... here.
8190 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8191 (_FP_MUL_MEAT_4_gmp): ... here.
8192 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8193 (_FP_WFRACBITS_DW_S): Likewise.
8194 (_FP_WFRACXBITS_DW_S): Likewise.
8195 (_FP_HIGHBIT_DW_S): Likewise.
8196 (FP_FMA_S): Likewise.
8197 (_FP_FRAC_HIGH_DW_S): Likewise.
8198 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8199 (_FP_WFRACBITS_DW_D): Likewise.
8200 (_FP_WFRACXBITS_DW_D): Likewise.
8201 (_FP_HIGHBIT_DW_D): Likewise.
8202 (FP_FMA_D): Likewise.
8203 (_FP_FRAC_HIGH_DW_D): Likewise.
8204 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8205 (_FP_WFRACBITS_DW_E): Likewise.
8206 (_FP_WFRACXBITS_DW_E): Likewise.
8207 (_FP_HIGHBIT_DW_E): Likewise.
8208 (FP_FMA_E): Likewise.
8209 (_FP_FRAC_HIGH_DW_E): Likewise.
8210 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8211 (_FP_WFRACBITS_DW_Q): Likewise.
8212 (_FP_WFRACXBITS_DW_Q): Likewise.
8213 (_FP_HIGHBIT_DW_Q): Likewise.
8214 (FP_FMA_Q): Likewise.
8215 (_FP_FRAC_HIGH_DW_Q): Likewise.
8216 * soft-fp/fmasf4.c: New file.
8217 * soft-fp/fmadf4.c: Likewise.
8218 * soft-fp/fmatf4.c: Likewise.
8219
6308fd9a
LD
82202013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8221
8222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8223 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8224 Silvermont.
8225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8226 macro.
8227 (index_Slow_SSE4_2): Likewise.
8228 (index_Prefer_PMINUB_for_stringop): Likewise.
8229 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8230 bit_Slow_SSE4_2 is set.
8231 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8232 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8233
89cd9569
RA
82342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8235
8236 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8237 rtld_global._dl_hwcap2.
8238 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8239 POWER8.
8240 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8241 POWER8 feature descriptions defined in _dl_hwcap2.
8242 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8243 string handling for POWER8 feature bits.
8244 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8245 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8246 _dl_powerpc_cap_flags.
8247 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8248 * sysdeps/powerpc/rtld-global-offsets.sym
8249 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8250 _dl_hwcap2 in the rtld_global_ro structure.
8251
1ae8bfe0
RA
82522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8253
8254 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8255 hardware capabilities in support of AT_HWCAP2.
8256 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8257 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8258 GLRO(dl_hwcap2).
8259 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8260 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8261 explicitly the unknown a_type display mechanism is used.
8262 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8263 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8264 struct member.
8265 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8266 to macro prototype for AT_HWCAP2 support.
8267 * sysdeps/i386/dl-procinfo.h: Likewise.
8268 * sysdeps/s390/dl-procinfo.h: Likewise.
8269 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8270 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8271 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8272 return -1 for unknown a_type display fallback.
8273 * sysdeps/sparc/dl-procinfo.h: Likewise.
8274 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8275 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8276
8fbec010
JM
82772013-06-28 Joseph Myers <joseph@codesourcery.com>
8278
8279 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8280 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8281
0432680e
PY
82822013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8283
8284 [BZ #12492]
8285 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8286 mprotect making __stack_prot writable.
8287
ce61a2ad
NF
82882013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8289 Joseph Myers <joseph@codesourcery.com>
8290
8291 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8292 as being properly aligned.
8293
f91f1c0f
MR
82942013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8295
3d0f5d0c
MR
8296 * dlfcn/modstatic5.c: New file.
8297 * dlfcn/tststatic5.c: New file.
8298 * dlfcn/Makefile (tests): Add tststatic5.
8299 (tests-static): Likewise.
8300 (modules-names): Add modstatic5.
8301 (tststatic5-ENV): New variable.
8302 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8303
f91f1c0f
MR
8304 [BZ #15022]
8305 * elf/dl-support.c (_dl_main_map): New variable.
8306 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8307 (_dl_nns, _dl_load_adds): Set to 1.
8308 (_dl_initial_searchlist): Refer to _dl_main_map.
8309 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8310 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8311 call to _dl_get_origin.
8312 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8313 around call_map.
8314 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8315 * dlfcn/modstatic3.c: New file.
8316 * dlfcn/tststatic3.c: New file.
8317 * dlfcn/tststatic4.c: New file.
8318 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8319 (tests-static): Likewise.
8320 (modules-names): Add modstatic3.
8321 (tststatic3-ENV, tststatic4-ENV): New variables.
8322 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8323 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8324
cbe7d24b
JM
83252013-06-26 Joseph Myers <joseph@codesourcery.com>
8326
8327 * configure.in (CC): Require GCC version 4.4 or later.
8328 * configure: Regenerated.
8329 * manual/install.texi (Tools for Compilation): Update GCC version
8330 requirement.
8331 * INSTALL: Regenerated.
8332
11b8a0e1
LD
83332013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8334
8335 [BZ #15674]
bb5bb87c
L
8336 * string/test-memcmp.c (check2): New.
8337 (main): Call check2.
8338
11b8a0e1
LD
8339 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8340
b0037103
MR
83412013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8342
8343 [BZ #15022]
8344 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8345 over to...
8346 (dl_open_worker) [!SHARED]: ... here.
8347
c18c701d
RA
83482013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8349
8350 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8351
1d17fa5f
RH
83522013-06-25 Richard Henderson <rth@redhat.com>
8353
8354 * locale/programs/locarchive.c: Include <libc-internal.h>
8355
8fcb833a
JM
83562013-06-25 Joseph Myers <joseph@codesourcery.com>
8357
8358 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8359 trailing whitespace removed.
8360
17db6e8d
MF
83612013-06-24 Mike Frysinger <vapier@gentoo.org>
8362
8363 [BZ #10283]
17db6e8d
MF
8364 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8365 * locale/programs/locarchive.c: Include libc-mmap.h.
8366 (prepare_address_space): Take two new outputs (the mmap base and len).
8367 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8368 values.
8369 (create_archive): Declare new mmap base and len values for
8370 prepare_address_space, and store the result in ah.
8371 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8372 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8373 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8374 Declare new mmap base and len values for
8375 prepare_address_space, and store the result in new_ah.
8376 (open_archive): Declare new mmap base and len values for
8377 prepare_address_space, and store the result in ah.
8378 (close_archive): If ah->mmap_base is not NULL, use that and
8379 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8380 * sysdeps/generic/libc-mmap.h: New file.
8381
d605071e
MF
83822013-06-24 Mike Frysinger <vapier@gentoo.org>
8383
8384 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8385 (ALIGN_UP): Likewise.
8386 (PTR_ALIGN_DOWN): Likewise.
8387 (PTR_ALIGN_UP): Likewise.
8388
2f063a6e
RA
83892013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8390
8391 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8392 entry mapped to PPC_PLATFORM_POWER8.
8393 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8394 POWER8.
8395 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8396 (_dl_string_platform): Add case for exporting platform position for
8397 POWER8.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8399 search path to sysdeps/powerpc/powerpc32/power8 directory.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8401 search path to sysdeps/powerpc/powerpc64/power8 directory.
8402 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8403 power7 directories.
8404 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8405 power7 directories.
8406
a31ee4b3
SP
84072013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8408
a74ca98f
SP
8409 * INSTALL: Regenerate.
8410
a31ee4b3
SP
8411 * nscd/connections.c (nscd_init): Fix comment.
8412
695c378f
JM
84132013-06-22 Joseph Myers <joseph@codesourcery.com>
8414
d8412221
JM
8415 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8416
695c378f
JM
8417 [BZ #15667]
8418 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8419 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8420
d1d54715
MR
84212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8422
8423 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8424 DL_DST_REQ_STATIC.
8425 (DL_DST_REQ_STATIC): Remove macro.
8426
8fdda7af
JM
84272013-06-21 Joseph Myers <joseph@codesourcery.com>
8428
8429 [BZ #7006]
8430 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8431 with a shift of 0 bits.
8432
f3bc5e5a
MR
84332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8434
8435 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8436 $(tststatic-ENV).
8437
be09e8c9
KK
84382013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8439
8440 [BZ #15655]
8441 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8442
85c2e611
AZ
84432013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8444
8445 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8446 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8447 accepts -fno-tree-loop-distribute-patterns.
8448 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8449 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8450 recursive call.
8451 * string/memset.c (memset): Likewise.
8452 * string/test-memmove.c (simple_memmove): Disable loop transformation
8453 to library calls.
8454 * string/test-memset.c (simple_memset): Likewise.
8455 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8456 * benchtests/bench-memset.c (simple_memset): Likewise.
8457 * configure: Regenerated.
8458
c91e0825
JM
84592013-06-20 Joseph Myers <joseph@codesourcery.com>
8460
b8c792af
JM
8461 * math/test-misc.c (main): Ignore fesetround failure when failures
8462 of subsequent rounding tests would be ignored.
8463
c91e0825
JM
8464 [BZ #15654]
8465 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8466 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8467 * math/fegetenv.c (__fegetenv): Return 0.
8468 * math/fegetexcept.c (fegetexcept): Return 0.
8469 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8470 FE_TONEAREST.
8471 * math/feholdexcpt.c (feholdexcept): Return 0.
8472 * math/fesetenv.c (__fesetenv): Return 0.
8473 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8474 argument FE_TONEAREST.
8475 * math/feupdateenv.c (__feupdateenv): Return 0.
8476 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8477
bfcacbde
RM
84782013-06-18 Roland McGrath <roland@hack.frob.com>
8479
8480 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8481 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8482 ($(objpfx)rtld-%.os rules): Use them.
8483
e55a9b25
AZ
84842013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8485
8486 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8487 fields.
8488
346d65b3
RM
84892013-06-17 Roland McGrath <roland@hack.frob.com>
8490
12086fb4
RM
8491 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8492 length of target pattern, then descending length of dependency pattern.
8493 * configure.in (AWK): Require gawk 3.1.2 or newer.
8494 * manual/install.texi (Tools for Compilation): Say that we do.
8495 * configure: Regenerated.
8496
346d65b3
RM
8497 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8498 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8499 * scripts/sysd-rules.awk: ... this new script.
8500 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8501 than a glob-style pattern.
8502
1a846317
JM
85032013-06-17 Joseph Myers <joseph@codesourcery.com>
8504
8505 * math/test-misc.c (main): Do not treat incorrectly rounded
8506 conversions as failure unless ROUNDING_TESTS passes.
8507
8fc75e6f
JM
85082013-06-15 Joseph Myers <joseph@codesourcery.com>
8509
3711a167
JM
8510 [BZ #15631]
8511 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8512 restore exception state around main square root computation, then
8513 check for inexactness explicitly.
8514
8fc75e6f
JM
8515 * math/libm-test.inc (fma_test_data): Add another test.
8516
61dd6208
SP
85172013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8518
adf23d2c
SP
8519 * manual/threads.texi (Non-POSIX Extensions): New document
8520 node. Document pthread_getattr_default_np and
8521 pthread_setattr_default_np.
8522
61dd6208
SP
8523 * Versions.def (libpthread): Add GLIBC_2.18.
8524 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8526 Likewise.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8528 Likewise.
8529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8530 Likewise.
8531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8532 Likewise.
8533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8534 Likewise.
8535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8536 Likewise.
8537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8538 Likewise.
8539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8540 Likewise.
8541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8542 Likewise.
8543
d086fc7b
LD
85442013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8545
8546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8547 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8548
747ef469
SP
85492013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8550 H.J. Lu <hjl.tools@gmail.com>
8551
8552 [BZ #15627]
8553 * sysdeps/x86_64/rtld-memset.c: Remove file.
8554 * sysdeps/x86_64/rtld-memset.S: New file.
8555
1b2feed2
JM
85562013-06-14 Joseph Myers <joseph@codesourcery.com>
8557
8558 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8559 (test_in_one_mode): Take arguments for whether the rounding mode
8560 is supported for each floating-point type.
8561 (do_test): Pass new arguments to test_in_one_mode using
8562 ROUNDING_TESTS.
8563
a58ad3f8
RM
85642013-06-13 Roland McGrath <roland@hack.frob.com>
8565
8566 * posix/tst-waitid.c (do_test): Distinguish different instances of
8567 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8568 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8569 before entering the kernel for waitpid.
8570
c204ab28
SP
85712013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8572
8573 * NEWS: Fix note on clock function precision. Text by Roland
8574 McGrath.
8575
f4a29fba
RM
85762013-06-13 Roland McGrath <roland@hack.frob.com>
8577
8578 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8579 it into place only when and if the sanity check passes.
8580
1f24b9ad
JM
85812013-06-13 Joseph Myers <joseph@codesourcery.com>
8582
8583 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8584 output for whether conversion result is exact. Take argument
8585 indicating whether type is IBM long double.
8586 (round_for_all): Change need_exact field to ibm_ld.
8587 * stdlib/tst-strtod-round.c (struct exactness): New type.
8588 (struct test): Change bool ld_ok field to struct exactness exact.
8589 (TEST): Update all definitions for change to field.
8590 (tests): Regenerate array contents.
8591 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8592 field value. Check for IBM long double here.
8593 (do_test): Update calls to test_in_one_mode.
8594
58206c68
SP
85952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8596
8597 [BZ #12515]
8598 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8599 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8600
2d6f4c5b 86012013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8602
8603 [BZ #15605]
8604 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8605 generated by the compiler on loop optimizations.
8606 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8607 general definitions.
8608
94f2c076
JM
86092013-06-12 Joseph Myers <joseph@codesourcery.com>
8610
8611 * math/bug-nextafter.c: Include <math-tests.h>.
8612 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8613 the relevant type.
8614 * math/bug-nexttoward.c: Include <math-tests.h>.
8615 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8616 the relevant type.
8617 * math/test-misc.c: Include <math-tests.h>.
8618 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8619 the relevant type.
8620
e0e50a0a
AJ
86212013-06-12 Andreas Jaeger <aj@suse.de>
8622
8623 * po/ia.po: Update Interlingua translation from translation
8624 project.
8625
25061094
SP
86262013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8627
8628 * include/fenv.h: Include stdbool.h.
8629 (struct rm_ctx): New structure.
8630 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8631 Define macro.
8632 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8633 (SET_RESTORE_ROUNDF): Likewise.
8634 (SET_RESTORE_ROUNDL): Likewise.
8635 (SET_RESTORE_ROUND_NOEX): Likewise.
8636 (SET_RESTORE_ROUND_NOEXF): Likewise.
8637 (SET_RESTORE_ROUND_NOEXL): Likewise.
8638 (SET_RESTORE_ROUND_53BIT): Likewise.
8639 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8640 (libc_feresetround_noexf_ctx): Likewise.
8641 (libc_feresetround_noexl_ctx): Likewise.
8642 (libc_feholdsetround_53bit_ctx): Likewise.
8643 (libc_feresetround_53bit_ctx): Likewise.
8644 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8645 (libc_feholdexcept_setround_sse_ctx): New function.
8646 (libc_fesetenv_sse_ctx): Likewise.
8647 (libc_feupdateenv_sse_ctx): Likewise.
8648 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8649 (libc_feholdexcept_setround_387_ctx): Likewise.
8650 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8651 (libc_feholdsetround_387_prec_ctx): Likewise.
8652 (libc_feholdsetround_387_ctx): Likewise.
8653 (libc_feholdsetround_387_53bit_ctx): Likewise.
8654 (libc_feholdsetround_sse_ctx): Likewise.
8655 (libc_feresetround_sse_ctx): Likewise.
8656 (libc_feresetround_387_ctx): Likewise.
8657 (libc_feupdateenv_387_ctx): Likewise.
8658 (libc_feholdexcept_setroundf_ctx): Define macro.
8659 (libc_fesetenvf_ctx): Likewise.
8660 (libc_feupdateenvf_ctx): Likewise.
8661 (libc_feholdsetroundf_ctx): Likewise.
8662 (libc_feresetroundf_ctx): Likewise.
8663 (libc_feholdexcept_setround_ctx): Likewise.
8664 (libc_fesetenv_ctx): Likewise.
8665 (libc_feupdateenv_ctx): Likewise.
8666 (libc_feholdsetround_ctx): Likewise.
8667 (libc_feresetround_ctx): Likewise.
8668 (libc_feholdexcept_setroundl_ctx): Likewise.
8669 (libc_feupdateenvl_ctx): Likewise.
8670 (libc_feholdsetroundl_ctx): Likewise.
8671 (libc_feresetroundl_ctx): Likewise.
8672 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8673 (libc_feresetround_53bit_ctx): Likewise.
8674
59b30555
SP
86752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8676
8677 * locale/iso-639.def: Convert to UTF-8.
8678
f1d73d30
JM
86792013-06-11 Joseph Myers <joseph@codesourcery.com>
8680
8681 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8682 (EXCEPTION_TESTS_double): Likewise.
8683 (EXCEPTION_TESTS_long_double): Likewise.
8684 (EXCEPTION_TESTS): Likewise.
8685 * math/libm-test.inc (test_exceptions): Only test exceptions if
8686 EXCEPTION_TESTS (FLOAT).
8687
94aca5e7
SP
86882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8689
8690 * benchtests/Makefile (string-bench): Add strcpy_chk and
8691 stpcpy_chk.
8692 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8693 * benchtests/bench-stpcpy_chk.c: New file.
8694 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8695 * benchtests/bench-strcpy_chk.c: New file.
8696 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8697 code.
8698 (do_test): Likewise.
8699
fac0c5f2
RA
87002013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8701
8702 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8703 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8704 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8705 with tabs where appropriate.
8706 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8707 dl-procinfo.h.
8708 [PPC_PLATFORM_PPC440]: Likewise.
8709 [PPC_PLATFORM_PPC464]: Likewise.
8710 [PPC_PLATFORM_PPC476]: Likewise.
8711 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8712 ppc464, and ppc476 platform strings merging from ports/
8713 dl-procinfo.h.
8714
f22bc486
AS
87152013-06-11 Andreas Schwab <schwab@suse.de>
8716
8717 [BZ #14991]
8718 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8719 (from_ucs4_idx): Regenerate.
8720 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8721 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8722 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8723 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8724 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8725 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8726 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8727 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8728 from FROM_LOOP and TO_LOOP specific macros.
8729 (BODY): Handle combining characters.
8730 * iconvdata/BIG5HKSCS.irreversible: Update.
8731 * iconvdata/BIG5HKSCS.precomposed: New file.
8732 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8733 characters.
8734 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8735
c1f75dc3
SP
87362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8737
4eacded2
SP
8738 * include/sys/time.h: Fix indentation and add copyright header.
8739
fec799f8
SP
8740 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8741 (do_test): Likewise.
8742 * string/test-memchr.c (do_one_test): Likewise.
8743 (do_test): Likewise.
8744 * string/test-memcmp.c (do_one_test): Likewise.
8745 (do_test): Likewise.
8746 * string/test-memcpy.c (do_one_test): Likewise.
8747 (do_test): Likewise.
8748 * string/test-memmem.c (do_one_test): Likewise.
8749 (do_test): Likewise.
8750 (do_random_tests): Likewise.
8751 * string/test-memmove.c (do_one_test): Likewise.
8752 (do_test): Likewise.
8753 * string/test-memset.c (do_one_test): Likewise.
8754 (do_test): Likewise.
8755 * string/test-rawmemchr.c (do_one_test): Likewise.
8756 (do_test): Likewise.
8757 * string/test-strcasecmp.c (do_one_test): Likewise.
8758 (do_test): Likewise.
8759 * string/test-strcasestr.c (do_one_test): Likewise.
8760 (do_test): Likewise.
8761 * string/test-strcat.c (do_one_test): Likewise.
8762 (do_test): Likewise.
8763 * string/test-strchr.c (do_one_test): Likewise.
8764 (do_test): Likewise.
8765 * string/test-strcmp.c (do_one_test): Likewise.
8766 (do_test): Likewise.
8767 * string/test-strcpy.c (do_one_test): Likewise.
8768 (do_test): Likewise.
8769 * string/test-string.h: Likewise.
8770 (test_init): Likewise.
8771 * string/test-strlen.c (do_one_test): Likewise.
8772 (do_test): Likewise.
8773 * string/test-strncasecmp.c (do_one_test): Likewise.
8774 (do_test): Likewise.
8775 * string/test-strncat.c (do_one_test): Likewise.
8776 (do_test): Likewise.
8777 * string/test-strncmp.c (do_one_test): Likewise.
8778 (do_test_limit): Likewise.
8779 (do_test): Likewise.
8780 * string/test-strncpy.c (do_one_test): Likewise.
8781 (do_test): Likewise.
8782 * string/test-strnlen.c (do_one_test): Likewise.
8783 (do_test): Likewise.
8784 * string/test-strpbrk.c (do_one_test): Likewise.
8785 (do_test): Likewise.
8786 * string/test-strrchr.c (do_one_test): Likewise.
8787 (do_test): Likewise.
8788 * string/test-strspn.c (do_one_test): Likewise.
8789 (do_test): Likewise.
8790 * string/test-strstr.c (do_one_test): Likewise.
8791 (do_test): Likewise.
8792
97020474
SP
8793 * benchtests/Makefile (string-bench): Add string benchmarks.
8794 * benchtests/bench-bcopy-ifunc.c: New file.
8795 * benchtests/bench-bcopy.c: New file.
8796 * benchtests/bench-bzero-ifunc.c: New file.
8797 * benchtests/bench-bzero.c: New file.
8798 * benchtests/bench-memccpy-ifunc.c: New file.
8799 * benchtests/bench-memccpy.c: New file.
8800 * benchtests/bench-memchr-ifunc.c: New file.
8801 * benchtests/bench-memchr.c: New file.
8802 * benchtests/bench-memcmp-ifunc.c: New file.
8803 * benchtests/bench-memcmp.c: New file.
8804 * benchtests/bench-memmem-ifunc.c: New file.
8805 * benchtests/bench-memmem.c: New file.
8806 * benchtests/bench-memmove-ifunc.c: New file.
8807 * benchtests/bench-memmove.c: New file.
8808 * benchtests/bench-mempcpy-ifunc.c: New file.
8809 * benchtests/bench-mempcpy.c: New file.
8810 * benchtests/bench-memset-ifunc.c: New file.
8811 * benchtests/bench-memset.c: New file.
8812 * benchtests/bench-rawmemchr-ifunc.c: New file.
8813 * benchtests/bench-rawmemchr.c: New file.
8814 * benchtests/bench-stpcpy-ifunc.c: New file.
8815 * benchtests/bench-stpcpy.c: New file.
8816 * benchtests/bench-stpncpy-ifunc.c: New file.
8817 * benchtests/bench-stpncpy.c: New file.
8818 * benchtests/bench-strcasecmp-ifunc.c: New file.
8819 * benchtests/bench-strcasecmp.c: New file.
8820 * benchtests/bench-strcasestr-ifunc.c: New file.
8821 * benchtests/bench-strcasestr.c: New file.
8822 * benchtests/bench-strcat-ifunc.c: New file.
8823 * benchtests/bench-strcat.c: New file.
8824 * benchtests/bench-strchr-ifunc.c: New file.
8825 * benchtests/bench-strchr.c: New file.
8826 * benchtests/bench-strchrnul-ifunc.c: New file.
8827 * benchtests/bench-strchrnul.c: New file.
8828 * benchtests/bench-strcmp-ifunc.c: New file.
8829 * benchtests/bench-strcmp.c: New file.
8830 * benchtests/bench-strcpy-ifunc.c: New file.
8831 * benchtests/bench-strcpy.c: New file.
8832 * benchtests/bench-strcspn-ifunc.c: New file.
8833 * benchtests/bench-strcspn.c: New file.
8834 * benchtests/bench-strlen-ifunc.c: New file.
8835 * benchtests/bench-strlen.c: New file.
8836 * benchtests/bench-strncasecmp-ifunc.c: New file.
8837 * benchtests/bench-strncasecmp.c: New file.
8838 * benchtests/bench-strncat-ifunc.c: New file.
8839 * benchtests/bench-strncat.c: New file.
8840 * benchtests/bench-strncmp-ifunc.c: New file.
8841 * benchtests/bench-strncmp.c: New file.
8842 * benchtests/bench-strncpy-ifunc.c: New file.
8843 * benchtests/bench-strncpy.c: New file.
8844 * benchtests/bench-strnlen-ifunc.c: New file.
8845 * benchtests/bench-strnlen.c: New file.
8846 * benchtests/bench-strpbrk-ifunc.c: New file.
8847 * benchtests/bench-strpbrk.c: New file.
8848 * benchtests/bench-strrchr-ifunc.c: New file.
8849 * benchtests/bench-strrchr.c: New file.
8850 * benchtests/bench-strspn-ifunc.c: New file.
8851 * benchtests/bench-strspn.c: New file.
8852 * benchtests/bench-strstr-ifunc.c: New file.
8853 * benchtests/bench-strstr.c: New file.
8854
c1f75dc3
SP
8855 * benchtests/Makefile: Disable parallel execution of targets.
8856 (string-bench): Add memcpy.
8857 (benchset): New variable to store a list of benchmark sets.
8858 (bench-func): Renamed from bench.
8859 (bench-set): New target.
8860 (bench): Depend on bench-func and bench-set.
8861 * benchtests/README: Add section on benchmark sets.
8862 * benchtests/bench-memcpy-ifunc.c: New file.
8863 * benchtests/bench-memcpy.c: New file.
8864 * benchtests/bench-string.h: New file.
8865
50fd745b
AS
88662013-06-11 Andreas Schwab <schwab@suse.de>
8867
8868 [BZ #15577]
8869 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8870 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8871 values in the triple.
8872 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8873 terminator in the group key.
8874
3ee7e9fe
AJ
88752013-06-11 Andreas Jaeger <aj@suse.de>
8876
8877 * po/zh_TW.po: Update Chinese (traditional) translation from
8878 translation project.
8879
89fb6835
SP
88802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8881
8882 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8883 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8884 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8886 (clock_getcpuclockid): Likewise.
8887 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8888 Add weak_alias and libc_hidden_def.
8889 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8890 * rt/clock_gettime.c (clock_gettime): Rename to
8891 __clock_gettime. Add weak_alias and libc_hidden_def.
8892 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8893 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8894 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8895 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8896 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8897 Likewise.
8898 * rt/clock_settime.c (clock_settime): Rename to
8899 __clock_settime. Add weak_alias and libc_hidden_def.
8900 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8901
0efa6f8b
JM
89022013-06-10 Joseph Myers <joseph@codesourcery.com>
8903
b8c61b4b
JM
8904 * mach/err_boot.sub: Remove trailing whitespace.
8905 * mach/err_ipc.sub: Likewise.
8906 * mach/err_mach.sub: Likewise.
8907
0efa6f8b
JM
8908 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8909 (ROUNDING_TESTS_double): Likewise.
8910 (ROUNDING_TESTS_long_double): Likewise.
8911 (ROUNDING_TESTS): Likewise.
8912 * math/libm-test.inc: Include <math-tests.h>.
8913 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8914 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8915 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8916 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8917
50b818bf
SP
89182013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8919
8920 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8921 of assigning.
8922
60d2f8f3
JM
89232013-06-08 Joseph Myers <joseph@codesourcery.com>
8924
4902d2c3
JM
8925 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8926 otherwise empty TRANS lines.
8927 * sysdeps/gnu/errlist.c: Regenerated.
8928
60d2f8f3
JM
8929 * catgets/gencat.c (error_print): Use (void) in function
8930 definition.
8931 * crypt/crypt_util.c (__init_des): Likewise.
8932 * crypt/speeds.c (Stop): Likewise.
8933 (main): Likewise.
8934 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8935 * inet/ruserpass.c (token): Likewise.
8936 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8937 * intl/localealias.c (extend_alias_table): Likewise.
8938 * intl/plural-exp.c (init_germanic_plural): Likewise.
8939 * libio/fcloseall.c (__fcloseall): Likewise.
8940 * libio/genops.c (_IO_flush_all): Likewise.
8941 (_IO_flush_all_linebuffered): Likewise.
8942 (_IO_cleanup): Likewise.
8943 (_IO_iter_begin): Likewise.
8944 (_IO_iter_end): Likewise.
8945 (_IO_list_lock): Likewise.
8946 (_IO_list_unlock): Likewise.
8947 (_IO_list_resetlock): Likewise.
8948 * libio/getchar.c (getchar): Likewise.
8949 * libio/getchar_u.c (getchar_unlocked): Likewise.
8950 * libio/getwchar.c (getwchar): Likewise.
8951 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8952 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8953 * login/getpt.c (__getpt): Likewise.
8954 * login/tst-utmp.c (main): Likewise.
8955 * malloc/hooks.c (__malloc_check_init): Likewise.
8956 * malloc/malloc.c (__malloc_stats): Likewise.
8957 * malloc/mtrace.c (tr_break): Likewise.
8958 (mtrace): Likewise.
8959 (muntrace): Likewise.
8960 * misc/fstab.c (endfsent): Likewise.
8961 * misc/getclktck.c (__getclktck): Likewise.
8962 * misc/getdtsz.c (__getdtablesize): Likewise.
8963 * misc/gethostid.c (gethostid): Likewise.
8964 * misc/getpagesize.c (__getpagesize): Likewise.
8965 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8966 (__get_nprocs): Likewise.
8967 (__get_phys_pages): Likewise.
8968 (__get_avphys_pages): Likewise.
8969 * misc/getttyent.c (getttyent): Likewise.
8970 (setttyent): Likewise.
8971 (endttyent): Likewise.
8972 * misc/getusershell.c (getusershell): Likewise.
8973 (endusershell): Likewise.
8974 (setusershell): Likewise.
8975 (initshells): Likewise.
8976 * misc/hsearch.c (__hdestroy): Likewise.
8977 * misc/sync.c (sync): Likewise.
8978 * misc/syslog.c (closelog_internal): Likewise.
8979 (closelog): Likewise.
8980 * misc/ttyslot.c (ttyslot): Likewise.
8981 * misc/vhangup.c (vhangup): Likewise.
8982 * posix/fork.c (__fork): Likewise.
8983 * posix/getegid.c (__getegid): Likewise.
8984 * posix/geteuid.c (__geteuid): Likewise.
8985 * posix/getgid.c (__getgid): Likewise.
8986 * posix/getpid.c (__getpid): Likewise.
8987 * posix/getppid.c (__getppid): Likewise.
8988 * posix/getuid.c (__getuid): Likewise.
8989 * posix/pause.c (pause): Likewise.
8990 * posix/setpgrp.c (setpgrp): Likewise.
8991 * posix/setsid.c (__setsid): Likewise.
8992 * posix/test-vfork.c (noop): Likewise.
8993 * resolv/gethnamaddr.c (_endhtent): Likewise.
8994 (_gethtent): Likewise.
8995 (ht_endhostent): Likewise.
8996 (gethostent): Likewise.
8997 (dns_service): Likewise.
8998 * stdlib/drand48.c (drand48): Likewise.
8999 * stdlib/lrand48.c (lrand48): Likewise.
9000 * stdlib/mrand48.c (mrand48): Likewise.
9001 * stdlib/rand.c (rand): Likewise.
9002 * stdlib/random.c (__random): Likewise.
9003 * stdlib/setenv.c (clearenv): Likewise.
9004 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9005 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9006 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9007 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9008 (__get_nprocs): Likewise.
9009 (__get_phys_pages): Likewise.
9010 (__get_avphys_pages): Likewise.
9011 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9012 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9013 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9014 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9015 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9016 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9017 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9018 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9019 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9020 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9021 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9022 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9023 * sysdeps/posix/clock.c (clock): Likewise.
9024 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9025 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9026 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9027 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9028 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9030 (__get_nprocs_conf): Likewise.
9031 (__get_phys_pages): Likewise.
9032 (__get_avphys_pages): Likewise.
9033 * time/clock.c (clock): Likewise.
9034 * time/tzset.c (__tzname_max): Likewise.
9035
2e09a79a
JM
90362013-06-07 Joseph Myers <joseph@codesourcery.com>
9037
9038 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9039 (__bswap_32): Do not use "register".
9040 * crypt/crypt.c (_ufc_doit_r): Likewise.
9041 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9042 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9043 * gmon/gmon.c (__monstartup): Likewise.
9044 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9045 * hurd/hurdmalloc.c (more_memory): Likewise.
9046 (malloc): Likewise.
9047 (free): Likewise.
9048 (realloc): Likewise.
9049 (malloc_fork_prepare): Likewise.
9050 (malloc_fork_parent): Likewise.
9051 (malloc_fork_child): Likewise.
9052 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9053 (_svcauth_des): Likewise.
9054 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9055 * inet/inet_net.c (inet_network): Likewise.
9056 * inet/inet_netof.c (inet_netof): Likewise.
9057 * inet/rcmd.c (__validuser2_sa): Likewise.
9058 * io/fts.c (fts_open): Likewise.
9059 (fts_load): Likewise.
9060 (fts_close): Likewise.
9061 (fts_read): Likewise.
9062 (fts_children): Likewise.
9063 (fts_build): Likewise.
9064 (fts_stat): Likewise.
9065 (fts_sort): Likewise.
9066 (fts_alloc): Likewise.
9067 (fts_lfree): Likewise.
9068 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9069 (_IO_file_xsgetn): Likewise.
9070 (_IO_file_xsgetn_mmap): Likewise.
9071 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9072 (_IO_cookie_write): Likewise.
9073 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9074 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9075 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9076 * malloc/obstack.c (_obstack_begin): Likewise.
9077 (_obstack_begin_1): Likewise.
9078 (_obstack_newchunk): Likewise.
9079 (_obstack_allocated_p): Likewise.
9080 (obstack_free): Likewise.
9081 (_obstack_memory_used): Likewise.
9082 * misc/getttyent.c (getttynam): Likewise.
9083 (getttyent): Likewise.
9084 (skip): Likewise.
9085 (value): Likewise.
9086 * misc/getusershell.c (initshells): Likewise.
9087 * misc/syslog.c (__vsyslog_chk): Likewise.
9088 * misc/ttyslot.c (ttyslot): Likewise.
9089 * nis/nis_hash.c (__nis_hash): Likewise.
9090 * posix/fnmatch_loop.c (FCT): Likewise.
9091 * posix/getconf.c (print_all): Likewise.
9092 (main): Likewise.
9093 * posix/getopt.c (exchange): Likewise.
9094 * posix/glob.c (globfree): Likewise.
9095 (prefix_array): Likewise.
9096 (__glob_pattern_type): Likewise.
9097 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9098 (NS_GET32): Likewise.
9099 (NS_PUT16): Likewise.
9100 (NS_PUT32): Likewise.
9101 * resolv/gethnamaddr.c (getanswer): Likewise.
9102 (gethostbyname2): Likewise.
9103 (gethostbyaddr): Likewise.
9104 (_gethtent): Likewise.
9105 (_gethtbyname2): Likewise.
9106 (_gethtbyaddr): Likewise.
9107 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9108 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9109 * resolv/res_init.c (__res_vinit): Likewise.
9110 (net_mask): Likewise.
9111 * resolv/res_mkquery.c (outchar): Likewise.
9112 (PRINT): Likewise.
9113 * stdio-common/printf_fp.c (outchar): Likewise.
9114 (PRINT): Likewise.
9115 * stdio-common/printf_fphex.c (outchar): Likewise.
9116 (PRINT): Likewise.
9117 * stdio-common/printf_size.c (outchar): Likewise.
9118 (PRINT): Likewise.
9119 * stdio-common/test_rdwr.c (main): Likewise.
9120 * stdio-common/tfformat.c (matches): Likewise.
9121 * stdio-common/vfprintf.c (outchar): Likewise.
9122 (printf_unknown): Likewise.
9123 (buffered_vfprintf): Likewise.
9124 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9125 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9126 (ReadFile): Likewise.
9127 * stdlib/qsort.c (SWAP): Likewise.
9128 (_quicksort): Likewise.
9129 * stdlib/setenv.c (__add_to_environ): Likewise.
9130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9131 * stdlib/strtol_l.c (__strtol_l): Likewise.
9132 * stdlib/tst-strtod.c (main): Likewise.
9133 * stdlib/tst-strtol.c (main): Likewise.
9134 * stdlib/tst-strtoll.c (main): Likewise.
9135 * string/bits/string2.h (__strcmp_cc): Likewise.
9136 (__strcmp_cg): Likewise.
9137 (__strcspn_c1): Likewise.
9138 (__strcspn_c2): Likewise.
9139 (__strcspn_c3): Likewise.
9140 (__strspn_c1): Likewise.
9141 (__strspn_c2): Likewise.
9142 (__strspn_c3): Likewise.
9143 (__strsep_1c): Likewise.
9144 (__strsep_2c): Likewise.
9145 (__strsep_3c): Likewise.
9146 * string/memccpy.c (__memccpy): Likewise.
9147 * string/stpcpy.c (__stpcpy): Likewise.
9148 * string/strcmp.c (strcmp): Likewise.
9149 * string/strrchr.c (strrchr): Likewise.
9150 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9151 Likewise.
9152 * sysdeps/mach/hurd/getcwd.c
9153 (_hurd_canonicalize_directory_name_internal): Likewise.
9154 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9155 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9156 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9157 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9158 Likewise, in both definitions.
9159 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9160 definitions.
9161 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9162 64] (__bswap_64): Likewise.
9163 * time/test_time.c (main): Likewise.
9164 * time/tzfile.c (__tzfile_read): Likewise.
9165 (__tzfile_compute): Likewise.
9166 * time/tzset.c (__tzset_parse_tz): Likewise.
9167 (tzset_internal): Likewise.
9168 (compute_change): Likewise.
9169 * wcsmbs/wcscat.c (__wcscat): Likewise.
9170 * wcsmbs/wcschr.c (wcschr): Likewise.
9171 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9172 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9173 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9174 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9175 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9176 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9177 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9178 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9179 * wcsmbs/wmemset.c (wmemset): Likewise.
9180
9e54314b
JM
91812013-06-06 Joseph Myers <joseph@codesourcery.com>
9182
9183 * scripts/config.guess: Update to version 2013-05-16.
9184 * scripts/config.sub: Update to version 2013-04-24.
9185 * scripts/install-sh: Update to version 2011-11-20.07.
9186 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9187 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9188
350635a5
OB
91892013-06-06 Ondřej Bílka <neleai@seznam.cz>
9190
9191 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9192 * elf/sln.c: Likewise.
9193 * hurd/hurd/ioctl.h: Likewise.
9194 * hurd/hurdmalloc.c: Likewise.
9195 * hurd/xattr.c: Likewise.
9196 * include/shlib-compat.h: Likewise.
9197 * inet/ruserpass.c: Likewise.
9198 * libio/iofgets_u.c: Likewise.
9199 * libio/iofgetws_u.c: Likewise.
9200 * locale/programs/ld-identification.c: Likewise.
9201 * locale/programs/ld-time.c: Likewise.
9202 * mach/msg-destroy.c: Likewise.
9203 * nss/nss_files/files-netgrp.c: Likewise.
9204 * resolv/res_data.c: Likewise.
9205 * soft-fp/op-1.h: Likewise.
9206 * soft-fp/op-2.h: Likewise.
9207 * soft-fp/op-4.h: Likewise.
9208 * soft-fp/op-common.h: Likewise.
9209 * stdio-common/printf_fphex.c: Likewise.
9210 * stdlib/strtod_l.c: Likewise.
9211 * sunrpc/rpc/clnt.h: Likewise.
9212 * sysdeps/generic/framestate.c: Likewise.
9213 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9214 * sysdeps/i386/bsd-setjmp.S: Likewise.
9215 * sysdeps/i386/__longjmp.S: Likewise.
9216 * sysdeps/i386/setjmp.S: Likewise.
9217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9235 * sysdeps/ieee754/support.c: Likewise.
9236 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9237 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9238 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9239 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9240 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9241 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9242 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9243 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9244 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9245 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9246 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9247 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9250 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9251 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9252 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9254
44a988af
OB
92552013-06-05 Ondřej Bílka <neleai@seznam.cz>
9256
25506f09 9257 * posix/transbug.c: Remove executable mode.
44a988af 9258
9c84384c
JM
92592013-06-05 Joseph Myers <joseph@codesourcery.com>
9260
9261 * crypt/speeds.c: Remove trailing whitespace.
9262 * dlfcn/default.c: Likewise.
9263 * elf/ifuncdep2.c: Likewise.
9264 * elf/ifuncmain1.c: Likewise.
9265 * elf/ifuncmain1vis.c: Likewise.
9266 * elf/testobj.h: Likewise.
9267 * elf/tst-stackguard1.c: Likewise.
9268 * gmon/sys/gmon.h: Likewise.
9269 * hurd/hurdmsg.c: Likewise.
9270 * hurd/new-fd.c: Likewise.
9271 * hurd/ports-get.c: Likewise.
9272 * iconvdata/ibm1008_420.c: Likewise.
9273 * inet/tst-getni1.c: Likewise.
9274 * inet/tst-getni2.c: Likewise.
9275 * libio/ioungetc.c: Likewise.
9276 * libio/wfiledoalloc.c: Likewise.
9277 * manual/libm-err-tab.pl: Likewise.
9278 * math/w_dremf.c: Likewise.
9279 * misc/ftruncate.c: Likewise.
9280 * posix/bug-glob2.c: Likewise.
9281 * posix/tst-pcre.c: Likewise.
9282 * posix/wait4.c: Likewise.
9283 * resolv/README: Likewise.
9284 * resolv/res_debug.h: Likewise.
9285 * resolv/tst-inet_ntop.c: Likewise.
9286 * setjmp/bug269-setjmp.c: Likewise.
9287 * soft-fp/extended.h: Likewise.
9288 * soft-fp/op-1.h: Likewise.
9289 * soft-fp/op-2.h: Likewise.
9290 * soft-fp/op-4.h: Likewise.
9291 * soft-fp/op-8.h: Likewise.
9292 * soft-fp/testit.c: Likewise.
9293 * stdio-common/bug16.c: Likewise.
9294 * stdlib/random.c: Likewise.
9295 * sunrpc/rpcsvc/rquota.x: Likewise.
9296 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9297 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9299 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9300 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9301 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9302 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9303 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9304 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9306 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9325 * sysdeps/ieee754/s_lib_version.c: Likewise.
9326 * sysdeps/mach/hurd/check_fds.c: Likewise.
9327 * sysdeps/mach/hurd/getsockname.c: Likewise.
9328 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9329 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9330 * sysdeps/powerpc/bits/link.h: Likewise.
9331 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9332 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9333 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9334 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9335 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9336 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9337 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9338 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9339 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9340 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9341 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9342 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9343 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9344 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9345 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9346 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9351 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9352 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9353 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9354 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9355 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9357 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9362 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9365 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9366 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9367 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9368 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9369 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9370 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9371 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9372 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9374 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9375 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9377 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9379 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9380 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9383 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9384 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9385 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9386 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9387 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9388 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9392 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9393 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9394 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9395 * sysdeps/powerpc/sysdep.h: Likewise.
9396 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9397 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9398 * sysdeps/sh/dl-trampoline.S: Likewise.
9399 * sysdeps/sh/memset.S: Likewise.
9400 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9401 * sysdeps/sh/strlen.S: Likewise.
9402 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9403 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9404 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9405 * sysdeps/sparc/sparc32/rem.S: Likewise.
9406 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9407 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9408 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9409 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9410 * sysdeps/sparc/sparc32/urem.S: Likewise.
9411 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9412 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9413 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9414 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9416 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9417 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9418 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9419 * sysdeps/unix/bsd/times.c: Likewise.
9420 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9421 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9425 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9427 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9428 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9429 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9430 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9432 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9434 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9435 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9436 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9437 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9438 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9439 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9440 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9441 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9443 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9444 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9445 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9446 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9447 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9448 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9449 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9450 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9451 * sysdeps/x86_64/strcspn.S: Likewise.
9452
869378a5
RA
94532013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9454
9455 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9456 generated file. Regenerate properly from gen-translit.pl.
9457 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9458 locale/C-translit.h.
9459
840e2943
AS
94602013-06-05 Andreas Schwab <schwab@suse.de>
9461
9462 [BZ #15100]
9463 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9464 week as 6 instead of -1.
9465 * time/tst-strptime.c (day_tests): Add test case.
9466
4c60cb0c
SP
94672013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
9469 * sysdeps/generic/math_private.h
9470 (libc_feholdexcept_setround_53bit): Replace with
9471 libc_feholdsetround_53bit.
9472 (libc_feupdateenv_53bit): Replace with
9473 libc_feresetround_53bit.
9474 (SET_RESTORE_ROUND_53BIT): Adjust.
9475
d180203e
SP
94762013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9477
96df079a
SP
9478 * string/test-strchrnul.c: Add copyright header.
9479
d180203e
SP
9480 * posix/tst-getaddrinfo4.c: Increase test timeout.
9481
8b0ccb2d
CD
94822013-06-03 Carlos O'Donell <carlos@redhat.com>
9483
9484 [BZ #15536]
9485 * math/libm-test.inc (MAX_EXP): Remove
9486 (MIN_EXP): Define.
9487 (ulp): Use MIN_EXP - MANT_DIG.
9488 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9489
3b3c4d40
CD
94902013-05-31 Carlos O'Donell <carlos@redhat.com>
9491
9492 * po/be.po: Revert last change.
9493 * po/zh_CN.po: Likewise.
9494 * po/header.pot: Likewise.
9495
fab7ce3f
JM
94962013-05-31 Joseph Myers <joseph@codesourcery.com>
9497
9498 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9499 link-libc-deps to empty as target-specific variable.
9500 * Makerules (link-libc-args): New variable.
9501 (libc-for-link): Likewise.
9502 (link-libc-deps): Likewise.
9503 (lib%.so): Depend on $(link-libc-deps). Link with
9504 $(link-libc-args).
9505 (build-module): Link with $(link-libc-args).
9506 (build-module-asneeded): Likewise.
9507 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9508 list of objects.
9509 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9510 target-specific variable.
9511 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9512 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9513 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9514 libc.
9515 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9516 libc and ld.so.
9517 ($(objpfx)libpcprofile.so): Likewise.
9518 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9519 libc_nonshared.a.
9520 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9521 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9522 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9523 $(link-libc-deps).
9524 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9525 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9526 * login/Makefile ($(objpfx)libutil.so): Likewise.
9527 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9528 * math/Makefile ($(objpfx)libm.so): Likewise.
9529 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9530 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9531 variable instead of depending directly on libc.
9532 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9533 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9534 $(link-libc-deps).
9535 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9536 libc.
9537 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9538 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9539 ($(objpfx)libanl.so): Likewise.
9540 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9541 ld.so.
9542 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9543 $(link-libc-deps).
9544 * sysdeps/i386/fpu/Makefile: Remove file.
9545 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9546 ($(objpfx)libm.so): Remove dependency on ld.so.
9547
eca5920c
PF
95482013-05-30 Patsy Franklin <pfrankli@redhat.com>
9549
9550 [BZ # 15553]
9551 * nis/yp_xdr.c (XDRMAXNAME): Define.
9552 (XDRMAXRECORD): Define.
9553 (xdr_domainname): Use XDRMAXNAME.
9554 (xdr_mapname): Likewise.
9555 (xdr_peername): Likewise.
9556 (xdr_keydat): Use XDRMAXRECORD.
9557 (xdr_valdat): Likewise.
9558
95592013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9560
9561 [BZ #14256]
9562 * manual/errno.texi (ESTALE): Update to account for more than
9563 just NFS file systems.
9564 * sysdeps/gnu/errlist.c: Regenerated.
9565
b9375348
SP
95662013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
9568 [BZ #15465]
9569 * elf/Makefile (tests): Add tst-null-argv.
9570 (modules-names): Add tst-null-argv-lib.
9571 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9572 (tst-null-argv-ENV): Set environment for tst-null-argv.
9573 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9574 (RTLD_PROGNAME): New macro.
9575 * elf/tst-null-argv.c: New test case.
9576 * elf/tst-null-argv-lib.c: Library for test case.
9577 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9578 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9579 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9580 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9581 * elf/dl-init.c (call_init): Likewise.
9582 (_dl_init): Likewise.
9583 * elf/dl-load.c (print_search_path): Likewise.
9584 (_dl_map_object): Likewise.
9585 * elf/dl-lookup.c (do_lookup_x): Likewise.
9586 (add_dependency): Likewise.
9587 (_dl_lookup_symbol_x): Likewise.
9588 (_dl_debug_bindings): Likewise.
9589 * elf/dl-open.c (_dl_show_scope): Likewise.
9590 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9591 * elf/dl-version.c (match_symbol): Likewise.
9592 (_dl_check_map_versions): Likewise.
9593 * elf/rtld.c (dl_main): Likewise.
9594 (print_unresolved): Use RTLD_PROGNAME.
9595 (print_missing_version): Likewise.
9596 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9597 (elf_machine_rela): Likewise.
9598 * sysdeps/powerpc/powerpc32/dl-machine.c
9599 (__process_machine_rela): Likewise.
9600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9601 Likewise.
9602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9603 Likewise.
9604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9605 Likewise.
9606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9608 Likewise.
9609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9610 Likewise.
9611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9612
8a9f20c8
CD
96132013-05-28 Carlos O'Donell <carlos@redhat.com>
9614
9615 * po/be.po: Add descriptive title.
9616 * po/zh_CN.po: Likewise.
9617 * po/header.pot: Likewise.
9618
0e60d68e
MF
96192013-05-28 Mike Frysinger <vapier@gentoo.org>
9620
9621 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9622 error message.
9623 (enlarge_archive): Likewise.
9624
56b672e9
BN
96252013-05-28 Ben North <ben@redfrontdoor.org>
9626
9627 * manual/arith.texi (frexp): It is the magnitude of the return
9628 value which lies in [0.5, 1), not the return value itself.
9629
5e056687
AZ
96302013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9631
9632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9633
2b66ef5d
TS
96342013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9635
528c2405
TS
9636 * stdio-common/bug26.c (main): Correct fscanf template.
9637
07b4c13d
TS
9638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9639 declare _dl_skip_args.
9640
ec9dd97c
TS
9641 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9642 Don't declare.
9643
2b66ef5d
TS
9644 * manual/platform.texi: Add missing @end deftypefun.
9645
4f8dfe27
JM
96462013-05-24 Joseph Myers <joseph@codesourcery.com>
9647
0323d086
JM
9648 [BZ #15529]
9649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9650 bit of mantissa of 2^16382.
9651 * math/libm-test.inc (hypot_test_data): Add more tests.
9652
dd4259b9
JM
9653 * math/libm-test.inc: Add drem and pow10 to list of tested
9654 functions.
9655 (pow10_test): New function.
9656 (drem_test): Likewise.
9657 (drem_test_tonearest): Likewise.
9658 (drem_test_towardzero): Likewise.
9659 (drem_test_downward): Likewise.
9660 (drem_test_upward): Likewise.
9661 (main): Call the new functions.
9662
4f8dfe27
JM
9663 * math/libm-test.inc (finite_test_data): Remove.
9664 (finite_test): Run tests from isfinite_test_data.
9665 (gamma_test_data): Remove.
9666 (gamma_test): Run tests from lgamma_test_data.
9667 * sysdeps/i386/fpu/libm-test-ulps: Update.
9668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9669
d116b7c4
AZ
96702013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9671
9672 * manual/platform.texi: Add PowerPC PPR function set documentation.
9673 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9674 implementation.
9675
e96e3767
CD
96762013-05-24 Carlos O'Donell <carlos@redhat.com>
9677
9678 * math/libm-test.inc (MAX_EXP): Define.
9679 (ULPDIFF): Define.
9680 (ulp): New function.
9681 (check_float_internal): Use ULPDIFF.
9682 (cpow_test): Disable failing test.
9683 (check_ulp): Test ulp() implemetnation.
9684 (main): Call check_ulp before starting tests.
9685
b679a606
JM
96862013-05-24 Joseph Myers <joseph@codesourcery.com>
9687
e8bdba36
JM
9688 * math/gen-libm-test.pl (generate_testfile): Do not handle
9689 START_DATA and END_DATA.
9690 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9691 END_DATA.
9692 (acos_tonearest_test_data): Likewise.
9693 (acos_towardzero_test_data): Likewise.
9694 (acos_downward_test_data): Likewise.
9695 (acos_upward_test_data): Likewise.
9696 (acosh_test_data): Likewise.
9697 (asin_test_data): Likewise.
9698 (asin_tonearest_test_data): Likewise.
9699 (asin_towardzero_test_data): Likewise.
9700 (asin_downward_test_data): Likewise.
9701 (asin_upward_test_data): Likewise.
9702 (asinh_test_data): Likewise.
9703 (atan_test_data): Likewise.
9704 (atanh_test_data): Likewise.
9705 (atan2_test_data): Likewise.
9706 (cabs_test_data): Likewise.
9707 (cacos_test_data): Likewise.
9708 (cacosh_test_data): Likewise.
9709 (carg_test_data): Likewise.
9710 (casin_test_data): Likewise.
9711 (casinh_test_data): Likewise.
9712 (catan_test_data): Likewise.
9713 (catanh_test_data): Likewise.
9714 (cbrt_test_data): Likewise.
9715 (ccos_test_data): Likewise.
9716 (ccosh_test_data): Likewise.
9717 (ceil_test_data): Likewise.
9718 (cexp_test_data): Likewise.
9719 (cimag_test_data): Likewise.
9720 (clog_test_data): Likewise.
9721 (clog10_test_data): Likewise.
9722 (conj_test_data): Likewise.
9723 (copysign_test_data): Likewise.
9724 (cos_test_data): Likewise.
9725 (cos_tonearest_test_data): Likewise.
9726 (cos_towardzero_test_data): Likewise.
9727 (cos_downward_test_data): Likewise.
9728 (cos_upward_test_data): Likewise.
9729 (cosh_test_data): Likewise.
9730 (cosh_tonearest_test_data): Likewise.
9731 (cosh_towardzero_test_data): Likewise.
9732 (cosh_downward_test_data): Likewise.
9733 (cosh_upward_test_data): Likewise.
9734 (cpow_test_data): Likewise.
9735 (cproj_test_data): Likewise.
9736 (creal_test_data): Likewise.
9737 (csin_test_data): Likewise.
9738 (csinh_test_data): Likewise.
9739 (csqrt_test_data): Likewise.
9740 (ctan_test_data): Likewise.
9741 (ctan_tonearest_test_data): Likewise.
9742 (ctan_towardzero_test_data): Likewise.
9743 (ctan_downward_test_data): Likewise.
9744 (ctan_upward_test_data): Likewise.
9745 (ctanh_test_data): Likewise.
9746 (ctanh_tonearest_test_data): Likewise.
9747 (ctanh_towardzero_test_data): Likewise.
9748 (ctanh_downward_test_data): Likewise.
9749 (ctanh_upward_test_data): Likewise.
9750 (erf_test_data): Likewise.
9751 (erfc_test_data): Likewise.
9752 (exp_test_data): Likewise.
9753 (exp_tonearest_test_data): Likewise.
9754 (exp_towardzero_test_data): Likewise.
9755 (exp_downward_test_data): Likewise.
9756 (exp_upward_test_data): Likewise.
9757 (exp10_test_data): Likewise.
9758 (exp2_test_data): Likewise.
9759 (expm1_test_data): Likewise.
9760 (fabs_test_data): Likewise.
9761 (fdim_test_data): Likewise.
9762 (finite_test_data): Likewise.
9763 (floor_test_data): Likewise.
9764 (fma_test_data): Likewise.
9765 (fma_towardzero_test_data): Likewise.
9766 (fma_downward_test_data): Likewise.
9767 (fma_upward_test_data): Likewise.
9768 (fmax_test_data): Likewise.
9769 (fmin_test_data): Likewise.
9770 (fmod_test_data): Likewise.
9771 (fpclassify_test_data): Likewise.
9772 (frexp_test_data): Likewise.
9773 (gamma_test_data): Likewise.
9774 (hypot_test_data): Likewise.
9775 (ilogb_test_data): Likewise.
9776 (isfinite_test_data): Likewise.
9777 (isgreater_test_data): Likewise.
9778 (isgreaterequal_test_data): Likewise.
9779 (isinf_test_data): Likewise.
9780 (isless_test_data): Likewise.
9781 (islessequal_test_data): Likewise.
9782 (islessgreater_test_data): Likewise.
9783 (isnan_test_data): Likewise.
9784 (isnormal_test_data): Likewise.
9785 (issignaling_test_data): Likewise.
9786 (isunordered_test_data): Likewise.
9787 (j0_test_data): Likewise.
9788 (j1_test_data): Likewise.
9789 (jn_test_data): Likewise.
9790 (ldexp_test_data): Likewise.
9791 (lgamma_test_data): Likewise.
9792 (lrint_test_data): Likewise.
9793 (lrint_tonearest_test_data): Likewise.
9794 (lrint_towardzero_test_data): Likewise.
9795 (lrint_downward_test_data): Likewise.
9796 (lrint_upward_test_data): Likewise.
9797 (llrint_test_data): Likewise.
9798 (llrint_tonearest_test_data): Likewise.
9799 (llrint_towardzero_test_data): Likewise.
9800 (llrint_downward_test_data): Likewise.
9801 (llrint_upward_test_data): Likewise.
9802 (log_test_data): Likewise.
9803 (log10_test_data): Likewise.
9804 (log1p_test_data): Likewise.
9805 (log2_test_data): Likewise.
9806 (logb_test_data): Likewise.
9807 (logb_downward_test_data): Likewise.
9808 (lround_test_data): Likewise.
9809 (llround_test_data): Likewise.
9810 (modf_test_data): Likewise.
9811 (nearbyint_test_data): Likewise.
9812 (nextafter_test_data): Likewise.
9813 (nexttoward_test_data): Likewise.
9814 (pow_test_data): Likewise.
9815 (pow_tonearest_test_data): Likewise.
9816 (pow_towardzero_test_data): Likewise.
9817 (pow_downward_test_data): Likewise.
9818 (pow_upward_test_data): Likewise.
9819 (remainder_test_data): Likewise.
9820 (remainder_tonearest_test_data): Likewise.
9821 (remainder_towardzero_test_data): Likewise.
9822 (remainder_downward_test_data): Likewise.
9823 (remainder_upward_test_data): Likewise.
9824 (remquo_test_data): Likewise.
9825 (rint_test_data): Likewise.
9826 (rint_tonearest_test_data): Likewise.
9827 (rint_towardzero_test_data): Likewise.
9828 (rint_downward_test_data): Likewise.
9829 (rint_upward_test_data): Likewise.
9830 (round_test_data): Likewise.
9831 (scalb_test_data): Likewise.
9832 (scalbn_test_data): Likewise.
9833 (scalbln_test_data): Likewise.
9834 (signbit_test_data): Likewise.
9835 (sin_test_data): Likewise.
9836 (sin_tonearest_test_data): Likewise.
9837 (sin_towardzero_test_data): Likewise.
9838 (sin_downward_test_data): Likewise.
9839 (sin_upward_test_data): Likewise.
9840 (sincos_test_data): Likewise.
9841 (sinh_test_data): Likewise.
9842 (sinh_tonearest_test_data): Likewise.
9843 (sinh_towardzero_test_data): Likewise.
9844 (sinh_downward_test_data): Likewise.
9845 (sinh_upward_test_data): Likewise.
9846 (sqrt_test_data): Likewise.
9847 (tan_test_data): Likewise.
9848 (tan_tonearest_test_data): Likewise.
9849 (tan_towardzero_test_data): Likewise.
9850 (tan_downward_test_data): Likewise.
9851 (tan_upward_test_data): Likewise.
9852 (tanh_test_data): Likewise.
9853 (tgamma_test_data): Likewise.
9854 (trunc_test_data): Likewise.
9855 (y0_test_data): Likewise.
9856 (y1_test_data): Likewise.
9857 (yn_test_data): Likewise.
9858 (significand_test_data): Likewise.
9859
b679a606
JM
9860 * math/gen-libm-test.pl (@functions): Remove variable.
9861 (generate_testfile): Don't handle START and END lines.
9862 * math/libm-test.inc (START): New macro.
9863 (END): Likewise.
9864 (END_COMPLEX): Likewise.
9865 (acos_test): Use END macro without arguments.
9866 (acos_test_tonearest): Likewise.
9867 (acos_test_towardzero): Likewise.
9868 (acos_test_downward): Likewise.
9869 (acos_test_upward): Likewise.
9870 (acosh_test): Likewise.
9871 (asin_test): Likewise.
9872 (asin_test_tonearest): Likewise.
9873 (asin_test_towardzero): Likewise.
9874 (asin_test_downward): Likewise.
9875 (asin_test_upward): Likewise.
9876 (asinh_test): Likewise.
9877 (atan_test): Likewise.
9878 (atanh_test): Likewise.
9879 (atan2_test): Likewise.
9880 (cabs_test): Likewise.
9881 (cacos_test): Use END_COMPLEX macro without arguments.
9882 (cacosh_test): Likewise.
9883 (carg_test): Use END macro without arguments.
9884 (casin_test): Use END_COMPLEX macro without arguments.
9885 (casinh_test): Likewise.
9886 (catan_test): Likewise.
9887 (catanh_test): Likewise.
9888 (cbrt_test): Use END macro without arguments.
9889 (ccos_test): Use END_COMPLEX macro without arguments.
9890 (ccosh_test): Likewise.
9891 (ceil_test): Use END macro without arguments.
9892 (cexp_test): Use END_COMPLEX macro without arguments.
9893 (cimag_test): Use END macro without arguments.
9894 (clog_test): Use END_COMPLEX macro without arguments.
9895 (clog10_test): Likewise.
9896 (conj_test): Likewise.
9897 (copysign_test): Use END macro without arguments.
9898 (cos_test): Likewise.
9899 (cos_test_tonearest): Likewise.
9900 (cos_test_towardzero): Likewise.
9901 (cos_test_downward): Likewise.
9902 (cos_test_upward): Likewise.
9903 (cosh_test): Likewise.
9904 (cosh_test_tonearest): Likewise.
9905 (cosh_test_towardzero): Likewise.
9906 (cosh_test_downward): Likewise.
9907 (cosh_test_upward): Likewise.
9908 (cpow_test): Use END_COMPLEX macro without arguments.
9909 (cproj_test): Likewise.
9910 (creal_test): Use END macro without arguments.
9911 (csin_test): Use END_COMPLEX macro without arguments.
9912 (csinh_test): Likewise.
9913 (csqrt_test): Likewise.
9914 (ctan_test): Likewise.
9915 (ctan_test_tonearest): Likewise.
9916 (ctan_test_towardzero): Likewise.
9917 (ctan_test_downward): Likewise.
9918 (ctan_test_upward): Likewise.
9919 (ctanh_test): Likewise.
9920 (ctanh_test_tonearest): Likewise.
9921 (ctanh_test_towardzero): Likewise.
9922 (ctanh_test_downward): Likewise.
9923 (ctanh_test_upward): Likewise.
9924 (erf_test): Use END macro without arguments.
9925 (erfc_test): Likewise.
9926 (exp_test): Likewise.
9927 (exp_test_tonearest): Likewise.
9928 (exp_test_towardzero): Likewise.
9929 (exp_test_downward): Likewise.
9930 (exp_test_upward): Likewise.
9931 (exp10_test): Likewise.
9932 (exp2_test): Likewise.
9933 (expm1_test): Likewise.
9934 (fabs_test): Likewise.
9935 (fdim_test): Likewise.
9936 (finite_test): Likewise.
9937 (floor_test): Likewise.
9938 (fma_test): Likewise.
9939 (fma_test_towardzero): Likewise.
9940 (fma_test_downward): Likewise.
9941 (fma_test_upward): Likewise.
9942 (fmax_test): Likewise.
9943 (fmin_test): Likewise.
9944 (fmod_test): Likewise.
9945 (fpclassify_test): Likewise.
9946 (frexp_test): Likewise.
9947 (gamma_test): Likewise.
9948 (hypot_test): Likewise.
9949 (ilogb_test): Likewise.
9950 (isfinite_test): Likewise.
9951 (isgreater_test): Likewise.
9952 (isgreaterequal_test): Likewise.
9953 (isinf_test): Likewise.
9954 (isless_test): Likewise.
9955 (islessequal_test): Likewise.
9956 (islessgreater_test): Likewise.
9957 (isnan_test): Likewise.
9958 (isnormal_test): Likewise.
9959 (issignaling_test): Likewise.
9960 (isunordered_test): Likewise.
9961 (j0_test): Likewise.
9962 (j1_test): Likewise.
9963 (jn_test): Likewise.
9964 (ldexp_test): Likewise.
9965 (lgamma_test): Likewise.
9966 (lrint_test): Likewise.
9967 (lrint_test_tonearest): Likewise.
9968 (lrint_test_towardzero): Likewise.
9969 (lrint_test_downward): Likewise.
9970 (lrint_test_upward): Likewise.
9971 (llrint_test): Likewise.
9972 (llrint_test_tonearest): Likewise.
9973 (llrint_test_towardzero): Likewise.
9974 (llrint_test_downward): Likewise.
9975 (llrint_test_upward): Likewise.
9976 (log_test): Likewise.
9977 (log10_test): Likewise.
9978 (log1p_test): Likewise.
9979 (log2_test): Likewise.
9980 (logb_test): Likewise.
9981 (logb_test_downward): Likewise.
9982 (lround_test): Likewise.
9983 (llround_test): Likewise.
9984 (modf_test): Likewise.
9985 (nearbyint_test): Likewise.
9986 (nextafter_test): Likewise.
9987 (nexttoward_test): Likewise.
9988 (pow_test): Likewise.
9989 (pow_test_tonearest): Likewise.
9990 (pow_test_towardzero): Likewise.
9991 (pow_test_downward): Likewise.
9992 (pow_test_upward): Likewise.
9993 (remainder_test): Likewise.
9994 (remainder_test_tonearest): Likewise.
9995 (remainder_test_towardzero): Likewise.
9996 (remainder_test_downward): Likewise.
9997 (remainder_test_upward): Likewise.
9998 (remquo_test): Likewise.
9999 (rint_test): Likewise.
10000 (rint_test_tonearest): Likewise.
10001 (rint_test_towardzero): Likewise.
10002 (rint_test_downward): Likewise.
10003 (rint_test_upward): Likewise.
10004 (round_test): Likewise.
10005 (scalb_test): Likewise.
10006 (scalbn_test): Likewise.
10007 (scalbln_test): Likewise.
10008 (signbit_test): Likewise.
10009 (sin_test): Likewise.
10010 (sin_test_tonearest): Likewise.
10011 (sin_test_towardzero): Likewise.
10012 (sin_test_downward): Likewise.
10013 (sin_test_upward): Likewise.
10014 (sincos_test): Likewise.
10015 (sinh_test): Likewise.
10016 (sinh_test_tonearest): Likewise.
10017 (sinh_test_towardzero): Likewise.
10018 (sinh_test_downward): Likewise.
10019 (sinh_test_upward): Likewise.
10020 (sqrt_test): Likewise.
10021 (tan_test): Likewise.
10022 (tan_test_tonearest): Likewise.
10023 (tan_test_towardzero): Likewise.
10024 (tan_test_downward): Likewise.
10025 (tan_test_upward): Likewise.
10026 (tanh_test): Likewise.
10027 (tgamma_test): Likewise.
10028 (trunc_test): Likewise.
10029 (y0_test): Likewise.
10030 (y1_test): Likewise.
10031 (yn_test): Likewise.
10032 (significand_test): Likewise.
10033
bae143d2
OB
100342013-05-24 Ondřej Bílka <neleai@seznam.cz>
10035
10036 [BZ #15381]
10037 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10038
9323d39b
EM
100392013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10040
d4ea44a0 10041 [BZ #14894]
9323d39b
EM
10042 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10043 __ppc_mdoio and __ppc_mdoom.
10044 * manual/platform.texi: Document new functions __ppc_yield,
10045 __ppc_mdoio and __ppc_mdoom.
10046
13e23af7
CD
100472013-05-22 Carlos O'Donell <carlos@redhat.com>
10048
10049 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10050 (main): Mention "tls" pseudo-hwcap is legacy.
10051 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10052
351fe550
JM
100532013-05-22 Joseph Myers <joseph@codesourcery.com>
10054
10055 * math/gen-libm-test.pl (parse_args): Output only string of
10056 arguments as text for test name, not full call or descriptions of
10057 tests for extra outputs.
10058 (generate_testfile): Do not pass function name to parse_args.
10059 Generate this_func variable from START.
10060 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10061 field to arg_str.
10062 (struct test_ff_f_data): Likewise.
10063 (test_ff_f_data_nexttoward): Likewise.
10064 (struct test_fi_f_data): Likewise.
10065 (struct test_fl_f_data): Likewise.
10066 (struct test_if_f_data): Likewise.
10067 (struct test_fff_f_data): Likewise.
10068 (struct test_c_f_data): Likewise.
10069 (struct test_f_f1_data): Likewise. Remove field extra_name.
10070 (struct test_fF_f1_data): Likewise.
10071 (struct test_ffI_f1_data): Likewise.
10072 (struct test_c_c_data): Rename test_name field to arg_str.
10073 (struct test_cc_c_data): Likewise.
10074 (struct test_f_i_data): Likewise.
10075 (struct test_ff_i_data): Likewise.
10076 (struct test_f_l_data): Likewise.
10077 (struct test_f_L_data): Likewise.
10078 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10079 and extra2_name.
10080 (COMMON_TEST_SETUP): New macro.
10081 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10082 (COMMON_TEST_CLEANUP): Likewise.
10083 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10084 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10085 macros.
10086 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10087 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10088 macros.
10089 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10090 (RUN_TEST_fff_f): Take argument string. Call new setup and
10091 cleanup macros.
10092 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10093 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10094 macros.
10095 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10096 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10097 macros.
10098 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10099 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10100 cleanup macros.
10101 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10102 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10103 cleanup macros.
10104 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10105 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10106 cleanup macros.
10107 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10108 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10109 macros.
10110 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10111 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10112 macros.
10113 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10114 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10115 macros.
10116 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10117 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10118 cleanup macros.
10119 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10120 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10121 cleanup macros.
10122 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10123 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10124 macros.
10125 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10126 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10127 cleanup macros.
10128 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10129 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10130 macros.
10131 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10132 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10133 macros.
10134 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10135 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10136 cleanup macros.
10137 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10138
85118d4d
EBM
101392013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10140
10141 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10142 to _sifields.sigfault.
10143 (si_addr_lsb): Define new macro.
10144 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10147
7a44c18f
CD
101482013-05-03 Carlos O'Donell <carlos at redhat.com>
10149
10150 [BZ #15441]
10151 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10152 returns -1.
10153 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10154 null return -1.
10155 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10156 loading the domain.
10157
b50a7181
JM
101582013-05-22 Joseph Myers <joseph@codesourcery.com>
10159
10160 * math/gen-libm-test.pl (parse_args): Do not include expected
10161 result in test name.
10162 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10163 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10164 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10165 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10168
051063c8
SP
101692013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10170
3ce9e010
SP
10171 * benchtests/Makefile: Sort function entries.
10172
051063c8
SP
10173 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10174 tanh, asinh, acosh, atanh.
10175 * benchtests/acos-inputs: New file.
10176 * benchtests/acosh-inputs: New file.
10177 * benchtests/asin-inputs: New file.
10178 * benchtests/asinh-inputs: New file.
10179 * benchtests/atanh-inputs: New file.
10180 * benchtests/cosh-inputs: New file.
10181 * benchtests/log-inputs: New file.
10182 * benchtests/sinh-inputs: New file.
10183 * benchtests/tanh-inputs: New file.
10184
47c22455
DL
101852013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10186
10187 [BZ #15339]
10188 * posix/tst-getaddrinfo4.c: New test.
10189 * posix/Makefile (tests): Add it.
10190
3d04f5db
SP
101912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10192
10193 [BZ #15339]
10194 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10195 when no services were used.
10196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10197 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10198
d5dd6189
AS
101992013-05-21 Andreas Schwab <schwab@suse.de>
10200
10201 [BZ #15014]
10202 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10203 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10204 successful.
10205 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10206 redundant variable declarations and reallocation of buffer when
10207 parsing as IPv6 address. Always set NSS status when called from
10208 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10209 buffer too small. Correct computation of needed size.
10210 * nss/Makefile (tests): Add test-digits-dots.
10211 * nss/test-digits-dots.c: New test.
10212
fef94eab
SP
102132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10214
10215 * benchtests/Makefile: Remove instructions for adding
10216 benchmark tests.
10217 * benchtests/README: New file to explain how to execute and
10218 enhance the benchmark tests.
10219
e39adf43
AS
102202013-05-21 Andreas Schwab <schwab@suse.de>
10221
10222 [BZ #15493]
10223 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10224 * setjmp/tst-sigsetjmp.c: New test.
10225
b2b671b6
OB
102262013-05-20 Ondřej Bílka <neleai@seznam.cz>
10227
10228 * sysdeps/x86_64/memset.S (memset): New implementation.
10229 (__bzero): Likewise.
10230 (__memset_tail): New function.
10231
2d48b41c
OB
102322013-05-20 Ondřej Bílka <neleai@seznam.cz>
10233
10234 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10235 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10236 __memcpy_sse2_unaligned ifunc selection.
10237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10238 Add memcpy-sse2-unaligned.S.
10239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10240 Add: __memcpy_sse2_unaligned.
10241
f16cc3eb
JM
102422013-05-19 Joseph Myers <joseph@codesourcery.com>
10243
3e694268
JM
10244 [BZ #15490]
10245 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10246 math_force_eval before restoring floating-point envrionment.
10247 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10249 Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10251 <math_private.h>.
10252 (__nearbyintl): Use math_force_eval before restoring
10253 floating-point environment.
10254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10255
db62a907
JM
10256 * math/gen-libm-test.pl (special_functions): Remove.
10257 (parse_args): Don't handle TEST_extra. Handle functions with no
10258 return value.
10259 * math/libm-test.inc (struct test_sincos_data): Replace with
10260 struct test_fFF_11_data.
10261 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10262 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10263 (sincos_test_data): Change element type to struct
10264 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10265 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10266 RUN_TEST_LOOP_sincos.
10267 * math/README.libm-test: Don't mention special handling of
10268 individual functions.
10269 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10275
f16cc3eb
JM
10276 * math/gen-libm-test.pl (get_variable): Remove function.
10277 (parse_args): Don't show pointer parameters to call in test
10278 names. Use "extra output N" in test names for extra outputs
10279 rather than naming variables.
10280
3779b5b6
JM
102812013-05-18 Joseph Myers <joseph@codesourcery.com>
10282
2ee094ff
JM
10283 [BZ #15488]
10284 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10285 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10286 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10287 double tests.
10288 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10289 disable.
10290 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10291 check_long_double.
10292
3779b5b6
JM
10293 * math/gen-libm-test.pl (@tests): Remove variable.
10294 ($count): Likewise.
10295 (new_test): Remove function.
10296 (show_exceptions): New function.
10297 (special_functions): Use show_exceptions instead of new_test.
10298 (parse_args): Likewise.
10299 (generate_testfile): Pass only function name in generated call to
10300 print_max_error or print_complex_max_error.
10301 (get_ulps): Do not handle complex tests specially.
10302 (output_test): Rename to ...
10303 (get_all_ulps_for_test): ... this. Return a string rather than
10304 printing to a file. Require ulps to be present.
10305 (output_ulps): Generate arrays rather than #defines.
10306 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10307 (struct ulp_data): New type.
10308 (BUILD_COMPLEX_ULP): Remove macro.
10309 (compare_ulp_data): New function.
10310 (find_ulps): Likewise.
10311 (find_test_ulps): Likewise.
10312 (find_function_ulps): Likewise.
10313 (find_complex_function_ulps): Likewise.
10314 (print_max_error): Determine allowed ulps using
10315 find_function_ulps.
10316 (print_complex_max_error): Determine allowed ulps using
10317 find_complex_function_ulps.
10318 (check_float_internal): Determine max ulps using find_test_ulps.
10319 (check_float): Do not take max_ulp parameter. Update call to
10320 check_float_internal.
10321 (check_complex): Likewise.
10322 (check_int): Do not take max_ulp parameter.
10323 (check_long): Likewise.
10324 (check_bool): Likewise.
10325 (check_longlong): Likewise.
10326 (struct test_f_f_data): Remove max_ulp field.
10327 (struct test_ff_f_data): Likewise.
10328 (struct test_ff_f_data_nexttoward): Likewise.
10329 (struct test_fi_f_data): Likewise.
10330 (struct test_fl_f_data): Likewise.
10331 (struct test_if_f_data): Likewise.
10332 (struct test_fff_f_data): Likewise.
10333 (struct test_c_f_data): Likewise.
10334 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10335 (struct test_fF_f1_data): Likewise.
10336 (struct test_ffI_f1_data): Likewise.
10337 (struct test_c_c_data): Remove max_ulp field.
10338 (struct test_cc_c_data): Likewise.
10339 (struct test_f_i_data): Likewise.
10340 (struct test_ff_i_data): Likewise.
10341 (struct test_f_l_data): Likewise.
10342 (struct test_f_L_data): Likewise.
10343 (struct test_sincos_data): Likewise.
10344 (RUN_TEST_f_f): Do not handle ulps.
10345 (RUN_TEST_LOOP_f_f): Likewise.
10346 (RUN_TEST_2_f): Likewise.
10347 (RUN_TEST_LOOP_2_f): Likewise.
10348 (RUN_TEST_fff_f): Likewise.
10349 (RUN_TEST_LOOP_fff_f): Likewise.
10350 (RUN_TEST_c_f): Likewise.
10351 (RUN_TEST_LOOP_c_f): Likewise.
10352 (RUN_TEST_f_f1): Likewise.
10353 (RUN_TEST_LOOP_f_f1): Likewise.
10354 (RUN_TEST_fF_f1): Likewise.
10355 (RUN_TEST_LOOP_fF_f1): Likewise.
10356 (RUN_TEST_fI_f1): Likewise.
10357 (RUN_TEST_LOOP_fI_f1): Likewise.
10358 (RUN_TEST_ffI_f1): Likewise.
10359 (RUN_TEST_LOOP_ffI_f1): Likewise.
10360 (RUN_TEST_c_c): Likewise.
10361 (RUN_TEST_LOOP_c_c): Likewise.
10362 (RUN_TEST_cc_c): Likewise.
10363 (RUN_TEST_LOOP_cc_c): Likewise.
10364 (RUN_TEST_f_i): Likewise.
10365 (RUN_TEST_LOOP_f_i): Likewise.
10366 (RUN_TEST_f_i_tg): Likewise.
10367 (RUN_TEST_LOOP_f_i_tg): Likewise.
10368 (RUN_TEST_ff_i_tg): Likewise.
10369 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10370 (RUN_TEST_f_b): Likewise.
10371 (RUN_TEST_LOOP_f_b): Likewise.
10372 (RUN_TEST_f_b_tg): Likewise.
10373 (RUN_TEST_LOOP_f_b_tg): Likewise.
10374 (RUN_TEST_f_l): Likewise.
10375 (RUN_TEST_LOOP_f_l): Likewise.
10376 (RUN_TEST_f_L): Likewise.
10377 (RUN_TEST_LOOP_f_L): Likewise.
10378 (RUN_TEST_sincos): Likewise.
10379 (RUN_TEST_LOOP_sincos): Likewise.
10380
8269107f
JM
103812013-05-17 Joseph Myers <joseph@codesourcery.com>
10382
bb38759d
JM
10383 [BZ #15480]
10384 [BZ #15485]
10385 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10386 main case of finite arguments, set rounding mode to FE_TONEAREST
10387 and discard exceptions.
10388 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10389 exceptions.
10390 (remainder_tonearest_test_data): New variable.
10391 (remainder_test_tonearest): New function.
10392 (remainder_towardzero_test_data): New variable.
10393 (remainder_test_towardzero): New function.
10394 (remainder_downward_test_data): New variable.
10395 (remainder_test_downward): New function.
10396 (remainder_upward_test_data): New variable.
10397 (remainder_test_upward): New function.
10398 (main): Call the new test functions.
10399
a00bdcf0
JM
10400 * math/libm-test.inc (struct test_f_f1_data): Remove field
10401 extra_init.
10402 (struct test_fF_f1_data): Likewise.
10403 (struct test_ffI_f1_data): Likewise.
10404 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10405 based on value of EXTRA_EXPECTED.
10406 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10407 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10408 EXTRA_VAR based on value of EXTRA_EXPECTED.
10409 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10410 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10411 EXTRA_VAR based on value of EXTRA_EXPECTED.
10412 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10413 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10414 EXTRA_VAR based on value of EXTRA_EXPECTED.
10415 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10416 * math/gen-libm-test.pl (parse_args): Don't output initializers
10417 for extra output values.
10418
de407f79
JM
10419 * math/libm-test.inc (check_int): Expect result to be exactly
10420 equal to expected value and do not handle ulps.
10421 (check_long): Likewise.
10422 (check_longlong): Likewise.
10423
8269107f
JM
10424 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10425 exceptions.
10426 (cimag_test_data): Likewise.
10427 (conj_test_data): Likewise.
10428 (copysign_test_data): Likewise.
10429 (cproj_test_data): Likewise.
10430 (creal_test_data): Likewise.
10431 (fabs_test_data): Likewise.
10432 (fdim_test_data): Likewise.
10433 (finite_test_data): Likewise.
10434 (floor_test_data): Likewise.
10435 (fmax_test_data): Likewise.
10436 (fmin_test_data): Likewise.
10437 (fmod_test_data): Likewise.
10438 (fpclassify_test_data): Likewise.
10439 (frexp_test_data): Likewise.
10440 (ilogb_test_data): Likewise.
10441 (isfinite_test_data): Likewise.
10442 (isgreater_test_data): Likewise.
10443 (isgreaterequal_test_data): Likewise.
10444 (isinf_test_data): Likewise.
10445 (isless_test_data): Likewise.
10446 (islessequal_test_data): Likewise.
10447 (islessgreater_test_data): Likewise.
10448 (isnan_test_data): Likewise.
10449 (isnormal_test_data): Likewise.
10450 (issignaling_test_data): Likewise.
10451 (isunordered_test_data): Likewise.
10452 (ldexp_test_data): Likewise.
10453 (lrint_test_data): Likewise.
10454 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10455 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10456 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10457 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10458 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10459 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10460 test input.
10461 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10462 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10463 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10464 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10465 that test input.
10466 (lrint_downward_test_data): Test for "inexact" exceptions.
10467 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10468 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10469 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10470 test input.
10471 (lrint_upward_test_data): Test for "inexact" exceptions.
10472 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10473 test input.
10474 (llrint_test_data): Test for "inexact" exceptions.
10475 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10476 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10477 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10478 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10479 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10480 (llrint_downward_test_data): Test for "inexact" exceptions.
10481 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10482 (llrint_upward_test_data): Test for "inexact" exceptions.
10483 (logb_test_data): Likewise.
10484 (logb_downward_test_data): Likewise.
10485 (nextafter_test_data): Likewise.
10486 (nexttoward_test_data): Likewise.
10487 (remainder_test_data): Likewise.
10488 (remquo_test_data): Likewise.
10489 (scalbn_test_data): Likewise.
10490 (scalbln_test_data): Likewise.
10491 (signbit_test_data): Likewise.
10492 (sqrt_test_data): Likewise.
10493 (significand_test_data): Likewise.
10494
48a18de1
SP
104952013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10496
10497 [BZ #15424]
10498 * benchtests/bench-modf.c (struct args): Mark arg0 as
10499 volatile.
10500 * scripts/bench.pl: Mark members of struct args as volatile.
10501
13d3b41a
AZ
105022013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10503
68191c1d 10504 [BZ # 15497]
13d3b41a
AZ
10505 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10506 negative infinity on POWER6 or lower.
10507 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10508
2848b105
MR
105092013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10510
10511 [BZ #15442]
10512 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10513 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10514 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10515 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10516 (_FP_SETQNAN): New macro.
10517 (_FP_SETQNAN_SEMIRAW): Likewise.
10518 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10519 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10520 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10521 (FP_EXTEND): Use _FP_FRAC_SNANP.
10522 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10523 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10524 into account.
10525 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10526 New macro.
10527 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10528 Likewise.
10529
323e5cb7
JM
105302013-05-16 Joseph Myers <joseph@codesourcery.com>
10531
c58b274f
JM
10532 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10533 with DIVIDE_BY_ZERO_EXCEPTION.
10534 (gamma_test_data): Likewise.
10535 (lgamma_test_data): Likewise.
10536 (log_test_data): Likewise.
10537 (log10_test_data): Likewise.
10538 (log2_test_data): Likewise.
10539 (tgamma_test_data): Likewise.
10540
0ab34904
JM
10541 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10542 (acos_test_tonearest): Likewise.
10543 (acos_test_towardzero): Likewise.
10544 (acos_test_downward): Likewise.
10545 (acos_test_upward): Likewise.
10546 (acosh_test): Likewise.
10547 (asin_test): Likewise.
10548 (asin_test_tonearest): Likewise.
10549 (asin_test_towardzero): Likewise.
10550 (asin_test_downward): Likewise.
10551 (asin_test_upward): Likewise.
10552 (asinh_test): Likewise.
10553 (atan_test): Likewise.
10554 (atanh_test): Likewise.
10555 (atan2_test): Likewise.
10556 (cabs_test): Likewise.
10557 (cacos_test): Likewise.
10558 (cacosh_test): Likewise.
10559 (casin_test): Likewise.
10560 (casinh_test): Likewise.
10561 (catan_test): Likewise.
10562 (catanh_test): Likewise.
10563 (cbrt_test): Likewise.
10564 (ccos_test): Likewise.
10565 (ccosh_test): Likewise.
10566 (cexp_test): Likewise.
10567 (clog_test): Likewise.
10568 (clog10_test): Likewise.
10569 (cos_test): Likewise.
10570 (cos_test_tonearest): Likewise.
10571 (cos_test_towardzero): Likewise.
10572 (cos_test_downward): Likewise.
10573 (cos_test_upward): Likewise.
10574 (cosh_test): Likewise.
10575 (cosh_test_tonearest): Likewise.
10576 (cosh_test_towardzero): Likewise.
10577 (cosh_test_downward): Likewise.
10578 (cosh_test_upward): Likewise.
10579 (cpow_test): Likewise.
10580 (csin_test): Likewise.
10581 (csinh_test): Likewise.
10582 (csqrt_test): Likewise.
10583 (ctan_test): Likewise.
10584 (ctan_test_tonearest): Likewise.
10585 (ctan_test_towardzero): Likewise.
10586 (ctan_test_downward): Likewise.
10587 (ctan_test_upward): Likewise.
10588 (ctanh_test): Likewise.
10589 (ctanh_test_tonearest): Likewise.
10590 (ctanh_test_towardzero): Likewise.
10591 (ctanh_test_downward): Likewise.
10592 (ctanh_test_upward): Likewise.
10593 (erf_test): Likewise.
10594 (erfc_test): Likewise.
10595 (exp_test): Likewise.
10596 (exp_test_tonearest): Likewise.
10597 (exp_test_towardzero): Likewise.
10598 (exp_test_downward): Likewise.
10599 (exp_test_upward): Likewise.
10600 (exp10_test): Likewise.
10601 (exp2_test): Likewise.
10602 (expm1_test): Likewise.
10603 (fmod_test): Likewise.
10604 (gamma_test): Likewise.
10605 (hypot_test): Likewise.
10606 (j0_test): Likewise.
10607 (j1_test): Likewise.
10608 (jn_test): Likewise.
10609 (lgamma_test): Likewise.
10610 (log_test): Likewise.
10611 (log10_test): Likewise.
10612 (log1p_test): Likewise.
10613 (log2_test): Likewise.
10614 (logb_test_downward): Likewise.
10615 (pow_test): Likewise.
10616 (pow_test_tonearest): Likewise.
10617 (pow_test_towardzero): Likewise.
10618 (pow_test_downward): Likewise.
10619 (pow_test_upward): Likewise.
10620 (remainder_test): Likewise.
10621 (remquo_test): Likewise.
10622 (sin_test): Likewise.
10623 (sin_test_tonearest): Likewise.
10624 (sin_test_towardzero): Likewise.
10625 (sin_test_downward): Likewise.
10626 (sin_test_upward): Likewise.
10627 (sincos_test): Likewise.
10628 (sinh_test): Likewise.
10629 (sinh_test_tonearest): Likewise.
10630 (sinh_test_towardzero): Likewise.
10631 (sinh_test_downward): Likewise.
10632 (sinh_test_upward): Likewise.
10633 (sqrt_test): Likewise.
10634 (tan_test): Likewise.
10635 (tan_test_tonearest): Likewise.
10636 (tan_test_towardzero): Likewise.
10637 (tan_test_downward): Likewise.
10638 (tan_test_upward): Likewise.
10639 (tanh_test): Likewise.
10640 (tgamma_test): Likewise.
10641 (y0_test): Likewise.
10642 (y1_test): Likewise.
10643 (yn_test): Likewise.
10644
323e5cb7
JM
10645 * math/gen-libm-test.pl (adjust_arg): Remove function.
10646 (special_function): Remove argument $in_func. Only handle
10647 generating output for tables of tests, not inside functions.
10648 (parse_args): Likewise.
10649 (generate_testfile): Remove variable $in_func. Update call to
10650 parse_args.
10651 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10652 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10653 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10654 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10655 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10656 (MAX_VALUE_INIT): Rename macro to max_value.
10657 (MIN_VALUE_INIT): Rename macro to min_value.
10658 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10659 (plus_zero): Remove variable.
10660 (minus_zero): Likewise.
10661 (plus_infty): Likewise.
10662 (minus_infty): Likewise.
10663 (qnan_value): Likewise.
10664 (max_value): Likewise.
10665 (min_value): Likewise.
10666 (min_subnorm_value): Likewise.
10667
e054f494
RA
106682013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10669
10670 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10671 uint64_t or uint32_t usage.
10672 * crypt/sha256-block.c: Likewise.
10673 * crypt/sha256-crypt.c: Likewise.
10674 * crypt/sha256.c: Likewise.
10675 * crypt/sha512-block.c: Likewise.
10676 * crypt/sha512-crypt.c: Likewise.
10677 * crypt/sha512.c: Likewise.
10678 * debug/backtrace-tst.c: Likewise.
10679 * debug/pcprofiledump.c: Likewise.
10680 * elf/cache.c: Likewise.
10681 * elf/dl-cache.c: Likewise.
10682 * elf/dl-misc.c: Likewise.
10683 * elf/dl-profile.c: Likewise.
10684 * elf/dl-support.c: Likewise.
10685 * elf/ldconfig.c: Likewise.
10686 * elf/sprof.c: Likewise.
10687 * iconv/dummy-repertoire.c: Likewise.
10688 * iconv/iconv_charmap.c: Likewise.
10689 * iconv/skeleton.c: Likewise.
10690 * iconvdata/8bit-generic.c: Likewise.
10691 * iconvdata/cp737.h: Likewise.
10692 * iconvdata/cp775.h: Likewise.
10693 * iconvdata/ibm1008.h: Likewise.
10694 * iconvdata/ibm1025.h: Likewise.
10695 * iconvdata/ibm1046.h: Likewise.
10696 * iconvdata/ibm1097.h: Likewise.
10697 * iconvdata/ibm1112.h: Likewise.
10698 * iconvdata/ibm1122.h: Likewise.
10699 * iconvdata/ibm1123.h: Likewise.
10700 * iconvdata/ibm1124.h: Likewise.
10701 * iconvdata/ibm1129.h: Likewise.
10702 * iconvdata/ibm1130.h: Likewise.
10703 * iconvdata/ibm1132.h: Likewise.
10704 * iconvdata/ibm1133.h: Likewise.
10705 * iconvdata/ibm1137.h: Likewise.
10706 * iconvdata/ibm1140.h: Likewise.
10707 * iconvdata/ibm1141.h: Likewise.
10708 * iconvdata/ibm1142.h: Likewise.
10709 * iconvdata/ibm1143.h: Likewise.
10710 * iconvdata/ibm1144.h: Likewise.
10711 * iconvdata/ibm1145.h: Likewise.
10712 * iconvdata/ibm1146.h: Likewise.
10713 * iconvdata/ibm1147.h: Likewise.
10714 * iconvdata/ibm1148.h: Likewise.
10715 * iconvdata/ibm1149.h: Likewise.
10716 * iconvdata/ibm1153.h: Likewise.
10717 * iconvdata/ibm1154.h: Likewise.
10718 * iconvdata/ibm1155.h: Likewise.
10719 * iconvdata/ibm1156.h: Likewise.
10720 * iconvdata/ibm1157.h: Likewise.
10721 * iconvdata/ibm1158.h: Likewise.
10722 * iconvdata/ibm1160.h: Likewise.
10723 * iconvdata/ibm1161.h: Likewise.
10724 * iconvdata/ibm1162.h: Likewise.
10725 * iconvdata/ibm1163.h: Likewise.
10726 * iconvdata/ibm1164.h: Likewise.
10727 * iconvdata/ibm1166.h: Likewise.
10728 * iconvdata/ibm1167.h: Likewise.
10729 * iconvdata/ibm12712.h: Likewise.
10730 * iconvdata/ibm1390.h: Likewise.
10731 * iconvdata/ibm1399.h: Likewise.
10732 * iconvdata/ibm16804.h: Likewise.
10733 * iconvdata/ibm4517.h: Likewise.
10734 * iconvdata/ibm4899.h: Likewise.
10735 * iconvdata/ibm4909.h: Likewise.
10736 * iconvdata/ibm4971.h: Likewise.
10737 * iconvdata/ibm5347.h: Likewise.
10738 * iconvdata/ibm803.h: Likewise.
10739 * iconvdata/ibm856.h: Likewise.
10740 * iconvdata/ibm901.h: Likewise.
10741 * iconvdata/ibm902.h: Likewise.
10742 * iconvdata/ibm9030.h: Likewise.
10743 * iconvdata/ibm9066.h: Likewise.
10744 * iconvdata/ibm921.h: Likewise.
10745 * iconvdata/ibm922.h: Likewise.
10746 * iconvdata/ibm9448.h: Likewise.
10747 * iconvdata/isiri-3342.h: Likewise.
10748 * iconvdata/jis0201.h: Likewise.
10749 * include/link.h: Likewise.
10750 * include/netdb.h: Likewise.
10751 * inet/check_native.c: Likewise.
10752 * inet/check_pf.c: Likewise.
10753 * inet/getipv4sourcefilter.c: Likewise.
10754 * inet/getnameinfo.c: Likewise.
10755 * inet/getsourcefilter.c: Likewise.
10756 * inet/htonl.c: Likewise.
10757 * inet/setipv4sourcefilter.c: Likewise.
10758 * inet/setsourcefilter.c: Likewise.
10759 * inet/test-inet6_opt.c: Likewise.
10760 * inet/tst-network.c: Likewise.
10761 * locale/C-collate.c: Likewise.
10762 * locale/C-ctype.c: Likewise.
10763 * locale/C-time.c: Likewise.
10764 * locale/C-translit.h: Likewise.
10765 * locale/loadarchive.c: Likewise.
10766 * locale/programs/3level.h: Likewise.
10767 * locale/programs/charmap.c: Likewise.
10768 * locale/programs/charmap.h: Likewise.
10769 * locale/programs/ld-address.c: Likewise.
10770 * locale/programs/ld-collate.c: Likewise.
10771 * locale/programs/ld-ctype.c: Likewise.
10772 * locale/programs/ld-identification.c: Likewise.
10773 * locale/programs/ld-measurement.c: Likewise.
10774 * locale/programs/ld-messages.c: Likewise.
10775 * locale/programs/ld-monetary.c: Likewise.
10776 * locale/programs/ld-name.c: Likewise.
10777 * locale/programs/ld-numeric.c: Likewise.
10778 * locale/programs/ld-paper.c: Likewise.
10779 * locale/programs/ld-telephone.c: Likewise.
10780 * locale/programs/ld-time.c: Likewise.
10781 * locale/programs/linereader.c: Likewise.
10782 * locale/programs/locale.c: Likewise.
10783 * locale/programs/locarchive.c: Likewise.
10784 * locale/programs/locfile.h: Likewise.
10785 * locale/programs/repertoire.c: Likewise.
10786 * locale/programs/simple-hash.c: Likewise.
10787 * locale/programs/simple-hash.h: Likewise.
10788 * malloc/memusage.c: Likewise.
10789 * malloc/memusagestat.c: Likewise.
10790 * nis/nis_defaults.c: Likewise.
10791 * nis/nis_hash.c: Likewise.
10792 * nis/nis_print.c: Likewise.
10793 * nis/nis_xdr.c: Likewise.
10794 * nscd/connections.c: Likewise.
10795 * nscd/hstcache.c: Likewise.
10796 * nscd/nscd_gethst_r.c: Likewise.
10797 * nscd/nscd_getserv_r.c: Likewise.
10798 * nscd/nscd_helper.c: Likewise.
10799 * nscd/servicescache.c: Likewise.
10800 * nss/makedb.c: Likewise.
10801 * nss/nss_db/db-XXX.c: Likewise.
10802 * nss/nss_db/db-initgroups.c: Likewise.
10803 * nss/nss_db/db-netgrp.c: Likewise.
10804 * nss/nss_files/files-network.c: Likewise.
10805 * nss/nss_files/files-parse.c: Likewise.
10806 * posix/bug-regex5.c: Likewise.
10807 * posix/fnmatch_loop.c: Likewise.
10808 * posix/regcomp.c: Likewise.
10809 * posix/regexec.c: Likewise.
10810 * posix/tst-rfc3484-2.c: Likewise.
10811 * posix/tst-rfc3484-3.c: Likewise.
10812 * posix/tst-rfc3484.c: Likewise.
10813 * resolv/nss_dns/dns-canon.c: Likewise.
10814 * resolv/nss_dns/dns-network.c: Likewise.
10815 * resolv/res_init.c: Likewise.
10816 * resolv/res_mkquery.c: Likewise.
10817 * resolv/tst-aton.c: Likewise.
10818 * stdlib/cxa_atexit.c: Likewise.
10819 * stdlib/cxa_finalize.c: Likewise.
10820 * stdlib/gen-fpioconst.c: Likewise.
10821 * stdlib/strtol_l.c: Likewise.
10822 * string/tst-endian.c: Likewise.
10823 * sunrpc/auth_des.c: Likewise.
10824 * sunrpc/clnt_udp.c: Likewise.
10825 * sunrpc/rtime.c: Likewise.
10826 * sunrpc/svcauth_des.c: Likewise.
10827 * sunrpc/xdr.c: Likewise.
10828 * sunrpc/xdr_intXX_t.c: Likewise.
10829 * sunrpc/xdr_rec.c: Likewise.
10830 * sysdeps/generic/ldconfig.h: Likewise.
10831 * sysdeps/generic/ldsodefs.h: Likewise.
10832 * sysdeps/generic/memusage.h: Likewise.
10833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10836 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10843 * sysdeps/posix/getaddrinfo.c: Likewise.
10844 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10846 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10847 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10848 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10849 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10850 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10851 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10852 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10853 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10854 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10855 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10856 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10857 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10858 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10859 * sysdeps/x86_64/dl-tls.h: Likewise.
10860 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10861 * time/alt_digit.c: Likewise.
10862 * time/era.c: Likewise.
10863 * wcsmbs/tst-c16c32-1.c: Likewise.
10864
8c75f674
JM
108652013-05-16 Joseph Myers <joseph@codesourcery.com>
10866
10867 * math/libm-test.inc (struct test_sincos_data): New type.
10868 (RUN_TEST_LOOP_sincos): New macro.
10869 (sincos_test_data): New variable.
10870 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10871
e6e49e59
RH
108722013-05-16 Richard Henderson <rth@redhat.com>
10873
10874 * math/atest-exp2.c (LIMB64): New macro.
10875 (CONSTSZ): New macro.
10876 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10877 (hexdig): Move ...
10878 (print_mpn_fp): ... to function scope.
10879 (read_mpn_hex): Remove.
10880 (get_log2): Remove.
10881 (exp2_mpn): Use mp_log2.
10882 (main): Use mp_exp1.
10883
15c7c18d
JM
108842013-05-16 Joseph Myers <joseph@codesourcery.com>
10885
105a07df
JM
10886 * math/libm-test.inc: Remove comment about not testing "inexact"
10887 exceptions.
10888 (INEXACT_EXCEPTION): New macro.
10889 (NO_INEXACT_EXCEPTION): Likewise.
10890 (INVALID_EXCEPTION_OK): Update value.
10891 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10892 (OVERFLOW_EXCEPTION_OK): Likewise.
10893 (UNDERFLOW_EXCEPTION_OK): Likewise.
10894 (IGNORE_ZERO_INF_SIGN): Likewise.
10895 (ERRNO_UNCHANGED): Likewise.
10896 (ERRNO_EDOM): Likewise.
10897 (ERRNO_ERANGE): Likewise.
10898 (test_exceptions): Handle testing "inexact" exceptions.
10899 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10900 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10901 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10902 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10903 INEXACT_EXCEPTION.
10904 (rint_towardzero_test_data): Likewise.
10905 (rint_downward_test_data): Likewise.
10906 (rint_upward_test_data): Likewise.
10907
e9eee333
JM
10908 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10909 with OVERFLOW_EXCEPTION.
10910 (exp10_test_data): Likewise.
10911 (exp2_test_data): Likewise.
10912 (expm1_test_data): Likewise.
10913 (lgamma_test_data): Likewise.
10914 (pow_test_data): Likewise.
10915 (tgamma_test_data): Likewise.
10916 (yn_test_data): Remove duplicate test of overflow.
10917
1c38ff73
JM
10918 * math/libm-test.inc (struct test_cc_c_data): New type.
10919 (RUN_TEST_LOOP_cc_c): New macro.
10920 (cpow_test_data): New variable.
10921 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10922
15c7c18d
JM
10923 * math/libm-test.inc (struct test_f_L_data): New type.
10924 (RUN_TEST_LOOP_f_L): New macro.
10925 (llrint_test_data): New variable.
10926 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10927 (llrint_tonearest_test_data): New variable.
10928 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10929 (llrint_towardzero_test_data): New variable.
10930 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10931 (llrint_downward_test_data): New variable.
10932 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10933 (llrint_upward_test_data): New variable.
10934 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10935 (llround_test_data): New variable.
10936 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10937
f137ff13
PC
109382013-05-13 Peter Collingbourne <pcc@google.com>
10939
10940 * math/atest-exp2.c (get_log2): Remove const attribute.
10941
3608cb24
JM
109422013-05-15 Joseph Myers <joseph@codesourcery.com>
10943
10944 * math/libm-test.inc (struct test_f_l_data): New type.
10945 (RUN_TEST_LOOP_f_l): New macro.
10946 (lrint_test_data): New variable.
10947 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10948 (lrint_tonearest_test_data): New variable.
10949 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10950 (lrint_towardzero_test_data): New variable.
10951 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10952 (lrint_downward_test_data): New variable.
10953 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10954 (lrint_upward_test_data): New variable.
10955 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10956 (lround_test_data): New variable.
10957 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10958
39b1f617
PC
109592013-05-15 Peter Collingbourne <pcc@google.com>
10960
1deff3dc
PC
10961 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10962 (EXTRACT_WORDS64) Use where appropriate.
10963 (INSERT_WORDS64) Likewise.
10964
791f3ba0
PC
10965 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10966 constraints with x constraints.
10967 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10968
39b1f617
PC
10969 * malloc/obstack.c (_obstack_compat): Add initializer.
10970
12fba011
EM
109712013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10972
10973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10974 si_trapno and add si_addr_lsb to _sifields.sigfault.
10975 (si_trapno): Remove macro.
10976 (si_addr_lsb): Define new macro.
10977 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10978
d369f531
JM
109792013-05-15 Joseph Myers <joseph@codesourcery.com>
10980
b861c6c4
JM
10981 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10982 instead of TEST_f_l.
10983 (llrint_test_tonearest): Likewise.
10984 (llrint_test_towardzero): Likewise.
10985 (llrint_test_downward): Likewise.
10986 (llrint_test_upward): Likewise.
10987 (llround_test): Likewise.
10988
7abeee12
JM
10989 * math/libm-test.inc (struct test_f_i_data): Add comment.
10990 (RUN_TEST_LOOP_f_b): New macro.
10991 (RUN_TEST_LOOP_f_b_tg): Likewise.
10992 (finite_test_data): New variable.
10993 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10994 (isfinite_test_data): New variable.
10995 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10996 (isinf_test_data): New variable.
10997 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10998 (isnan_test_data): New variable.
10999 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11000 (isnormal_test_data): New variable.
11001 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11002 (issignaling_test_data): New variable.
11003 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11004 (signbit_test_data): New variable.
11005 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11006
cbe8c4d3
JM
11007 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11008 with INVALID_EXCEPTION.
11009 (acosh_test_data): Likewise.
11010 (asin_test_data): Likewise.
11011 (atanh_test_data): Likewise.
11012 (fmod_test_data): Likewise.
11013 (log_test_data): Likewise.
11014 (log10_test_data): Likewise.
11015 (log2_test_data): Likewise.
11016 (pow_test_data): Likewise.
11017 (sqrt_test_data): Likewise.
11018 (y0_test_data): Likewise.
11019 (y1_test_data): Likewise.
11020 (yn_test_data): Likewise.
11021
5575c0e5
JM
11022 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11023 function contents.
11024
d369f531
JM
11025 * math/libm-test.inc (struct test_ff_i_data): New type.
11026 (RUN_TEST_LOOP_ff_i_tg): New macro.
11027 (isgreater_test_data): New variable.
11028 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11029 (isgreaterequal_test_data): New variable.
11030 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11031 (isless_test_data): New variable.
11032 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11033 (islessequal_test_data): New variable.
11034 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11035 (islessgreater_test_data): New variable.
11036 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11037 (isunordered_test_data): New variable.
11038 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11039
781fd748
DM
110402013-05-14 David S. Miller <davem@davemloft.net>
11041
11042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11043
87aa21df
JM
110442013-05-14 Joseph Myers <joseph@codesourcery.com>
11045
5e908270
JM
11046 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11047
f71172e5
JM
11048 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11049 extra_test to int.
11050 (struct test_f_i_data): Change type of max_ulp to int.
11051
8cfa635a
JM
11052 * math/libm-test.inc (test_ffI_f1_data): New type.
11053 (RUN_TEST_LOOP_ffI_f1): New macro.
11054 (remquo_test_data): New variable.
11055 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11056
2bcb36b2
JM
11057 * setjmp/tst-setjmp-fp.c: New file.
11058 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11059 (link-libm): New variable.
11060 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11061
acbd839a
JM
11062 * math/libm-test.inc (struct test_f_i_data): New type.
11063 (RUN_TEST_LOOP_f_i): New macro.
11064 (RUN_TEST_LOOP_f_i_tg): Likewise.
11065 (fpclassify_test_data): New variable.
11066 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11067 (ilogb_test_data): New variable.
11068 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11069
e414d745
JM
11070 * math/libm-test.inc (scalbln_test): Correct function name in END
11071 call.
11072
d9c2a0fd
JM
11073 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11074 (RUN_TEST_LOOP_fI_f1): New macro.
11075 (frexp_test_data): New variable.
11076 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11077
9dc9095d
JM
11078 * math/libm-test.inc (struct test_fF_f1_data): New type.
11079 (RUN_TEST_LOOP_fF_f1): New macro.
11080 (modf_test_data): New variable.
11081 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11082
87aa21df
JM
11083 * math/libm-test.inc (struct test_f_f1_data): New type.
11084 (RUN_TEST_LOOP_f_f1): New macro.
11085 (gamma_test_data): New variable.
11086 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11087 (lgamma_test_data): New variable.
11088 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11089
141af660
CD
110902013-05-13 Carlos O'Donell <carlos@redhat.com>
11091
11092 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11093 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11094 (main): Comment "tls" pseudo-hwcap.
11095
6d33265c
JM
110962013-05-13 Joseph Myers <joseph@codesourcery.com>
11097
68fc074c
JM
11098 * math/libm-test.inc (struct test_fl_f_data): New type.
11099 (RUN_TEST_LOOP_fl_f): New variable.
11100 (scalbln_test_data): New variable.
11101 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11102
243216e1
JM
11103 * math/libm-test.inc (struct test_fi_f_data): New type.
11104 (RUN_TEST_LOOP_fi_f): New macro.
11105 (ldexp_test_data): New variable.
11106 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11107 (scalbn_test_data): New variable.
11108 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11109
6a1992e2
JM
11110 * math/libm-test.inc (struct test_c_f_data): New type.
11111 (RUN_TEST_LOOP_c_f): New macro.
11112 (cabs_test_data): New variable.
11113 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11114 (carg_test_data): New variable.
11115 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11116 (cimag_test_data): New variable.
11117 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11118 (creal_test_data): New variable.
11119 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11120
0e400df5
JM
11121 * math/libm-test.inc (struct test_if_f_data): New type.
11122 (RUN_TEST_LOOP_if_f): New macro.
11123 (jn_test_data): New variable.
11124 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11125 (yn_test_data): New variable.
11126 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11127
6d33265c
JM
11128 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11129
f98ece5f
AZ
111302013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131
11132 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11133 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11134
0f7d347b
SP
111352013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11136
43fe811b
SP
11137 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11138 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11139 (bench-deps): Add bench-timing.h.
11140 * benchtests-bench-skeleton.c: Include bench-timing.h.
11141 (main): Use TIMING_* macros instead of clock_gettime.
11142 * benchtests/bench-timing.h: New file.
11143
0f7d347b
SP
11144 [BZ #14582]
11145 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11146 Renamed from _LIB_VERSION.
11147 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11148
601a3a5f
JM
111492013-05-12 Joseph Myers <joseph@codesourcery.com>
11150
4f184d30
JM
11151 * math/libm-test.inc (struct test_fff_f_data): New type.
11152 (RUN_TEST_LOOP_fff_f): New macro.
11153 (fma_test_data): New variable.
11154 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11155 (fma_towardzero_test_data): New variable.
11156 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11157 (fma_downward_test_data): New variable.
11158 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11159 (fma_upward_test_data): New variable.
11160 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11161
08198877
JM
11162 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11163 (struct test_c_c_data): New type.
11164 (RUN_TEST_LOOP_c_c): New macro.
11165 (cacos_test_data): New variable.
11166 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11167 (cacosh_test_data): New variable.
11168 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11169 (casin_test_data): New variable.
11170 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11171 (casinh_test_data): New variable.
11172 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11173 (catan_test_data): New variable.
11174 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11175 (catanh_test_data): New variable.
11176 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11177 (ccos_test_data): New variable.
11178 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11179 (ccosh_test_data): New variable.
11180 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11181 (cexp_test_data): New variable.
11182 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11183 (clog_test_data): New variable.
11184 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11185 (clog10_test_data): New variable.
11186 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11187 (conj_test_data): New variable.
11188 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11189 (cproj_test_data): New variable.
11190 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11191 (csin_test_data): New variable.
11192 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11193 (csinh_test_data): New variable.
11194 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11195 (csqrt_test_data): New variable.
11196 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11197 (ctan_test_data): New variable.
11198 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11199 (ctan_tonearest_test_data): New variable.
11200 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11201 (ctan_towardzero_test_data): New variable.
11202 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11203 (ctan_downward_test_data): New variable.
11204 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11205 (ctan_upward_test_data): New variable.
11206 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11207 (ctanh_test_data): New variable.
11208 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11209 (ctanh_tonearest_test_data): New variable.
11210 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11211 (ctanh_towardzero_test_data): New variable.
11212 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11213 (ctanh_downward_test_data): New variable.
11214 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11215 (ctanh_upward_test_data): New variable.
11216 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11217 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11218 of BUILD_COMPLEX.
11219
601a3a5f
JM
11220 * math/libm-test.inc (struct test_ff_f_data): New type.
11221 (struct test_ff_f_data_nexttoward): Likewise.
11222 (RUN_TEST_LOOP_2_f): New macro.
11223 (RUN_TEST_LOOP_ff_f): Likewise.
11224 (atan2_test_data): New variable.
11225 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11226 (copysign_test_data): New variable.
11227 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11228 (fdim_test_data): New variable.
11229 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11230 (fmax_test_data): New variable.
11231 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11232 (fmin_test_data): New variable.
11233 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11234 (fmod_test_data): New variable.
11235 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11236 (hypot_test_data): New variable.
11237 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11238 (nextafter_test_data): New variable.
11239 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11240 (nexttoward_test_data): New variable.
11241 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11242 (pow_test_data): New variable.
11243 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11244 (pow_tonearest_test_data): New variable.
11245 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11246 (pow_towardzero_test_data): New variable.
11247 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11248 (pow_downward_test_data): New variable.
11249 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11250 (pow_upward_test_data): New variable.
11251 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11252 (remainder_test_data): New variable.
11253 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11254 (scalb_test_data): New variable.
11255 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11256 * sysdeps/i386/fpu/libm-test-ulps: Update.
11257
74c57478
JM
112582013-05-11 Joseph Myers <joseph@codesourcery.com>
11259
8329e4da
JM
11260 * math/libm-test.inc (fma_test): Use max_value instead of local
11261 variable fltmax.
11262 (nextafter_test): Likewise.
11263
74c57478
JM
11264 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11265 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11266 (acos_downward_test_data): New variable.
11267 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11268 (acos_upward_test_data): New variable.
11269 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11270 (acosh_test_data): New variable.
11271 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11272 (asin_test_data): New variable.
11273 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11274 (asin_tonearest_test_data): New variable.
11275 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11276 (asin_towardzero_test_data): New variable.
11277 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11278 (asin_downward_test_data): New variable.
11279 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11280 (asin_upward_test_data): New variable.
11281 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11282 (asinh_test_data): New variable.
11283 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11284 (atan_test_data): New variable.
11285 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11286 (atanh_test_data): New variable.
11287 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11288 (cbrt_test_data): New variable.
11289 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11290 (ceil_test_data): New variable.
11291 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11292 (cos_test_data): New variable.
11293 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11294 (cos_tonearest_test_data): New variable.
11295 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11296 (cos_towardzero_test_data): New variable.
11297 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11298 (cos_downward_test_data): New variable.
11299 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11300 (cos_upward_test_data): New variable.
11301 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11302 (cosh_test_data): New variable.
11303 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11304 (cosh_tonearest_test_data): New variable.
11305 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11306 (cosh_towardzero_test_data): New variable.
11307 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11308 (cosh_downward_test_data): New variable.
11309 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11310 (cosh_upward_test_data): New variable.
11311 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11312 (erf_test_data): New variable.
11313 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11314 (erfc_test_data): New variable.
11315 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11316 (exp_test_data): New variable.
11317 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11318 (exp_tonearest_test_data): New variable.
11319 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11320 (exp_towardzero_test_data): New variable.
11321 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11322 (exp_downward_test_data): New variable.
11323 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11324 (exp_upward_test_data): New variable.
11325 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11326 (exp10_test_data): New variable.
11327 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11328 (exp2_test_data): New variable.
11329 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11330 (expm1_test_data): New variable.
11331 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11332 (fabs_test_data): New variable.
11333 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11334 (floor_test_data): New variable.
11335 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11336 (j0_test_data): New variable.
11337 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11338 (j1_test_data): New variable.
11339 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11340 (log_test_data): New variable.
11341 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11342 (log10_test_data): New variable.
11343 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11344 (log1p_test_data): New variable.
11345 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11346 (log2_test_data): New variable.
11347 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11348 (logb_test_data): New variable.
11349 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11350 (logb_downward_test_data): New variable.
11351 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11352 (nearbyint_test_data): New variable.
11353 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11354 (rint_test_data): New variable.
11355 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11356 (rint_tonearest_test_data): New variable.
11357 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11358 (rint_towardzero_test_data): New variable.
11359 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11360 (rint_downward_test_data): New variable.
11361 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11362 (rint_upward_test_data): New variable.
11363 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11364 (round_test_data): New variable.
11365 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11366 (sin_test_data): New variable.
11367 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11368 (sin_tonearest_test_data): New variable.
11369 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11370 (sin_towardzero_test_data): New variable.
11371 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11372 (sin_downward_test_data): New variable.
11373 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11374 (sin_upward_test_data): New variable.
11375 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11376 (sinh_test_data): New variable.
11377 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11378 (sinh_tonearest_test_data): New variable.
11379 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11380 (sinh_towardzero_test_data): New variable.
11381 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11382 (sinh_downward_test_data): New variable.
11383 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11384 (sinh_upward_test_data): New variable.
11385 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11386 (sqrt_test_data): New variable.
11387 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11388 (tan_test_data): New variable.
11389 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11390 (tan_tonearest_test_data): New variable.
11391 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11392 (tan_towardzero_test_data): New variable.
11393 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11394 (tan_downward_test_data): New variable.
11395 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11396 (tan_upward_test_data): New variable.
11397 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11398 (tanh_test_data): New variable.
11399 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11400 (tgamma_test_data): New variable.
11401 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11402 (trunc_test_data): New variable.
11403 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11404 (y0_test_data): New variable.
11405 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11406 (y1_test_data): New variable.
11407 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11408 (significand_test_data): New variable.
11409 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11410
7187d844
CG
114112013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11412
11413 [BZ #12387]
11414 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11415
f63fae73
PT
114162013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11417
11418 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11419
8a67a4b3
AJ
114202013-05-10 Andreas Jaeger <aj@suse.de>
11421
11422 [BZ #15448]
11423 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11424 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11425
51df539d
JM
114262013-05-10 Joseph Myers <joseph@codesourcery.com>
11427
11428 * math/gen-libm-test.pl (adjust_arg): New function.
11429 (special_functions): Handle generating output in both functions
11430 and arrays.
11431 (parse_args): Likewise.
11432 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11433 $in_func argument to parse_args.
11434 * math/libm-test.inc (struct test_f_f_data): New type.
11435 (IF_ROUND_INIT_): New macro.
11436 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11437 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11438 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11439 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11440 (ROUND_RESTORE_): Likewise.
11441 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11442 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11443 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11444 (ROUND_RESTORE_FE_UPWARD): Likewise.
11445 (RUN_TEST_LOOP_f_f): New macro.
11446 (acos_test_data): New variable.
11447 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11448 (acos_tonearest_test_data): New variable.
11449 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11450
5c637fe5
SP
114512013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11452
11453 * benchtests/bench-skeleton.c (startup): Fix coding style.
11454
ab2b9461
JM
114552013-05-10 Joseph Myers <joseph@codesourcery.com>
11456
11457 [BZ #6809]
11458 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11459 negative infinity argument.
11460 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11461 negative infinity argument.
11462 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11463 negative infinity argument.
11464 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11465 domain errors.
11466
4c0fe6fe
FW
114672013-05-10 Florian Weimer <fweimer@redhat.com>
11468
11469 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11470 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11471 * iconv/iconv_prog.c (main): Likewise.
11472 * locale/programs/charmap-dir.c (charmap_readdir)
11473 (fopen_uncompressed): Likewise.
11474 * locale/programs/locfile.c (siblings_uncached)
11475 (write_locale_data): Use lstat64 instead of lstat.
11476 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11477 stat.
11478
a3375d29
AJ
114792013-05-10 Andreas Jaeger <aj@suse.de>
11480
11481 [BZ #15395]
11482 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11483 localization.
11484 Include <locale.h>.
11485
36129722
CD
114862013-05-09 Carlos O'Donell <carlos@redhat.com>
11487
11488 * elf/dl-close.c (_dl_close_worker): Add comments.
11489
faa7f811
JM
114902013-05-09 Joseph Myers <joseph@codesourcery.com>
11491
ed41ffef
JM
11492 [BZ #15359]
11493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11494 high part of pi/2.
11495 (__ieee754_rem_pio2l): Update comments.
11496
d0213cd0
JM
11497 [BZ #15429]
11498 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11499 high part of pi/2.
11500 (__ieee754_rem_pio2l): Update comments.
11501
0d3e777a
JM
11502 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11503 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11504
24f56066
JM
11505 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11506 M_PI_4l.
11507
faa7f811
JM
11508 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11509 (M_PI_34_LOG10El): Likewise.
11510 (M_PI2_LOG10El): Likewise.
11511 (M_PI4_LOG10El): Likewise.
11512 (M_PI_LOG10El): Likewise.
11513
e9a5e0fd
AZ
115142013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11515
11516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11517
d8cd06db
JM
115182013-05-08 Joseph Myers <joseph@codesourcery.com>
11519
a0d9f9d7
JM
11520 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11521 (MINUS_ZERO_INIT): Likewise.
11522 (PLUS_INFTY_INIT): Likewise.
11523 (MINUS_INFTY_INIT): Likewise.
11524 (QNAN_VALUE_INIT): Likewise.
11525 (MAX_VALUE_INIT): Likewise.
11526 (MIN_VALUE_INIT): Likewise.
11527 (MIN_SUBNORM_VALUE_INIT): Likewise.
11528 (plus_zero): Initialize with PLUS_ZERO_INIT.
11529 (minus_zero): Initialize with MINUS_ZERO_INIT.
11530 (plus_infty): Initialize with PLUS_INFTY_INIT.
11531 (minus_infty): Initialize with MINUS_INFTY_INIT.
11532 (qnan_value): Initialize with QNAN_VALUE_INIT.
11533 (max_value): Initialize with MAX_VALUE_INIT.
11534 (min_value): Initialize with MIN_VALUE_INIT.
11535 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11536
ae08db3b
JM
11537 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11538 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11539 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11540 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11541
f44bf14a
JM
11542 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11543 (RUN_TEST_2_f): Likewise.
11544 (RUN_TEST_ff_f): Likewise.
11545 (RUN_TEST_fi_f): Likewise.
11546 (RUN_TEST_fl_f): Likewise.
11547 (RUN_TEST_fff_f): Likewise.
11548 (RUN_TEST_c_f): Likewise.
11549 (RUN_TEST_f_f1): Likewise.
11550 (RUN_TEST_fF_f1): Likewise.
11551 (RUN_TEST_fI_f1): Likewise.
11552 (RUN_TEST_ffI_f1): Likewise.
11553 (RUN_TEST_c_c): Likewise.
11554 (RUN_TEST_cc_c): Likewise.
11555 (RUN_TEST_f_i): Likewise.
11556 (RUN_TEST_f_i_tg): Likewise.
11557 (RUN_TEST_ff_i_tg): Likewise.
11558 (RUN_TEST_f_b): Likewise.
11559 (RUN_TEST_f_b_tg): Likewise.
11560 (RUN_TEST_f_l): Likewise.
11561 (RUN_TEST_f_L): Likewise.
11562 (RUN_TEST_sincos): Likewise.
11563 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11564 whether to show exceptions. Do not include ");\n" in return
11565 value.
11566 (special_functions): Output call to RUN_TEST_sincos instead of
11567 check_float calls. Update calls to new_test.
11568 (parse_args): Output call to single RUN_TEST_* macro instead of
11569 check_* calls and other assignments. Update calls to new_test.
11570
d8cd06db
JM
11571 [BZ #2546]
11572 [BZ #2560]
11573 [BZ #5159]
11574 [BZ #15426]
11575 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11576 input to result for tgamma overflow.
11577 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11578 (gamma_coeff): New variable.
11579 (NCOEFF): New macro.
11580 (gamma_positive): New function.
11581 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11582 underflow here. Use gamma_positive instead of exp (lgamma) for
11583 other arguments.
11584 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11585 (gamma_coeff): New variable.
11586 (NCOEFF): New macro.
11587 (gammaf_positive): New function.
11588 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11589 underflow here. Use gamma_positive instead of exp (lgamma) for
11590 other arguments.
11591 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11592 (gamma_coeff): New variable.
11593 (NCOEFF): New macro.
11594 (gammal_positive): New function.
11595 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11596 underflow here. Use gamma_positive instead of exp (lgamma) for
11597 other arguments.
11598 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11599 (gamma_coeff): New variable.
11600 (NCOEFF): New macro.
11601 (gammal_positive): New function.
11602 (__ieee754_gammal_r): Handle positive infinity, overflow and
11603 underflow here. Handle NaN the same as positive infinity. Remove
11604 check x < 0xffffffff for negative integers. Use gamma_positive
11605 instead of exp (lgamma) for other arguments.
11606 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11607 (gamma_coeff): New variable.
11608 (NCOEFF): New macro.
11609 (gammal_positive): New function.
11610 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11611 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11616 * sysdeps/generic/math_private.h (__gamma_productf): New
11617 prototype.
11618 (__gamma_product): Likewise.
11619 (__gamma_productl): Likewise.
11620 * math/Makefile (libm-calls): Add gamma_product.
11621 * math/libm-test.inc (tgamma_test): Add more tests.
11622 * sysdeps/i386/fpu/libm-test-ulps: Update.
11623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11624
bb7cf681
OB
116252013-05-08 Ondřej Bílka <neleai@seznam.cz>
11626
11627 * benchtests/bench-skeleton.c (main): Preheat CPU.
11628
ba853947
AJ
116292013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11630
11631 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11632
8347c74c
RM
116332013-05-07 Roland McGrath <roland@hack.frob.com>
11634
11635 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11636 and _dl_skip_args_internal.
11637
e8dd4791
CD
116382013-05-07 Carlos O'Donell <carlos@redhat.com>
11639
11640 * manual/message.texi (Message Translation): Talk about users.
11641 Message to key mapping impacts design.
11642
c7405830
RM
116432013-05-06 Roland McGrath <roland@hack.frob.com>
11644
a9173057
RM
11645 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11646
976e2f03
RM
11647 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11648
9723ffc5
RM
11649 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11650 * sysdeps/wordsize-64/glob64.c: ... here.
11651
962e6658
RM
11652 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11653 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11654 New macros.
11655
ee586a6d
RM
11656 * debug/getlogin_r_chk.c: Moved to ...
11657 * login/getlogin_r_chk.c: ... here.
11658 * debug/Makefile (routines): Move getlogin_r_chk to ...
11659 * login/Makefile (routines): ... here.
11660 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11661 * login/Versions (libc: GLIBC_2.4): ... here.
11662
355f9165
RM
11663 * io/poll.c (__poll): Renamed from poll.
11664 Add libc_hidden_def.
11665 (poll): Define as weak alias.
11666
bd9ffde6
RM
11667 * debug/ptsname_r_chk.c: Moved to ...
11668 * login/ptsname_r_chk.c: ... here.
11669 * debug/Makefile (routines): Move ptsname_r_chk to ...
11670 * login/Makefile (routines): ... here.
11671 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11672 * login/Versions (libc: GLIBC_2.4): ... here.
11673
8fb16a04
RM
11674 * posix/getlogin.c: Moved to ...
11675 * login/getlogin.c: ... here.
11676 * posix/getlogin_r.c: Moved to ...
11677 * login/getlogin_r.c: ... here.
11678 * posix/getlogin_r.c: Moved to ...
11679 * login/getlogin_r.c: ... here.
11680 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11681 * login/Makefile (routines): ... here.
11682 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11683 * login/Versions (libc: GLIBC_2.0): ... here.
11684
b99b892f
RM
11685 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11686 (setrlimit): Define as weak alias.
11687
c7405830
RM
11688 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11689 Call __ names for open, ftruncate, and close.
11690 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11691 (truncate): Define as weak alias.
11692
5bf96de5
JM
116932013-05-06 Joseph Myers <joseph@codesourcery.com>
11694
9ea3513c
JM
11695 * math/gen-libm-test.pl (parse_args): Initialize x before each
11696 test of frexp, modf and remquo.
11697
5bf96de5
JM
11698 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11699 test signgam value.
11700
16e616a7
AZ
117012013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11702
11703 [BZ #15418]
11704 [BZ #15419]
11705 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11706 internal tests.
11707 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11708
d5e82754
RM
117092013-05-06 Roland McGrath <roland@hack.frob.com>
11710
11711 * elf/dl-writev.h: New file.
11712 * elf/dl-misc.c: Include it.
11713 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11714 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11715
a7548d41
JM
117162013-05-04 Joseph Myers <joseph@codesourcery.com>
11717
b7dab1e4
JM
11718 * math/libm-test.inc (noXFails): Remove variable.
11719 (noXPasses): Likewise.
11720 (BUILD_COMPLEX_INT): Remove macro.
11721 (print_screen): Remove xfail argument.
11722 (print_screen_max_error): Likewise.
11723 (update_stats): Likewise.
11724 (print_max_error): Likewise. Update calls to other affected
11725 functions.
11726 (print_complex_max_error): Likewise.
11727 (test_single_exception): Update calls to print_screen.
11728 (test_single_errno): Likewise.
11729 (check_float_internal): Remove xfail argument. Update calls to
11730 other affected functions.
11731 (check_float): Likewise.
11732 (check_complex): Likewise.
11733 (check_int): Likewise.
11734 (check_long): Likewise.
11735 (check_bool): Likewise.
11736 (check_longlong): Likewise.
11737 (main): Don't print noXFails and noXPasses.
11738 * math/gen-libm-test.pl (top level): Don't mention expected
11739 failure handling in comment.
11740 (new_test): Don't handle expected failures.
11741 (parse_args): Don't mention expected failure handling in comment.
11742 (generate_testfile): Don't handle expected failures.
11743 (parse_ulps): Likewise.
11744 (print_ulps_file): Likewise.
11745 (get_failure): Remove function.
11746 (output_test): Don't handle expected failures.
11747 * make/README.libm-test: Don't mention expected failure handling.
11748
a7548d41
JM
11749 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11750 (minus_zero): Likewise.
11751 (plus_infty): Likewise.
11752 (minus_infty): Likewise.
11753 (qnan_value): Likewise.
11754 (max_value): Likewise.
11755 (min_value): Likewise.
11756 (min_subnorm_value): Likewise.
11757 (initialize): Do not initialize those variables dynamically.
11758
60bfd54c
RM
117592013-05-03 Roland McGrath <roland@hack.frob.com>
11760
cc0e6ed8
RM
11761 * io/open.c (__open_2): Moved to ...
11762 * io/open_2.c: ... this new file.
11763 * io/open64.c (__open64_2): Moved to ...
11764 * io/open64_2.c: ... this new file.
11765 * io/openat.c (__openat_2): Moved to ...
11766 * io/openat_2.c: ... this new file.
11767 * io/openat64.c (__openat64_2): Moved to ...
11768 * io/openat64_2.c: ... this new file.
11769 * io/Makefile (routines): Add them.
11770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11771 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11772 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11773 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11774 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11775 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11776 (__openat64): Add hidden_ver.
11777 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11778 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11779
60bfd54c
RM
11780 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11781 Separately conditionalize setting of GLRO(dl_sysinfo) so
11782 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11783 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11784
83e7640f
AZ
117852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11786
11787 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11788 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11789 definition.
11790 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11791 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11792 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11793 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11794 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11795
d5dc2af3
JM
117962013-05-03 Joseph Myers <joseph@codesourcery.com>
11797
c31a5b1e
JM
11798 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11799 test signgam value.
11800
d5dc2af3
JM
11801 * math/libm-test.inc (hypot_test): Do not use
11802 IGNORE_ZERO_INF_SIGN.
11803
164fd39d
AJ
118042013-05-03 Andreas Jaeger <aj@suse.de>
11805
11806 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11807 Linux 3.9.
11808 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11809 (PF_MAX): Adjust for VSOCK change.
11810
8237f48c
AZ
118112013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11812
11813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11814
9df02941
CD
118152013-05-02 Carlos O'Donell <carlos@redhat.com>
11816
11817 [BZ #15264]
11818 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11819 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11820 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11821
d422395e
DM
118222013-05-02 David S. Miller <davem@davemloft.net>
11823
11824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11825
a07c5731
OB
118262013-05-01 Ondřej Bílka <neleai@seznam.cz>
11827
11828 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11829
1324e37f
RM
118302013-05-01 Roland McGrath <roland@hack.frob.com>
11831
11832 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11833
0695940b
RS
118342013-05-01 Richard Smith <richard@metafoo.co.uk>
11835
bb5f27ad 11836 [BZ #14952]
0695940b
RS
11837 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11838 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11839 Use __attribute__ ((__gnu_inline__)).
11840 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11841 Don't use __attribute__ ((__gnu_inline__)).
11842
10de07f5
JM
118432013-05-01 Joseph Myers <joseph@codesourcery.com>
11844
11845 [BZ #15423]
11846 * math/s_catan.c (__catan): Handle small real or imaginary part of
11847 input specially to avoid spurious underflow.
11848 * math/s_catanf.c (__catanf): Likewise.
11849 * math/s_catanh.c (__catanh): Likewise.
11850 * math/s_catanhf.c (__catanhf): Likewise.
11851 * math/s_catanhl.c (__catanhl): Likewise.
11852 * math/s_catanl.c (__catanl): Likewise.
11853 * math/libm-test.inc (catan_test): Add more tests.
11854 (catanh_test): Likewise.
11855 * sysdeps/i386/fpu/libm-test-ulps: Update.
11856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11857
cb4d5414
AZ
118582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859
11860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11861
caf84319
JM
118622013-04-30 Joseph Myers <joseph@codesourcery.com>
11863
11864 [BZ #15416]
11865 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11866 accurately for denominator in atan2.
11867 * math/s_catanf.c (__catanf): Likewise.
11868 * math/s_catanh.c (__catanh): Likewise.
11869 * math/s_catanhf.c (__catanhf): Likewise.
11870 * math/s_catanhl.c (__catanhl): Likewise.
11871 * math/s_catanl.c (__catanl): Likewise.
11872 * math/libm-test.inc (catan_test): Add more tests.
11873 (catanh_test): Likewise.
11874 * sysdeps/i386/fpu/libm-test-ulps: Update.
11875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11876
d569c6ee
SP
118772013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11878
6dbe713d
SP
11879 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11880
f0ee064b
SP
11881 * benchtests/Makefile (bench): Remove slow benchmarks.
11882 * benchtests/atan-inputs: Add slow benchmark inputs.
11883 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11884 (BENCH_FUNC): Accept variant offset.
11885 (VARIANT): Define.
11886 * benchtests/bench-skeleton.c (main): Run benchmark for each
11887 variant.
11888 * benchtests/cos-inputs: Add slow benchmark inputs.
11889 * benchtests/exp-inputs: Likewise.
11890 * benchtests/pow-inputs: Likewise.
11891 * benchtests/sin-inputs: Likewise.
11892 * benchtests/slowatan-inputs: Remove.
11893 * benchtests/slowatan.c: Remove.
11894 * benchtests/slowcos-inputs: Remove.
11895 * benchtests/slowcos.c: Remove.
11896 * benchtests/slowexp-inputs: Remove.
11897 * benchtests/slowexp.c: Remove.
11898 * benchtests/slowpow-inputs: Remove.
11899 * benchtests/slowpow.c: Remove.
11900 * benchtests/slowsin-inputs: Remove.
11901 * benchtests/slowsin.c: Remove.
11902 * benchtests/slowtan-inputs: Remove.
11903 * benchtests/slowtan.c: Remove.
11904 * benchtests/tan-inputs: Add slow benchmark inputs.
11905 * scripts/bench.pl: Parse comments and directives.
11906
d569c6ee
SP
11907 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11908 in CPPFLAGS.
11909 ($(objpfx)bench-%.c): Remove *-ITER.
11910 * benchtests/bench-modf.c: Remove definition of ITER.
11911 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11912 (main): Loop for DURATION seconds instead of fixed number of
11913 iterations.
11914 * scripts/bench.pl: Don't expect iterations in parameters.
11915
a6a242fe
RM
119162013-04-29 Roland McGrath <roland@hack.frob.com>
11917
11918 * io/fchdir.c (__fchdir): Renamed from fchdir.
11919 (fchdir): Define as weak alias.
11920
f2da7793
JM
119212013-04-29 Joseph Myers <joseph@codesourcery.com>
11922
11923 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11924 (ERRNO_EDOM): Likewise.
11925 (ERRNO_ERANGE): Likewise.
11926 (noErrnoTests): New variable.
11927 (init_max_error): Set errno to 0.
11928 (test_single_errno): New function.
11929 (test_errno): Likewise.
11930 (check_float_internal): Call test_errno. Set errno to 0.
11931 (check_complex): Refer to errno tests in comment.
11932 (check_int): Call test_errno. Set errno to 0.
11933 (check_long): Likewise.
11934 (check_bool): Likewise.
11935 (check_longlong): Likewise.
11936 (cos_test): Use ERRNO_* flags for errno tests instead of
11937 check_int.
11938 (expm1_test): Likewise.
11939 (fmod_test): Likewise.
11940 (ilogb_test): Likewise.
11941 (lgamma_test): Likewise.
11942 (pow_test): Likewise.
11943 (remainder_test): Likewise.
11944 (sin_test): Likewise.
11945 (tan_test): Likewise.
11946 (yn_test): Likewise.
11947 (initialize): Set errno to 0.
11948 (main): Print number of errno tests.
11949 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11950
b1a36ceb
AJ
119512013-04-29 Andreas Jaeger <aj@suse.de>
11952
c3ed8088
AJ
11953 [BZ #15084]
11954 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11955 and RES_USEVC.
11956
f1a24198
AJ
11957 [BZ #15085]
11958 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11959 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11960 unimplemented.
11961
9ce3b2cb
AJ
11962 [BZ #15380]
11963 * stdlib/random.c (__initstate): Return NULL if
11964 __initstate fails.
11965
f1a24198 11966 [BZ #15086]
b1a36ceb
AJ
11967 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11968 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11969 RES_SNGLKUPREOP.
11970
7e7b6f36
AZ
119712013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972
11973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11974
4d14f449
JM
119752013-04-29 Joseph Myers <joseph@codesourcery.com>
11976
11977 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11978 of individual tests.
11979 (casin_test): Likewise.
11980 (casinh_test): Likewise.
11981
5b4217d7
JM
119822013-04-27 Joseph Myers <joseph@codesourcery.com>
11983
11984 [BZ #15409]
11985 * math/s_catan.c (__catan): Handle arguments with large real or
11986 imaginary part separately without squaring.
11987 * math/s_catanf.c (__catanf): Likewise.
11988 * math/s_catanh.c (__catanh): Likewise.
11989 * math/s_catanhf.c (__catanhf): Likewise.
11990 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11991 and redefine.
11992 (__catanhl): Handle arguments with large real or imaginary part
11993 separately without squaring.
11994 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11995 and redefine.
11996 (__catanl): Handle arguments with large real or imaginary part
11997 separately without squaring.
11998 * math/libm-test.inc (catan_test): Add more tests.
11999 (catanh_test): Likewise.
12000 * sysdeps/i386/fpu/libm-test-ulps: Update.
12001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12002
4220c3ef
AJ
120032013-04-27 Andreas Jaeger <aj@suse.de>
12004
12005 [BZ #15007]
12006 * stdlib/stdlib.h: Update guards for qecvt.
12007 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12008 <stdlib.h>.
12009
4721b2d1
AM
120102013-04-27 Allan McRae <allan@archlinux.org>
12011
12012 * sysdeps/i386/fpu/libm-test-ulps: Update.
12013
f0302940
JM
120142013-04-26 Joseph Myers <joseph@codesourcery.com>
12015
9457fd95
JM
12016 [BZ #15406]
12017 * math/s_catan.c: Include <float.h>.
12018 (__catan): Ensure underflow exception occurs for underflowed
12019 result.
12020 * math/s_catanf.c: Include <float.h>.
12021 (__catanf): Ensure underflow exception occurs for underflowed
12022 result.
12023 * math/s_catanh.c: Include <float.h>.
12024 (__catanh): Ensure underflow exception occurs for underflowed
12025 result.
12026 * math/s_catanhf.c: Include <float.h>.
12027 (__catanhf): Ensure underflow exception occurs for underflowed
12028 result.
12029 * math/s_catanhl.c: Include <float.h>.
12030 (__catanhl): Ensure underflow exception occurs for underflowed
12031 result.
12032 * math/s_catanl.c: Include <float.h>.
12033 (__catanl): Ensure underflow exception occurs for underflowed
12034 result.
12035 * math/libm-test.inc (catan_test): Add more tests.
12036 (catanh_test): Likewise.
12037
f0302940
JM
12038 [BZ #15405]
12039 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12040 underflowed result.
12041 * math/s_ccoshf.c (__ccoshf): Likewise.
12042 * math/s_ccoshl.c (__ccoshl): Likewise.
12043 * math/s_csin.c (__csin): Likewise.
12044 * math/s_csinf.c (__csinf): Likewise.
12045 * math/s_csinh.c (__csinh): Likewise.
12046 * math/s_csinhf.c (__csinhf): Likewise.
12047 * math/s_csinhl.c (__csinhl): Likewise.
12048 * math/s_csinl.c (__csinl): Likewise.
12049 * math/libm-test.inc (ccos_test): Add more tests.
12050 (ccosh_test): Likewise.
12051 (csin_test): Likewise.
12052 (csinh_test): Likewise.
12053
aa630f59
AZ
120542013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12055
12056 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12057 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12058 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12059 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12060 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12061 powerpc/power5+/fpu folders.
12062 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12063
12064
1b835983
MT
120652013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12066
12067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12068
73709b26
JM
120692013-04-25 Joseph Myers <joseph@codesourcery.com>
12070
12071 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12072 additions to variable.
12073 [$(config-machine) = x86_64] (modules-names): Likewise.
12074 ($(objpfx)tst-audit3): Remove dependency.
12075 ($(objpfx)tst-audit3.out): Likewise.
12076 ($(objpfx)tst-audit4): Likewise.
12077 ($(objpfx)tst-audit4.out): Likewise.
12078 ($(objpfx)tst-audit5): Likewise.
12079 ($(objpfx)tst-audit5.out): Likewise.
12080 ($(objpfx)tst-audit6): Likewise.
12081 ($(objpfx)tst-audit6.out): Likewise.
12082 ($(objpfx)tst-audit7): Likewise.
12083 ($(objpfx)tst-audit7.out): Likewise.
12084 (tst-audit3-ENV): Remove variable.
12085 (tst-audit4-ENV): Likewise.
12086 (tst-audit5-ENV): Likewise.
12087 (tst-audit6-ENV): Likewise.
12088 (tst-audit7-ENV): Likewise.
12089 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12090 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12091 addition to variable.
12092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12096 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12097 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12098 tst-audit3, tst-audit4 and tst-audit5.
12099 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12100 tst-audit6 and tst-audit7.
12101 [$(subdir) = elf] (modules-names): Add audit modules for those
12102 tests.
12103 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12104 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12105 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12106 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12107 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12108 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12109 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12110 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12111 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12112 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12113 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12114 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12115 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12116 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12117 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12118 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12119 Likewise.
12120 [$(subdir) = elf && $(config-cflags-avx) = yes]
12121 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12122 [$(subdir) = elf && $(config-cflags-avx) = yes]
12123 (CFLAGS-tst-auditmod4a.c): Likewise.
12124 [$(subdir) = elf && $(config-cflags-avx) = yes]
12125 (CFLAGS-tst-auditmod4b.c): Likewise.
12126 [$(subdir) = elf && $(config-cflags-avx) = yes]
12127 (CFLAGS-tst-auditmod6b.c): Likewise.
12128 [$(subdir) = elf && $(config-cflags-avx) = yes]
12129 (CFLAGS-tst-auditmod6c.c): Likewise.
12130 [$(subdir) = elf && $(config-cflags-avx) = yes]
12131 (CFLAGS-tst-auditmod7b.c): Likewise.
12132 * elf/tst-audit3.c: Move to ...
12133 * sysdeps/x86_64/tst-audit3.c: ... here.
12134 * elf/tst-audit4.c: Move to ...
12135 * sysdeps/x86_64/tst-audit4.c: ... here.
12136 * elf/tst-audit5.c: Move to ...
12137 * sysdeps/x86_64/tst-audit5.c: ... here.
12138 * elf/tst-audit6.c: Move to ...
12139 * sysdeps/x86_64/tst-audit6.c: ... here.
12140 * elf/tst-audit7.c: Move to ...
12141 * sysdeps/x86_64/tst-audit7.c: ... here.
12142 * elf/tst-auditmod3a.c: Move to ...
12143 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12144 * elf/tst-auditmod3b.c: Move to ...
12145 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12146 * elf/tst-auditmod4a.c: Move to ...
12147 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12148 * elf/tst-auditmod4b.c: Move to ...
12149 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12150 * elf/tst-auditmod5a.c: Move to ...
12151 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12152 * elf/tst-auditmod5b.c: Move to ...
12153 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12154 * elf/tst-auditmod6a.c: Move to ...
12155 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12156 * elf/tst-auditmod6b.c: Move to ...
12157 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12158 * elf/tst-auditmod6c.c: Move to ...
12159 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12160 * elf/tst-auditmod7a.c: Move to ...
12161 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12162 * elf/tst-auditmod7b.c: Move to ...
12163 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12164
1ef74943
PP
121652013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12166
12167 [BZ #15366]
12168 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12169 define unconditionally.
12170 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12171 define unconditionally.
12172 (INT8_C, INT16_C, etc.): Likewise.
12173
93fd48c5
MR
121742013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12175
ae9552cf
MR
12176 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12177 __ehdr_start with hidden visibility.
12178
93fd48c5
MR
12179 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12180
418601aa
CD
121812013-04-24 Carlos O'Donell <carlos@redhat.com>
12182
12183 * math/libm-test.inc (cos_test): Use accurate hex constants.
12184 (sincost_test): Likewise.
12185
2f38fbfe
JM
121862013-04-24 Joseph Myers <joseph@codesourcery.com>
12187
5e221800
JM
12188 * math/libm-test.inc (catan_test): Add more tests.
12189 (catanh_test): Likewise.
12190
77f143fd
JM
12191 * math/s_catanf.c (__catanf): Use suffixed floating-point
12192 constants.
12193 * math/s_catanhf.c (__catanhf): Likewise.
12194 * math/s_catanhl.c (__catanhl): Likewise.
12195 * math/s_catanl.c (__catanl): Likewise.
12196
2f38fbfe
JM
12197 [BZ #15394]
12198 * math/s_catan.c (__catan): Calculate imaginary part of result
12199 with log1p not log unless computing log of number close to 0.
12200 * math/s_catanf.c (__catanf): Likewise.
12201 * math/s_catanl.c (__catanl): Likewise.
12202 * math/s_catanh.c (__catanh): Calculate real part of result with
12203 log1p not log unless computing log of number close to 0.
12204 * math/s_catanhf.c (__catanhf): Likewise.
12205 * math/s_catanhl.c (__catanhl): Likewise.
12206 * math/libm-test.inc (catan_test): Add more tests.
12207 (catanh_test): Likewise.
12208 * sysdeps/i386/fpu/libm-test-ulps: Update.
12209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210
45d69176
SP
122112013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12212
12213 * benchtests/Makefile: Mention files in which fast and slow
12214 paths of math functions are implemented.
12215
87f51853
RM
122162013-04-23 Roland McGrath <roland@hack.frob.com>
12217
12218 * sysdeps/posix/timespec_get.c: New file.
12219
3c026539
AZ
122202013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12221
12222 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12223 POWER.
12224 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12225 for POWER.
12226 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12227 powerpc/power5/fpu folders.
12228 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12229 * benchtests/Makefile: Add modf testcase.
12230 * benchtests/bench-modf.c: New file: Benchmark test for mo
12231
ff491d14
SP
122322013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12233
12234 [BZ #14888]
12235 * time/Makefile (tests): Add tst-strptime-whitespace.
12236 * time/strptime_l.c (get_number): Use ISSPACE.
12237 (__strptime_internal): Likewise.
12238 * time/tst-strptime-whitespace.c: New test case.
12239
7ed3f4e8
AS
122402013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12241
12242 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12243 member.
12244 (_nss_files_init): Set it here.
12245
5c95f7b6
HC
122462013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12247
12248 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12249 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12250 unsigned.
12251
d34c9158
JBG
122522013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12253
12254 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12255
2169712d
SP
122562013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12257
12258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12259 size just once.
12260
29c5de99
DM
122612013-04-21 David S. Miller <davem@davemloft.net>
12262
12263 * po/ru.po: Update Russion translation from translation project.
12264
ccdad15d
AC
122652013-04-17 Adam Conrad <adconrad@0c3.net>
12266
12267 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12268 and setfsgid.
12269
0f122b8d
CD
122702013-04-17 Carlos O'Donell <carlos@redhat.com>
12271
5c5b07da 12272 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12273 * configure: Regenerate.
5c5b07da 12274 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12275 Add example to error message.
12276 * sysdeps/i386/configure: Regenerate.
12277
037714dd
SP
122782013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
12280 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12281 slowtan.
12282 * benchtests/cos-inputs: New file.
12283 * benchtests/slowcos-inputs: New file.
12284 * benchtests/slowcos.c: New file.
12285 * benchtests/slowtan-inputs: New file.
12286 * benchtests/slowtan.c: New file.
12287 * benchtests/tan-inputs: New file.
12288
e913141d
RM
122892013-04-16 Roland McGrath <roland@hack.frob.com>
12290
12291 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12292 considered kosher.
12293
a2964074
SP
122942013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12295
4856bcd2
SP
12296 * benchtests/Makefile: Include cppflags-iterator.mk to add
12297 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12298
a2964074
SP
12299 * Makefile.in (bench-clean): New target.
12300 * benchtests/Makefile (bench-clean): Likewise.
12301
9fbf9aca
DH
123022013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12303
12304 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12305
207d1e2a
TS
123062013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12307
12308 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12309
306dfba9
AS
123102013-04-15 Andreas Schwab <schwab@suse.de>
12311
12312 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12314 * nscd/pwdcache.c (cache_addpw): Likewise.
12315 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12316 more than recsize.
12317
206a6699
SP
123182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12319
12320 * benchtests/Makefile (bench): Write all output to
12321 bench-out.tmp together.
12322
0582f6b3
AS
123232013-04-15 Andreas Schwab <schwab@suse.de>
12324
12325 * nscd/nscd.c (main): Don't fork again after closing files.
12326
acb4325f
SP
123272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12328
5cb26d0a
SP
12329 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12330
acb4325f
SP
12331 * benchtests/Rules (bench-deps): Collect dependencies into a
12332 single variable. Add Makefile to dependencies.
12333 ($(objpfx)bench-%.c): Depend on bench-deps.
12334
47792506
RM
123352013-04-12 Roland McGrath <roland@hack.frob.com>
12336 Xavier Roche <roche+kml2@exalead.com>
12337
12338 [BZ #15361]
12339 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12340 just that it's a file descriptor.
12341 * manual/llio.texi (Synchronizing AIO Operations): Update description
12342 for EBADF error from aio_fsync.
12343
8fc1bee5
SP
123442013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12345
12346 * Rules (bench): Move target definition...
12347 * benchtests/Makefile: ... here.
12348
aba5e333
CD
123492013-04-11 Carlos O'Donell <carlos@redhat.com>
12350
12351 * math/libm-test.inc (cos_test): Fix PI/2 test.
12352 (sincos_test): Likewise.
12353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12354 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12355
273cdee8
AS
123562013-04-11 Andreas Schwab <schwab@suse.de>
12357
6ecec3b6
AS
12358 [BZ #13988]
12359 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12360 accept exponent character only when digits were seen.
12361 * stdio-common/Makefile (tests): Add bug26.
12362 * stdio-common/bug26.c: New file.
12363
273cdee8
AS
12364 [BZ #14293]
12365 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12366 non-freeable.
12367
8da491f5
SP
123682013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12369
01dc6df9
SP
12370 * Makeconfig (rtld-prefix): Define built linker prefix.
12371 * Rules (run-bench): Use it.
12372 * math/Makefile (run-regen-ulps): Likewise.
12373
8da491f5
SP
12374 * Rules (bench): Remove eval.
12375
abe7f530
SP
123762013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12377 Roland McGrath <roland@hack.frob.com>
12378 Ondrej Bilka <neleai@seznam.cz>
12379
12380 [BZ #15346]
12381 * time/getdate.c: Include ctype.h and alloca.h.
12382 (__getdate_r): Trim leading and trailing spaces of input.
12383 * time/tst-getdate.c (tests): Add tests with leading and
12384 trailing spaces.
12385
61c23e62
RM
123862013-04-08 Roland McGrath <roland@hack.frob.com>
12387
12388 [BZ #14280]
12389 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12390 when computing value.
12391
7208a313
CD
123922013-04-06 Carlos O'Donell <carlos@redhat.com>
12393
085b2d41
CD
12394 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12395 Use testrun.sh to run libm tests.
12396
7208a313
CD
12397 [BZ #15309]
12398 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12399
872c0acd
MM
124002013-04-06 Marko Myllynen <myllynen@redhat.com>
12401
12402 [BZ #15264]
12403 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12404
26510bdd
CD
124052013-04-06 Carlos O'Donell <carlos@redhat.com>
12406
12407 * Makefile.in (regen-ulps): New target.
12408 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12409 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12410 [ifneq (no,$(PERL)] (regen-ulps): New target.
12411 [ifeq (no,$(PERL)] (regen-ulps): New target.
12412 * math/libm-test.inc (ulps_file_name): Define.
12413 (output_dir): New variable.
12414 (options): Add "output-dir" option.
12415 (parse_opt): Handle 'o' case.
12416 (main): If output_dir is non-NULL use it as a prefix
12417 otherwise use "".
12418 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12419
a01f19c8
CD
124202013-04-06 Carlos O'Donell <carlos@redhat.com>
12421
12422 [BZ #10060, #10062]
12423 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12424 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12425 fail configure if __sync_val_compare_and_swap is not inlined.
12426 * sysdeps/i386/configure: Regenerate.
12427 * configure.in: Build for i686 when configured for i386.
12428 * configure: Regenerate.
12429 * README: Remove i386 reference.
12430
b7a329a5
CD
124312013-04-06 Carlos O'Donell <carlos@redhat.com>
12432
12433 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12435
bf0f50df
TS
124362013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12437
ee091edf
TS
12438 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12439 (lmsnanval): New variables.
12440 (F): Add conversion tests.
12441 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12442 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12443
a8b792d6
TS
12444 * stdio-common/tstdiomisc.c (F): Properly collect individual
12445 tests' results.
12446
a1cbf437
TS
12447 [BZ #14686, #15336]
12448 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12449 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12450 Instead, use input NaN values or generate a qNaN by arithmetic
12451 operation. Also fix bugs to comply with the standard.
12452 * math/libm-test.inc (remainder_test): Add more tests.
12453
8b43a0c9
TS
12454 [BZ #15335, #15342]
12455 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12457 input NaN values or generate a qNaN by arithmetic operation.
12458
d91da4ce
TS
12459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12460 unreachable code.
12461
bf0f50df
TS
12462 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12463 definitions.
12464
05e166c8
JM
124652013-04-03 Joseph Myers <joseph@codesourcery.com>
12466
12467 [BZ #14478]
12468 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12469 underflowed result.
12470 * math/s_cexpf.c (__cexpf): Likewise.
12471 * math/s_cexpl.c (__cexpl): Likewise.
12472 * math/libm-test.inc (cexp_test): Add more tests.
12473
1cef1b19
AS
124742013-04-03 Andreas Schwab <schwab@suse.de>
12475
12476 [BZ #15330]
12477 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12478 order arrays from heap if bigger than alloca cutoff.
12479
74d87055
TS
124802013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12481
12482 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12483 (SNAN_TESTS_double): Refer to GCC PR56831.
12484 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12485 GCC PR56828.
12486
d755bba4
SP
124872013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12488
90d5d5bb
SP
12489 * Rules (bench): Move bench.out after the run is complete.
12490
73e0cd5d
SP
12491 * Rules (bench): Echo currently running benchmark.
12492
64aabd4b
SP
12493 * benchtests/Makefile (bench): Add atan and slowatan.
12494 * benchtests/atan-inputs: New file.
12495 * benchtests/slowatan-inputs: New file.
12496 * benchtests/slowatan.c: New file.
12497
c871eccd
SP
12498 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12499 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12500 its value.
12501
d755bba4
SP
12502 [BZ #15305]
12503 * sysdeps/unix/sysv/linux/kernel-features.h
12504 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12505 __ASSUME_XFS_RESTRICTED_CHOWN.
12506 * sysdeps/unix/sysv/linux/pathconf.c
12507 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12508 Save and restore errno.
12509
52ce4860
JM
125102013-04-02 Joseph Myers <joseph@codesourcery.com>
12511
12512 [BZ #15327]
12513 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12514 arguments using __kernel_casinh.
12515 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12516 arguments using __kernel_casinhf.
12517 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12518 arguments using __kernel_casinhl.
12519 * math/libm-test.inc (cacosh_test): Add more tests.
12520 * sysdeps/i386/fpu/libm-test-ulps: Update.
12521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12522
81f311c2
SP
125232013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
e7906a47
SP
12525 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12527
92e3664b
SP
12528 * bench/Makefile (bench): Add sin and slowsin.
12529 * benchtests/sin-inputs: New file.
12530 * benchtests/slowsin-inputs: New file.
12531 * benchtests/slowsin.c: New file.
12532
81f311c2
SP
12533 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12534 (bench): Add slowexp and slowpow.
12535 (exp-ITER): Increase iterations.
12536 (pow-ITER): Likewise.
12537 * benchtests/exp-inputs: Change input.
12538 * benchtests/pow-inputs: Likewise.
12539 * benchtests/slowexp-inputs: New file.
12540 * benchtests/slowexp.c: New file.
12541 * benchtests/slowpow-inputs: New file.
12542 * benchtests/slowpow.c: New file.
12543
ab0f1aa9
AZ
125442013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12545
12546 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12547 instructions.
12548 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12549 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12550 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12551 * benchtests/Makefile: Add rint benchtest.
12552 * benchtests/rint-inputs: Input for rint benchtest.
12553
57267616
TS
125542013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12555
12556 * Versions.def (libm): Add GLIBC_2.18.
12557 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12558 hidden libm prototypes.
12559 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12560 * math/Makefile (libm-calls): Add s_issignaling.
12561 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12562 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12563 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12564 declaration.
12565 * math/math.h [__USE_GNU] (issignaling): New macro.
12566 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12567 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12568 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12569 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12572 * manual/arith.texi (issignaling): New section.
12573 * manual/libm-err-tab.pl (@all_functions): Update comment.
12574 * math/gen-libm-test.pl (parse_args): Apply special handling for
12575 issignaling.
12576 * math/libm-test.inc (print_float, issignaling_test): New
12577 functions.
12578 (check_float_internal): Add issignaling checks.
12579 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12580 default definition.
12581 * sysdeps/powerpc/math-tests.h: New file.
12582 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12583 tests.
12584 * math/test-snan.c (TEST_FUNC): Likewise.
12585
6142896d
DM
125862013-03-30 David S. Miller <davem@davemloft.net>
12587
12588 * po/de.po: Update from translation team.
12589
ccc8cadf
JM
125902013-03-30 Joseph Myers <joseph@codesourcery.com>
12591
12592 [BZ #10357]
12593 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12594 imaginary part less than 1.0 and real part less than 0.5
12595 specially.
12596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12599 (cacos_test): Add more tests.
12600 (casin_test): Likewise.
12601 (casinh_test): Likewise.
12602 * sysdeps/i386/fpu/libm-test-ulps: Update.
12603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12604
0f6a8d4b
SP
126052013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12606
0d1029de
SP
12607 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12608 ONE with its value.
12609
c2d94018
SP
12610 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12611 (__pow_mp): Replace ONE and MONE with their values.
12612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12613 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12614 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12615 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12616 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12617 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12618
27ec37f1
SP
12619 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12620
a64d7e0e
SP
12621 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12622 (__pow_mp): Replace ZERO and MZERO with their values.
12623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12625 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12627 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12628 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12629 (__sqr): Likewise.
12630
d26dd3eb
SP
12631 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12632
0f6a8d4b
SP
12633 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12634
e57b0c61
RM
126352013-03-28 Roland McGrath <roland@hack.frob.com>
12636
12637 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12638 Declare with __attribute__ ((weak)).
12639 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12640 Call __call_tls_dtors only if it's not NULL.
12641
356b3480
RM
126422013-03-28 Roland McGrath <roland@hack.frob.com>
12643
288f7d79
RM
12644 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12645 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12646 magic __ehdr_start linker symbol if it's defined.
12647 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12648 them up here if it was already done.
12649
dc0a0263
RM
12650 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12651 (_dl_aux_init): Use const in cast when setting it.
12652 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12653 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12654 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12655
3d3436ae
RM
12656 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12657 Declare them here.
12658 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12659 * csu/libc-tls.c: Nor here.
12660 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12661
356b3480
RM
12662 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12663 (__libc_message): Never call vsyslog.
12664
b0f1246a
AM
126652013-03-28 Alan Modra <amodra@gmail.com>
12666
12667 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12668 Define as empty.
12669 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12670 Likewise.
12671
fbbe2b9a
AZ
126722013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12673
12674 [BZ #15214]
12675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12676 underflow.
12677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12678
1728ab37
SP
126792013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12680
7a86be6e
SP
12681 [BZ #15304]
12682 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12683 Don't add gid passed as argument.
12684
1728ab37
SP
12685 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12686
3a7182a1
JM
126872013-03-27 Joseph Myers <joseph@codesourcery.com>
12688
12689 [BZ #15307]
12690 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12691 imaginary part between 1.0 and 1.5 and real part less than 0.5
12692 specially.
12693 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12694 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12695 * math/libm-test.inc (cacos_test): Add more tests.
12696 (casin_test): Likewise.
12697 (casinh_test): Likewise.
12698 * sysdeps/i386/fpu/libm-test-ulps: Update.
12699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12700
6f2e90e7
SP
127012013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12702
5739f705
SP
12703 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12704 constants.
12705 (norm): Likewise.
12706 (denorm): Likewise.
12707 (__dbl_mp): Likewise.
12708 (add_magnitudes): Likewise.
12709 (sub_magnitudes): Likewise.
12710 (__add): Likewise.
12711 (__sub): Likewise.
12712 (__mul): Likewise.
12713 (__sqr): Likewise.
12714 (__inv): Likewise.
12715 (__dvd): Likewise.
12716
e375e83d
SP
12717 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12718 commented code.
12719 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12720 (__dubcos): Likewise.
12721 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12722 (__ieee754_acos): Likewise.
12723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12724 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12725 (__exp1): Likewise.
12726 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12728 (log1): Likewise.
12729 (my_log2): Likewise.
12730 (checkint): Likewise.
12731 * sysdeps/ieee754/dbl-64/e_remainder.c
12732 (__ieee754_remainder): Likewise.
12733 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12735 (bsloww): Likewise.
12736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12737
6f2e90e7
SP
12738 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12740 MANTISSA_STORE_T to store computations on mantissa. Use
12741 macros for rounding and division.
12742 (denorm): Likewise.
12743 (__dbl_mp): Likewise.
12744 (add_magnitudes): Likewise.
12745 (sub_magnitudes): Likewise.
12746 (__mul): Likewise.
12747 (__sqr): Likewise.
12748 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12749 powers of two in terms of TWOPOW macro.
12750 (mp_no): Make type of mantissa as MANTISSA_T.
12751 [!RADIXI]: Define RADIXI.
12752 [!TWO52]: Define TWO52.
12753 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12754
fce14d4e
AZ
127552013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12756
12757 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12758 llroundl symbol when building for PPC32.
12759
9ad027fb
MW
127602013-03-24 Mark H Weaver <mhw@netris.org>
12761
12762 * manual/arith.texi (Normalization Functions): Fix prototypes for
12763 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12764
e42a38dd
AZ
127652013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12766
12767 [BZ #13889]
12768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12769 high value to check if expl overflow.
12770 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12771 to check for underflow and overflow.
12772 * math/libm-test.inc: Add exp test.
12773
2e0fb521
DL
127742013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12775
12776 [BZ #11120]
12777 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12778 with NOT_IN_libc.
12779
b5784d95
AZ
127802013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12781
12782 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12783 symbol.
12784
5aa4a1a1
TS
127852013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12786
bdef0be7
TS
12787 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12788 wrap blocks consisting of several statements.
12789
5aa4a1a1
TS
12790 * sysdeps/generic/math-tests.h: New file.
12791 * sysdeps/i386/fpu/math-tests.h: Likewise.
12792 * math/test-snan.c: Include it.
12793 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12794
98c48fe5
JM
127952013-03-21 Joseph Myers <joseph@codesourcery.com>
12796
12797 [BZ #15285]
12798 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12799 (__ieee754_j0l): Do not improve calculations using cos of twice
12800 input for inputs above LDBL_MAX / 2.0L.
12801 (__ieee754_y0l): Likewise.
12802 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12803 (__ieee754_j1l): Do not improve calculations using cos of twice
12804 input for inputs above LDBL_MAX / 2.0L.
12805 (__ieee754_y1l): Likewise.
12806 * math/libm-test.inc (j0_test): Add another test.
12807 (j1_test): Likewise.
12808 (y0_test): Likewise.
12809 (y1_test): Likewise.
12810 * sysdeps/i386/fpu/libm-test-ulps: Update.
12811
3775a8bc
SP
128122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12813
12814 * Rules ($(objpfx)bench-%.c): Include code from a C source
12815 file.
12816
0a1b2ae6
JM
128172013-03-21 Joseph Myers <joseph@codesourcery.com>
12818
12819 [BZ #15287]
12820 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12821 imaginary part 1.0 and real part less than 0.5 specially.
12822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12824 * math/libm-test.inc (cacos_test): Add more tests.
12825 (casin_test): Likewise.
12826 (casinh_test): Likewise.
12827 * sysdeps/i386/fpu/libm-test-ulps: Update.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
b33d4ce4
SP
128302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12831
12832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12833 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12834
bef0b507
JM
128352013-03-20 Joseph Myers <joseph@codesourcery.com>
12836
12837 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12838 * config.make.in (config-cflags-sse4): Remove variable.
12839 (config-cflags-avx): Likewise.
12840 (config-cflags-sse2avx): Likewise.
12841 (config-cflags-novzeroupper): Likewise.
12842 (config-asflags-i686): Likewise.
12843 (have-mfma4): Likewise.
12844 (have-as-vis3): Likewise.
12845 (MIG): Likewise.
12846 * configure.in (MIG): Do not AC_SUBST.
12847 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12848 (libc_cv_cc_sse4): Do not AC_SUBST.
12849 (libc_cv_cc_avx): Likewise.
12850 (libc_cv_cc_sse2avx): Likewise.
12851 (libc_cv_cc_novzeroupper): Likewise.
12852 (libc_cv_cc_fma4): Likewise.
12853 (libc_cv_as_i686): Likewise.
12854 (libc_cv_sparc_as_vis3): Likewise.
12855 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12856 LIBC_CONFIG_VAR.
12857 (config-asflags-i686): Likewise.
12858 (config-cflags-avx): Likewise.
12859 (config-cflags-sse2avx): Likewise.
12860 (have-mfma4): Likewise.
12861 (config-cflags-novzeroupper): Likewise.
12862 * sysdeps/mach/configure.in (MIG): Likewise.
12863 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12864 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12865 LIBC_CONFIG_VAR.
12866 (config-cflags-avx): Likewise.
12867 (config-cflags-sse2avx): Likewise.
12868 (have-mfma4): Likewise.
12869 (config-cflags-novzeroupper): Likewise.
12870 * configure: Regenerated.
12871 * sysdeps/i386/configure: Likewise.
12872 * sysdeps/mach/configure: Likewise.
12873 * sysdeps/sparc/configure: Likewise.
12874 * sysdeps/x86_64/configure: Likewise.
12875
912cc4b3
RM
128762013-03-20 Roland McGrath <roland@hack.frob.com>
12877
12878 [BZ #14812]
12879 * locale/programs/localedef.c (options): Put N_ translation marker
12880 on argument names, not just descriptions.
12881
04eed2b0
MS
128822013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12883
12884 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12885
a065ceff
OB
128862013-03-20 Ondřej Bílka <neleai@seznam.cz>
12887
9bb2a810 12888 [BZ #14176]
a065ceff
OB
12889 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12890
a600e5ce
RM
128912013-03-19 Roland McGrath <roland@hack.frob.com>
12892
12893 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12894 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12895 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12896 [!BEFORE_ABORT] (before_abort): New function.
12897 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12898 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12899 (writev_for_fatal): New function.
12900 (WRITEV_FOR_FATAL): New macro; call that.
12901 (backtrace_and_maps): New function.
12902 (BEFORE_ABORT): New macro; call that.
12903 (struct str_list): Type removed.
12904 (__libc_message, __libc_fatal): Functions removed.
12905 Include <sysdeps/posix/libc_fatal.c> instead.
12906
6b18bea6
JM
129072013-03-19 Joseph Myers <joseph@codesourcery.com>
12908
12909 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12910 constants.
12911 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12912 double constants.
12913
aaa8cb4b
AS
129142013-03-19 Andreas Schwab <schwab@suse.de>
12915
44673770
AS
12916 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12917 * sysdeps/gnu/configure: Regenerate.
12918
aaa8cb4b
AS
12919 * configure.in: Substitute libc_cv_rtlddir.
12920 * configure: Regenerate.
12921 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12922 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12923 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12924 * elf/Makefile (install-others, CFLAGS-interp.c)
12925 (ldso_install, common-ldd-rewrite): Likewise.
12926 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12927 $(inst_slibdir)/$(rtld-installed-name).
12928 * scripts/rellns-sh: Add -p option.
12929 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12930 for source.
12931
d3cfc668
SP
129322013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12933
12934 * manual/nptl.texi: Renamed to ...
12935 * manual/threads.texi: ... this.
12936 * manual/Makefile (chapters): Update.
12937
0e2b9cdd
RM
129382013-03-18 Roland McGrath <roland@hack.frob.com>
12939
12940 [BZ #14812]
12941 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12942 on argument names, not just descriptions.
0e2b9cdd
RM
12943 * malloc/memusagestat.c (options): Likewise.
12944 * nss/getent.c (options): Likewise.
63270c24
RM
12945
129462013-03-18 Benno Schulenberg <bensberg@justemail.net>
12947
12948 [BZ #14812]
12949 * iconv/iconv_prog.c (options): Put N_ translation marker
12950 on argument names, not just descriptions.
12951 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12952
b2e1393c
OB
129532013-03-18 Ondrej Bilka <neleai@seznam.cz>
12954
12955 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12956 implementation which is faster on all x86_64 architectures.
12957 Tested on AMD, Intel Nehalem, SNB, IVB.
12958 * sysdeps/x86_64/strnlen.S: Likewise.
12959
12960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12961 Remove all multiarch strlen and strnlen versions.
12962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12963 Remove strlen and strnlen related parts.
12964
12965 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12966 Inline strlen part.
12967 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12968
12969 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12970 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12971 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12972 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12973 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12974 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12975
ec4ff04d
CD
129762013-03-17 Carlos O'Donell <carlos@redhat.com>
12977
12978 * manual/memory.texi (Malloc Tunable Parameters):
12979 Sort parameters alphabetically. Add comments for missing entries.
12980
cd18e90a
DM
129812013-03-17 David S. Miller <davem@davemloft.net>
12982
12983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12984
2a185d32
JM
129852013-03-16 Joseph Myers <joseph@codesourcery.com>
12986
d2f9799e
JM
12987 [BZ #15283]
12988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12989 for arguments at most half maximum finite value.
12990 * math/libm-test.inc (j0_test): Add more tests.
12991 (j1_test): Likewise.
12992 (y0_test): Likewise.
12993 (y1_test): Likewise.
12994 * sysdeps/i386/fpu/libm-test-ulps: Update.
12995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12996
2a185d32
JM
12997 [BZ #14155]
12998 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12999 1 / x and functions P and Q for arguments above 0x1p256L.
13000 (__ieee754_y0l): Likewise.
13001 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13002 (__ieee754_y1l): Likewise.
13003 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13004 (j1_test): Likewise.
13005 (y0_test): Likewise.
13006 (y1_test): Likewise.
13007
6cbec759
TS
130082013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13009
13010 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13011 variable.
13012
bc16e260
RM
130132013-03-15 Roland McGrath <roland@hack.frob.com>
13014
aefc9b8c
RM
13015 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13016 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13017 zero since it's initialized to EXEC_PAGESIZE.
13018
bc16e260
RM
13019 * sysdeps/unix/sysv/linux/ldsodefs.h
13020 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13021 * sysdeps/generic/ldsodefs.h: ... here.
13022
a57da955
TS
130232013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13024
af00a34d
TS
13025 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13026
495ded2c
TS
13027 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13028 math/test-snan.c.
13029 * math/test-snan.c: Renamed from
13030 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13031 * math/Makefile (tests): Add test-snan.
13032 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13033 test-powerpc-snan.
13034
777b0332
TS
13035 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13036 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13037 functions.
13038 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13039 __builtin_nan family of functions.
13040 * math/libm-test.inc (initialize): Initialize qnan_value with
13041 __builtin_nan family of functions.
13042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13043 Remove variables.
13044 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13045 Remove functions.
13046 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13047 storage class. Initialize qNaN_var and sNaN_var with
13048 __builtin_nan and __builtin_nans families of functions,
13049 respectively.
13050
64d063b8
TS
13051 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13052 (sqrt_test): Remove duplicate test with qNaN input.
13053 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13054 (round_test, signbit_test, significand_test): Note missing +/-Inf
13055 as well as qNaN tests.
13056
67e971f1
TS
13057 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13058 qNaN_var. Fix a few strings, too.
13059 * math/libm-test.inc (nan_value): Rename to qnan_value.
13060 * math/gen-libm-test.pl (%beautify): Adjust to that.
13061 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13062 * math/test-misc.c (main): Likewise.
13063 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13064 to __qnan_bytes, and __qnan_union, respectively.
13065 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13066 Likewise.
13067 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13068 and lqnanval, respectively.
13069 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13070 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13071 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13072 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13073
64487e12
TS
13074 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13075 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13076 doubles.
13077
e015e27b
TS
13078 * math/test-misc.c (main): Fix copy'n'pastos.
13079 * misc/tst-efgcvt.c (special): Likewise.
13080
a57da955
TS
13081 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13082 Remove declarations.
13083
1e380345
SP
130842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13085
13086 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13087 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13088 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13089 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13090
ef26eece
AZ
130912013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13092
13093 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13094 macro to return vdso values correctly in IFUNC implementations.
13095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13096 Optimization by using IFUNC.
13097
8cfdb7e0
SP
130982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13099 Richard Henderson <rth@redhat.com>
13100 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13101
13102 * Makefile.in (bench): New target.
13103 * NEWS: Mention the benchmark framework.
13104 * Rules (bench): Likewise.
13105 (binaries-bench): Generate binaries for functions to
13106 benchmark.
13107 * benchtests/Makefile: New makefile for benchmark tests.
13108 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13109 programs.
13110 * benchtests/exp-inputs: New input file for EXP function.
13111 * benchtests/pow-inputs: New input file for POW function.
13112 * scripts/bench.pl: New script to generate source files for
13113 benchmark programs.
13114
bcda9880
SP
131152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
d22ca8cd
SP
13117 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13118 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13119 computations on mantissa. Use macros for rounding and
13120 division.
13121 (denorm): Likewise.
13122 (__dbl_mp): Likewise.
13123 (add_magnitudes): Likewise.
13124 (sub_magnitudes): Likewise.
13125 (__mul): Likewise.
13126 (__sqr): Likewise.
13127 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13128 powers of two in terms of TWOPOW macro.
13129 (mp_no): Make type of mantissa as MANTISSA_T.
13130 [!RADIXI]: Define RADIXI.
13131 [!TWO52]: Define TWO52.
13132 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13133
bcda9880
SP
13134 * manual/nptl.texi (cindex): Modify threads to pthreads.
13135
06d5adfb
JM
131362013-03-15 Joseph Myers <joseph@codesourcery.com>
13137
13138 * sysdeps/x86_64/preconfigure: Regenerated.
13139
41c7328e
JM
131402013-03-14 Joseph Myers <joseph@codesourcery.com>
13141
13142 [BZ #14155]
13143 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13144 0x1p28 and above.
13145 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13146 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13147 0x1p28 and above.
13148 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13149 * math/libm-test.inc (j0_test): Do not allow one spurious
13150 underflow exception.
13151 (y1_test): Likewise.
13152
e25cfa60
SP
131532013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13154
0409959c
SP
13155 * manual/Makefile (chapters): Add nptl.
13156 * manual/debug.texi (Debugging Support): Add link to Threads
13157 chapter.
13158 * manual/nptl.texi: New file.
13159
e25cfa60
SP
13160 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13161
58a1335e
PB
131622013-03-14 Petr Baudis <pasky@ucw.cz>
13163
13164 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13165 for non-NULL pointer before the memory validity test. Pointed
13166 out by Holger Brunck <holger.brunck@keymile.com>.
13167
9dc7c64f
AS
131682013-03-13 Andreas Schwab <schwab@suse.de>
13169
13170 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13171 instead of .os.
13172
54206aa6
JM
131732013-03-13 Joseph Myers <joseph@codesourcery.com>
13174
13175 * timezone/zic.c: Update from tzcode 2013b.
13176
e98cdb38
CD
131772013-03-12 Carlos O'Donell <carlos@redhat.com>
13178
13179 * manual/install.texi (Configuring and compiling):
13180 Mention i686 and i586.
13181 * INSTALL: Regenerate.
13182
9967e003
RM
131832013-03-12 Roland McGrath <roland@hack.frob.com>
13184
13185 * sysdeps/init_array/elf-init.c: New file.
13186 * csu/elf-init.c
13187 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13188 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13189
13190 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13191 __gmon_start__ as global, but as static with a .preinit_array pointer.
13192 * sysdeps/init_array/gmon-start.c: New file. Use that.
13193 * sysdeps/init_array/crti.S: New file, empty except for comments.
13194 * sysdeps/init_array/crtn.S: Likewise.
13195
e6b5a293 131962013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13197
13198 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13199 definining bcopy.
80f844c9
OB
13200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13201 Remove Prefer_SSE_for_memop.
13202 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13203 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13204 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13206 memset-x86-64.
80f844c9 13207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13208 Remove bzero, memset ifunc support.
80f844c9
OB
13209 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13210 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13211 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13212 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13213
fb6b0fcb
AS
132142013-03-11 Andreas Schwab <schwab@suse.de>
13215
13216 [BZ #15234]
13217 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13218 by SHLIB_COMPAT.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13220 (GLIBC_2.16): Remove pthread_atfork.
13221
3e6bd4b1
PP
132222013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13223
13224 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13225 (ptestcases.h): Likewise.
13226
222d7f00
RM
132272013-03-08 Roland McGrath <roland@hack.frob.com>
13228
13229 * Makeconfig ($(common-objpfx)config.status): Depend on
13230 sysdeps/*/preconfigure{,.in} too.
13231
1ba4f030
JM
132322013-03-08 Joseph Myers <joseph@codesourcery.com>
13233
a222d91a
JM
13234 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13235 (__free_hook): Use void * instead of __malloc_ptr_t.
13236 (__malloc_hook): Likewise.
13237 (__realloc_hook): Likewise.
13238 (__memalign_hook): Likewise.
13239 (__after_morecore_hook): Likewise.
13240 * malloc/arena.c (save_malloc_hook): Likewise.
13241 (save_free_hook): Likewise.
13242 * malloc/hooks.c (malloc_hook_ini): Likewise.
13243 (realloc_hook_ini): Likewise.
13244 (memalign_hook_ini): Likewise.
13245 * malloc/malloc.c (malloc_hook_ini): Likewise.
13246 (realloc_hook_ini): Likewise.
13247 (memalign_hook_ini): Likewise.
13248 (__free_hook): Likewise.
13249 (__malloc_hook): Likewise.
13250 (__realloc_hook): Likewise.
13251 (__memalign_hook): Likewise.
13252 (__libc_malloc): Likewise.
13253 (__libc_free): Likewise.
13254 (__libc_realloc): Likewise.
13255 (__libc_memalign): Likewise.
13256 (__libc_valloc): Likewise.
13257 (__libc_pvalloc): Likewise.
13258 (__libc_calloc): Likewise.
13259 (__posix_memalign): Likewise.
13260 * malloc/morecore.c (__sbrk): Likewise.
13261 (__default_morecore): Likewise.
13262
5cc45e10
JM
13263 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13264
dd54b864
JM
13265 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13266 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13267 __malloc_ptrdiff_t.
13268
1ba4f030
JM
13269 * malloc/malloc.h (__malloc_size_t): Remove macro.
13270 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13271 __malloc_size_t.
13272 (old_memalign_hook): Likewise.
13273 (old_realloc_hook): Likewise.
13274 (struct hdr): Likewise.
13275 (flood): Likewise.
13276 (mallochook): Likewise.
13277 (memalignhook): Likewise.
13278 (reallochook): Likewise.
13279 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13280 (tr_old_realloc_hook): Likewise.
13281 (tr_old_memalign_hook): Likewise.
13282 (tr_mallochook): Likewise.
13283 (tr_reallochook): Likewise.
13284 (tr_memalignhook): Likewise.
13285
edf66e57
AZ
132862013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13287
13288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13289 default_ldbl_pack and using as default implementation.
13290 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13291 implementation.
13292 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13293 redundant definition.
13294 (ldbl_insert_mantissa): Likewise.
13295 (ldbl_canonicalize): Likewise.
13296 (ldbl_nearbyint): Likewise.
13297 (ldbl_pack): Rename to ldbl_pack_ppc.
13298 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13299 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13300 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13301
6d9145d8
SP
133022013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13303
13304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13305 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13306 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13307 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13309 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13310 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13311 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13312
4dd4e157
AJ
133132013-03-07 Andreas Jaeger <aj@suse.de>
13314
13315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13316 bits/mman-linux.h.
13317
adbb8027
SP
133182013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13319
ce544b5b
SP
13320 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13321 Include mpa.h and declare __MPEXP.
13322 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13324 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13325 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13327 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13328 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13329
4cc149fd
SP
13330 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13331 (__slowpow): Use long double EXPL and LOGL functions to
13332 compute POW.
13333 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13334 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13335 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13336 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13337 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13339
e6ebd4a7
SP
13340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13341 intermediate variable to calculate exponent.
13342 (__sqr): Likewise.
13343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13344 Likewise.
13345 (__sqr): Likewise.
13346
82a9811d
SP
13347 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13348 [!NO__SQR]: Define __sqr.
13349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13350 and NO__SQR. Remove all code except __mul and __sqr. Include
13351 sysdeps/ieee754/dbl-64/mpa.c.
13352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13353
adbb8027
SP
13354 [BZ #12723]
13355 * posix/Makefile (tests): Add tst-pathconf.
13356 * posix/tst-pathconf.c: New test case.
13357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13358 _PC_PIPE_BUF.
13359 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13360
39120df9
PF
133612013-03-06 Patsy Franklin <pfrankli@redhat.com>
13362
13363 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13364
67525cb8
AJ
133652013-03-06 Andreas Jaeger <aj@suse.de>
13366
664a9ce4
AJ
13367 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13368 definition via __MAP_ANONYMOUS.
13369
8e39047d
AJ
13370 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13371 it's not part of Linux headers.
13372
67525cb8
AJ
13373 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13374 (MAP_HUGE_MASK): Define.
13375
13376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13377 Define.
13378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13380 Define.
13381 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13382 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13383 Define.
13384 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13386 Define.
13387 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13388
13389 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13390 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13391 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13392 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13393 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13394 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13395
13396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13397 Handle f2fs.
13398
13399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13400 Handle f2fs and efivarfs.
13401
13402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13403 f2fs.
13404
13405 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13406 (EFIVARFS_MAGIC): Add.
13407 (F2FS_LINK_MAX): Add.
13408
e1b42695
PP
134092013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13410
13411 * stdio-common/vfprintf.c: Replace __builtin_expect with
13412 __glibc_unlikely.
13413
2d67d91a
JM
134142013-03-06 Joseph Myers <joseph@codesourcery.com>
13415
13416 [BZ #13550]
13417 * sysdeps/generic/bp-sym.h: Remove file.
13418 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13419 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13420 <bp-sym.h> and <bp-asm.h>.
13421 (__longjmp): Don't use BP_SYM.
13422 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13423 and <bp-asm.h>.
13424 (memcpy): Don't use BP_SYM.
13425 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13426 <bp-sym.h> and <bp-asm.h>.
13427 (memcpy): Don't use BP_SYM.
13428 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13429 <bp-asm.h>.
13430 (memcpy): Don't use BP_SYM.
13431 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13432 <bp-asm.h>.
13433 (memset): Don't use BP_SYM.
13434 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13435 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13436 (__bzero): Don't use BP_SYM.
13437 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13438 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13440 <bp-sym.h> and <bp-asm.h>.
13441 (memcmp): Don't use BP_SYM. Remove comment about bounded
13442 pointers.
13443 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13444 <bp-sym.h> and <bp-asm.h>.
13445 (memcpy): Don't use BP_SYM.
13446 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13447 <bp-sym.h> and <bp-asm.h>.
13448 (memset): Don't use BP_SYM.
13449 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13450 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13451 (__bzero): Don't use BP_SYM.
13452 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13453 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13454 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13455 <bp-sym.h> and <bp-asm.h>.
13456 (strncmp): Don't use BP_SYM. Remove comment about bounded
13457 pointers.
13458 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13459 <bp-sym.h> and <bp-asm.h>.
13460 (memcpy): Don't use BP_SYM.
13461 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13462 <bp-sym.h> and <bp-asm.h>.
13463 (memset): Don't use BP_SYM.
13464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13466 (__bzero): Don't use BP_SYM.
13467 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13468 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13470 <bp-sym.h> and <bp-asm.h>.
13471 (__memchr): Don't use BP_SYM.
13472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13473 <bp-sym.h> and <bp-asm.h>.
13474 (memcmp): Don't use BP_SYM. Remove comment about bounded
13475 pointers.
13476 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13477 <bp-sym.h> and <bp-asm.h>.
13478 (memcpy): Don't use BP_SYM.
13479 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13480 <bp-sym.h> and <bp-asm.h>.
13481 (__mempcpy): Don't use BP_SYM.
13482 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13483 <bp-sym.h> and <bp-asm.h>.
13484 (__memrchr): Don't use BP_SYM.
13485 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13486 <bp-sym.h> and <bp-asm.h>.
13487 (memset): Don't use BP_SYM.
13488 (__bzero): Likewise.
13489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13490 <bp-sym.h> and <bp-asm.h>.
13491 (__rawmemchr): Don't use BP_SYM.
13492 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13493 <bp-sym.h> and <bp-asm.h>.
13494 (__STRCMP): Don't use BP_SYM.
13495 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13496 <bp-sym.h> and <bp-asm.h>.
13497 (strchr): Don't use BP_SYM.
13498 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13499 <bp-sym.h> and <bp-asm.h>.
13500 (__strchrnul): Don't use BP_SYM.
13501 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13502 <bp-sym.h> and <bp-asm.h>.
13503 (strlen): Don't use BP_SYM.
13504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13505 <bp-sym.h> and <bp-asm.h>.
13506 (strncmp): Don't use BP_SYM. Remove comment about bounded
13507 pointers.
13508 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13509 <bp-sym.h> and <bp-asm.h>.
13510 (__strnlen): Don't use BP_SYM.
13511 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13512 <bp-sym.h> and <bp-asm.h>.
13513 (__GI__setjmp): Don't use BP_SYM.
13514 (_setjmp): Likewise.
13515 (__sigsetjmp): Likewise.
13516 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13517 (L(start_addresses)): Don't use BP_SYM.
13518 (_start): Likewise.
13519 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13520 <bp-asm.h>.
13521 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13522 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13523 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13524 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13525 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13526 <bp-asm.h>.
13527 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13528 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13529 about bounded pointers.
13530 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13531 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13532 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13533 <bp-asm.h>.
13534 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13535 about bounded pointers. Remove GKM FIXME comments.
13536 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13537 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13538 <bp-asm.h>.
13539 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13540 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13541 Remove GKM FIXME comments.
13542 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13543 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13544 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13545 <bp-asm.h>.
13546 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13547 about bounded pointers. Remove GKM FIXME comment.
13548 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13549 and <bp-asm.h>.
13550 (strncmp): Don't use BP_SYM. Remove comment about bounded
13551 pointers.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13553 <bp-sym.h> and <bp-asm.h>.
13554 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13556 <bp-sym.h> and <bp-asm.h>.
13557 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13558 comment.
13559
cdcf361f
PP
135602013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13561
13562 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13563 call free(NULL).
13564
3c4a2b15
DM
135652013-03-05 David S. Miller <davem@davemloft.net>
13566
13567 * po/es.po: Update from translation team.
13568
cdcf361f 135692013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13570
13571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13572 <bits/mman-linux.h>.
13573 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13574 is fine.
13575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13576 <bits/mman-linux.h> to end of file.
13577 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13578 is fine.
13579 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13580 <bits/mman-linux.h> to end of file.
13581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13582 is fine.
13583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13584 <bits/mman-linux.h> to end of file.
13585
13586 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13587 (MCL_CURRENT, MCL_FUTURE): Define here.
13588
5f67c04f
AK
135892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13590
8a4473cc 13591 [BZ #15232]
5f67c04f
AK
13592 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13593 attribute_hidden.
13594 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13595
c3e94a95
AK
135962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13597
13598 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13599 fourth parameter needed for rt_sigprocmask syscall.
13600 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13601 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13602 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13603 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13604 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13605 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13606
cfb6382a
JM
136072013-03-04 Joseph Myers <joseph@codesourcery.com>
13608
13609 [BZ #13550]
13610 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13611 comment about bounded pointers.
13612 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13613 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13614
539d8e01
AJ
136152013-03-04 Andreas Jaeger <aj@suse.de>
13616
13617 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13618 common definitions.
13619
13620 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13621 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13622 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13625 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13626
2e167a70 136272013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13628
13629 [BZ #15055]
13630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13631 __ieee754_sqrl instead of __sqrl.
13632
68508633
JM
136332013-03-01 Joseph Myers <joseph@codesourcery.com>
13634
13635 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13636 * sysdeps/powerpc/fpu_control.h: ... here.
13637 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13638 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13639 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13640 * sysdeps/powerpc/bits/mathinline.h: ... here.
13641
7775448e
RM
136422013-03-01 Roland McGrath <roland@hack.frob.com>
13643
13644 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13645 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13646 to just [NEED_DL_SYSINFO_DSO].
13647 * elf/dl-support.c: Likewise.
13648 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13649 * elf/rtld.c (dl_main): Likewise.
13650 * elf/setup-vdso.h (setup_vdso): Likewise.
13651 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13652 * sysdeps/unix/sysv/linux/dl-sysdep.c
13653 (_dl_discover_osversion): Likewise.
13654
4e9b5995
CD
136552013-03-01 Carlos O'Donell <carlos@redhat.com>
13656
13657 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13658 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13659
e23872c8
SP
136602013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13661
e5c74c63
SP
13662 * NEWS: Mention libm performance improvements and non-x86 PI
13663 futex support.
13664
e23872c8
SP
13665 * csu/libc-start.c (__pthread_initialize_minimal): Change
13666 function arguments.
13667 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13668
b5510883
JM
136692013-02-28 Joseph Myers <joseph@codesourcery.com>
13670
13671 [BZ #13550]
13672 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13674 <bp-sym.h> and <bp-asm.h>.
13675 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13676 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13677 and <bp-asm.h>.
13678 (memcpy): Don't use BP_SYM.
13679 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13680 <bp-asm.h>.
13681 (__mpn_add_n): Don't use BP_SYM.
13682 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13683 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13684 and <bp-asm.h>.
13685 (__mpn_addmul_1): Don't use BP_SYM.
13686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13687 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13688 <bp-sym.h>.
13689 (_setjmp): Don't use BP_SYM.
13690 (__novmx_setjmp): Likewise.
13691 (__GI__setjmp): Likewise.
13692 (__vmx_setjmp): Likewise.
13693 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13694 <bp-sym.h>.
13695 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13696 (__bzero): Don't use BP_SYM.
13697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13699 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13700 <bp-sym.h> and <bp-asm.h>.
13701 (memcpy): Don't use BP_SYM.
13702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13703 <bp-sym.h> and <bp-asm.h>.
13704 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13705 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13706 <bp-sym.h> and <bp-asm.h>.
13707 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13708 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13709 <bp-asm.h>.
13710 (__mpn_lshift): Don't use BP_SYM.
13711 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13712 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13713 <bp-asm.h>.
13714 (memset): Don't use BP_SYM.
13715 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13716 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13717 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13718 <bp-asm.h>.
13719 (__mpn_mul_1): Don't use BP_SYM.
13720 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13722 <bp-sym.h> and <bp-asm.h>.
13723 (memcmp): Don't use BP_SYM.
13724 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13725 <bp-sym.h> and <bp-asm.h>.
13726 (memcpy): Don't use BP_SYM.
13727 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13728 <bp-sym.h> and <bp-asm.h>.
13729 (memset): Don't use BP_SYM.
13730 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13731 <bp-sym.h> and <bp-asm.h>.
13732 (strncmp): Don't use BP_SYM.
13733 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13734 <bp-sym.h> and <bp-asm.h>.
13735 (memcpy): Don't use BP_SYM.
13736 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13737 <bp-sym.h> and <bp-asm.h>.
13738 (memset): Don't use BP_SYM.
13739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13740 <bp-sym.h> and <bp-asm.h>.
13741 (__memchr): Don't use BP_SYM.
13742 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13743 <bp-sym.h> and <bp-asm.h>.
13744 (memcmp): Don't use BP_SYM.
13745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13746 <bp-sym.h> and <bp-asm.h>.
13747 (memcpy): Don't use BP_SYM.
13748 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13749 <bp-sym.h> and <bp-asm.h>.
13750 (__mempcpy): Don't use BP_SYM.
13751 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13752 <bp-sym.h> and <bp-asm.h>.
13753 (__memrchr): Don't use BP_SYM.
13754 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13755 <bp-sym.h> and <bp-asm.h>.
13756 (memset): Don't use BP_SYM.
13757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13758 <bp-sym.h> and <bp-asm.h>.
13759 (__rawmemchr): Don't use BP_SYM.
13760 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13761 <bp-sym.h> and <bp-asm.h>.
13762 (__STRCMP): Don't use BP_SYM.
13763 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13764 <bp-sym.h> and <bp-asm.h>.
13765 (strchr): Don't use BP_SYM.
13766 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13767 <bp-sym.h> and <bp-asm.h>.
13768 (__strchrnul): Don't use BP_SYM.
13769 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13770 <bp-sym.h> and <bp-asm.h>.
13771 (strlen): Don't use BP_SYM.
13772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13773 <bp-sym.h> and <bp-asm.h>.
13774 (strncmp): Don't use BP_SYM.
13775 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13776 <bp-sym.h> and <bp-asm.h>.
13777 (__strnlen): Don't use BP_SYM.
13778 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13779 <bp-asm.h>.
13780 (__mpn_rshift): Don't use BP_SYM.
13781 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13782 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13783 <bp-sym.h> and <bp-asm.h>.
13784 (__sigsetjmp): Don't use BP_SYM.
13785 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13786 (L(start_addresses)): Don't use BP_SYM.
13787 (_start): Likewise.
13788 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13789 <bp-asm.h>.
13790 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13791 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13792 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13793 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13794 <bp-asm.h>.
13795 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13796 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13797 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13798 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13799 <bp-asm.h>.
13800 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13801 comments.
13802 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13803 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13804 <bp-asm.h>.
13805 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13806 FIXME comments.
13807 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13808 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13809 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13810 <bp-asm.h>.
13811 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13812 comment.
13813 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13814 and <bp-asm.h>.
13815 (strncmp): Don't use BP_SYM,
13816 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13817 <bp-asm.h>.
13818 (__mpn_sub_n): Don't use BP_SYM.
13819 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13820 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13821 and <bp-asm.h>.
13822 (__mpn_submul_1): Don't use BP_SYM.
13823 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13825 <bp-sym.h> and <bp-asm.h>.
13826 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13828 <bp-sym.h> and <bp-asm.h>.
13829 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13830 comment.
13831
8d19fe64
SP
138322013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13833
13834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13835 Use ZK to minimize writes to Z.
13836 (sub_magnitudes): Simplify code a bit.
13837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13838 Use ZK to minimize writes to Z.
13839 (sub_magnitudes): Simplify code a bit.
13840
85bd816a
RM
138412013-02-27 Roland McGrath <roland@hack.frob.com>
13842
13843 * csu/gmon-start.c: Add special exception to license text.
13844
b5977bf2
RH
138452013-02-27 Richard Henderson <rth@redhat.com>
13846
13847 * scripts/config.guess: Update from config.git.
13848 * scripts/config.sub: Likewise.
13849
11d6e2f2
SP
138502013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13851
09c14ed2
SP
13852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13853
a688864e
SP
13854 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13855
6295157a
SP
13856 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13857
b8de2202
SP
13858 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13859
11d6e2f2
SP
13860 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13861
7e80ddb8
RM
138622013-02-26 Roland McGrath <roland@hack.frob.com>
13863
13864 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13865 [$(build-shared = yes].
7e80ddb8 13866
7da6d9ed
SP
138672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13868
45f05884
SP
13869 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13870 (__mul): Reduce iterations for calculating mantissa.
13871
2236d359
SP
13872 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13873 MPTWO.
13874 (__mpranred): Likewise.
13875
7da6d9ed
SP
13876 [BZ #15160]
13877 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13878 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13879
b7688c42
PE
138802013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13881
13882 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13883 Define __attribute__.
13884
53a5c423
SP
138852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13886
13887 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13888 unused.
13889 * posix/regex_internal.h (__attribute): Remove.
13890 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13891 (re_string_context_at): Likewise.
13892 (bitset_not): Use __attribute__ and mark function as possibly
13893 unused.
13894 (bitset_merge): Likewise.
13895 (bitset_mask): Likewise.
13896 (re_string_char_size_at): Likewise.
13897 (re_string_wchar_at): Likewise.
13898 (re_string_elem_size_at): Likewise.
13899
60f5a8b5
SP
139002013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13901
2a983a2e
SP
13902 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13903 code.
13904 (cc32): Likewise.
13905
e69804d1
SP
13906 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13907 (__acr): Likewise.
13908 (__cpy): Likewise.
13909 (norm): Likewise.
13910 (denorm): Likewise.
13911 (__dbl_mp): Likewise.
13912 (add_magnitudes): Likewise.
13913 (sub_magnitudes): Likewise.
13914 (__mul): Likewise.
13915 (__inv): Likewise.
13916
2f22a1e8
SP
13917 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13918 style.
13919
8930ddc7
SP
13920 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13921 style.
13922
dc60cb11
SP
13923 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13924 code.
13925
60f5a8b5
SP
13926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13927 up changes with default code.
13928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13929 Likewise.
13930
b4d1fd33
AM
139312013-02-24 Allan McRae <allan@archlinux.org>
13932
faf6f8bc
AM
13933 * manual/socket.texi (The Internet Namespace): Order menu items
13934 to match that in the file.
13935
b4d1fd33
AM
13936 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13937 node listing of the info page menu.
13938
2366713d
JM
139392013-02-21 Joseph Myers <joseph@codesourcery.com>
13940
13941 [BZ #13550]
13942 * sysdeps/i386/bp-asm.h: Remove file.
13943 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13944 (PARMS): Do not use macros from bp-asm.h.
13945 (S1): Likewise.
13946 (S2): Likewise.
13947 (SIZE): Likewise.
13948 (__mpn_add_n): Do not use BP_SYM
13949 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13950 "bp-asm.h".
13951 (PARMS): Do not use macros from bp-asm.h.
13952 (S1): Likewise.
13953 (SIZE): Likewise.
13954 (__mpn_addmul_1): Do not use BP_SYM
13955 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13956 "bp-asm.h".
13957 (PARMS): Do not use macros from bp-asm.h.
13958 (SIGMSK): Likewise.
13959 (_setjmp): Likewise. Do not use BP_SYM.
13960 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13961 "bp-asm.h".
13962 (PARMS): Do not use macros from bp-asm.h.
13963 (SIGMSK): Likewise.
13964 (setjmp): Likewise. Do not use BP_SYM.
13965 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13966 "bp-asm.h".
13967 (PARMS): Do not use macros from bp-asm.h.
13968 (__frexp): Do not use BP_SYM.
13969 (frexp): Likewise.
13970 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13971 "bp-asm.h".
13972 (PARMS): Do not use macros from bp-asm.h.
13973 (__frexpf): Do not use BP_SYM.
13974 (frexpf): Likewise.
13975 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13976 "bp-asm.h".
13977 (PARMS): Do not use macros from bp-asm.h.
13978 (__frexpl): Do not use BP_SYM.
13979 (frexpl): Likewise.
13980 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13981 "bp-asm.h".
13982 (PARMS): Do not use macros from bp-asm.h.
13983 (__remquo): Do not use BP_SYM.
13984 (remquo): Likewise.
13985 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13986 "bp-asm.h".
13987 (PARMS): Do not use macros from bp-asm.h.
13988 (__remquof): Do not use BP_SYM.
13989 (remquof): Likewise.
13990 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13991 "bp-asm.h".
13992 (PARMS): Do not use macros from bp-asm.h.
13993 (__remquol): Do not use BP_SYM.
13994 (remquol): Likewise.
13995 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13996 "bp-asm.h".
13997 (PARMS): Do not use macros from bp-asm.h.
13998 (DEST): Likewise.
13999 (SRC): Likewise.
14000 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14001 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14002 "bp-asm.h".
14003 (PARMS): Do not use macros from bp-asm.h.
14004 (strlen): Do not use BP_SYM.
14005 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14006 "bp-asm.h".
14007 (PARMS): Do not use macros from bp-asm.h.
14008 (S1): Likewise.
14009 (S2): Likewise.
14010 (SIZE): Likewise.
14011 (__mpn_add_n): Do not use BP_SYM.
14012 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14013 "bp-asm.h".
14014 (PARMS): Do not use macros from bp-asm.h.
14015 (S1): Likewise.
14016 (SIZE): Likewise.
14017 (__mpn_addmul_1): Do not use BP_SYM.
14018 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14019 weak_alias.
14020 (bzero): Likewise.
14021 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14022 "bp-asm.h".
14023 (PARMS): Do not use macros from bp-asm.h.
14024 (S): Likewise.
14025 (SIZE): Likewise.
14026 (__mpn_lshift): Do not use BP_SYM.
14027 * sysdeps/i386/i586/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
14034 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14035 libc_hidden_def and weak_alias.
14036 (mempcpy): Do not use BP_SYM in weak_alias.
14037 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14038 "bp-asm.h".
14039 (PARMS): Do not use macros from bp-asm.h.
14040 (DEST): Likewise.
14041 (LEN): Likewise.
14042 [!BZERO_P] (CHR): Likewise.
14043 (memset): Likewise. Do not use BP_SYM.
14044 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14045 "bp-asm.h".
14046 (PARMS): Do not use macros from bp-asm.h.
14047 (S1): Likewise.
14048 (SIZE): Likewise.
14049 (__mpn_mul_1): Do not use BP_SYM.
14050 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14051 "bp-asm.h".
14052 (PARMS): Do not use macros from bp-asm.h.
14053 (S): Likewise.
14054 (SIZE): Likewise.
14055 (__mpn_rshift): Do not use BP_SYM.
14056 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14057 "bp-asm.h".
14058 (PARMS): Do not use macros from bp-asm.h.
14059 (STR): Likewise.
14060 (CHR): Likewise.
14061 (strchr): Likewise. Do not use BP_SYM.
14062 (index): Do not use BP_SYM in weak_alias.
14063 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14064 "bp-asm.h".
14065 (PARMS): Do not use macros from bp-asm.h.
14066 (DEST): Likewise.
14067 (SRC): Likewise.
14068 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14069 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14070 "bp-asm.h".
14071 (PARMS): Do not use macros from bp-asm.h.
14072 (strlen): Do not use BP_SYM.
14073 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14074 "bp-asm.h".
14075 (PARMS): Do not use macros from bp-asm.h.
14076 (S1): Likewise.
14077 (S2): Likewise.
14078 (SIZE): Likewise.
14079 (__mpn_sub_n): Do not use BP_SYM.
14080 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14081 "bp-asm.h".
14082 (PARMS): Do not use macros from bp-asm.h.
14083 (S1): Likewise.
14084 (SIZE): Likewise.
14085 (__mpn_submul_1): Do not use BP_SYM.
14086 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14087 "bp-asm.h".
14088 (PARMS): Do not use macros from bp-asm.h.
14089 (S1): Likewise.
14090 (S2): Likewise.
14091 (SIZE): Likewise.
14092 (__mpn_add_n): Do not use BP_SYM.
14093 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14094 weak_alias.
14095 (bzero): Likewise.
14096 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14097 "bp-asm.h".
14098 (PARMS): Do not use macros from bp-asm.h.
14099 (BLK2): Likewise.
14100 (LEN): Likewise.
14101 (memcmp): Do not use BP_SYM.
14102 (bcmp): Do not use BP_SYM in weak_alias.
14103 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14104 "bp-asm.h".
14105 (PARMS): Do not use macros from bp-asm.h.
14106 (DEST): Likewise.
14107 (SRC): Likewise.
14108 (LEN): Likewise.
14109 (memcpy): Likewise. Do not use BP_SYM.
14110 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14111 "bp-asm.h".
14112 (PARMS): Do not use macros from bp-asm.h.
14113 (DEST): Likewise.
14114 (SRC): Likewise.
14115 (LEN): Likewise.
14116 (memmove): Likewise. Do not use BP_SYM.
14117 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14118 "bp-asm.h".
14119 (PARMS): Do not use macros from bp-asm.h.
14120 (DEST): Likewise.
14121 (SRC): Likewise.
14122 (LEN): Likewise.
14123 (__mempcpy): Likewise. Do not use BP_SYM.
14124 (mempcpy): Do not use BP_SYM in weak_alias.
14125 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14126 "bp-asm.h".
14127 (PARMS): Do not use macros from bp-asm.h.
14128 (DEST): Likewise.
14129 (LEN): Likewise.
14130 [!BZERO_P] (CHR): Likewise.
14131 (memset): Likewise. Do not use BP_SYM.
14132 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14133 "bp-asm.h".
14134 (PARMS): Do not use macros from bp-asm.h.
14135 (STR2): Likewise.
14136 (strcmp): Do not use BP_SYM.
14137 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14138 "bp-asm.h".
14139 (PARMS): Do not use macros from bp-asm.h.
14140 (STR): Likewise.
14141 (DELIM): Likewise.
14142 [USE_AS_STRTOK_R] (SAVE): Likewise.
14143 (FUNCTION): Likewise. Do not use BP_SYM.
14144 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14145 aliases.
14146 (strtok_r): Likewise.
14147 (__GI___strtok_r): Likewise.
14148 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14149 (PARMS): Do not use macros from bp-asm.h.
14150 (S): Likewise.
14151 (SIZE): Likewise.
14152 (__mpn_lshift): Do not use BP_SYM.
14153 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14154 (PARMS): Do not use macros from bp-asm.h.
14155 (STR): Likewise.
14156 (CHR): Likewise.
14157 (__memchr): Do not use BP_SYM.
14158 (memchr): Do not use BP_SYM in weak_alias.
14159 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14160 (PARMS): Do not use macros from bp-asm.h.
14161 (BLK2): Likewise.
14162 (LEN): Likewise.
14163 (memcmp): Do not use BP_SYM.
14164 (bcmp): Do not use BP_SYM in weak_alias.
14165 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14166 (PARMS): Do not use macros from bp-asm.h.
14167 (S1): Likewise.
14168 (SIZE): Likewise.
14169 (__mpn_mul_1): Do not use BP_SYM.
14170 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14171 "bp-asm.h".
14172 (PARMS): Do not use macros from bp-asm.h.
14173 (STR): Likewise.
14174 (CHR): Likewise.
14175 (__rawmemchr): Do not use BP_SYM.
14176 (rawmemchr): Do not use BP_SYM in weak_alias.
14177 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14178 (PARMS): Do not use macros from bp-asm.h.
14179 (S): Likewise.
14180 (SIZE): Likewise.
14181 (__mpn_rshift): Do not use BP_SYM.
14182 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14183 (PARMS): Do not use macros from bp-asm.h.
14184 (SIGMSK): Likewise.
14185 (__sigsetjmp): Likewise. Do not use BP_SYM.
14186 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14187 (_start): Do not use BP_SYM.
14188 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14189 (PARMS): Do not use macros from bp-asm.h.
14190 (DEST): Likewise.
14191 (SRC): Likewise.
14192 (__stpcpy): Likewise. Do not use BP_SYM.
14193 (stpcpy): Do not use BP_SYM in weak_alias.
14194 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14195 "bp-asm.h".
14196 (PARMS): Do not use macros from bp-asm.h.
14197 (DEST): Likewise.
14198 (SRC): Likewise.
14199 (LEN): Likewise.
14200 (__stpncpy): Likewise. Do not use BP_SYM.
14201 (stpncpy): Do not use BP_SYM in weak_alias.
14202 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14203 (PARMS): Do not use macros from bp-asm.h.
14204 (STR): Likewise.
14205 (CHR): Likewise.
14206 (strchr): Likewise. Do not use BP_SYM.
14207 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14208 "bp-asm.h".
14209 (PARMS): Do not use macros from bp-asm.h.
14210 (STR): Likewise.
14211 (CHR): Likewise.
14212 (__strchrnul): Likewise. Do not use BP_SYM.
14213 (strchrnul): Do not use BP_SYM in weak_alias.
14214 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14215 "bp-asm.h".
14216 (PARMS): Do not use macros from bp-asm.h.
14217 (STOP): Likewise.
14218 (strcspn): Do not use BP_SYM.
14219 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14220 "bp-asm.h".
14221 (PARMS): Do not use macros from bp-asm.h.
14222 (STR): Likewise.
14223 (STOP): Likewise.
14224 (strpbrk): Likewise. Do not use BP_SYM.
14225 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14226 "bp-asm.h".
14227 (PARMS): Do not use macros from bp-asm.h.
14228 (STR): Likewise.
14229 (CHR): Likewise.
14230 (strrchr): Likewise. Do not use BP_SYM.
14231 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14232 (PARMS): Do not use macros from bp-asm.h.
14233 (SKIP): Likewise.
14234 (strspn): Do not use BP_SYM.
14235 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14236 (PARMS): Do not use macros from bp-asm.h.
14237 (STR): Likewise.
14238 (DELIM): Likewise.
14239 (SAVE): Likewise.
14240 (FUNCTION): Likewise. Do not use BP_SYM.
14241 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14242 aliases.
14243 (strtok_r): Likewise.
14244 (__GI___strtok_r): Likewise.
14245 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14246 (PARMS): Do not use macros from bp-asm.h.
14247 (S1): Likewise.
14248 (S2): Likewise.
14249 (SIZE): Likewise.
14250 (__mpn_sub_n): Do not use BP_SYM.
14251 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14252 "bp-asm.h".
14253 (PARMS): Do not use macros from bp-asm.h.
14254 (S1): Likewise.
14255 (SIZE): Likewise.
14256 (__mpn_submul_1): Do not use BP_SYM.
14257 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14258 <bp-sym.h>.
14259 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14260 and <bp-asm.h>.
14261 (PARMS): Do not use macros from bp-asm.h.
14262 (FLAGS): Likewise.
14263 (PTID): Likewise.
14264 (TLS): Likewise.
14265 (CTID): Likewise.
14266 (__clone): Do not use BP_SYM.
14267 (clone): Do not use BP_SYM in weak_alias.
14268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14269 and <bp-asm.h>.
14270 (PARMS): Do not use macros from bp-asm.h.
14271 (LEN): Likewise.
14272 (__mmap64): Do not use BP_SYM.
14273 (mmap64): Do not use BP_SYM in weak_alias.
14274 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14275 <bp-sym.h> and <bp-asm.h>.
14276 (PARMS): Do not use macros from bp-asm.h.
14277 (__posix_fadvise64_l64): Do not use BP_SYM.
14278 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14279 (PARMS): Do not use macros from bp-asm.h.
14280 (NSOPS): Likewise.
14281 (semtimedop): Do not use BP_SYM.
14282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14283 and <bp-asm.h>.
14284
582a3cff
AM
142852013-02-21 Allan McRae <allan@archlinux.org>
14286
14287 * manual/message.texi (Charset conversion in gettext):
14288 Move @end statement to beginning of line.
14289
bab8a695
SP
142902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14291
80945231
SP
14292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14293 static.
14294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14295 Likewise.
14296
bab8a695
SP
14297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14298 (denorm): Likewise.
14299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14301
e21d7aa7
AK
143022013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14303
14304 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14305 tail-call to the resolved function if pltexit isn't needed.
14306
4c7a4263
SP
143072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14308
14309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14310 or Y being zero as being unlikely.
14311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14312 Likewise.
14313
41f49342
CD
143142013-02-20 Carlos O'Donell <carlos@redhat.com>
14315
14316 * manual/nss.texi (System Databases and Name Service Switch):
14317 Remove frobnicate @pxref.
14318
50022a93
TS
143192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14320
14321 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14322 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14323
08cbd996
PM
143242013-02-20 Petr Machata <pmachata@redhat.com>
14325
14326 * elf/elf.h (R_ARM_TARGET1): New macro.
14327 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14328 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14329 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14330 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14331 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14332 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14333 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14334 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14335 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14336 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14337 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14338 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14339 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14340 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14341 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14342 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14343 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14344 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14345 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14346 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14347 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14348 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14349 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14350 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14351 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14352 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14353 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14354 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14355 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14356 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14357 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14358 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14359 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14360 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14361 (R_ARM_THM_GOT_BREL12): Likewise.
14362 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14363 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14364 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14365 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14366 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14367 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14368 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14369 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14370 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14371
c7b275d6
TS
143722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14373
14374 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14375 __attribute_used__ to __attribute__ ((unused)).
14376
20cd7fb3
SP
143772013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14378
14379 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14380 powerpc mpa.c.
14381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14382 comment formatting.
14383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14384
92945b52
JM
143852013-02-19 Joseph Myers <joseph@codesourcery.com>
14386
14387 [BZ #13550]
14388 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14389 Remove macro.
14390 (ENTER): Remove both macro definitions.
14391 (LEAVE): Likewise.
14392 (CHECK_BOUNDS_LOW): Likewise.
14393 (CHECK_BOUNDS_HIGH): Likewise.
14394 (CHECK_BOUNDS_BOTH): Likewise.
14395 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14396 (RETURN_BOUNDED_POINTER): Likewise.
14397 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14398 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14399 (POP_ERRNO_LOCATION_RETURN): Likewise.
14400 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14401 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14402 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14403 macros.
14404 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14405 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14406 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14407 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14408 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14409 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14410 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14411 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14412 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14413 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14414 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14415 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14417 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14418 removed macros.
14419 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14420 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14421 macros.
14422 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14423 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14424 * sysdeps/i386/i586/memset.S (memset): Likewise.
14425 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14426 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14427 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14428 macros.
14429 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14430 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14431 Change uses of L(2) to L(out).
14432 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14433 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14434 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14435 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14436 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14437 removed macros.
14438 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14439 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14440 macros.
14441 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14442 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14443 (RETURN): Do not use macro LEAVE.
14444 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14445 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14446 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14447 * sysdeps/i386/i686/memset.S (memset): Likewise.
14448 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14449 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14450 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14451 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14452 Likewise.
14453 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14454 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14455 L(1_2) and L(1_3) into L(1).
14456 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14457 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14458 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14459 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14460 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14461 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14462 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14464 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14465 macros.
14466 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14468 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14469 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14470 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14471 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14472 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14473 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14474 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14475 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14476 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14477 * sysdeps/i386/strspn.S (strspn): Likewise.
14478 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14479 conditional code.
14480 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14481 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14482 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14483 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14484 L(1_3) into L(1_1).
14485 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14486 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14487 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14488 macros.
14489 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14490
2389741a
JJ
144912013-02-19 Jakub Jelinek <jakub@redhat.com>
14492
14493 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14494 macro.
14495
2016b3cd
SP
144962013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14497
e4f22324
SP
14498 * math/atest-exp.c (exp_mpn): Remove ROUND.
14499 * math/atest-exp2.c (exp_mpn): Likewise.
14500 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14501
2016b3cd
SP
14502 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14503 * stdlib/tst-tls-atexit-lib.c: Likewise.
14504 * stdlib/tst-tls-atexit.c: Likewise.
14505
4be9b544
MF
145062013-02-18 Mike Frysinger <vapier@gentoo.org>
14507
14508 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14509 and __attribute_alloc_size__.
14510
2f62b9ee
MF
145112013-02-18 Mike Frysinger <vapier@gentoo.org>
14512
14513 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14514 __attribute_alloc_size__.
14515 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14516 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14517
6ff444c4
MF
145182013-02-18 Mike Frysinger <vapier@gentoo.org>
14519
14520 * include/programs/xmalloc.h: New file.
14521 * catgets/gencat.c: Include it.
14522 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14523 * elf/pldd.c: Likewise.
14524 * iconv/iconv_charmap.c: Likewise.
14525 * iconv/iconvconfig.c: Likewise.
14526 * iconv/strtab.c: Likewise.
14527 * locale/programs/locale.c: Likewise.
14528 * locale/programs/localedef.h: Likewise.
14529 * locale/programs/simple-hash.c: Likewise.
14530 * nscd/nscd.h: Likewise.
14531 * nss/makedb.c: Likewise.
14532 * sysdeps/generic/ldconfig.h: Likewise.
14533
be179c8a
SP
145342013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14535
ba384f6e
SP
14536 * Versions.def: Add GLIBC_2.18.
14537 * include/link.h (struct link_map): New member l_tls_dtor_count.
14538 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14539 (__call_tls_dtors): Likewise.
14540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14541 __cxa_thread_atexit_impl.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14543 Likewise.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14545 Likewise.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14547 Likewise.
14548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14549 Likewise.
14550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14552 Likewise.
14553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14554 Likewise.
14555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14557 Likewise.
14558 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14559 (tests): Add test case tst-tls-atexit.
14560 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14561 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14562 (GLIBC_PRIVATE): Add __call_tls_dtors.
14563 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14564 for libstdc++.
14565 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14566 * stdlib/tst-tls-atexit.c: New test case.
14567 * stdlib/tst-tls-atexit-lib.c: New test case.
14568
ffaa74cf 14569 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14570
be179c8a
SP
14571 * elf/Versions (ld): Add _dl_find_dso_for_object.
14572 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14573 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14574 (dl_open_worker): Use _dl_find_dso_for_object.
14575 * elf/dl-sym.c (do_sym): Likewise.
14576 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14577
f78b5caa
AK
145782013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14579
14580 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14581 Syntactic changes only.
14582 (_dl_runtime_profile): Do a tail-call to the resolved function.
14583
29691210
JM
145842013-02-17 Joseph Myers <joseph@codesourcery.com>
14585
14586 [BZ #13550]
14587 * sysdeps/x86_64/bp-asm.h: Remove file.
14588 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14589 <bp-sym.h> and <bp-asm.h>.
14590 (__clone): Do not use BP_SYM.
14591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14592 <bp-sym.h> and <bp-asm.h>.
14593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14594 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14595 "bp-asm.h".
14596 (_setjmp): Do not use BP_SYM.
14597 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14598 "bp-asm.h".
14599 (setjmp): Do not use BP_SYM.
14600 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14601 libc_hidden_def.
14602 (mempcpy): Do not use BP_SYM in weak_alias.
14603 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14604 "bp-asm.h".
14605 (strchr): Do not use BP_SYM.
14606 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14607 "bp-asm.h".
14608 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14609 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14610 (_start): Do not use BP_SYM.
14611 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14612 "bp-asm.h".
14613 (strcat): Do not use BP_SYM.
14614 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14615 "bp-asm.h".
14616 (STRCMP): Do not use BP_SYM.
14617 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14618 "bp-asm.h".
14619 (STRCPY): Do not use BP_SYM.
14620 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14621 "bp-asm.h".
14622 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14623 "bp-asm.h".
14624 (FUNCTION): Do not use BP_SYM.
14625 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14626 weak_alias.
14627 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14628
f238fd19
AJ
146292013-02-17 Andreas Jaeger <aj@suse.de>
14630
14631 * time/Versions: Sort entries.
14632 * string/Versions: Likewise.
14633 * resolv/Versions: Likewise.
14634 * posix/Versions: Likewise.
14635 * iconv/Versions: Likewise.
14636 * elf/Versions: Likewise.
14637 * wcsmbs/Versions: Likewise.
14638
bd07f23c 146392013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14640
22af19f9
SP
14641 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14642 loop termination condition.
14643
4709fe76
SP
14644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14645 variable to calculate EZ.
14646 (__sqr): Likewise.
2d0e0f29
SP
14647
14648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14649 the lower precision input.
14650
daaa7713
JM
146512013-02-15 Joseph Myers <joseph@codesourcery.com>
14652
14653 [BZ #13550]
14654 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14655 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14656 (run-via-rtld-prefix): Do not handle %-bp tests.
14657 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14658 (all-object-suffixes): Remove .ob.
14659 (bppfx): Remove variable.
14660 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14661 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14662 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14663 [$(build-bounded) = yes] (libtype.ob): Likewise.
14664 * Makerules (elide-routines.ob): Remove variable.
14665 (do-tests-clean): Do not handle *-bp.out.
14666 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14667 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14668 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14669 (tests): Do not include $(tests-bp.out).
14670 (xtests): Do not include $(xtests-bp.out).
14671 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14672 [$(build-bounded) = yes] ($(addprefix
14673 $(objpfx),$(binaries-bounded))): Remove rule.
14674 ($(objpfx)%-bp.out): Remove rule.
14675 * config.make.in (build-bounded): Remove variable.
14676 * crypt/Makefile [$(build-bounded) = yes]
14677 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14678 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14679 append to variable.
14680 [$(build-bounded) = yes] (install-lib): Likewise.
14681 [$(build-bounded) = yes] (generated): Likewise.
14682 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14683 Remove rule.
14684 * intl/Makefile [$(build-bounded) = yes]
14685 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14686 * math/Makefile [$(build-bounded) = yes]
14687 ($(tests:%=$(objpfx)%-bp): Likewise.
14688 * misc/Makefile [$(build-bounded) = yes]
14689 ($(objpfx)tst-tsearch-bp): Likewise.
14690 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14691 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14692 Remove dependency.
14693 * string/Makefile (o-objects.ob): Remove variable.
14694 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14695 (CFLAGS-.ob): Remove variable.
14696 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14698 both definitions of variable.
14699 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14700 (ASFLAGS-.ob): Remove variable.
14701
e97ed6dd
JM
147022013-02-14 Joseph Myers <joseph@codesourcery.com>
14703
2bdd4ca6
JM
14704 [BZ #13550]
14705 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14706 Remove __BOUNDED_POINTERS__ from condition.
14707 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14708 * string/bits/string2.h [!__NO_STRING_INLINES &&
14709 !__BOUNDED_POINTERS__]: Likewise.
14710 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14711 Likewise.
14712 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14713 Remove conditional code.
14714 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14715 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14716 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14717 condition.
14718
e97ed6dd
JM
14719 [BZ #13550]
14720 * csu/libc-start.c: Do not include <bp-sym.h>.
14721 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14722 * elf/dl-open.c: Do not include <bp-sym.h>.
14723 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14724 * math/fegetenv.c: Do not include <bp-sym.h>.
14725 (fegetenv): Do not use BP_SYM in versioned symbols.
14726 * nptl/sysdeps/pthread/bits/libc-lockP.h
14727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14728 <bp-sym.h>.
14729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14730 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14732 (__pthread_mutex_destroy): Likewise.
14733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14734 (__pthread_mutex_lock): Likewise.
14735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14736 (__pthread_mutex_trylock): Likewise.
14737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14738 (__pthread_mutex_unlock): Likewise.
14739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14740 (__pthread_mutexattr_init): Likewise.
14741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14742 (__pthread_mutexattr_destroy): Likewise.
14743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14744 (__pthread_mutexattr_settype): Likewise.
14745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14746 (__pthread_rwlock_init): Likewise.
14747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14748 (__pthread_rwlock_destroy): Likewise.
14749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14750 (__pthread_rwlock_rdlock): Likewise.
14751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14752 (__pthread_rwlock_tryrdlock): Likewise.
14753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14754 (__pthread_rwlock_wrlock): Likewise.
14755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14756 (__pthread_rwlock_trywrlock): Likewise.
14757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14758 (__pthread_rwlock_unlock): Likewise.
14759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14760 (__pthread_key_create): Likewise.
14761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14762 (__pthread_setspecific): Likewise.
14763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14764 (__pthread_getspecific): Likewise.
14765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14766 Likewise.
14767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14768 (_pthread_cleanup_push_defer): Likewise.
14769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14770 (_pthread_cleanup_pop_restore): Likewise.
14771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14772 (pthread_setcancelstate): Likewise.
14773 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14774 <bp-sym.h>.
14775 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14776 (memchr): Do not use BP_SYM in weak_alias.
14777 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14778 (fegetenv): Do not use BP_SYM in versioned symbols.
14779 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14780 (fesetenv): Do not use BP_SYM in versioned symbols.
14781 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14782 (feupdateenv): Do not use BP_SYM in versioned symbols.
14783 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14784 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14785 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14786 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14787 (open64): Do not use BP_SYM in weak_alias.
14788 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14789 (fegetenv): Do not use BP_SYM in versioned symbols.
14790 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14791 (fesetenv): Do not use BP_SYM in versioned symbols.
14792 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14793 (feupdateenv): Do not use BP_SYM in versioned symbols.
14794 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14795 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14796 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14797 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14798 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14799 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14801 <bp-sym.h>.
14802 (__libc_start_main): Do not use BP_SYM.
14803
d6752ccd
SP
148042013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14805
cb57ce60
SP
14806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14807 redundant return line.
14808 (norm): Likewise.
14809 (denorm): Likewise.
14810 (dbl_mp): Likewise.
14811 (sub_magnitudes): Likewise.
14812 (__add): Likewise.
14813 (__sub): Likewise.
14814 (__mul): Likewise.
14815 (__inv): Likewise.
14816 (__dvd): Likewise.
14817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14818 (norm): Likewise.
14819 (denorm): Likewise.
14820 (dbl_mp): Likewise.
14821 (sub_magnitudes): Likewise.
14822 (__add): Likewise.
14823 (__sub): Likewise.
14824 (__mul): Likewise.
14825 (__inv): Likewise.
14826 (__dvd): Likewise.
14827
f414520d
SP
14828 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14829 instead of __mul.
14830 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14831 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14832 (cc32): Likewise.
14833
d6752ccd
SP
14834 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14835 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14837 of __mul for squares.
14838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14839 function
14840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14841 Likewise.
14842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14844
70d9946a
JM
148452013-02-13 Joseph Myers <joseph@codesourcery.com>
14846
14847 [BZ #13550]
14848 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14849 code.
14850 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14851 prototype or function definition. Rename ubp_* variables and
14852 parameters. Remove argv definitions conditional on
14853 [__BOUNDED_POINTERS__].
14854 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14855 * elf/dl-runtime.c (_dl_fixup): Likewise.
14856 * include/set-hooks.h (RUN_HOOK): Likewise.
14857 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14858 definition.
14859 * string/strcpy.c (strcpy): Do not use __unbounded.
14860 * sysdeps/generic/frame.h (struct layout): Likewise.
14861 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14862 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14863 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14864 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14865 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14866 (__backtrace): Likewise.
14867 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14868 use __ptrvalue.
14869 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14871 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14872 Likewise.
14873 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14874 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14875 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14876 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14877 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14878 Do not use __unbounded.
14879 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14880 Rename __unboundedrlimits parameter to rlimits in prototype.
14881 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14882 Do not use __unbounded.
14883 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14884 not use __ptrvalue.
14885 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14886 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14887 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14889 __ptrvalue or __unbounded.
14890 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14891 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14892 use __unbounded.
14893 (__new_msgctl): Do not use __ptrvalue.
14894 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14895 __unbounded.
14896 (__libc_msgrcv): Do not use __ptrvalue.
14897 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14898 startup_info): Do not use __unbounded.
14899 (__libc_start_main): Likewise. Rename ubp_* variables and
14900 parameters. Remove argv definitions conditional on
14901 [__BOUNDED_POINTERS__].
14902 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14903 __ptrvalue.
14904 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14905 use __unbounded.
14906 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14907 or __ptrvalue.
14908 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14909 use __unbounded.
14910 (__new_shmctl): Do not use __ptrvalue.
14911 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14912 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14913 Likewise.
14914 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14915 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14916 (__libc_sigaction): Likewise.
14917 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14918 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14919 Likewise.
14920 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14921
cc7834d6
OB
149222013-02-13 Ondřej Bílka <neleai@seznam.cz>
14923
ffb1ec7b 14924 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14925
14926 * string/mempcpy.c: Implement by calling memcpy.
14927
bdf02814
SP
149282013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14929
c2af38aa
SP
14930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14931
4e92d59e
SP
14932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14933 evaluation.
14934
909279a5
SP
14935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14936 values in the mantissa.
14937
bdf02814
SP
14938 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14939 minimize writes to Z.
14940 (sub_magnitudes): Simplify code a bit.
14941
cd525923
RM
149422013-02-12 Roland McGrath <roland@hack.frob.com>
14943
14944 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14945 from the message. The linker prefixes all warnings with that already.
14946
7e2f0d2d
AS
149472013-02-12 Andreas Schwab <schwab@suse.de>
14948
a445af0b
AS
14949 [BZ #15078]
14950 * posix/regexec.c (extend_buffers): Add parameter min_len.
14951 (check_matching): Pass minimum needed length.
14952 (clean_state_log_if_needed): Likewise.
14953 (get_subexp): Likewise.
14954 * posix/Makefile (tests): Add bug-regex34.
14955 (bug-regex34-ENV): Define.
14956 * posix/bug-regex34.c: New file.
14957
7e2f0d2d
AS
14958 [BZ #11561]
14959 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14960 elements compare against the byte sequence of it, not its name.
14961 * posix/Makefile (tests): Add bug-regex35.
14962 (bug-regex35-ENV): Define.
14963 * posix/bug-regex35.c: New file.
14964
a175b684
TV
149652013-02-11 Tom de Vries <tom@codesourcery.com>
14966
14967 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14968 comment.
14969 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14970 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14971 (CHECK_EOL): Add undef.
14972
310998fe 149732013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14974
14975 * bits/stdlib-bsearch.h: New file.
14976 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14977 * stdlib/stdlib.h: Likewise.
41eda41d 14978
8ded91fb
RM
149792013-02-11 Roland McGrath <roland@hack.frob.com>
14980
14981 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14982 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14983 declaration.
14984 * manual/search.texi (Array Search Function): Add missing const in
14985 lfind prototype.
14986 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14987 declaration to use rlim_t.
14988 (Basic Scheduling Functions): Remove erroneous const from
14989 sched_getparam prototype. Remove erroneous * from
14990 sched_get_priority_max and sched_get_priority_min prototypes.
14991 (Resource Usage): Fix summary @comment on vtimes to refer to
14992 sys/vtimes.h rather than vtimes.h.
14993 Add missing *s in vtimes prototype.
14994 (Limits on Resources): Fix ulimit prototype to return long int.
14995 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14996 prototypes to use long int rather than double.
14997 (BSD Random): Fix initstate and setstate to use char *, not void *.
14998 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14999 prototype to make second argument 'struct aiocb64 *const[]'.
15000 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15001 (Status of AIO Operations): Remove erroneous const in aio_return and
15002 aio_return64 prototypes.
15003 (Synchronizing I/O): Fix sync prototype to return void.
15004 * manual/startup.texi (Suboptions): Remove an erroneous const in
15005 getsubopt prototype.
15006 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15007 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15008 use size_t rather than int.
15009 (Scanning All Users): Likewise for getpwent_r.
15010 (Setting Groups): Add missing const to setgroups prototype.
15011 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15012 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15013 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15014 'const void *' rather than 'const char *'.
15015 (Host Address Functions): Likewise for inet_ntop.
15016 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15017 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15018 ssize_t for return value.
15019 (Sending Data): Likewise for send, sendto, sendmsg.
15020 (Socket Option Functions): Add a missing const in setsockopt prototype.
15021 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15022 use wchar_t for the argument.
15023 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15024 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15025 take no arguments.
15026 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15027 double/float/long double for second argument.
15028 Fix return types of significand, significandf, significandl.
15029 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15030 argument in fchmod prototype.
15031 (File Owner): Use uid_t and gid_t in fchown prototype.
15032 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15033 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15034 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15035 use 'const struct dirent **' as argument types to CMP function pointer
15036 argument.
15037 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15038 (File Times): Fix summary magic @comment for struct utimbuf and utime
15039 to refer to utime.h, not time.h.
15040 * manual/string.texi (Argz Functions): Add missing const in
15041 argz_extract and argz_next prototypes.
15042 (Finding Tokens in a String): Likewise for basename.
15043 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15044 (Copying and Concatenation): Fix typo in wmemmove prototype.
15045 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15046 (Signal Stack): Remove erroneous const in sigstack prototype.
15047 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15048 prototype.
15049 (Simple Calendar Time): Likewise for stime.
15050 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15051 prototype.
15052 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15053 say sys/sysctl.h instead.
15054 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15055 and vsyslog prototypes.
15056
fe77fe6d
TV
150572013-02-11 Tom de Vries <tom@codesourcery.com>
15058
15059 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15060 Remove.
15061
3a09b620
RM
150622013-02-11 Roland McGrath <roland@hack.frob.com>
15063
15064 * misc/sys/mman.h: Fix typo in mremap comment.
15065
550a0b89
RM
150662013-02-08 Roland McGrath <roland@hack.frob.com>
15067
15068 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15069 the '\0' terminator.
15070
a2da1673
JM
150712013-02-08 Joseph Myers <joseph@codesourcery.com>
15072
15073 [BZ #13550]
15074 * debug/segfault.c: Don't include <bp-checks.h>.
15075 * sysdeps/generic/bp-checks.h: Remove file.
15076 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15077 (__GETDENTS): Don't use CHECK_N.
15078 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15079 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15080 (__getgroups): Don't use CHECK_N.
15081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15082 (setgroups): Don't use CHECK_N.
15083 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15084 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15085 (__libc_msgrcv): Don't use CHECK_N.
15086 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15087 (__libc_msgsnd): Don't use CHECK_N.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15089 <bp-checks.h>.
15090 (__libc_pread): Don't use CHECK_N.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15092 include <bp-checks.h>.
15093 (__libc_pread64): Don't use CHECK_N.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15095 include <bp-checks.h>.
15096 (__libc_pwrite): Don't use CHECK_N.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15098 include <bp-checks.h>.
15099 (__libc_pwrite64): Don't use CHECK_N.
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15101 <bp-checks.h>.
15102 (__libc_pread): Don't use CHECK_N.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15104 include <bp-checks.h>.
15105 (__libc_pread64): Don't use CHECK_N.
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15107 include <bp-checks.h>.
15108 (__libc_pwrite): Don't use CHECK_N.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15110 include <bp-checks.h>.
15111 (__libc_pwrite64): Don't use CHECK_N.
15112 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15113 (do_pread): Don't use CHECK_N.
15114 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15115 (do_pread64): Don't use CHECK_N.
15116 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15117 (do_pwrite): Don't use CHECK_N.
15118 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15119 (do_pwrite64): Don't use CHECK_N.
15120 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15121 (__libc_readv): Don't use CHECK_N.
15122 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15123 (semop): Don't use CHECK_N.
15124 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15125 <bp-checks.h>.
15126 (semtimedop): Don't use CHECK_N.
15127 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15128 (__libc_pread): Don't use CHECK_N.
15129 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15130 <bp-checks.h>.
15131 (__libc_pread64): Don't use CHECK_N.
15132 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15133 <bp-checks.h>.
15134 (__libc_pwrite): Don't use CHECK_N.
15135 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15136 <bp-checks.h>.
15137 (__libc_pwrite64): Don't use CHECK_N.
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15139 <bp-checks.h>.
15140 (__libc_msgrcv): Don't use CHECK_N.
15141 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15142 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15143 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15144 (__libc_writev): Don't use CHECK_N.
15145
b84660a8
RM
151462013-02-08 Roland McGrath <roland@hack.frob.com>
15147
7f3e75f8
RM
15148 * string/strcpy.c: Removed unused variable.
15149
b84660a8
RM
15150 * Makeconfig (+sysdep-includes): Define with := rather than =.
15151 Use an existing include/ subdir of each sysdeps dir before it.
15152
471514d3
CD
151532013-02-08 Carlos O'Donell <carlos@redhat.com>
15154
15155 * nscd/connection.c (register_traced_file): Comment function.
15156 [HAVE_INOTIFY] (union __inev): Define.
15157 [HAVE_INOTIFY] (inotify_check_files): New function.
15158 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15159 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15160 clear_db_cache.
15161 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15162
b2d3c3be
CD
151632013-02-08 Carlos O'Donell <carlos@redhat.com>
15164
15165 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15166 loaded if not already and that a failure is permanent.
15167
b39949d2
CD
151682013-02-08 Carlos O'Donell <carlos@redhat.com>
15169
ddacd1db 15170 [BZ #15006]
b39949d2
CD
15171 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15172 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15173
b2c9eff4
JM
151742013-02-08 Joseph Myers <joseph@codesourcery.com>
15175
f3aae3f3
JM
15176 [BZ #13550]
15177 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15178 (CHECK_1_NULL_OK): Likewise.
15179 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15180 (__fxstat): Do not use CHECK_1.
15181 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15182 <bp-checks.h>.
15183 (___fxstat64): Do not use CHECK_1.
15184 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15185 <bp-checks.h>.
15186 (__fxstatat): Do not use CHECK_1.
15187 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15188 <bp-checks.h>.
15189 (__fxstatat64): Do not use CHECK_1.
15190 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15191 <bp-checks.h>.
15192 (__fxstat): Do not use CHECK_1.
15193 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15194 <bp-checks.h>.
15195 (__fxstatat): Do not use CHECK_1.
15196 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15197 <bp-checks.h>.
15198 (__getresgid): Do not use CHECK_1.
15199 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15200 <bp-checks.h>.
15201 (__getresuid): Do not use CHECK_1.
15202 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15203 <bp-checks.h>.
15204 (__lxstat): Do not use CHECK_1.
15205 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15206 <bp-checks.h>.
15207 (__old_msgctl): Do not use CHECK_1.
15208 (__new_msgctl): Likewise.
15209 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15210 <bp-checks.h>.
15211 (__new_setrlimit): Do not use CHECK_1.
15212 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15213 <bp-checks.h>.
15214 (__old_shmctl): Do not use CHECK_1.
15215 (__new_shmctl): Likewise.
15216 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15217 <bp-checks.h>.
15218 (__xstat): Do not use CHECK_1.
15219 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15220 (__lxstat): Do not use CHECK_1.
15221 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15222 <bp-checks.h>.
15223 (___lxstat64): Do not use CHECK_1.
15224 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15225 (__old_msgctl): Do not use CHECK_1.
15226 (__new_msgctl): Likewise.
15227 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15228 <bp-checks.h>.
15229 (__gettimeofday): Do not use CHECK_1.
15230 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15231 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15232 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15233 <bp-checks.h>.
15234 (__gettimeofday): Do not use CHECK_1.
15235 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15236 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15237 (__new_shmctl): Do not use CHECK_1.
15238 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15239 <bp-checks.h>.
15240 (do_sigtimedwait): Do not use CHECK_1.
15241 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15242 <bp-checks.h>.
15243 (do_sigwaitinfo): Do not use CHECK_1.
15244 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15245 <bp-checks.h>.
15246 (msgctl): Do not use CHECK_1.
15247 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15248 <bp-checks.h>.
15249 (shmctl): Do not use CHECK_1.
15250 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15251 (ustat): Do not use CHECK_1.
15252 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15253 <bp-checks.h>.
15254 (__fxstat): Do not use CHECK_1.
15255 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15256 <bp-checks.h>.
15257 (__fxstatat): Do not use CHECK_1.
15258 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15259 <bp-checks.h>.
15260 (__lxstat): Do not use CHECK_1.
15261 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15262 <bp-checks.h>.
15263 (__xstat): Do not use CHECK_1.
15264 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15265 (__xstat): Do not use CHECK_1.
15266 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15267 (___xstat64): Do not use CHECK_1.
15268
b2c9eff4
JM
15269 [BZ #13550]
15270 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15271 definitions.
15272 (CHECK_BOUNDS_HIGH): Likewise.
15273 * string/strcpy.c: Do not include <bp-checks.h>.
15274 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15275
f1d70dad
RM
152762013-02-07 Roland McGrath <roland@hack.frob.com>
15277
15278 * nscd/nscd-client.h (__nscd_drop_map_ref):
15279 Add __attribute__ ((unused)).
15280 * nis/nss-nisplus.h (niserr2nss): Likewise.
15281
15282 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15283 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15284
15285 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15286 Remove inline keyword.
15287 * include/rounding-mode.h (round_away): Likewise.
15288 * libio/wfileops.c (adjust_wide_data): Likewise.
15289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15290 (__m128i_strloadu_tolower): Likewise.
15291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15292 (__m128i_strloadu_tolower): Likewise.
15293 * time/mktime.c (ydhms_diff): Likewise.
15294 * locale/elem-hash.h (elem_hash): Likewise.
15295 * locale/setlocale.c (setdata): Likewise.
15296 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15297 (re_string_wchar_at): Likewise.
15298 (bitset_not, bitset_merge, bitset_mask): Likewise.
15299 [!(__GNUC__ > 3)] (inline): Remove macro.
15300 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15301 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15302 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15303 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15304 * string/memcmp.c (memcmp_bytes): Likewise.
15305 * locale/programs/locarchive.c (compute_hashval): Likewise.
15306 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15307 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15308 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15309 * nss/getent.c (print_rpc, print_protocols): Likewise.
15310 (print_passwd, print_group, print_aliases): Likewise.
15311 * nis/nss-nisplus.h (niserr2nss): Likewise.
15312 * nscd/connections.c (restart_p): Likewise.
15313 Change return type to bool.
15314
eab55bfb
RM
153152013-02-05 Roland McGrath <roland@hack.frob.com>
15316
7bd642f5
RM
15317 * Makeconfig (all-Depend-files): Add existing
15318 $(sorted-subdirs:=/Depend) files.
15319 (all-subdirs): Remove nss.
15320 * sysdeps/unix/inet/Subdirs: Add it here instead.
15321 * hesiod/Depend: New file.
15322
573c29b2
RM
15323 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15324 instead of calling alloca.
15325
b2e25af0
RM
15326 * io/lseek.c (__lseek): Rename to __libc_lseek.
15327 Define __lseek as an alias.
15328
eab55bfb
RM
15329 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15330
9a0d1941
CD
153312013-02-04 Carlos O'Donell <carlos@redhat.com>
15332
15333 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15334 else clause and remove check for non-standard endianness.
15335
b83bbec4
DM
153362013-02-04 David S. Miller <davem@davemloft.net>
15337
15338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15339
6277fdab
JM
153402013-02-04 Joseph Myers <joseph@codesourcery.com>
15341
15342 [BZ #13550]
15343 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15344 (__ubp_memchr): Remove prototype.
15345 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15346 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15347 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15348 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15349 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15350 Remove alias.
15351 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15352 (__ubp_memchr): Likewise.
15353 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15354 (__ubp_memchr): Likewise.
15355 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15356 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15357 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15358 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15359 CHECK_STRING.
15360 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15361 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15362 (__getcwd): Do not use CHECK_STRING.
15363 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15364 <bp-checks.h>.
15365 (__real_chown): Do not use CHECK_STRING.
15366 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15367 <bp-checks.h>.
15368 (fchownat): Do not use CHECK_STRING.
15369 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15370 CHECK_STRING.
15371 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15372 <bp-checks.h>.
15373 (__lchown): Do not use CHECK_STRING.
15374 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15375 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15376 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15377 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15379 include <bp-checks.h>.
15380 (truncate64): Do not use CHECK_STRING.
15381 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15382 <bp-checks.h>.
15383 (__real_chown): Do not use CHECK_STRING.
15384 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15385 <bp-checks.h>.
15386 (__lchown): Do not use CHECK_STRING.
15387 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15388 <bp-checks.h>.
15389 (__chown): Do not use CHECK_STRING.
15390 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15391 <bp-checks.h>.
15392 (truncate64): Do not use CHECK_STRING.
15393 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15394 Likewise.
15395 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15396 (__xmknod): Do not use CHECK_STRING.
15397 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15398 <bp-checks.h>.
15399 (__xmknodat): Do not use CHECK_STRING.
15400 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15401 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15402
903ae060
AS
154032013-02-04 Andreas Schwab <schwab@suse.de>
15404
15405 [BZ #14142]
15406 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15407 * include/netdb.h: Likewise for h_errno.
15408 * elf/tst-stackguard1.c: Include <tls.h>.
15409
542f9466
JK
154102013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15411
15412 * elf/link.h (struct link_map): Extend the l_addr comment.
15413 * include/link.h (struct link_map): Likewise.
15414
e782a927
JM
154152013-02-01 Joseph Myers <joseph@codesourcery.com>
15416
15417 [BZ #13550]
15418 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15419 (BOUNDED_1): Remove macro.
15420 * debug/backtrace.c: Don't include <bp-checks.h>.
15421 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15422 (__backtrace): Likewise.
15423 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15424 <bp-checks.h>.
15425 (__backtrace): Don't use BOUNDED_1.
15426 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15427 <bp-checks.h>.
15428 (__backtrace): Don't use BOUNDED_1.
15429 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15430 (__backtrace): Don't use BOUNDED_1.
15431 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15432 (shmat): Don't use BOUNDED_N.
15433
8cf28c5e
JM
154342013-01-31 Joseph Myers <joseph@codesourcery.com>
15435
3a7ac8a0
JM
15436 [BZ #13550]
15437 * sysdeps/generic/bp-start.h: Remove file.
15438 * csu/libc-start.c: Don't include <bp-start.h>.
15439 (LIBC_START_MAIN): Set up __environ directly instead of using
15440 INIT_ARGV_and_ENVIRON.
15441 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15442 <bp-start.h>.
15443
f3499f95
JM
15444 [BZ #13550]
15445 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15446 definitions.
15447 (CHECK_FCNTL): Likewise.
15448 (CHECK_N_PAGES): Likewise.
15449
32a45bea
JM
15450 [BZ #13550]
15451 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15452 definitions.
15453 (CHECK_SIGSET_NULL_OK): Likewise.
15454 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15455 <bp-checks.h>.
15456 (sigpending): Don't use CHECK_SIGSET.
15457 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15458 <bp-checks.h>.
15459 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15460 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15461 <bp-checks.h>.
15462 (do_sigsuspend): Don't use CHECK_SIGSET.
15463 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15464 use CHECK_SIGSET.
15465 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15466 (do_sigwait): Don't use CHECK_SIGSET.
15467 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15468 use CHECK_SIGSET.
15469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15470 include <bp-checks.h>.
15471 (sigpending): Don't use CHECK_SIGSET.
15472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15473 include <bp-checks.h>.
15474 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15475 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15476 <bp-checks.h>.
15477 (sigpending): Don't use CHECK_SIGSET.
15478 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15479 <bp-checks.h>.
15480 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15481
2e8a5c8c
JM
15482 [BZ #13550]
15483 * sysdeps/generic/bp-semctl.h: Remove file.
15484 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15485 <bp-checks.h> and <bp-semctl.h>.
15486 (__old_semctl): Don't use CHECK_SEMCTL.
15487 (__new_semctl): Likewise.
15488 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15489 and <bp-semctl.h>.
15490 (__old_semctl): Don't use CHECK_SEMCTL.
15491 (__new_semctl): Likewise.
15492 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15493 <bp-checks.h> and <bp-semctl.h>.
15494 (__old_semctl): Don't use CHECK_SEMCTL.
15495 (__new_semctl): Likewise.
15496 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15497 <bp-checks.h> and <bp-semctl.h>.
15498 (semctl): Don't use CHECK_SEMCTL.
15499
c2d54929
JM
15500 [BZ #13550]
15501 * Makerules (elide-bp-thunks): Remove variable.
15502 (elide-routines.oS): Don't use $(elide-bp-thunks).
15503 (elide-routines.os): Likewise.
15504 (elide-routines.o): Likewise.
15505 (elide-routines.op): Likewise.
15506 (elide-routines.og): Likewise.
15507 (objects): Don't use $(bp-thunks).
15508 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15509 include.
15510 (common-generated): Do not add s-proto-bp.d.
15511 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15512 (int): Likewise.
15513 (typ): Likewise.
15514 Do not generate makefile rules for bounded-pointer thunks.
15515 * sysdeps/generic/bp-thunks.h: Remove file.
15516 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15517 * sysdeps/unix/s-proto-bp.S: Likewise.
15518
8cf28c5e
JM
15519 [BZ #15062]
15520 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15521 parts of result separately when argument is not close to line from
15522 -i to i and one part of argument is small.
15523 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15524 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15525 * math/libm-test.inc (cacos_test): Add more tests.
15526 (casin_test): Likewise.
15527 (casinh_test): Likewise.
15528 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15530
c4e33b8d
DM
155312013-01-31 David S. Miller <davem@davemloft.net>
15532
15533 * po/de.po: Update from translation team.
15534
3b60b421
MK
155352013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15536
15537 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15538
bb931195
TS
155392013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15540
b5a5da23
TS
15541 * configure.in (_AC_PROG_CC_C89): New definition.
15542 * configure: Regenerate.
15543
bb931195
TS
15544 * configure.in (AC_PROG_CPP): New definition.
15545 * configure: Regenerate.
15546
8c53a12c
JM
155472013-01-23 Joseph Myers <joseph@codesourcery.com>
15548
15549 * debug/tst-backtrace.h: New file.
15550 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15551 (ret): Remove variable.
15552 (x): Likewise.
15553 (FAIL): Remove macro.
15554 (NO_INLINE): Likewise.
15555 (fn1): Use match function instead of strstr.
15556 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15557 (ret): Remove variable.
15558 (x): Likewise.
15559 (FAIL): Remove macro.
15560 (NO_INLINE): Likewise.
15561 (fn): Use match function instead of strstr.
15562 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15563 (ret): Remove variable.
15564 (x): Likewise.
15565 (FAIL): Remove macro.
15566 (NO_INLINE): Likewise.
15567 (handle_signal): Use match function instead of strstr.
15568 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15569 (ret): Remove variable.
15570 (x): Likewise.
15571 (FAIL): Remove macro.
15572 (NO_INLINE): Likewise.
15573 (handle_signal): Use match function instead of strstr.
15574
4858fa2a
RM
155752013-01-23 Roland McGrath <roland@hack.frob.com>
15576
15577 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15578
bae8e7f5
DM
155792013-01-23 David S. Miller <davem@davemloft.net>
15580
15581 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15582 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15583 argument of CAS if possible.
15584 * sysdeps/sparc/sparc64/bits/atomic.h
15585 (__arch_compare_and_exchange_val_32_acq): Likewise.
15586 (__arch_compare_and_exchange_val_64_acq): Likewise.
15587
9cbbc4ae
PT
155882013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15589
15590 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15591 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15592 Include <limits.h>.
67b3f58c 15593 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15594
5655a0b5
AC
155952013-01-23 Adam Conrad <adconrad@0c3.net>
15596
15597 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15598 (LDFLAGS-tst-array5): Likewise.
15599
052aff95
JM
156002013-01-23 Joseph Myers <joseph@codesourcery.com>
15601
15602 [BZ #15036]
15603 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15604 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15605 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15606 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15607
7c1e01aa
DM
156082013-01-21 David S. Miller <davem@davemloft.net>
15609
15610 * sysdeps/sparc/backtrace.c: New file.
15611 * sysdeps/sparc/sparc32/backtrace.h: New file.
15612 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15613 * sysdeps/sparc/sparc64/backtrace.h: New file.
15614 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15615 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15616 -funwind-tables.
15617
ab087e0a
AS
156182013-01-21 Andreas Schwab <schwab@suse.de>
15619
15620 [BZ #15020]
15621 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15622 closed its stdout.
15623
ed689c2f
AS
156242013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15625
15626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15627 "mpa2.h".
15628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15629
31d470ac
JM
156302013-01-18 Joseph Myers <joseph@codesourcery.com>
15631 Mark Mitchell <mark@codesourcery.com>
15632 Tom de Vries <tom@codesourcery.com>
15633 Paul Pluzhnikov <ppluzhnikov@google.com>
15634
15635 * debug/tst-backtrace2.c: New file.
15636 * debug/tst-backtrace3.c: Likewise.
15637 * debug/tst-backtrace4.c: Likewise.
15638 * debug/tst-backtrace5.c: Likewise.
15639 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15640 (CFLAGS-tst-backtrace3.c): Likewise.
15641 (CFLAGS-tst-backtrace4.c): Likewise.
15642 (CFLAGS-tst-backtrace5.c): Likewise.
15643 (LDFLAGS-tst-backtrace2): Likewise.
15644 (LDFLAGS-tst-backtrace3): Likewise.
15645 (LDFLAGS-tst-backtrace4): Likewise.
15646 (LDFLAGS-tst-backtrace5): Likewise.
15647 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15648 tst-backtrace4 and tst-backtrace5.
15649
90567f30 156502013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15651 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15652
15653 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15654 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15655 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15656 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15658 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15659 "+r" and remove output regs list as redundant. Add explicit inline
15660 asm to specify register of return val to work around compiler codegen
15661 bug. Remove (int) cast on return value. Add return type parameter to
15662 use in macro so that this macro does not truncate return value for
15663 64-bit values.
15664 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15665 pass to INTERNAL_VSYSCALL_NCS.
15666 (INLINE_VSYSCALL): Add 'long int' as return type to
15667 INTERNAL_VSYSCALL_NCS macro invocation.
15668 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15669 INTERNAL_VSYSCALL_NCS macro invocation.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15671
d3b9ea61
SP
156722013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15673
0b57daeb
SP
15674 [BZ #14496]
15675 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15676 Fix application of SIMD FP exception mask.
15677
caa99d06
SP
15678 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15679 mp_no from a power of two.
15680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15681 __mpexp_twomm1. Use __pow_mp.
15682
d3b9ea61
SP
15683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15684 multiplication.
15685
1dbaee3c
DM
156862013-01-17 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15689
728d7b43
JM
156902013-01-17 Joseph Myers <joseph@codesourcery.com>
15691
15692 [BZ #15023]
15693 * include/complex.h: Condition contents on [!_COMPLEX_H].
15694 (__kernel_casinhf): New prototype.
15695 (__kernel_casinh): Likewise.
15696 (__kernel_casinhl): Likewise.
15697 * math/Makefile (libm_calls): Add k_casinh.
15698 * math/k_casinh.c: New file.
15699 * math/k_casinhf.c: Likewise.
15700 * math/k_casinhl.c: Likewise.
15701 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15702 finite nonzero arguments.
15703 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15704 finite nonzero arguments.
15705 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15706 finite nonzero arguments.
15707 * math/s_casinh.c: Do not include <float.h>.
15708 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15709 * math/s_casinhf.c: Do not include <float.h>.
15710 (__casinhf): Move code for finite nonzero arguments to
15711 k_casinhf.c.
15712 * math/s_casinhl.c: Do not include <float.h>.
15713 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15714 redefine.
15715 (__casinhl): Move code for finite nonzero arguments to
15716 k_casinhl.c.
15717 * math/libm-test.inc (cacos_test): Add more tests.
15718 * sysdeps/i386/fpu/libm-test-ulps: Update.
15719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15720
2a26ef3a
PT
157212013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15722
15723 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15724 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15725 [!HAVE_MREMAP]: Remove [defined linux] case.
15726 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15727
a897655d
SP
157282013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15729
15730 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15731
881ebe89 157322013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15733
15734 * elf/elf.h (R_386_SIZE32): New relocation.
15735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15736 R_386_SIZE32.
15737 (elf_machine_rela): Likewise.
15738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15739 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15740
59981e9b
JM
157412013-01-17 Joseph Myers <joseph@codesourcery.com>
15742
15743 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15744 (FP_FAST_FMA): Do not define.
15745 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15746 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15747 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15748 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15749 !_SOFT_FLOAT]: Likewise.
15750 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15751 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15752 value.
15753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15754 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15756 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15757 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15758 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15759 file.
15760
cfa8054f
AS
157612013-01-16 Andreas Schwab <schwab@suse.de>
15762
15763 [BZ #14327]
15764 * include/stdlib.h (__mktemp): Add declaration.
15765 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15766 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15767
dd930cc5
SP
157682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15769
881ebe89
SP
15770 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15771 definitions.
15772 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15773 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15774 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15775 definitions here.
15776 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15777 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15778 definitions.
15779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15780 and ONE.
15781 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15782 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15783 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15784 definitions.
15785 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15786 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15787 definitions.
15788 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15789
dd930cc5
SP
15790 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15791
c19a9f89
DM
157922013-01-15 David S. Miller <davem@davemloft.net>
15793
1aa61767
DM
15794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15795 trunc{,f} to libm-sysdep_routes.
15796 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15798 file.
15799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15801 file.
15802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15803 file.
15804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15807 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15809 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15810 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15811 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15812
c42d5e98
DM
15813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15814 nearbyint{,f} to libm-sysdep_routes.
15815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15817 New file.
15818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15819 file.
15820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15821 New file.
15822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15823 file.
15824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15827 file.
15828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15829 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15830 file.
15831 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15832 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15833 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15834
c19a9f89
DM
15835 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15836 libc_feholdexcept and libc_fesetenv.
15837
357679d2
MF
158382013-01-15 Mike Frysinger <vapier@gentoo.org>
15839
15840 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15841
65a82e3d
DM
158422013-01-14 David S. Miller <davem@davemloft.net>
15843
8b954ab9
DM
15844 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15845 (SPARC_ASM_VIS2_IFUNC): Likewise.
15846 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15848 use of 'siam' instruction.
15849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15850 Likewise.
15851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15852 Likewise.
15853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15854 Likewise.
15855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15860 file.
15861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15862 file.
15863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15864 file.
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15866 file.
15867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15872 new VIS2 routines.
15873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15876 Likewise.
15877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15882 routines to libm-sysdep_routines.
15883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15884
65a82e3d
DM
15885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15886 fdim/fdimf to libm-sysdep_routines.
15887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15888 file.
15889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15891 file.
15892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15895 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15896 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15897 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15898 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15899
e34ab705
SP
159002013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15901
2a91b573
SP
15902 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15903 to optimize copies.
15904
1066a534
SP
15905 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15908
e34ab705
SP
15909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15910 local variable MPTWO.
15911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15912 Likewise.
15913
aba5e596
MF
159142013-01-13 Mike Frysinger <vapier@gentoo.org>
15915
15916 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15917 GLOB_NOESCAPE.
15918
e557e9e5
MF
159192013-01-13 Mike Frysinger <vapier@gentoo.org>
15920
15921 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15922
0428cec9
MF
159232013-01-13 Mike Frysinger <vapier@gentoo.org>
15924
15925 * manual/pattern.texi (glob_t): Document gl_flags.
15926 (glob64_t): Likewise.
15927
8794a964
DM
159282013-01-11 David S. Miller <davem@davemloft.net>
15929
66438c3f
RM
15930 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15931 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15932 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15933 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15934 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15935 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15936 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15937 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15938 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15939 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15940 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15941 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15942 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15943
4ae4244d
DM
15944 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15945 sparc V9 rather than using V8 code.
15946 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15947 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15948
8794a964
DM
15949 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15950 Move to...
15951 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15952 Here.
15953
6270516e
RM
159542013-01-11 Roland McGrath <roland@hack.frob.com>
15955
15956 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15957 not in the main loop.
15958 * configure: Regenerated.
15959
6a57d931
JM
159602013-01-11 Joseph Myers <joseph@codesourcery.com>
15961
15962 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15963 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15964 to just #else.
15965 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15966 [!__GLIBC_HAVE_LONG_LONG] case.
15967 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15968 condition to just #else.
15969 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15970 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15971 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15972 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15973 unconditional.
15974 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15975 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15976 #elif condition to just #else.
15977 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15978 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15979 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15980 #elif condition to just #else.
15981
0e8529e9
SE
159822013-01-11 Steve Ellcey <sellcey@mips.com>
15983
15984 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15985 (EF_MIPS_ARCH_64): Fix value.
15986 (EF_MIPS_ARCH_32R2): New.
15987 (EF_MIPS_ARCH_64R2): New.
15988
740b3dbe
L
159892013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 * Makeconfig (+link-pie-before-libc): New.
15992 (+link-pie-after-libc): Likewise.
15993 (+link-pie-tests): Likewise.
15994 (+link-pie): Rewritten.
15995 (link-before-libc): Remove $(config-LDFLAGS).
15996 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15997 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15998 (config-LDFLAGS): Renamed to ...
15999 (rtld-LDFLAGS): This.
16000 (rtld-tests-LDFLAGS): New macro.
16001 (link-libc-rpath-link): Likewise.
16002 (link-libc-tests-rpath-link): Likewise.
16003 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16004 (link-libc): Prepand $(link-libc-rpath-link).
16005 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16006 (test-program-prefix): New macro.
16007 (test-via-rtld-prefix): Likewise.
16008 (test-program-cmd): Likewise.
16009 (host-test-program-cmd): Likewise.
16010 * Makefile ($(common-objpfx)testrun.sh): Replace
16011 $(run-program-prefix) with $(test-program-prefix).
16012 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16013 $(rtld-LDFLAGS).
16014 ($(common-objpfx)shlib.lds): Likewise.
16015 (build-module-helper): Likewise.
16016 ($(common-objpfx)format.lds): Likewise.
16017 * Rules (binaries-pie-tests): New.
16018 (binaries-pie-notests): Likewise.
16019 (binaries-pie): Rewritten.
16020 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16021 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16022 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16023 (make-test-out): Replace $(host-built-program-cmd) with
16024 $(host-test-program-cmd).
16025 * config.make.in (build-hardcoded-path-in-tests): New variable.
16026 * configure.in (--enable-hardcoded-path-in-tests): New configure
16027 option.
16028 (hardcoded_path_in_tests): New AC_SUBST.
16029 * configure: Regenerated.
16030 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16031 $(built-program-cmd) with $(test-program-cmd).
16032 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16033 (test_program_cmd): This.
16034 * elf/Makefile ($(objpfx)order.out): Run test with
16035 $(test-program-prefix).
16036 ($(objpfx)order2.out): Likewise.
16037 ($(objpfx)tst-initorder.out): Likewise.
16038 ($(objpfx)tst-initorder2.out): Likewise.
16039 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16040 $(test-program-cmd).
16041 ($(objpfx)tst-array1-static.out): Likewise.
16042 ($(objpfx)tst-array2.out): Likewise.
16043 ($(objpfx)tst-array3.out): Likewise.
16044 ($(objpfx)tst-array4.out): Likewise.
16045 ($(objpfx)tst-array5.out): Likewise.
16046 ($(objpfx)tst-array5-static.out): Likewise.
16047 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16048 $(test-program-cmd).
16049 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16050 $(run-program-prefix) with $(test-program-prefix).
16051 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16052 (test_program_prefix): This.
16053 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16054 $(run-program-prefix) with $(test-program-prefix).
16055 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16056 (test_program_prefix): This.
16057 * iconvdata/tst-tables.sh: Likewise.
16058 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16059 $(run-program-prefix) with $(test-program-prefix).
16060 ($(objpfx)tst-translit.out): Likewise.
16061 ($(objpfx)tst-gettext2.out): Likewise.
16062 ($(objpfx)tst-gettext4.out): Likewise.
16063 ($(objpfx)tst-gettext6.out): Likewise.
16064 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16065 (test_program_prefix): This.
16066 * intl/tst-gettext2.sh: Likewise.
16067 * intl/tst-gettext4.sh Likewise.
16068 * intl/tst-gettext6.sh: Likewise.
16069 * intl/tst-translit.sh: Likewise.
16070 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16071 with $(test-program-cmd).
16072 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16073 $(run-program-prefix) with $(test-program-prefix).
16074 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16075 (test_program_prefix): This.
16076 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16077 $(run-program-prefix) with $(test-program-prefix).
16078 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16079 (test_program_prefix): This.
16080 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16081 * posix/Makefile ($(objpfx)globtest.out): Replace
16082 $(run-via-rtld-prefix) and $(test-wrapper) with
16083 $(test-program-prefix) and $(test-via-rtld-prefix).
16084 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16085 $(test-program-prefix).
16086 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16087 $(host-test-program-cmd).
16088 (tst-spawn-ARGS): Likewise.
16089 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16090 $(test-program-prefix).
16091 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16092 (test_via_rtld_prefix): This.
16093 (test_wrapper): Renamed to ...
16094 (test_program_prefix): This.
16095 (run_program_prefix): Replaced by test_program_prefix.
16096 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16097 (test_program_prefix): This.
16098 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16099 with $(host-test-program-cmd).
16100 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16101 $(run-program-prefix) with $(test-program-prefix).
16102 ($(objpfx)tst-printf.out): Likewise.
16103 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16104 $(test-program-cmd).
16105 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16106 (test_program_prefix): This.
16107 * stdio-common/tst-unbputc.sh: Likewise.
16108 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16109 $(run-program-prefix) with $(test-program-prefix).
16110 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16111 (test_program_prefix): This.
16112 * string/Makefile ($(objpfx)tst-svc.out): Replace
16113 $(built-program-cmd) with $(test-program-cmd).
16114
c6fe55cf
AJ
161152013-01-11 Andreas Jaeger <aj@suse.de>
16116
16117 [BZ #15003]
16118 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16119 value. Sync with Linux 3.7.
16120
9e6919c8
DM
161212013-01-10 David S. Miller <davem@davemloft.net>
16122
16123 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16124 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16125 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16126
1c9f1a02
RM
161272013-01-10 Roland McGrath <roland@hack.frob.com>
16128
16129 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16130 never set.
16131 * configure: Regenerated.
16132
b9de2dde
DM
161332013-01-10 David S. Miller <davem@davemloft.net>
16134
16135 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16136 sparc V9 rather than using V8 code.
16137 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16138 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16139
e7f68ef4
RM
161402013-01-10 Roland McGrath <roland@hack.frob.com>
16141
16142 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16143 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16144 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16145 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16146 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16147 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16148 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16149 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16150 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16151 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16152 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16153 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16154 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16155 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16156 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16157 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16158 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16159 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16160 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16161 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16162 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16163 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16164 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16165 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16166 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16167 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16168 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16169
5a47cc9c
DM
161702013-01-10 David S. Miller <davem@davemloft.net>
16171
16172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16173
4cf8f209
L
161742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16175
16176 * posix/Makefile (tests-static): New variable.
16177 (tests): Add $(tests-static).
16178 (tst-exec-static-ARGS): New variable.
16179 (tst-spawn-static-ARGS): Likewise.
16180 * posix/tst-exec-static.c: New file.
16181 * posix/tst-spawn-static.c: Likewise.
16182 * posix/tst-exec.c: Support run directly.
16183 * posix/tst-spawn.c: Likewise.
16184
fed0faa1
JM
161852013-01-10 Joseph Myers <joseph@codesourcery.com>
16186
828beb13
JM
16187 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16188 long.
16189 * math/bits/mathcalls.h (llrint): Likewise.
16190 (llround): Likewise.
16191 * stdlib/stdlib.h (struct drand48_data): Likewise.
16192 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16193 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16194 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16195 Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16197 Likewise.
16198 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16199 (elf_greg_t): Likewise.
16200 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16201 (__jmp_buf): Likewise.
16202 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16203 definitions.
16204 (llrint): Likewise, for all definitions.
16205 (llrintl): Likewise.
16206
fed0faa1
JM
16207 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16208 Remove [__GNUC__] condition.
16209 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16210 condition to just [__USE_ISOC99].
16211 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16212
1a20cb20
L
162132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16214
16215 [BZ #14200]
16216 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16217 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16218 defined.
16219 (_POSIX_V6_ILP32_OFF32): Likewise.
16220 (_XBS5_ILP32_OFF32): Likewise.
16221 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16222 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16223
751b85f7
SP
162242013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16225
7490eb81
SP
16226 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16227
751b85f7
SP
16228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16229 doubles __mpexp_twomm1. Adjust usage.
16230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16231 Remove.
16232
988197f0
AS
162332013-01-10 Andreas Schwab <schwab@suse.de>
16234
16235 [BZ #14964]
16236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16237 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16238
e83d7298
DM
162392013-01-09 David S. Miller <davem@davemloft.net>
16240
034ed64b 16241 [BZ #15003]
e83d7298
DM
16242 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16243 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16244 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16245 TCP_FASTOPEN): Define.
16246 (tcp_repair_opt): New structure.
16247 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16248 enum values.
16249 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16250 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16251 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16252 (tcp_cookie_transactions): New structure.
16253
d5e0b9bd
AB
162542013-01-09 Anton Blanchard <anton@samba.org>
16255
16256 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16257 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16258 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16259 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16260
0c07e3ea
JM
162612013-01-09 Joseph Myers <joseph@codesourcery.com>
16262
16263 * include/features.h (__USE_ANSI): Remove.
16264
232f7002
RM
162652013-01-09 Roland McGrath <roland@hack.frob.com>
16266
ad98e30c
RM
16267 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16268
232f7002
RM
16269 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16270
950c99ca
SP
162712013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16272
b5792741
SP
16273 * sysdeps/s390/fpu/libm-test-ulps: Update.
16274
47cf2278
SP
16275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16276
950c99ca
SP
16277 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16278 (__acr): Likewise.
16279 (__cpy): Likewise.
16280 (norm): Likewise.
16281 (denorm): Likewise.
16282 (__mp_dbl): Likewise.
16283 (__dbl_mp): Likewise.
16284 (add_magnitudes): Likewise.
16285 (sub_magnitudes): Likewise.
16286 (__add): Likewise.
16287 (__sub): Likewise.
16288 (__mul): Likewise.
16289 (__inv): Likewise.
16290 (__dvd): Likewise.
16291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16292 (__acr): Likewise.
16293 (__cpy): Likewise.
16294 (norm): Likewise.
16295 (denorm): Likewise.
16296 (__mp_dbl): Likewise.
16297 (__dbl_mp): Likewise.
16298 (add_magnitudes): Likewise.
16299 (sub_magnitudes): Likewise.
16300 (__add): Likewise.
16301 (__sub): Likewise.
16302 (__mul): Likewise.
16303 (__inv): Likewise.
16304 (__dvd): Likewise.
16305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16306 (__acr): Likewise.
16307 (__cpy): Likewise.
16308 (norm): Likewise.
16309 (denorm): Likewise.
16310 (__mp_dbl): Likewise.
16311 (__dbl_mp): Likewise.
16312 (add_magnitudes): Likewise.
16313 (sub_magnitudes): Likewise.
16314 (__add): Likewise.
16315 (__sub): Likewise.
16316 (__mul): Likewise.
16317 (__inv): Likewise.
16318 (__dvd): Likewise.
16319
eede9df9
JM
163202013-01-08 Joseph Myers <joseph@codesourcery.com>
16321
16322 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16323 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16324 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16325 2 && __USE_EXTERN_INLINES]: Likewise.
16326
c40ea3d9
AJ
163272013-01-08 Andreas Jaeger <aj@suse.de>
16328
16329 [BZ# 14985]
16330 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16331 Remove.
16332 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16333 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16334
2ccdea26
AB
163352013-01-07 Anton Blanchard <anton@samba.org>
16336
16337 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16338 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16339 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16340 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16341 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16342 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16343 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16344 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16350 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16351 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16353 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16355 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16356 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16357 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16358 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16360 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16361 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16362 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16364 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16366 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16367 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16369 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16370 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16371 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16372 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16373 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16376 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16377 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16379 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16380
a9708fed
JM
163812013-01-07 Joseph Myers <joseph@codesourcery.com>
16382
375607b9
JM
16383 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16384 (__MALLOC_PMT): Likewise.
16385 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16386 [__GNUC__], only on [_LIBC].
16387 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16388 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16389 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16390 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16391 forward declaration.
16392 (realloc_hook_ini): Likewise.
16393 (memalign_hook_ini): Likewise.
16394 (__libc_memalign): Do not use __MALLOC_PMT in variable
16395 declaration.
16396 (__libc_valloc): Likewise.
16397 (__libc_pvalloc): Likewise.
16398 (__libc_calloc): Likewise.
16399 (__posix_memalign): Likewise.
16400
a9708fed
JM
16401 [BZ #14996]
16402 * math/s_casinh.c: Include <float.h>.
16403 (__casinh): Do not do computation with squaring and square root
16404 for large arguments.
16405 * math/s_casinhf.c: Include <float.h>.
16406 (__casinhf): Do not do computation with squaring and square root
16407 for large arguments.
16408 * math/s_casinhl.c: Include <float.h>.
16409 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16410 (__casinhl): Do not do computation with squaring and square root
16411 for large arguments.
16412 * math/libm-test.inc (casin_test): Add more tests.
16413 (casinh_test): Likewise.
16414 * sysdeps/i386/fpu/libm-test-ulps: Update.
16415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16416
afec409a
L
164172013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16418
16419 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16420 (__x86_64_raw_data_cache_size): Likewise.
16421 (__x86_64_data_cache_size_half): Likewise.
16422 (__x86_64_raw_data_cache_size_half): Likewise.
16423 (__x86_64_shared_cache_size): Likewise.
16424 (__x86_64_raw_shared_cache_size): Likewise.
16425 (__x86_64_shared_cache_size_half): Likewise.
16426 (__x86_64_raw_shared_cache_size_half): Likewise.
16427 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16428 to ...
16429 (__x86_data_cache_size): This.
16430 (__x86_64_raw_data_cache_size): Renamed to ...
16431 (__x86_raw_data_cache_size): This.
16432 (__x86_64_data_cache_size_half): Renamed to ...
16433 (__x86_data_cache_size_half): This.
16434 (__x86_64_raw_data_cache_size_half): Renamed to ...
16435 (__x86_raw_data_cache_size_half): This.
16436 (__x86_64_shared_cache_size): Renamed to ...
16437 (__x86_shared_cache_size): This.
16438 (__x86_64_raw_shared_cache_size): Renamed to ...
16439 (__x86_raw_shared_cache_size): This.
16440 (__x86_64_shared_cache_size_half): Renamed to ...
16441 (__x86_shared_cache_size_half): This.
16442 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16443 (__x86_raw_shared_cache_size_half): This.
16444 * sysdeps/x86_64/memcpy.S: Updated.
16445 * sysdeps/x86_64/memset.S: Likewise.
16446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16447 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16449
0b3986d0
DM
164502013-01-04 David S. Miller <davem@davemloft.net>
16451
16452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16453
e47686e9
AS
164542013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16455
d643bac1
AS
16456 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16457 1 to avoid redefinition warning.
16458 (__USE_GNU): Don't define.
16459 (init_signaling_nan): Protoize.
16460
e47686e9
AS
16461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16462
b18decba
SP
164632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16464
fffb407f
SP
16465 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16467 (__cpymn): Likewise.
16468 (norm): Remove commented code.
16469 (denorm): Likewise.
16470 (__mp_dbl): Likewise.
16471 (__inv): Likewise.
16472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16473 (__cpymn): Likewise.
16474 (norm): Remove commented code.
16475 (denorm): Likewise.
16476 (__mp_dbl): Likewise.
16477 (__inv): Likewise.
16478
b18decba
SP
16479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16480 mp_no value for 1.0 and 2.0.
16481 (norm): Use RADIXI instead of radixi.d.
16482 (denorm): Likewise.
16483 (__mul): Use 0.0 instead of zero.d.
16484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16485 mp_no value for 1.0 and 2.0.
16486 (norm): Use RADIXI instead of radixi.d.
16487 (denorm): Likewise.
16488 (__mul): Use 0.0 instead of zero.d.
16489
cdc1c96f
JM
164902013-01-04 Joseph Myers <joseph@codesourcery.com>
16491
16492 [BZ #14994]
16493 * math/s_casinh.c (__casinh): Reduce finite argument to first
16494 quadrant then set signs of results at the end.
16495 * math/s_casinhf.c (__casinhf): Likewise.
16496 * math/s_casinhl.c (__casinhl): Likewise.
16497 * math/libm-test.inc (casin_test): Add more tests.
16498 (casinh_test): Likewise.
16499 * sysdeps/i386/fpu/libm-test-ulps: Update.
16500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16501
302913e1
SP
165022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16503
6420d207
SP
16504 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16505
a9e48ab4
SP
16506 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16507
b7837264
SP
16508 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16509 declarations.
16510 (denorm): Likewise.
16511 (__mp_dbl): Likewise.
16512 (__inv): Likewise.
16513
f8af25d2
SP
16514 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16515 and adjust the header comment.
16516
302913e1
SP
16517 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16518 variable name from declaration.
16519
5d7dd1ca
L
165202013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16521
16522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16523 Initialize COMMON_CPUID_INDEX_7 element.
16524 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16525 (CPUID_RTM): Likewise.
16526 (HAS_RTM): Likewise.
16527 (COMMON_CPUID_INDEX_7): New enum.
16528
2f5f40f4
AS
165292013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16530
16531 [BZ #14981]
16532 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16533 size is zero, record memory as freed.
16534
4056f4a0
AJ
165352013-01-03 Andreas Jaeger <aj@suse.de>
16536
16537 * po/ia.po: Add new Interlingua translation.
16538
ab15736f 165392012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16540
16541 * locale/programs/localedef.c: Fix description of '--posix' flag.
16542
568035b7
JM
165432013-01-02 Joseph Myers <joseph@codesourcery.com>
16544
e6898b8d
JM
16545 * NEWS: Update dates in second copyright notice.
16546 * README: Update copyright dates in example.
16547 * manual/libc.texinfo: Update copyright dates.
16548 * scripts/test-installation.pl: Update copyright date in --version
16549 output.
16550
0e2f9562
JM
16551 * hurd/ctty-input.c: Fix copyright notice formatting.
16552 * hurd/ctty-output.c: Likewise.
16553 * hurd/dtable.c: Likewise.
16554 * hurd/hurd-raise.c: Likewise.
16555 * hurd/hurdprio.c: Likewise.
16556 * hurd/msgportdemux.c: Likewise.
16557 * misc/sys/file.h: Likewise.
16558 * misc/sys/ioctl.h: Likewise.
16559 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16560 * sysdeps/mach/hurd/chdir.c: Likewise.
16561 * sysdeps/mach/hurd/fchdir.c: Likewise.
16562 * sysdeps/mach/hurd/rename.c: Likewise.
16563 * sysdeps/mach/hurd/rmdir.c: Likewise.
16564 * sysdeps/mach/hurd/seekdir.c: Likewise.
16565 * sysdeps/mach/hurd/setsid.c: Likewise.
16566 * sysdeps/posix/wait3.c: Likewise.
16567
568035b7
JM
16568 * All files with FSF copyright notices: Update copyright dates
16569 using scripts/update-copyrights.
16570 * intl/plural.c: Regenerated.
16571 * locale/programs/charmap-kw.h: Likewise.
16572 * locale/programs/locfile-kw.h: Likewise.
16573
da08f647
SP
165742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16575
0f5477af
SP
16576 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16577 four values.
16578
44e0d4c2
SP
16579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16580 calculation loop and add branch prediction.
16581
4d55b4e5
SP
16582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16583 check access beyond bounds of m1np.
16584
da08f647
SP
16585 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16586 MPTWO.
16587 (__inv): Remove local variable MPTWO to use the global
16588 constant.
16589 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16590 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16591 variable MPTWO.
16592 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16593 MP3HALFS static const.
16594
8e051029
DM
165952013-01-01 David S. Miller <davem@davemloft.net>
16596
16597 * po/ca.po: Update from translation team.
16598
f4cf5f2d
JM
165992013-01-01 Joseph Myers <joseph@codesourcery.com>
16600
16601 * scripts/update-copyrights: New file.
16602 * Makeconfig: Reformat copyright notice.
16603 * ctype/ctype.h: Likewise.
16604 * debug/swprintf_chk.c: Likewise.
16605 * elf/dl-cache.c: Likewise.
16606 * elf/dl-debug.c: Likewise.
16607 * elf/dl-object.c: Likewise.
16608 * grp/initgroups.c: Likewise.
16609 * hurd/Makefile: Likewise.
16610 * hurd/hurd/signal.h: Likewise.
16611 * hurd/hurdfault.c: Likewise.
16612 * hurd/hurdioctl.c: Likewise.
16613 * hurd/hurdlookup.c: Likewise.
16614 * hurd/intr-msg.c: Likewise.
16615 * iconv/gconv_open.c: Likewise.
16616 * libio/swprintf.c: Likewise.
16617 * locale/lc-ctype.c: Likewise.
16618 * locale/nl_langinfo.c: Likewise.
16619 * mach/Machrules: Likewise.
16620 * mach/Makefile: Likewise.
16621 * malloc/obstack.h: Likewise.
16622 * manual/Makefile: Likewise.
16623 * manual/tsort.awk: Likewise.
16624 * misc/bits/stab.def: Likewise.
16625 * nis/nis_print_group_entry.c: Likewise.
16626 * nis/nis_table.c: Likewise.
16627 * nis/nss_compat/compat-pwd.c: Likewise.
16628 * nis/nss_compat/compat-spwd.c: Likewise.
16629 * po/Makefile: Likewise.
16630 * posix/fnmatch.c: Likewise.
16631 * posix/regex.h: Likewise.
16632 * resolv/Makefile: Likewise.
16633 * resolv/nss_dns/dns-network.c: Likewise.
16634 * resolv/res_hconf.c: Likewise.
16635 * scripts/gen-sorted.awk: Likewise.
16636 * soft-fp/soft-fp.h: Likewise.
16637 * stdio-common/printf.h: Likewise.
16638 * stdlib/monetary.h: Likewise.
16639 * stdlib/random.c: Likewise.
16640 * stdlib/random_r.c: Likewise.
16641 * sysdeps/generic/Makefile: Likewise.
16642 * sysdeps/gnu/Makefile: Likewise.
16643 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16671 * sysdeps/mach/hurd/errnos.awk: Likewise.
16672 * sysdeps/mach/hurd/fork.c: Likewise.
16673 * sysdeps/mach/hurd/getcwd.c: Likewise.
16674 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16675 * sysdeps/mach/hurd/mmap.c: Likewise.
16676 * sysdeps/mach/hurd/utimes.c: Likewise.
16677 * sysdeps/mach/hurd/xmknod.c: Likewise.
16678 * sysdeps/posix/profil.c: Likewise.
16679 * sysdeps/posix/readdir_r.c: Likewise.
16680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16681 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16682 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16683 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16685 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16686 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16687 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16689 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16690 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16691 * sysdeps/pthread/lio_listio.c: Likewise.
16692 * sysdeps/sparc/dl-procinfo.h: Likewise.
16693 * sysdeps/unix/i386/sysdep.S: Likewise.
16694 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16695 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16696 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16697 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16699 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16700 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16701 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16702 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16703 * sysdeps/wordsize-32/divdi3.c: Likewise.
16704 * time/sys/time.h: Likewise.
16705 * wcsmbs/Makefile: Likewise.
16706
0549fbba
DM
167072013-01-01 David S. Miller <davem@davemloft.net>
16708
a141f1a7
DM
16709 * po/fr.po: Update from translation team.
16710
0549fbba
DM
16711 * catgets/gencat.c: Update copyright year.
16712 * csu/version.c: Likewise.
16713 * debug/catchsegv.sh: Likewise.
16714 * debug/pcprofiledump.c: Likewise.
16715 * debug/xtrace.sh: Likewise.
16716 * elf/ldconfig.c: Likewise.
16717 * elf/ldd.bash.in: Likewise.
16718 * elf/pldd.c: Likewise.
16719 * elf/sotruss.ksh: Likewise.
16720 * elf/sprof.c: Likewise.
16721 * iconv/iconv_prog.c: Likewise.
16722 * iconv/iconvconfig.c: Likewise.
16723 * locale/programs/locale.c: Likewise.
16724 * locale/programs/localedef.c: Likewise.
16725 * login/programs/pt_chown.c: Likewise.
16726 * malloc/memusage.sh: Likewise.
16727 * malloc/memusagestat.c: Likewise.
16728 * malloc/mtrace.pl: Likewise.
16729 * nscd/nscd.c: Likewise.
16730 * nss/getent.c: Likewise.
16731 * nss/makedb.c: Likewise.
16732 * posix/getconf.c: Likewise.
16733
18ea052c
SP
167342012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16735
16736 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16737 numbers.
16738
9c89fca6
MF
167392012-12-30 Mike Frysinger <vapier@gentoo.org>
16740
16741 * math/bits/mathcalls.h (modf): Use __nonnull.
16742
085ec079
SP
167432012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16744
16745 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16746 (split): Use macro CN instead of the bare value.
16747 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16748 could be used.
16749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16750 instead of the bare value.
16751 (power1): Likewise.
16752
6d9f97e1
SP
167532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16754
d63f73be
SP
16755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16756 __ATAN_TWOM.
16757 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16758
6d9f97e1
SP
16759 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16760 their values.
16761 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16762 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16763 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16764 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16765
4c4febf5
AJ
167662012-12-28 Andreas Jaeger <aj@suse.de>
16767
af5843ef
AJ
16768 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16769 values are from Linux 3.7.
16770
4c4febf5
AJ
16771 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16772 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16773
99136f82
SP
167742012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16775
2f216c3c 16776 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16777 TRUE case.
16778
99136f82
SP
16779 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16780 (norm): Likewise.
16781 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16782 variables with preprocessor constants.
16783 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16784 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16785 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16786
7fffbdff
BH
167872012-12-27 Bruno Haible <bruno@clisp.org>
16788
16789 [BZ #14317]
16790 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16791 only if needed.
16792
b76eb5f0
SP
167932012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16794
31a7fe5c
SP
16795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16796 and use variable directly.
16797 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16798
b76eb5f0
SP
16799 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16800 MPONE.
16801 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16802 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16803 variable MPONE.
16804 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16806 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16807 include directive. Remove local variable MPONE.
16808 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16809 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16811
2c8bfe7d
DM
168122012-12-25 David S. Miller <davem@davemloft.net>
16813
16814 * version.h (RELEASE): Set to "development".
16815 (VERSION): Set to "2.17.90".
16816 * NEWS: Add 2.18 section.
16817
147d03b0
DM
168182012-12-21 David S. Miller <davem@davemloft.net>
16819
16820 * po/hr.po: Update from translation team.
16821
a8ebb2b9
AK
168222012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16823
16824 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16825
95b4f1b6
SE
168262012-12-19 Steve Ellcey <sellcey@mips.com>
16827
b2d94007 16828 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16829
cedb2a90
MS
168302012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16831
16832 * manual/contrib.texi (Contributors): Spelling correction.
16833
bbf527d6
DM
168342012-12-15 David S. Miller <davem@davemloft.net>
16835
16836 * po/ru.po: Update from translation team.
16837
bc38c906
DM
168382012-12-13 David S. Miller <davem@davemloft.net>
16839
85429b1a
DM
16840 * NEWS: Mention IFUNC testsuite enhancements.
16841
d283e353
DM
16842 * po/pl.po: Update from translation team.
16843 * po/bg.po: Likewise.
16844
bc38c906
DM
16845 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16846 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16847
a181b0d7
DM
168482012-12-11 David S. Miller <davem@davemloft.net>
16849
4641d57e
DM
16850 * po/sv.po: Update from translation team.
16851
f7bc6495
DM
16852 * po/vi.po: Update from translation team.
16853
6fc9048f
DM
16854 * po/cs.po: Update from translation team.
16855
a181b0d7
DM
16856 * po/de.po: Update from translation team.
16857 * po/eo.po: Likewise.
16858 * po/nl.po: Likewise.
16859
f70bfe80
SP
168602012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16861
3c8b4190
SP
16862 [BZ #14246]
16863 * manual/argp.texi (Argp Helper Functions): Move node to follow
16864 Argp Parsing State.
16865
f70bfe80
SP
16866 [BZ #14872]
16867 * manual/conf.texi (Limits on File System Capacity): Mention if
16868 terminating null is included in the max size.
16869
188f0adf
AJ
168702012-12-10 Andreas Jaeger <aj@suse.de>
16871
16872 * po/cs.po: Update from translation team.
16873
56e7d3ad
SP
168742012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16875
16876 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16877 void pointer and cast to uintptr_t.
16878 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16879 path.
16880 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16881 * sysdeps/s390/s390-64/memset.S: Likewise.
16882
76f2d2ea 168832012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16884
16885 [BZ #14833]
16886 * menual/message.texi (Message Translation): Fix typos.
16887 (Helper programs for gettext): Likewise.
16888
67cbf9a2
AS
168892012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16890
16891 [BZ #14898]
16892 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16893 Change to -1.
16894
682d0e9a
DM
168952012-12-07 David S. Miller <davem@davemloft.net>
16896
16897 * po/libc.pot: Update.
16898
573cd484
RH
168992012-12-07 Richard Henderson <rth@redhat.com>
16900
7e9da188 16901 [BZ #10114]
573cd484
RH
16902 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16903 normal/normal case to before the switch.
16904 (_FP_DIV): Likewise.
16905
e933a943
MF
169062012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16907 Mike Frysinger <vapier@gentoo.org>
16908
16909 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16910 check for __NR_fadvise64_64.
16911
82123268
CM
169122012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16913
16914 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16915 0, not just to plain "0" as a statement.
16916 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16917 with cw.
16918
d9814526
JM
169192012-12-06 Joseph Myers <joseph@codesourcery.com>
16920
16921 * NEWS: Use sourceware.org in Bugzilla URL.
16922
7728c574
SP
169232012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16924
f16946dd
SP
16925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16926 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16927
5704bbcb
SP
16928 * stdio-common/tst-put-error.c (do_test): Add newline to the
16929 padded test to ensure flush.
16930
17aa0516
JL
169312012-12-05 Jeff Law <law@redhat.com>
16932
16933 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16934
363313b5
JM
169352012-12-05 Joseph Myers <joseph@codesourcery.com>
16936
effbd42a
JM
16937 * README: Don't refer to ports add-on as distributed separately.
16938 Mention AArch64 in list of systems supported in the ports add-on.
16939
87600365
JM
16940 * LICENSES: Add more non-FSF copyright and license notices.
16941
a0d7066a
JM
16942 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16943 ((unused)).
16944
66ca5a5b
JM
16945 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16946
363313b5
JM
16947 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16948 10000 as width of padded output.
16949
b37984ad
JM
169502012-12-04 Joseph Myers <joseph@codesourcery.com>
16951
9003570a
JM
16952 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16953
b37984ad
JM
16954 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16955 variable LX with __attribute__ ((unused)).
16956 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16957 Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16959 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16960 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16961 with __attribute__ ((unused)).
16962
c8df52ec
DM
169632012-12-04 David S. Miller <davem@abraco.davemloft.net>
16964
16965 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16966
b3b099af
JM
169672012-12-04 Joseph Myers <joseph@codesourcery.com>
16968
c33aa6e3
JM
16969 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16970 (CFLAGS-nldbl-acos.c): New variable.
16971 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16972 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16973 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16974 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16975 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16976 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16977 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16978 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16979 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16980 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16981 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16982 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16983 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16984 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16985 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16986 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16987 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16988 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16989 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16990 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16991 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16992 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16993 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16994 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16995 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16996 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16997 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16998 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16999 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17000 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17001 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17002 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17003 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17004 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17005 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17006 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17007 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17008 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17009 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17010 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17011 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17012 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17013 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17014 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17015 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17016 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17017 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17018 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17019 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17020 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17021 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17022 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17023 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17024 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17025 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17026 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17027 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17028 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17029 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17030 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17031 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17032 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17033 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17034 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17035 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17036 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17037 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17038 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17039 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17040 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17041 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17042 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17043 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17044 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17045 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17046 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17047 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17048 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17049 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17050 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17051 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17052 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17053 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17054 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17055 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17056 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17057 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17058 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17059 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17060 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17061 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17062 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17063 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17064 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17065 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17066 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17067 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17068
20f0018d
JM
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17070 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17071
b3b099af
JM
17072 [BZ #14914]
17073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17074 whole low double instead of just low 47 bits when splitting values
17075 into two parts.
17076
029264d1
AM
170772012-12-03 Allan McRae <allan@archlinux.org>
17078
17079 * manual/stdio.texi (Predefined Printf Handlers): Remove
17080 @hsep and @vsep usage.
17081
c9d6789e
MF
170822012-12-03 Mike Frysinger <vapier@gentoo.org>
17083
17084 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17085 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17086
4b7634a5
JL
170872012-12-03 Jeff Law <law@redhat.com>
17088
17089 * time/sys/time.h (settimeofday): Do not mark TV argument
17090 as __nonnull.
17091
eb6cbd24
MF
170922012-12-01 Mike Frysinger <vapier@gentoo.org>
17093
17094 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17095 when currently writing and seek to current position when not.
17096 * libio/Makefile (tests): Remove bug-fclose1.
17097 * libio/bug-fclose1.c: Delete.
17098
f638872a
JM
170992012-12-01 Joseph Myers <joseph@codesourcery.com>
17100
17101 * manual/arith.texi (feenableexcept): Fix typo.
17102 (fedisableexcept): Likewise.
17103
48085d14
RM
171042012-11-30 Roland McGrath <roland@hack.frob.com>
17105
17106 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17107 second, differently-typed declaration, rather than a cast.
17108
1a538b9f
SP
171092012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17110
17111 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17112 * include/rpc/svc.h: ... here.
17113
d07f2ff1 171142012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17115
17116 [BZ #13013]
17117 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17118 depending n and resplen2 to catch cases where answer
17119 equals answerp2.
17120
c93ec1f0
CD
171212012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17122
17123 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17124 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17125
37db69de
MF
171262012-11-29 Mike Frysinger <vapier@gentoo.org>
17127
17128 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17129
e10c4e4f
RM
171302012-11-29 Roland McGrath <roland@hack.frob.com>
17131
17132 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17133
2af1b328
JL
171342012-11-28 Jeff Law <law@redhat.com>
17135
17136 [BZ #13761]
17137 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17138 dataset_temporary. Track alloca usage into alloca_used.
17139 If dataset is large allocate and release it via malloc/free.
17140
111db5b1
FW
171412012-06-04 Florian Weimer <fweimer@redhat.com>
17142
f06cc227 17143 [BZ #14197]
111db5b1
FW
17144 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17145
dd694abd
DM
171462012-11-28 David S. Miller <davem@davemloft.net>
17147
17148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17149
9984dd01
JM
171502012-11-28 Joseph Myers <joseph@codesourcery.com>
17151
17152 [BZ #14803]
17153 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17154 of pi/2 rounded to nearest to 64 bits.
17155 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17156 nearest to 64 bits.
17157 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17158 bits.
17159
14bc93a9
JL
171602012-11-28 Jeff Law <law@redhat.com>
17161 Martin Osvald <mosvald@redhat.com>
17162
17163 [BZ #14889]
17164 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17165 * sunrpc/svc.c: Include time.h.
17166 (__svc_accept_failed): New function.
17167 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17168 any reason other than EINTR, call __svc_accept_failed.
17169 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17170 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17171
e3c6aa3a
AS
171722012-11-28 Andreas Schwab <schwab@suse.de>
17173
17174 * scripts/abilist.awk: Also handle indirect functions in .opd
17175 section.
17176
1bead169
JM
171772012-11-28 Joseph Myers <joseph@codesourcery.com>
17178
17179 [BZ #13881]
17180 * sysdeps/x86/fpu/powl_helper.c: New file.
17181 * sysdeps/x86/fpu/Makefile: Likewise.
17182 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17183 (p3): New object.
17184 (__ieee754_powl): Use __powl_helper for finite arguments except
17185 integer exponents below 8.
17186 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17187 (p3): New object.
17188 (__ieee754_powl): Use __powl_helper for finite arguments except
17189 integer exponents below 8.
17190 * math/libm-test.inc (pow_test): Add more tests and enable some
17191 previously disabled tests.
17192 * sysdeps/i386/fpu/libm-test-ulps: Update.
17193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17194
0817d63d
SP
171952012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17196 Carlos O'Donell <carlos_odonell@mentor.com>
17197
17198 * nss/makedb.c (is_prime): Assert that input is odd and greater
17199 than 4. Note that fact in a comment too.
17200 (next_prime): Add 4 to input.
17201
de2fd463
SP
172022012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17203
17204 [BZ #11741]
17205 * libio/Makefile (tests): Add test case tst-fwrite-error.
17206 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17207 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17208 * libio/tst-fwrite-error.c: New test case.
17209
c515fb51
L
172102012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17211
17212 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17213 before casting to void *.
17214 * include/libc-internal.h (__pointer_type): New macro.
17215 (__integer_if_pointer_type_sub): Likewise.
17216 (__integer_if_pointer_type): Likewise.
17217 (cast_to_integer): Likewise.
17218 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17219 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17220 before casting to atomic64_t.
17221 (atomic_exchange_acq): Likewise.
17222 (__arch_exchange_and_add_body): Likewise.
17223 (__arch_add_body): Likewise.
17224 (atomic_add_negative): Likewise.
17225 (atomic_add_zero): Likewise.
17226
4cf77aa9
JM
172272012-11-26 Joseph Myers <joseph@codesourcery.com>
17228
17229 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17230 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17231 (add_fdes): Likewise.
17232 (linear_search_fdes): Likewise.
17233 (binary_search_unencoded_fdes): Likewise.
17234
d260b3b4
AS
172352012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17236
17237 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17238
67060746
AC
172392012-11-24 Adam Conrad <adconrad@0c3.net>
17240
17241 * configure.in: Autodetect C++ header directories.
17242 * configure: Regenerated.
17243
800938a1
MF
172442012-11-23 Mike Frysinger <vapier@gentoo.org>
17245
17246 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17247
4e6e34e6
AS
172482012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17249
17250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17251
7c7feb47
JM
172522012-11-22 Joseph Myers <joseph@codesourcery.com>
17253
7184dcdf
JM
17254 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17255 LDBL_MANT_DIG == 106]: Disable some tests.
17256 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17257 Likewise.
17258 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17259 Likewise.
17260
0a42601f
JM
17261 [BZ #14871]
17262 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17263 input for small inputs. Return +/- pi/2 for large inputs.
17264 * math/libm-test.inc (atan_test): Add more tests.
17265
79c9b9fe
JM
17266 * sysdeps/generic/unwind-dw2-fde-glibc.c
17267 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17268 __attribute__ ((unused)).
17269
c60d3bf2
JM
17270 [BZ #14645]
17271 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17272 x * y if x and y are nonzero and z is zero.
17273
ef1e0867
JM
17274 [BZ #14811]
17275 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17276 nonzero exponents with absolute value below 0x1p-117 to +/-
17277 0x1p-117.
17278
1468ded3
JM
17279 [BZ #14869]
17280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17281 up arguments below 2**-450, not just those below 2**-500.
17282 * math/libm-test.inc (hypot_test): Add another test.
17283
8e27e3cc
JM
17284 [BZ #14868]
17285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17286 Return a+b for ratio over 2**120, not 2**60.
17287 * math/libm-test.inc (hypot_test): Add another test.
17288
c9c0279b
JM
17289 * math/libm-test.inc (clog_test): Use
17290 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17291 (clog10_test): Likewise.
17292
7c7feb47
JM
17293 [BZ #6778]
17294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17295
fff1530e
AS
172962012-11-22 Andreas Schwab <schwab@suse.de>
17297
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17299
94558d30
PT
173002012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17301
17302 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17303 printf output with newline.
17304
7e1be741
L
173052012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17306
6bfea974
L
17307 [BZ #14865]
17308 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17309 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17310 -z nodlopen, -z initfirst and -z execstack support.
17311 * configure: Regenerated.
17312
7e1be741
L
17313 * elf/elf.h (DF_1_NODIRECT): New macro.
17314 (DF_1_IGNMULDEF): Likewise.
17315 (DF_1_NOKSYMS): Likewise.
17316 (DF_1_NOHDR): Likewise.
17317 (DF_1_EDITED): Likewise.
17318 (DF_1_NORELOC): Likewise.
17319 (DF_1_SYMINTPOSE): Likewise.
17320 (DF_1_GLOBAUDIT): Likewise.
17321 (DF_1_SINGLETON): Likewise.
17322 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17323 DT_1_SUPPORTED_MASK bits.
17324 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17325
105ce2ce
CD
173262012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17327
17328 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17329
123be9de
TS
173302012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17331
d072f3f7
TS
17332 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17333 macro.
17334
123be9de
TS
17335 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17336 (sendmmsg): Move declarations...
17337 * socket/sys/socket.h: ... here.
17338 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17339 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17340 include it from...
17341 * socket/recvmmsg.c: ... this new file.
17342 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17343 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17344 definition of __sendmmsg hidden.
17345 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17346 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17347 Move ENOSYS stub into and include it from...
17348 * socket/sendmmsg.c: ... this new file.
17349 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17350 (sysdep_routines): Move recvmmsg and sendmmsg...
17351 * socket/Makefile (routines): ... here.
17352 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17353 (GLIBC_PRIVATE): Add __sendmmsg.
17354 * include/sys/socket.h (__sendmmsg): Add declarations.
17355 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17356 sendmmsg.
17357
cf9a5d18
JM
173582012-11-20 Joseph Myers <joseph@codesourcery.com>
17359
17360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17361 variable I1 with __attribute__ ((unused)).
17362 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17363
ecd4caf9
JM
173642012-11-19 Joseph Myers <joseph@codesourcery.com>
17365
be14d48f
JM
17366 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17367 DUMMY variables with __attribute__ ((unused)).
17368
ecd4caf9
JM
17369 * bits/byteswap.h: Include <bits/types.h>.
17370 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17371
986cab95
PT
173722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17373
17374 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17375 string_t. Do not manually set errno.
17376 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17377 length with __strnlen. Make sure to both set errno and return it on
17378 failure.
17379
6d33cc9d
DM
173802012-11-19 David S. Miller <davem@davemloft.net>
17381
17382 With help from Joseph Myers.
17383 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17384 very large arguments properly.
17385 * math/libm-test.inc (atan_test): New tests.
17386 (atan2_test): New tests.
17387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17389
ee663277
JM
173902012-11-19 Joseph Myers <joseph@codesourcery.com>
17391
877f2d8e
JM
17392 [BZ #14856]
17393 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17394 Define to 3.
17395
116fc08a
JM
17396 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17397 [POSIX] (EADDRNOTAVAIL): Likewise.
17398 [POSIX] (EAFNOSUPPORT): Likewise.
17399 [POSIX] (EALREADY): Likewise.
17400 [POSIX] (ECONNABORTED): Likewise.
17401 [POSIX] (ECONNREFUSED): Likewise.
17402 [POSIX] (ECONNRESET): Likewise.
17403 [POSIX] (EDESTADDRREQ): Likewise.
17404 [POSIX] (EDQUOT): Likewise.
17405 [POSIX] (EHOSTUNREACH): Likewise.
17406 [POSIX] (EIDRM): Likewise.
17407 [POSIX] (EISCONN): Likewise.
17408 [POSIX] (ELOOP): Likewise.
17409 [POSIX] (EMULTIHOP): Likewise.
17410 [POSIX] (ENETDOWN): Likewise.
17411 [POSIX] (ENETUNREACH): Likewise.
17412 [POSIX] (ENOBUFS): Likewise.
17413 [POSIX] (ENODATA): Likewise.
17414 [POSIX] (ENOLINK): Likewise.
17415 [POSIX] (ENOMSG): Likewise.
17416 [POSIX] (ENOPROTOOPT): Likewise.
17417 [POSIX] (ENOSR): Likewise.
17418 [POSIX] (ENOSTR): Likewise.
17419 [POSIX] (ENOTCONN): Likewise.
17420 [POSIX] (ENOTSOCK): Likewise.
17421 [POSIX] (EOPNOTSUPP): Likewise.
17422 [POSIX] (EOVERFLOW): Likewise.
17423 [POSIX] (EPROTO): Likewise.
17424 [POSIX] (EPROTONOSUPPORT): Likewise.
17425 [POSIX] (EPROTOTYPE): Likewise.
17426 [POSIX] (ESTALE): Likewise.
17427 [POSIX] (ETIME): Likewise.
17428 [POSIX] (ETXTBSY): Likewise.
17429 [POSIX] (EWOULDBLOCK): Likewise.
17430 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17431 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17432 [POSIX] (SEEK_CUR): Likewise.
17433 [POSIX] (SEEK_END): Likewise.
17434 [POSIX || UNIX98] (mode_t): Do not require.
17435 [POSIX] (off_t): Likewise.
17436 [POSIX] (pid_t): Likewise.
17437 [POSIX] (sys/stat.h): Do not allow header.
17438 [POSIX] (unistd.h): Likewise.
17439 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17440 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17441 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17442 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17443 require.
17444 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17445 sigevent): Specify elements.
17446 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17447 entry.
17448 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17449 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17450
a483863f
JM
17451 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17452 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17453 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17454 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17455 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17456 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17457 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17458 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17459 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17460 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17461 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17462 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17463 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17464 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17465 Likewise.
17466 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17467 Likewise.
17468 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17469 Likewise.
17470 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17471 Likewise.
17472 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17473 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17475 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17476 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17477 Specify lower bound on value.
17478 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17479 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17480 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17481 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17482 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17483 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17484 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17485 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17486 value.
17487 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17488 as optional.
17489 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17490 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17491 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17492 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17493 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17494 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17495 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17496 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17497 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17498 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17499 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17500 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17501 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17502 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17503 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17504 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17505 entry.
17506 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17507 optional.
17508 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17509 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17510 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17511 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17512 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17513 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17514 Likewise.
17515 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17516 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17517 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17518 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17519 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17520 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17521 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17522 as optional.
17523 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17525 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17526 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17527 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17528 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17529 specify as optional.
17530 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17531 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17532 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17533 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17534 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17535 [XPG3] (NL_LANGMAX): Likewise.
17536 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17537 [POSIX || XPG3] (NL_NMAX): Likewise.
17538 [POSIX || XPG3] (NL_SETMAX): Likewise.
17539 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17540 [XPG3] (NZERO): Likewise.
17541 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17542 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17543 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17544 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17545 (REG_ERANGE): Expect.
17546 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17547 optional-constant.
17548 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17549 Use (void) in prototype.
17550 [POSIX] (*_t): Allow.
17551 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17552 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17553 (WRDE_BADVAL): Expect.
17554
5ba924e3
JM
17555 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17556 expect.
17557 [XPG3 || XPG4] (O_RSYNC): Likewise.
17558 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17559 Likewise.
17560 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17561 [XPG3 || XPG4] (sigqueue): Likewise.
17562 [XPG3 || XPG4] (sigtimedwait): Likewise.
17563 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17564 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17565 [XPG3 || XPG4] (vsnprintf): Likewise.
17566 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17567 Likewise.
17568 [XPG3 || XPG4] (blksize_t): Likewise.
17569 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17570 Likewise.
17571 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17572 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17573 [XPG3 || XPG4] (struct itimerspec): Likewise.
17574 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17575 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17576 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17577 [XPG3 || XPG4] (clockid_t): Likewise.
17578 [XPG3 || XPG4] (timer_t): Likewise.
17579 [XPG3 || XPG4] (clock_getres): Likewise.
17580 [XPG3 || XPG4] (clock_gettime): Likewise.
17581 [XPG3 || XPG4] (clock_settime): Likewise.
17582 [XPG3 || XPG4] (nanosleep): Likewise.
17583 [XPG3 || XPG4] (timer_create): Likewise.
17584 [XPG3 || XPG4] (timer_delete): Likewise.
17585 [XPG3 || XPG4] (timer_gettime): Likewise.
17586 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17587 [XPG3 || XPG4] (timer_settime): Likewise.
17588 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17589 [XPG3 || XPG4] (getlogin_r): Likewise.
17590 [XPG3 || XPG4] (pread): Likewise.
17591 [XPG3 || XPG4] (pthread_atfork): Likewise.
17592 [XPG3 || XPG4] (pwrite): Likewise.
17593
ee663277
JM
17594 [BZ #14835]
17595 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17596 <bits/siginfo.h>.
17597
942caa16
PT
175982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17599
e19af380
PT
17600 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17601 finalizing MALLSTREAM.
17602
942caa16
PT
17603 * sysdeps/mach/hurd/syncfs.c: New file.
17604
cfde9b46
SP
176052012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17606
17607 [BZ #14719]
17608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17609 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17610 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17611 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17612 (_nss_dns_gethostbyname4_r): Likewise.
17613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17614 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17615
f6da27e5
PH
176162012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17617
17618 [BZ #13763]
17619 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17620
6665d4a2
SM
176212012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17622
1f51ee92
SM
17623 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17624 * elf/cache.c (print_entry): Print ",AArch64" for
17625 FLAG_AARCH64_LIB64
17626
6665d4a2
SM
17627 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17628 * elf/cache.c (print_entry): Print ",hard-float" for
17629 FLAG_ARM_LIBHF.
17630
05b227bd
DM
176312012-11-18 David S. Miller <davem@davemloft.net>
17632
17633 With help from Joseph Myers.
17634 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17635 cutoff to 2**-13.
17636 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17637 cutoff to 2**-25.
17638 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17639 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17640 small.
17641 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17642 * math/libm-test.inc (y0_test): New tests.
17643 (y1_test): New tests.
17644 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17647
786b0b67
AS
176482012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17649
17650 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17651 64-bit targets.
17652 * configure: Regenerated.
17653
8e18b86d
DM
176542012-11-17 David S. Miller <davem@davemloft.net>
17655
17656 [BZ #14811]
17657 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17658 nonzero exponents with absolute value below 0x1p-128 to +/-
17659 0x1p-128.
17660
531f1ae0
JM
176612012-11-17 Joseph Myers <joseph@codesourcery.com>
17662
12df29e2
JM
17663 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17664
150dc1a0
JM
17665 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17666
531f1ae0
JM
17667 * posix/getconf-speclist.c: New file.
17668 * posix/posix-envs.def: Likewise.
17669 * posix/confstr.c (START_ENV_GROUP): New macro.
17670 (END_ENV_GROUP): Likewise.
17671 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17672 (KNOWN_PRESENT_ENV_STRING): Likewise.
17673 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17674 (UNKNOWN_ENVIRONMENT): Likewise.
17675 (confstr): Include posix-envs.def instead of handling
17676 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17677 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17678 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17679 (END_ENV_GROUP): Likewise.
17680 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17682 (UNKNOWN_ENVIRONMENT): Likewise.
17683 (__sysconf): Include posix-envs.def instead of handling associated
17684 cases directly here.
17685 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17686 preprocessing getconf-speclist.c rather than running getconf or
17687 generating empty file.
17688
a93f9cbc
PT
176892012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17690
17691 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17692
d64d9f87
AL
176932012-11-16 Andrej Lajovic <natrij@gmail.com>
17694
17695 [BZ #14672]
17696 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17697
447885eb
DM
176982012-11-16 David S. Miller <davem@davemloft.net>
17699
17700 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17701 smaller than LDBL_EPSILON/2.0L, just return xm1.
17702
bcbf9830
L
177032012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17704
17705 * elf/tst-array1.c (init): Set constructor priority to 1000.
17706 (fini): Set destructor priority to 1000.
17707 * elf/tst-array2dep.c: Likewise.
17708
2b766585
SP
177092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17710
17711 [BZ #11741]
17712 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17713 (_IO_new_file_xsputn): Also return EOF if none of the input
17714 data was written when overflow failed.
17715 * libio/iopadn.c (_IO_padn): Likewise.
17716 * libio/iowpadn.c (_IO_wpadn): Likewise.
17717 * stdio-common/tst-put-error.c: Add copyright notice.
17718 (do_test): Add case for printing padded string.
17719 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17720 _IO_padn returned error.
17721 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17722 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17723 return EOF.
17724
b1848fde
SP
177252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17726
17727 * libio/libioP.h: Add comment note that the references to C++
17728 bits are now obsolete.
17729
2fd89785
MS
177302012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17731
17732 * math/libm-test.inc (check_complex): Use asprintf.
17733
e3ea5409
JM
177342012-11-14 Joseph Myers <joseph@codesourcery.com>
17735
17736 * debug/pcprofiledump.c (print_version): Update copyright year.
17737 * malloc/memusagestat.c (print_version): Likewise.
17738
2e64d265
L
177392012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 [BZ #14831]
17742 * elf/Makefile (tests): Add tst-audit8.
17743 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17744 ($(objpfx)tst-audit8.out): New target.
17745 (tst-audit8-ENV): New variable.
17746 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17747 audit if l_reloc_result is NULL.
17748 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17749 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17750 * elf/tst-audit8.c: New file.
17751
c485e4d2
MS
177522012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17753
17754 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17755 * misc/Makefile (CFLAGS-select.c): Define.
17756 * posix/Makefile (CFLAGS-pause.c): Define.
17757
3a0d900a
DM
177582012-11-13 David S. Miller <davem@davemloft.net>
17759
17760 * crypt/Makefile: Move test targets after toplevel Rules
17761 inclusion. Grab any necessary sysdep routines when linking.
17762 * crypt/md5.c (md5_process_block): Remove define, we will always
17763 name it __md5_process_block.
17764 (md5_finish_ctx): Update md5_process_block call.
17765 (md5_stream): Likewise.
17766 (md5_process_bytes): Likewise.
17767 (md5_process_block): Rename to __md5_process_block and move to ...
17768 * crypt/md5-block.c: ... here.
17769 * crypt/sha256.c (sha256_process_block): Move to ...
17770 * crypt/sha256-block.c: ... here.
17771 * crypt/sha512.c (sha512_process_block): Move to ...
17772 * crypt/sha512-block.c: ... here.
17773 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17774 path.
17775 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17776 * sysdeps/sparc/sparc64/multiarch/Makefile
17777 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17778 crypt subdir.
17779 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17780 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17781 multiarch changes.
17782 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17783 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17784 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17785 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17786 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17787 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17788 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17789 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17790 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17791 file.
17792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17793 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17794 file.
17795 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17796
8ca89318
JM
177972012-11-13 Joseph Myers <joseph@codesourcery.com>
17798
e27d476a
JM
17799 * timezone/tzselect.ksh: Update from tzcode git revision
17800 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17801 * timezone/zdump.c: Likewise.
17802 * timezone/zic.c: Likewise.
17803 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17804 in TZVERSION setting, not $(PKGVERSION).
17805 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17806 REPORT_BUGS_TO settings.
17807
8ca89318
JM
17808 [BZ #14838]
17809 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17810 macro.
17811
47594329
MS
178122012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17813
17814 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17815 detection to immediately after _FP_ROUND().
17816 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17817 bits are 0.
17818
640ac3f1
DM
178192012-11-11 David S. Miller <davem@davemloft.net>
17820
17821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17822 inttypes.h
17823 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17824 __close rather than their public counterparts.
17825
3d2577bb
JM
178262012-11-10 Joseph Myers <joseph@codesourcery.com>
17827
17828 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17829 file.
17830 [UNIX98] (sem_timedwait): Do not expect.
17831 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17832 [XPG4 || UNIX98] (sockatmark): Do not expect.
17833 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17834 (clock_getcpuclockid): Do not expect.
17835 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17836 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17837 Do not expect.
17838 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17839 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17840 [UNIX98] (vwscanf): Likewise.
17841 [UNIX98] (vswscanf): Likewise.
17842
fb1ae1ee
JM
178432012-11-09 Joseph Myers <joseph@codesourcery.com>
17844
9ec6f8bd
JM
17845 * timezone/version.h: Remove file.
17846 * timezone/README: Do not refer to version.h.
17847 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17848 $(objpfx)version.h.
17849 ($(objpfx)zdump.o): Likewise.
c3f81911 17850 ($(objpfx)version.h): New target.
9ec6f8bd 17851
0aa8f8a1
JM
17852 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17853 2012i.
17854 * timezone/README: Don't mention modification to tzselect.ksh.
17855 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17856 work on unmodified tzselect.ksh. Substitute version numbers in
17857 tzselect.ksh.
17858
4e87147f
JM
17859 * Makefile (format-me): Remove.
17860 (INSTALL): Adjust indentation. Use commands directly instead of
17861 using $(format-me).
17862
8b748aed
JM
17863 * aclocal.m4 (ACX_PKGVERSION): New macro.
17864 (ACX_BUGURL): Likewise.
17865 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17866 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17867 (REPORT_BUGS_TO): Likewise.
17868 * configure: Regenerated.
17869 * config.h.in (PKGVERSION): New macro.
17870 (REPORT_BUGS_TO): Likewise.
17871 * config.make.in (PKGVERSION): New variable.
17872 (PKGVERSION_TEXI): Likewise.
17873 (REPORT_BUGS_TO): Likewise.
17874 (REPORT_BUGS_TEXI): Likewise.
17875 * Makefile (format-me): Use -I$(common-objpfx)manual.
17876 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17877 ($(common-objpfx)manual/%): New target.
17878 (manual/%): Remove target.
17879 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17880 (print_version): Use PKGVERSION.
17881 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17882 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17883 and REPORT_BUGS_TO.
17884 ($(objpfx)xtrace): Likewise.
17885 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17886 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17887 (print_version): Use PKGVERSION.
17888 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17889 (do_version): Use PKGVERSION.
17890 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17891 REPORT_BUGS_TO.
17892 (common-ldd-rewrite): Likewise.
17893 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17894 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17895 (print_version): Use PKGVERSION.
17896 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17897 * elf/pldd.c (argp_program_bug_address): Remove variable.
17898 (more_help): New function.
17899 (argp): Use more_help.
17900 (print_version): Use PKGVERSION.
17901 * elf/sln.c (main): Use PKGVERSION.
17902 (usage): Use REPORT_BUGS_TO.
17903 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17904 (top level): Use PKGVERSION.
17905 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17906 (print_version): Use PKGVERSION.
17907 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17908 (print_version): Use PKGVERSION.
17909 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17910 (print_version): Use PKGVERSION.
17911 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17912 (print_version): Use PKGVERSION.
17913 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17914 (print_version): Use PKGVERSION.
17915 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17916 (print_version): Use PKGVERSION.
17917 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17918 and BUGURL.
17919 ($(objpfx)memusage): Likewise.
17920 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17921 (do_version): Use PKGVERSION.
17922 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17923 (print_version): Use PKGVERSION.
17924 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17925 ($PKGVERSION): New variable.
17926 ($REPORT_BUGS_TO): Likewise.
17927 (usage): Use $REPORT_BUGS_TO.
17928 (top level): Use $PKGVERSION.
17929 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17930 ($(objpfx)pkgvers.texi): New rule.
17931 ($(objpfx)stamp-pkgvers): Likewise.
17932 * manual/install.texi: Include pkgvers.texi.
17933 (--with-pkgversion): Document new configure option.
17934 (--with-bugurl): Likewise.
17935 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17936 than necessarily for this particular distribution. Use
17937 REPORT_BUGS_TO for where to report bugs.
17938 * INSTALL: Regenerated.
17939 * manual/libc.texinfo: Include pkgvers.texi.
17940 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17941 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17942 (print_version): Use PKGVERSION.
17943 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17944 (print_version): Use PKGVERSION.
17945 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17946 (print_version): Use PKGVERSION.
17947 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17948 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17949 macro.
17950 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17951 (print_version): Use PKGVERSION.
17952 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17953 (print_version): Use PKGVERSION.
17954 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17955 and PKGVERSION.
17956
92e4b6a9
JM
17957 * timezone/checktab.awk: Update from tzcode 2012i.
17958 * timezone/ialloc.c: Likewise.
17959 * timezone/private.h: Likewise.
17960 * timezone/scheck.c: Likewise.
17961 * timezone/tzfile.h: Likewise.
17962 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17963 (TZVERSION): Hardcode tzcode version number.
17964 * timezone/zdump.c: Update from tzcode 2012i.
17965 * timezone/zic.c: Likewise.
17966 * timezone/version.h: New file.
17967 * timezone/README: Describe version.h. Update upstream location.
17968
9bde902c
JM
17969 [BZ #14824]
17970 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17971 (mktemp): Enable declaration.
17972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17976 Likewise.
17977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17978 Likewise.
17979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17980 Likewise.
17981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17982 Likewise.
17983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17984 Likewise.
17985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17986 Likewise.
17987
fb1ae1ee
JM
17988 [BZ #14821]
17989 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17990 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17991 for copies of such integer values.
17992 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17993 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17994
2c1adbcb
AJ
179952012-11-09 Andreas Jaeger <aj@suse.de>
17996
17997 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17998 definitions and declarations that are provided by
17999 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18000
d0f8457e
AK
180012012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18002
3a235abb 18003 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18004 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18005 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18006 definition.
18007
57241e26
MS
180082012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18009
18010 * elf/elf.h: Update comment before AArch64 relocations.
18011
60e8270d
DM
180122012-11-07 David S. Miller <davem@davemloft.net>
18013
18014 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18015 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18016 (__start_context): Declare.
18017 (__makecontext_ret): Delete.
18018 (__makecontext): Hook up __start_context instead of
18019 __makecontext_ret.
18020 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18021 (sysdep_routines): Add __start_context when in stdlib.
18022
0fbb0fbc
JM
180232012-11-07 Joseph Myers <joseph@codesourcery.com>
18024
18025 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18026 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18027 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18028 hardcoded "nm".
18029 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18030 (READELF): New variable. Use it instead of hardcoded "readelf".
18031
eb48db7e
L
180322012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18033
18034 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18035 * sysdeps/x86/Makefile: Here.
18036 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18037 * sysdeps/x86/tst-xmmymm.sh: This.
18038
05bcf62a
JM
180392012-11-07 Joseph Myers <joseph@codesourcery.com>
18040
c4b6cf53
JM
18041 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18042 expectations.
18043 [UNIX98] (pthread_barrier_t): Do not expect.
18044 [UNIX98] (pthread_barrierattr_t): Likewise.
18045 [UNIX98] (pthread_spinlock_t): Likewise.
18046 [UNIX98] (pthread_barrier_destroy): Likewise.
18047 [UNIX98] (pthread_barrier_init): Likewise.
18048 [UNIX98] (pthread_barrier_wait): Likewise.
18049 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18050 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18051 [UNIX98] (pthread_barrierattr_init): Likewise.
18052 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18053 [UNIX98] (pthread_getcpuclockid): Likewise.
18054 [UNIX98] (pthread_mutex_timedlock): Likewise.
18055 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18056 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18057 [UNIX98] (pthread_sigmask): Likewise.
18058 [UNIX98] (pthread_spin_destroy): Likewise.
18059 [UNIX98] (pthread_spin_init): Likewise.
18060 [UNIX98] (pthread_spin_lock): Likewise.
18061 [UNIX98] (pthread_spin_trylock): Likewise.
18062 [UNIX98] (pthread_spin_unlock): Likewise.
18063 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18064 Do not expect.
18065 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18066 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18067 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18068 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18069 [XPG3 || XPG4] (pthread_key_t): Likewise.
18070 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18071 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18072 [XPG3 || XPG4] (pthread_once_t): Likewise.
18073 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18074 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18075 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18076 [XPG3 || XPG4] (pthread_t): Likewise.
18077
cbe6e120
JM
18078 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18079 not expect.
18080 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18081
1b126443
JM
18082 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18083 Change function return type to int.
18084
b961a573
JM
18085 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18086 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18087 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18088 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18089 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18090 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18091 [!POSIX] (posix_madvise): Likewise.
18092 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18093 && !UNIX98].
18094 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18095 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18096 (mode_t): Likewise.
18097 (posix_mem_offset): Likewise.
18098 (posix_typed_mem_get_info): Likewise.
18099 (posix_typed_mem_open): Likewise.
18100
9e188909
JM
18101 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18102 Change condition to [XOPEN2K8].
18103
05bcf62a
JM
18104 * conform/conformtest.pl: Preprocess allow-header data with -x c
18105 instead of from stdin.
18106 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18107 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18108 [C99-based standards] (cerfc): Likewise.
18109 [C99-based standards] (cexp2): Likewise.
18110 [C99-based standards] (cexpm1): Likewise.
18111 [C99-based standards] (clog10): Likewise.
18112 [C99-based standards] (clog1p): Likewise.
18113 [C99-based standards] (clog2): Likewise.
18114 [C99-based standards] (clgamma): Likewise.
18115 [C99-based standards] (ctgamma): Likewise.
18116 [C99-based standards] (cerff): Likewise.
18117 [C99-based standards] (cerfcf): Likewise.
18118 [C99-based standards] (cexp2f): Likewise.
18119 [C99-based standards] (cexpm1f): Likewise.
18120 [C99-based standards] (clog10f): Likewise.
18121 [C99-based standards] (clog1pf): Likewise.
18122 [C99-based standards] (clog2f): Likewise.
18123 [C99-based standards] (clgammaf): Likewise.
18124 [C99-based standards] (ctgammaf): Likewise.
18125 [C99-based standards] (cerfl): Likewise.
18126 [C99-based standards] (cerfcl): Likewise.
18127 [C99-based standards] (cexp2l): Likewise.
18128 [C99-based standards] (cexpm1l): Likewise.
18129 [C99-based standards] (clog10l): Likewise.
18130 [C99-based standards] (clog1pl): Likewise.
18131 [C99-based standards] (clog2l): Likewise.
18132 [C99-based standards] (clgammal): Likewise.
18133 [C99-based standards] (ctgammal): Likewise.
18134 * conform/data/inttypes.h-data [C99-based standards]: Include
18135 stdint.h-data. Remove all expectations for stdint.h contents.
18136 [C99-based standards] (PRI*): Do not allow.
18137 [C99-based standards] (SCN*): Likewise.
18138 [C99-based standards] (*_t): Likewise.
18139 [C99-based-standards] (PRId8): Expect macro.
18140 [C99-based-standards] (PRIi8): Likewise.
18141 [C99-based-standards] (PRIo8): Likewise.
18142 [C99-based-standards] (PRIu8): Likewise.
18143 [C99-based-standards] (PRIx8): Likewise.
18144 [C99-based-standards] (PRIX8): Likewise.
18145 [C99-based-standards] (SCNd8): Likewise.
18146 [C99-based-standards] (SCNi8): Likewise.
18147 [C99-based-standards] (SCNo8): Likewise.
18148 [C99-based-standards] (SCNu8): Likewise.
18149 [C99-based-standards] (SCNx8): Likewise.
18150 [C99-based-standards] (PRIdLEAST8): Likewise.
18151 [C99-based-standards] (PRIiLEAST8): Likewise.
18152 [C99-based-standards] (PRIoLEAST8): Likewise.
18153 [C99-based-standards] (PRIuLEAST8): Likewise.
18154 [C99-based-standards] (PRIxLEAST8): Likewise.
18155 [C99-based-standards] (PRIXLEAST8): Likewise.
18156 [C99-based-standards] (SCNdLEAST8): Likewise.
18157 [C99-based-standards] (SCNiLEAST8): Likewise.
18158 [C99-based-standards] (SCNoLEAST8): Likewise.
18159 [C99-based-standards] (SCNuLEAST8): Likewise.
18160 [C99-based-standards] (SCNxLEAST8): Likewise.
18161 [C99-based-standards] (PRIdFAST8): Likewise.
18162 [C99-based-standards] (PRIiFAST8): Likewise.
18163 [C99-based-standards] (PRIoFAST8): Likewise.
18164 [C99-based-standards] (PRIuFAST8): Likewise.
18165 [C99-based-standards] (PRIxFAST8): Likewise.
18166 [C99-based-standards] (PRIXFAST8): Likewise.
18167 [C99-based-standards] (SCNdFAST8): Likewise.
18168 [C99-based-standards] (SCNiFAST8): Likewise.
18169 [C99-based-standards] (SCNoFAST8): Likewise.
18170 [C99-based-standards] (SCNuFAST8): Likewise.
18171 [C99-based-standards] (SCNxFAST8): Likewise.
18172 [C99-based-standards] (PRId16): Likewise.
18173 [C99-based-standards] (PRIi16): Likewise.
18174 [C99-based-standards] (PRIo16): Likewise.
18175 [C99-based-standards] (PRIu16): Likewise.
18176 [C99-based-standards] (PRIx16): Likewise.
18177 [C99-based-standards] (PRIX16): Likewise.
18178 [C99-based-standards] (SCNd16): Likewise.
18179 [C99-based-standards] (SCNi16): Likewise.
18180 [C99-based-standards] (SCNo16): Likewise.
18181 [C99-based-standards] (SCNu16): Likewise.
18182 [C99-based-standards] (SCNx16): Likewise.
18183 [C99-based-standards] (PRIdLEAST16): Likewise.
18184 [C99-based-standards] (PRIiLEAST16): Likewise.
18185 [C99-based-standards] (PRIoLEAST16): Likewise.
18186 [C99-based-standards] (PRIuLEAST16): Likewise.
18187 [C99-based-standards] (PRIxLEAST16): Likewise.
18188 [C99-based-standards] (PRIXLEAST16): Likewise.
18189 [C99-based-standards] (SCNdLEAST16): Likewise.
18190 [C99-based-standards] (SCNiLEAST16): Likewise.
18191 [C99-based-standards] (SCNoLEAST16): Likewise.
18192 [C99-based-standards] (SCNuLEAST16): Likewise.
18193 [C99-based-standards] (SCNxLEAST16): Likewise.
18194 [C99-based-standards] (PRIdFAST16): Likewise.
18195 [C99-based-standards] (PRIiFAST16): Likewise.
18196 [C99-based-standards] (PRIoFAST16): Likewise.
18197 [C99-based-standards] (PRIuFAST16): Likewise.
18198 [C99-based-standards] (PRIxFAST16): Likewise.
18199 [C99-based-standards] (PRIXFAST16): Likewise.
18200 [C99-based-standards] (SCNdFAST16): Likewise.
18201 [C99-based-standards] (SCNiFAST16): Likewise.
18202 [C99-based-standards] (SCNoFAST16): Likewise.
18203 [C99-based-standards] (SCNuFAST16): Likewise.
18204 [C99-based-standards] (SCNxFAST16): Likewise.
18205 [C99-based-standards] (PRId32): Likewise.
18206 [C99-based-standards] (PRIi32): Likewise.
18207 [C99-based-standards] (PRIo32): Likewise.
18208 [C99-based-standards] (PRIu32): Likewise.
18209 [C99-based-standards] (PRIx32): Likewise.
18210 [C99-based-standards] (PRIX32): Likewise.
18211 [C99-based-standards] (SCNd32): Likewise.
18212 [C99-based-standards] (SCNi32): Likewise.
18213 [C99-based-standards] (SCNo32): Likewise.
18214 [C99-based-standards] (SCNu32): Likewise.
18215 [C99-based-standards] (SCNx32): Likewise.
18216 [C99-based-standards] (PRIdLEAST32): Likewise.
18217 [C99-based-standards] (PRIiLEAST32): Likewise.
18218 [C99-based-standards] (PRIoLEAST32): Likewise.
18219 [C99-based-standards] (PRIuLEAST32): Likewise.
18220 [C99-based-standards] (PRIxLEAST32): Likewise.
18221 [C99-based-standards] (PRIXLEAST32): Likewise.
18222 [C99-based-standards] (SCNdLEAST32): Likewise.
18223 [C99-based-standards] (SCNiLEAST32): Likewise.
18224 [C99-based-standards] (SCNoLEAST32): Likewise.
18225 [C99-based-standards] (SCNuLEAST32): Likewise.
18226 [C99-based-standards] (SCNxLEAST32): Likewise.
18227 [C99-based-standards] (PRIdFAST32): Likewise.
18228 [C99-based-standards] (PRIiFAST32): Likewise.
18229 [C99-based-standards] (PRIoFAST32): Likewise.
18230 [C99-based-standards] (PRIuFAST32): Likewise.
18231 [C99-based-standards] (PRIxFAST32): Likewise.
18232 [C99-based-standards] (PRIXFAST32): Likewise.
18233 [C99-based-standards] (SCNdFAST32): Likewise.
18234 [C99-based-standards] (SCNiFAST32): Likewise.
18235 [C99-based-standards] (SCNoFAST32): Likewise.
18236 [C99-based-standards] (SCNuFAST32): Likewise.
18237 [C99-based-standards] (SCNxFAST32): Likewise.
18238 [C99-based-standards] (PRId64): Likewise.
18239 [C99-based-standards] (PRIi64): Likewise.
18240 [C99-based-standards] (PRIo64): Likewise.
18241 [C99-based-standards] (PRIu64): Likewise.
18242 [C99-based-standards] (PRIx64): Likewise.
18243 [C99-based-standards] (PRIX64): Likewise.
18244 [C99-based-standards] (SCNd64): Likewise.
18245 [C99-based-standards] (SCNi64): Likewise.
18246 [C99-based-standards] (SCNo64): Likewise.
18247 [C99-based-standards] (SCNu64): Likewise.
18248 [C99-based-standards] (SCNx64): Likewise.
18249 [C99-based-standards] (PRIdLEAST64): Likewise.
18250 [C99-based-standards] (PRIiLEAST64): Likewise.
18251 [C99-based-standards] (PRIoLEAST64): Likewise.
18252 [C99-based-standards] (PRIuLEAST64): Likewise.
18253 [C99-based-standards] (PRIxLEAST64): Likewise.
18254 [C99-based-standards] (PRIXLEAST64): Likewise.
18255 [C99-based-standards] (SCNdLEAST64): Likewise.
18256 [C99-based-standards] (SCNiLEAST64): Likewise.
18257 [C99-based-standards] (SCNoLEAST64): Likewise.
18258 [C99-based-standards] (SCNuLEAST64): Likewise.
18259 [C99-based-standards] (SCNxLEAST64): Likewise.
18260 [C99-based-standards] (PRIdFAST64): Likewise.
18261 [C99-based-standards] (PRIiFAST64): Likewise.
18262 [C99-based-standards] (PRIoFAST64): Likewise.
18263 [C99-based-standards] (PRIuFAST64): Likewise.
18264 [C99-based-standards] (PRIxFAST64): Likewise.
18265 [C99-based-standards] (PRIXFAST64): Likewise.
18266 [C99-based-standards] (SCNdFAST64): Likewise.
18267 [C99-based-standards] (SCNiFAST64): Likewise.
18268 [C99-based-standards] (SCNoFAST64): Likewise.
18269 [C99-based-standards] (SCNuFAST64): Likewise.
18270 [C99-based-standards] (SCNxFAST64): Likewise.
18271 [C99-based-standards] (PRIdMAX): Likewise.
18272 [C99-based-standards] (PRIiMAX): Likewise.
18273 [C99-based-standards] (PRIoMAX): Likewise.
18274 [C99-based-standards] (PRIuMAX): Likewise.
18275 [C99-based-standards] (PRIxMAX): Likewise.
18276 [C99-based-standards] (PRIXMAX): Likewise.
18277 [C99-based-standards] (SCNdMAX): Likewise.
18278 [C99-based-standards] (SCNiMAX): Likewise.
18279 [C99-based-standards] (SCNoMAX): Likewise.
18280 [C99-based-standards] (SCNuMAX): Likewise.
18281 [C99-based-standards] (SCNxMAX): Likewise.
18282 [C99-based-standards] (PRIdPTR): Likewise.
18283 [C99-based-standards] (PRIiPTR): Likewise.
18284 [C99-based-standards] (PRIoPTR): Likewise.
18285 [C99-based-standards] (PRIuPTR): Likewise.
18286 [C99-based-standards] (PRIxPTR): Likewise.
18287 [C99-based-standards] (PRIXPTR): Likewise.
18288 [C99-based-standards] (SCNdPTR): Likewise.
18289 [C99-based-standards] (SCNiPTR): Likewise.
18290 [C99-based-standards] (SCNoPTR): Likewise.
18291 [C99-based-standards] (SCNuPTR): Likewise.
18292 [C99-based-standards] (SCNxPTR): Likewise.
18293 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18294 allow.
18295 * conform/data/stdint.h-data: Update comments to clarify
18296 requirements.
18297 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18298 type.
18299 [C99-based standards] (INT8_MAX): Likewise.
18300 [C99-based standards] (INT16_MIN): Likewise.
18301 [C99-based standards] (INT16_MAX): Likewise.
18302 [C99-based standards] (INT32_MIN): Likewise.
18303 [C99-based standards] (INT32_MAX): Likewise.
18304 [C99-based standards] (INT64_MIN): Likewise.
18305 [C99-based standards] (INT64_MAX): Likewise.
18306 [C99-based standards] (UINT8_MAX): Likewise.
18307 [C99-based standards] (UINT16_MAX): Likewise.
18308 [C99-based standards] (UINT32_MAX): Likewise.
18309 [C99-based standards] (UINT64_MAX): Likewise.
18310 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18311 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18312 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18313 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18314 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18315 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18316 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18317 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18318 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18319 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18320 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18321 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18322 [C99-based standards] (INT_FAST8_MIN): Likewise.
18323 [C99-based standards] (INT_FAST8_MAX): Likewise.
18324 [C99-based standards] (INT_FAST16_MIN): Likewise.
18325 [C99-based standards] (INT_FAST16_MAX): Likewise.
18326 [C99-based standards] (INT_FAST32_MIN): Likewise.
18327 [C99-based standards] (INT_FAST32_MAX): Likewise.
18328 [C99-based standards] (INT_FAST64_MIN): Likewise.
18329 [C99-based standards] (INT_FAST64_MAX): Likewise.
18330 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18331 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18332 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18333 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18334 [C99-based standards] (INTPTR_MIN): Likewise.
18335 [C99-based standards] (INTPTR_MAX): Likewise.
18336 [C99-based standards] (UINTPTR_MAX): Likewise.
18337 [C99-based standards] (INTMAX_MIN): Likewise.
18338 [C99-based standards] (INTMAX_MAX): Likewise.
18339 [C99-based standards] (UINTMAX_MAX): Likewise.
18340 [C99-based standards] (PTRDIFF_MIN): Likewise.
18341 [C99-based standards] (PTRDIFF_MAX): Likewise.
18342 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18343 [C99-based standards] (SIZE_MAX): Likewise.
18344 [C99-based standards] (WCHAR_MAX): Likewise.
18345 [C99-based standards] (WINT_MAX): Likewise.
18346 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18347 constraint on value.
18348 [C99-based standards] (WCHAR_MIN): Likewise.
18349 [C99-based standards] (WINT_MIN): Likewise.
18350 [C99-based standards] (*_t): Allow.
18351 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18352 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18353 Include math.h-data and complex.h-data. Remove all expectations
18354 of math.h and complex.h contents.
18355 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18356 at end of line.
18357 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18358 (struct tm): Expect tag.
18359 [C99-based-standards] (wcstof): Expect function.
18360 [C99-based-standards] (wcstold): Likewise.
18361 [C99-based-standards] (wcstoll): Likewise.
18362 [C99-based-standards] (wcstoull): Likewise.
18363 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18364 macro-int-constant. Specify type.
18365 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18366 constraint on value.
18367 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18368 Specify type.
18369 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18370 Specify value.
18371 [ISO C standards]: Do not allow headers.
18372 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18373 wcs[abcdefghijklmnopqrstuvwxyz]*.
18374 [ISO C standards] (*_t): Do not allow.
18375 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18376 Expect function.
18377 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18378 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18379 Specify type.
18380 [ISO C standards]: Do not allow headers.
18381 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18382 is[abcdefghijklmnopqrstuvwxyz]*.
18383 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18384 to[abcdefghijklmnopqrstuvwxyz]*.
18385 [ISO C standards] (*_t): Do not allow.
18386 * conform/data/stdalign.h-data: New file.
18387 * conform/data/stdbool.h-data: Likewise.
18388 * conform/data/stdnoreturn.h-data: Likewise.
18389
7514feb8
RM
183902012-11-07 Roland McGrath <roland@hack.frob.com>
18391
18392 [BZ #14815]
18393 * manual/filesys.texi (Directory Entries): Typo fix.
18394 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18395
19b2ecfc
MS
183962012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18397
18398 * elf/elf.h (EM_AARCH64): New macro.
18399 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18400 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18401 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18402 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18403 (R_AARCH64_TLSDESC): Likewise.
18404 (NT_ARM_TLS): Likewise.
18405 (NT_ARM_HW_BREAK): Likewise.
18406 (NT_ARM_HW_WATCH): Likewise.
18407
60e235ee
JM
184082012-11-07 Joseph Myers <joseph@codesourcery.com>
18409
18410 [BZ #14811]
18411 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18412 (__ieee754_powl): Saturate nonzero exponents with absolute value
18413 below 0x1p-79 to +/- 0x1p-79.
18414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18415 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18416 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18417 nonzero exponents with absolute value below 0x1p-32 to +/-
18418 0x1p-32.
18419 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18420 (__ieee754_powl): Saturate nonzero exponents with absolute value
18421 below 0x1p-79 to +/- 0x1p-79.
18422 * math/libm-test.inc (pow_test): Add more tests.
18423
0ab234b7
AK
184242012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18425
18426 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18427 _dl_s390_cap_flags with kernel. Increase string length.
18428 (_dl_s390_platforms): Add z196 and zEC12.
18429
45832f74
JM
184302012-11-07 Joseph Myers <joseph@codesourcery.com>
18431
18432 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18433 Change XOPEN21K to XOPEN2K.
18434
19218757
MK
184352012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18436
18437 * string/memmove.c: Use memcpy when possible.
18438
c5f45721
AJ
184392012-11-06 Andreas Jaeger <aj@suse.de>
18440
18441 * po/eo.po: Update from translation team.
18442
82477c28
JM
184432012-11-06 Joseph Myers <joseph@codesourcery.com>
18444
18445 [BZ #14793]
18446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18447 exponent and small x and y exponents, scale x or y up. Increase
18448 by 2 the exponent used in scaling up.
18449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18451 * math/libm-test.inc (fma_test): Add more tests.
18452 (fma_test_towardzero): Likewise.
18453 (fma_test_downward): Likewise.
18454 (fma_test_upward): Likewise.
18455
99252c8c
JM
184562012-11-05 Joseph Myers <joseph@codesourcery.com>
18457
acfa885f
JM
18458 [BZ #14805]
18459 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18460 fenv_t *.
18461
99252c8c
JM
18462 [BZ #14801]
18463 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18464 namespace for names of struct fields.
18465 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18466 fenv_t fields.
18467 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18468 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18469
d6d98dea
ST
184702012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18471
18472 [BZ #3665]
18473 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18474
e10bb107
TS
184752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18476
18477 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18478 PTR_DEMANGLE.
18479
18480 [BZ #5246]
18481 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18482 PTR_DEMANGLE.
18483
a0c2940d
JM
184842012-11-04 Joseph Myers <joseph@codesourcery.com>
18485
18486 [BZ #14797]
18487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18488 definitely overflow as x * y not x * y + z.
18489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18491 * math/libm-test.inc (fma_test): Add more tests.
18492 (fma_test_towardzero): Likewise.
18493 (fma_test_downward): Likewise.
18494 (fma_test_upward): Likewise.
18495
b830319d
TS
184962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18497
18498 [BZ #157]
18499
18500 * include/stub-tag.h: Remove file.
18501 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18502 '#include' of it.
18503 * manual/maint.texi (Porting): Don't reference it.
18504 * Makerules ($(objpfx)stubs): Likewise.
18505 * dirent/closedir.c: Don't include <stub-tag.h>.
18506 * dirent/dirfd.c: Likewise.
18507 * dirent/fdopendir.c: Likewise.
18508 * dirent/getdents.c: Likewise.
18509 * dirent/getdents64.c: Likewise.
18510 * dirent/opendir.c: Likewise.
18511 * dirent/readdir.c: Likewise.
18512 * dirent/readdir64.c: Likewise.
18513 * dirent/readdir64_r.c: Likewise.
18514 * dirent/readdir_r.c: Likewise.
18515 * dirent/rewinddir.c: Likewise.
18516 * dirent/seekdir.c: Likewise.
18517 * dirent/telldir.c: Likewise.
18518 * gmon/profil.c: Likewise.
18519 * grp/setgroups.c: Likewise.
18520 * inet/if_index.c: Likewise.
18521 * io/access.c: Likewise.
18522 * io/chdir.c: Likewise.
18523 * io/chmod.c: Likewise.
18524 * io/chown.c: Likewise.
18525 * io/close.c: Likewise.
18526 * io/dup.c: Likewise.
18527 * io/dup2.c: Likewise.
18528 * io/dup3.c: Likewise.
18529 * io/euidaccess.c: Likewise.
18530 * io/faccessat.c: Likewise.
18531 * io/fchdir.c: Likewise.
18532 * io/fchmod.c: Likewise.
18533 * io/fchmodat.c: Likewise.
18534 * io/fchown.c: Likewise.
18535 * io/fchownat.c: Likewise.
18536 * io/fcntl.c: Likewise.
18537 * io/flock.c: Likewise.
18538 * io/fstatfs.c: Likewise.
18539 * io/fstatfs64.c: Likewise.
18540 * io/fstatvfs.c: Likewise.
18541 * io/fstatvfs64.c: Likewise.
18542 * io/futimens.c: Likewise.
18543 * io/fxstat.c: Likewise.
18544 * io/fxstat64.c: Likewise.
18545 * io/fxstatat.c: Likewise.
18546 * io/fxstatat64.c: Likewise.
18547 * io/getcwd.c: Likewise.
18548 * io/isatty.c: Likewise.
18549 * io/lchmod.c: Likewise.
18550 * io/lchown.c: Likewise.
18551 * io/link.c: Likewise.
18552 * io/linkat.c: Likewise.
18553 * io/lseek.c: Likewise.
18554 * io/lseek64.c: Likewise.
18555 * io/lxstat64.c: Likewise.
18556 * io/mkdir.c: Likewise.
18557 * io/mkdirat.c: Likewise.
18558 * io/mkfifo.c: Likewise.
18559 * io/mkfifoat.c: Likewise.
18560 * io/open.c: Likewise.
18561 * io/open64.c: Likewise.
18562 * io/openat.c: Likewise.
18563 * io/openat64.c: Likewise.
18564 * io/pipe.c: Likewise.
18565 * io/pipe2.c: Likewise.
18566 * io/poll.c: Likewise.
18567 * io/posix_fadvise.c: Likewise.
18568 * io/posix_fadvise64.c: Likewise.
18569 * io/posix_fallocate.c: Likewise.
18570 * io/posix_fallocate64.c: Likewise.
18571 * io/read.c: Likewise.
18572 * io/readlink.c: Likewise.
18573 * io/readlinkat.c: Likewise.
18574 * io/rmdir.c: Likewise.
18575 * io/sendfile.c: Likewise.
18576 * io/sendfile64.c: Likewise.
18577 * io/statfs.c: Likewise.
18578 * io/statfs64.c: Likewise.
18579 * io/statvfs.c: Likewise.
18580 * io/statvfs64.c: Likewise.
18581 * io/symlink.c: Likewise.
18582 * io/symlinkat.c: Likewise.
18583 * io/ttyname.c: Likewise.
18584 * io/ttyname_r.c: Likewise.
18585 * io/umask.c: Likewise.
18586 * io/unlink.c: Likewise.
18587 * io/unlinkat.c: Likewise.
18588 * io/utime.c: Likewise.
18589 * io/utimensat.c: Likewise.
18590 * io/write.c: Likewise.
18591 * io/xmknod.c: Likewise.
18592 * io/xmknodat.c: Likewise.
18593 * io/xstat.c: Likewise.
18594 * io/xstat64.c: Likewise.
18595 * login/getpt.c: Likewise.
18596 * login/grantpt.c: Likewise.
18597 * login/unlockpt.c: Likewise.
18598 * math/e_acoshl.c: Likewise.
18599 * math/e_acosl.c: Likewise.
18600 * math/e_asinl.c: Likewise.
18601 * math/e_atan2l.c: Likewise.
18602 * math/e_atanhl.c: Likewise.
18603 * math/e_coshl.c: Likewise.
18604 * math/e_expl.c: Likewise.
18605 * math/e_fmodl.c: Likewise.
18606 * math/e_gammal_r.c: Likewise.
18607 * math/e_hypotl.c: Likewise.
18608 * math/e_j0l.c: Likewise.
18609 * math/e_j1l.c: Likewise.
18610 * math/e_jnl.c: Likewise.
18611 * math/e_lgammal_r.c: Likewise.
18612 * math/e_log10l.c: Likewise.
18613 * math/e_log2l.c: Likewise.
18614 * math/e_logl.c: Likewise.
18615 * math/e_powl.c: Likewise.
18616 * math/e_rem_pio2l.c: Likewise.
18617 * math/e_sinhl.c: Likewise.
18618 * math/e_sqrtl.c: Likewise.
18619 * math/fclrexcpt.c: Likewise.
18620 * math/fedisblxcpt.c: Likewise.
18621 * math/feenablxcpt.c: Likewise.
18622 * math/fegetenv.c: Likewise.
18623 * math/fegetexcept.c: Likewise.
18624 * math/fegetround.c: Likewise.
18625 * math/feholdexcpt.c: Likewise.
18626 * math/fesetenv.c: Likewise.
18627 * math/fesetround.c: Likewise.
18628 * math/feupdateenv.c: Likewise.
18629 * math/fgetexcptflg.c: Likewise.
18630 * math/fraiseexcpt.c: Likewise.
18631 * math/fsetexcptflg.c: Likewise.
18632 * math/ftestexcept.c: Likewise.
18633 * math/k_cosl.c: Likewise.
18634 * math/k_rem_pio2l.c: Likewise.
18635 * math/k_sinl.c: Likewise.
18636 * math/k_tanl.c: Likewise.
18637 * math/s_asinhl.c: Likewise.
18638 * math/s_atanl.c: Likewise.
18639 * math/s_cbrtl.c: Likewise.
18640 * math/s_erfl.c: Likewise.
18641 * math/s_expm1l.c: Likewise.
18642 * math/s_log1pl.c: Likewise.
18643 * math/s_tanhl.c: Likewise.
18644 * misc/acct.c: Likewise.
18645 * misc/brk.c: Likewise.
18646 * misc/chflags.c: Likewise.
18647 * misc/chroot.c: Likewise.
18648 * misc/fchflags.c: Likewise.
18649 * misc/fgetxattr.c: Likewise.
18650 * misc/flistxattr.c: Likewise.
18651 * misc/fremovexattr.c: Likewise.
18652 * misc/fsetxattr.c: Likewise.
18653 * misc/fsync.c: Likewise.
18654 * misc/ftruncate.c: Likewise.
18655 * misc/futimes.c: Likewise.
18656 * misc/futimesat.c: Likewise.
18657 * misc/getdomain.c: Likewise.
18658 * misc/getdtsz.c: Likewise.
18659 * misc/gethostid.c: Likewise.
18660 * misc/gethostname.c: Likewise.
18661 * misc/getloadavg.c: Likewise.
18662 * misc/getpagesize.c: Likewise.
18663 * misc/getsysstats.c: Likewise.
18664 * misc/getxattr.c: Likewise.
18665 * misc/gtty.c: Likewise.
18666 * misc/ioctl.c: Likewise.
18667 * misc/lgetxattr.c: Likewise.
18668 * misc/listxattr.c: Likewise.
18669 * misc/llistxattr.c: Likewise.
18670 * misc/lremovexattr.c: Likewise.
18671 * misc/lsetxattr.c: Likewise.
18672 * misc/lutimes.c: Likewise.
18673 * misc/madvise.c: Likewise.
18674 * misc/mincore.c: Likewise.
18675 * misc/mlock.c: Likewise.
18676 * misc/mlockall.c: Likewise.
18677 * misc/mmap.c: Likewise.
18678 * misc/mprotect.c: Likewise.
18679 * misc/msync.c: Likewise.
18680 * misc/munlock.c: Likewise.
18681 * misc/munlockall.c: Likewise.
18682 * misc/munmap.c: Likewise.
18683 * misc/preadv.c: Likewise.
18684 * misc/preadv64.c: Likewise.
18685 * misc/ptrace.c: Likewise.
18686 * misc/pwritev.c: Likewise.
18687 * misc/pwritev64.c: Likewise.
18688 * misc/readv.c: Likewise.
18689 * misc/reboot.c: Likewise.
18690 * misc/remap_file_pages.c: Likewise.
18691 * misc/removexattr.c: Likewise.
18692 * misc/revoke.c: Likewise.
18693 * misc/select.c: Likewise.
18694 * misc/setdomain.c: Likewise.
18695 * misc/setegid.c: Likewise.
18696 * misc/seteuid.c: Likewise.
18697 * misc/sethostid.c: Likewise.
18698 * misc/sethostname.c: Likewise.
18699 * misc/setregid.c: Likewise.
18700 * misc/setreuid.c: Likewise.
18701 * misc/setxattr.c: Likewise.
18702 * misc/sstk.c: Likewise.
18703 * misc/stty.c: Likewise.
18704 * misc/swapoff.c: Likewise.
18705 * misc/swapon.c: Likewise.
18706 * misc/sync.c: Likewise.
18707 * misc/syncfs.c: Likewise.
18708 * misc/syscall.c: Likewise.
18709 * misc/truncate.c: Likewise.
18710 * misc/ualarm.c: Likewise.
18711 * misc/usleep.c: Likewise.
18712 * misc/ustat.c: Likewise.
18713 * misc/utimes.c: Likewise.
18714 * misc/vhangup.c: Likewise.
18715 * misc/writev.c: Likewise.
18716 * posix/_exit.c: Likewise.
18717 * posix/alarm.c: Likewise.
18718 * posix/execve.c: Likewise.
18719 * posix/fexecve.c: Likewise.
18720 * posix/fork.c: Likewise.
18721 * posix/fpathconf.c: Likewise.
18722 * posix/getaddrinfo.c: Likewise.
18723 * posix/getegid.c: Likewise.
18724 * posix/geteuid.c: Likewise.
18725 * posix/getgid.c: Likewise.
18726 * posix/getgroups.c: Likewise.
18727 * posix/getlogin.c: Likewise.
18728 * posix/getlogin_r.c: Likewise.
18729 * posix/getpgid.c: Likewise.
18730 * posix/getpid.c: Likewise.
18731 * posix/getppid.c: Likewise.
18732 * posix/getresgid.c: Likewise.
18733 * posix/getresuid.c: Likewise.
18734 * posix/getsid.c: Likewise.
18735 * posix/getuid.c: Likewise.
18736 * posix/glob64.c: Likewise.
18737 * posix/nanosleep.c: Likewise.
18738 * posix/pathconf.c: Likewise.
18739 * posix/pause.c: Likewise.
18740 * posix/posix_madvise.c: Likewise.
18741 * posix/pread.c: Likewise.
18742 * posix/pread64.c: Likewise.
18743 * posix/pwrite.c: Likewise.
18744 * posix/pwrite64.c: Likewise.
18745 * posix/sched_getaffinity.c: Likewise.
18746 * posix/sched_getp.c: Likewise.
18747 * posix/sched_gets.c: Likewise.
18748 * posix/sched_primax.c: Likewise.
18749 * posix/sched_primin.c: Likewise.
18750 * posix/sched_rr_gi.c: Likewise.
18751 * posix/sched_setaffinity.c: Likewise.
18752 * posix/sched_setp.c: Likewise.
18753 * posix/sched_sets.c: Likewise.
18754 * posix/sched_yield.c: Likewise.
18755 * posix/setgid.c: Likewise.
18756 * posix/setlogin.c: Likewise.
18757 * posix/setpgid.c: Likewise.
18758 * posix/setresgid.c: Likewise.
18759 * posix/setresuid.c: Likewise.
18760 * posix/setsid.c: Likewise.
18761 * posix/setuid.c: Likewise.
18762 * posix/sleep.c: Likewise.
18763 * posix/spawni.c: Likewise.
18764 * posix/sysconf.c: Likewise.
18765 * posix/times.c: Likewise.
18766 * posix/wait.c: Likewise.
18767 * posix/wait3.c: Likewise.
18768 * posix/wait4.c: Likewise.
18769 * posix/waitpid.c: Likewise.
18770 * resolv/gai_sigqueue.c: Likewise.
18771 * resource/getpriority.c: Likewise.
18772 * resource/getrlimit.c: Likewise.
18773 * resource/getrusage.c: Likewise.
18774 * resource/nice.c: Likewise.
18775 * resource/setpriority.c: Likewise.
18776 * resource/setrlimit.c: Likewise.
18777 * resource/ulimit.c: Likewise.
18778 * rt/aio_cancel.c: Likewise.
18779 * rt/aio_fsync.c: Likewise.
18780 * rt/aio_read.c: Likewise.
18781 * rt/aio_sigqueue.c: Likewise.
18782 * rt/aio_suspend.c: Likewise.
18783 * rt/aio_write.c: Likewise.
18784 * rt/clock_getres.c: Likewise.
18785 * rt/clock_gettime.c: Likewise.
18786 * rt/clock_nanosleep.c: Likewise.
18787 * rt/clock_settime.c: Likewise.
18788 * rt/lio_listio.c: Likewise.
18789 * rt/mq_close.c: Likewise.
18790 * rt/mq_getattr.c: Likewise.
18791 * rt/mq_notify.c: Likewise.
18792 * rt/mq_open.c: Likewise.
18793 * rt/mq_receive.c: Likewise.
18794 * rt/mq_send.c: Likewise.
18795 * rt/mq_setattr.c: Likewise.
18796 * rt/mq_timedreceive.c: Likewise.
18797 * rt/mq_timedsend.c: Likewise.
18798 * rt/mq_unlink.c: Likewise.
18799 * rt/shm_open.c: Likewise.
18800 * rt/shm_unlink.c: Likewise.
18801 * rt/timer_create.c: Likewise.
18802 * rt/timer_delete.c: Likewise.
18803 * rt/timer_getoverr.c: Likewise.
18804 * rt/timer_gettime.c: Likewise.
18805 * rt/timer_settime.c: Likewise.
18806 * setjmp/__longjmp.c: Likewise.
18807 * setjmp/setjmp.c: Likewise.
18808 * signal/kill.c: Likewise.
18809 * signal/killpg.c: Likewise.
18810 * signal/raise.c: Likewise.
18811 * signal/sigaction.c: Likewise.
18812 * signal/sigaltstack.c: Likewise.
18813 * signal/sigblock.c: Likewise.
18814 * signal/sigignore.c: Likewise.
18815 * signal/sigintr.c: Likewise.
18816 * signal/signal.c: Likewise.
18817 * signal/sigpause.c: Likewise.
18818 * signal/sigpending.c: Likewise.
18819 * signal/sigqueue.c: Likewise.
18820 * signal/sigreturn.c: Likewise.
18821 * signal/sigset.c: Likewise.
18822 * signal/sigsetmask.c: Likewise.
18823 * signal/sigstack.c: Likewise.
18824 * signal/sigsuspend.c: Likewise.
18825 * signal/sigtimedwait.c: Likewise.
18826 * signal/sigvec.c: Likewise.
18827 * signal/sigwait.c: Likewise.
18828 * signal/sigwaitinfo.c: Likewise.
18829 * signal/sysv_signal.c: Likewise.
18830 * socket/accept.c: Likewise.
18831 * socket/accept4.c: Likewise.
18832 * socket/bind.c: Likewise.
18833 * socket/connect.c: Likewise.
18834 * socket/getpeername.c: Likewise.
18835 * socket/getsockname.c: Likewise.
18836 * socket/getsockopt.c: Likewise.
18837 * socket/isfdtype.c: Likewise.
18838 * socket/listen.c: Likewise.
18839 * socket/recv.c: Likewise.
18840 * socket/recvfrom.c: Likewise.
18841 * socket/recvmsg.c: Likewise.
18842 * socket/send.c: Likewise.
18843 * socket/sendmsg.c: Likewise.
18844 * socket/sendto.c: Likewise.
18845 * socket/setsockopt.c: Likewise.
18846 * socket/shutdown.c: Likewise.
18847 * socket/sockatmark.c: Likewise.
18848 * socket/socket.c: Likewise.
18849 * socket/socketpair.c: Likewise.
18850 * stdio-common/ctermid.c: Likewise.
18851 * stdio-common/cuserid.c: Likewise.
18852 * stdio-common/remove.c: Likewise.
18853 * stdio-common/rename.c: Likewise.
18854 * stdio-common/renameat.c: Likewise.
18855 * stdio-common/tempname.c: Likewise.
18856 * stdlib/getcontext.c: Likewise.
18857 * stdlib/makecontext.c: Likewise.
18858 * stdlib/setcontext.c: Likewise.
18859 * stdlib/swapcontext.c: Likewise.
18860 * stdlib/system.c: Likewise.
18861 * streams/fattach.c: Likewise.
18862 * streams/fdetach.c: Likewise.
18863 * streams/getmsg.c: Likewise.
18864 * streams/getpmsg.c: Likewise.
18865 * streams/putmsg.c: Likewise.
18866 * streams/putpmsg.c: Likewise.
18867 * sysdeps/unix/bsd/getpt.c: Likewise.
18868 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18869 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18870 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18872 Likewise.
18873 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18874 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18875 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18876 * sysvipc/msgctl.c: Likewise.
18877 * sysvipc/msgget.c: Likewise.
18878 * sysvipc/msgrcv.c: Likewise.
18879 * sysvipc/msgsnd.c: Likewise.
18880 * sysvipc/semctl.c: Likewise.
18881 * sysvipc/semget.c: Likewise.
18882 * sysvipc/semop.c: Likewise.
18883 * sysvipc/semtimedop.c: Likewise.
18884 * sysvipc/shmat.c: Likewise.
18885 * sysvipc/shmctl.c: Likewise.
18886 * sysvipc/shmdt.c: Likewise.
18887 * sysvipc/shmget.c: Likewise.
18888 * termios/tcdrain.c: Likewise.
18889 * termios/tcflow.c: Likewise.
18890 * termios/tcflush.c: Likewise.
18891 * termios/tcgetattr.c: Likewise.
18892 * termios/tcgetpgrp.c: Likewise.
18893 * termios/tcsendbrk.c: Likewise.
18894 * termios/tcsetattr.c: Likewise.
18895 * termios/tcsetpgrp.c: Likewise.
18896 * time/adjtime.c: Likewise.
18897 * time/clock.c: Likewise.
18898 * time/getitimer.c: Likewise.
18899 * time/gettimeofday.c: Likewise.
18900 * time/setitimer.c: Likewise.
18901 * time/settimeofday.c: Likewise.
18902 * time/stime.c: Likewise.
18903 * time/time.c: Likewise.
18904
189052012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18906
a20492cf
PT
18907 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18908 /usr/old/bin.
18909
72e182e3
PT
18910 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18911 instead of spaces.
18912 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18913
fbeafede
JM
189142012-11-03 Joseph Myers <joseph@codesourcery.com>
18915
5b5b04d6
JM
18916 [BZ #14796]
18917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18918 FE_TONEAREST before applying Dekker multiplication and Knuth
18919 addition. Clear inexact exceptions and check for exact zero
18920 results afterwards.
18921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18924 * math/libm-test.inc (fma_test): Add more tests.
18925 (fma_test_towardzero): Likewise.
18926 (fma_test_downward): Likewise.
18927 (fma_test_upward): Likewise.
18928 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18929 function.
18930 (libc_fesetround): New macro.
18931 (libc_fesetroundf): Likewise.
18932 (libc_fesetroundl): Likewise.
18933 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18934 function.
18935 (libc_fesetround_387): Likewise.
18936 (libc_fesetroundf): New macro.
18937 (libc_fesetround): Likewise.
18938 (libc_fesetroundl): Likewise.
18939 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18940 function.
18941 (libc_fesetroundf): New macro.
18942 (libc_fesetround): Likewise.
18943 (libc_fesetroundl): Likewise.
18944 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18945 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18946 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18947 libm_hidden_ver.
18948 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18949 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18950 libm_hidden_def.
18951 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18952 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18953 libm_hidden_ver.
18954 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18955 libm_hidden_def.
18956
fbeafede
JM
18957 [BZ #3439]
18958 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18959 integer constant usable in #if and use that to give value to enum
18960 constant.
18961 (FE_DIVBYZERO): Likewise.
18962 (FE_UNDERFLOW): Likewise.
18963 (FE_OVERFLOW): Likewise.
18964 (FE_INVALID): Likewise.
18965 (FE_INVALID_SNAN): Likewise.
18966 (FE_INVALID_ISI): Likewise.
18967 (FE_INVALID_IDI): Likewise.
18968 (FE_INVALID_ZDZ): Likewise.
18969 (FE_INVALID_IMZ): Likewise.
18970 (FE_INVALID_COMPARE): Likewise.
18971 (FE_INVALID_SOFTWARE): Likewise.
18972 (FE_INVALID_SQRT): Likewise.
18973 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18974 (FE_TONEAREST): Likewise.
18975 (FE_TOWARDZERO): Likewise.
18976 (FE_UPWARD): Likewise.
18977 (FE_DOWNWARD): Likewise.
18978 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18979 (FE_DIVBYZERO): Likewise.
18980 (FE_OVERFLOW): Likewise.
18981 (FE_UNDERFLOW): Likewise.
18982 (FE_INEXACT): Likewise.
18983 (FE_TONEAREST): Likewise.
18984 (FE_DOWNWARD): Likewise.
18985 (FE_UPWARD): Likewise.
18986 (FE_TOWARDZERO): Likewise.
18987 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18988 (FE_UNDERFLOW): Likewise.
18989 (FE_OVERFLOW): Likewise.
18990 (FE_DIVBYZERO): Likewise.
18991 (FE_INVALID): Likewise.
18992 (FE_TONEAREST): Likewise.
18993 (FE_TOWARDZERO): Likewise.
18994 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18995 (FE_OVERFLOW): Likewise.
18996 (FE_UNDERFLOW): Likewise.
18997 (FE_DIVBYZERO): Likewise.
18998 (FE_INEXACT): Likewise.
18999 (FE_TONEAREST): Likewise.
19000 (FE_TOWARDZERO): Likewise.
19001 (FE_UPWARD): Likewise.
19002 (FE_DOWNWARD): Likewise.
19003 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19004 (FE_DIVBYZERO): Likewise.
19005 (FE_OVERFLOW): Likewise.
19006 (FE_UNDERFLOW): Likewise.
19007 (FE_INEXACT): Likewise.
19008 (FE_TONEAREST): Likewise.
19009 (FE_DOWNWARD): Likewise.
19010 (FE_UPWARD): Likewise.
19011 (FE_TOWARDZERO): Likewise.
19012
105ca950
CM
190132012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19014
19015 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19016
a542b389
AS
190172012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19018
19019 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19020 commands. Quote $PWD.
19021 (blacklist_exports): Don't use remove_newlines. Replace "declare
19022 -x" by "export".
19023 (remove_newlines): Remove.
19024
f62c8abc
L
190252012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19026
19027 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19028 * stdlib/stdlib.h (atof): Moved to ...
19029 * include/bits/stdlib-float.h: Here. New file.
19030 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19031 * stdlib/bits/stdlib-float.h: New file.
19032 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19033 -mno-sse -mno-mmx.
19034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19035 <xmmintrin.h>.
19036
0155d5b2
JM
190372012-11-02 Joseph Myers <joseph@codesourcery.com>
19038
a68d0680
JM
19039 * conform/conformtest.pl (@headers): Add fenv.h.
19040 * conform/data/fenv.h-data: New file.
19041 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19042 include of <math/fenv.h>.
19043
caf7f573
JM
19044 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19045 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19046 && !UNIX98]. Enables tests for XOPEN2K8.
19047 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19048 POSIX2008]: Likewise.
19049
6c073ad6
JM
19050 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19051 (struct rusage): Do not expect type or its members.
19052
0155d5b2
JM
19053 [BZ #3439]
19054 * math/math.h (FP_NAN): Define macro to integer constant usable in
19055 #if and use that to give value to enum constant.
19056 (FP_INFINITE): Likewise.
19057 (FP_ZERO): Likewise.
19058 (FP_SUBNORMAL): Likewise.
19059 (FP_NORMAL): Likewise.
19060
b5dcacb4
AS
190612012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19062
19063 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19064 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19065 arguments.
19066
f7934be8
RM
190672012-11-02 Roland McGrath <roland@hack.frob.com>
19068
19069 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19070 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19071 autoconf-time if not.
19072 * configure.in: Remove AC_PREREQ.
19073
d7d08bde
TMQMF
190742012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19075
19076 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19077 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19078 of the internal implementation.
19079
dcdae19a
JM
190802012-11-02 Joseph Myers <joseph@codesourcery.com>
19081
19082 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19083 except include of <misc/sys/syslog.h>.
19084
d6cffd3e
AS
190852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19086
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19088 function returns with a NULL context exit with zero.
19089
b3563932
TMQMF
190902012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19091
19092 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19093
b288a93d
L
190942012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19095
19096 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19097 (run_program_cmd): This.
19098 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19099 (tst_langinfo): New variable. Use it.
19100
a2421a68
SAS
191012012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19102
19103 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19104 floating point opcodes.
19105
6f796e1b
TS
191062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19107
7402596b
TS
19108 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19109 variable.
19110
d0d4f868
TS
19111 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19112
6f796e1b
TS
19113 * sysdeps/mach/hurd/powerpc: Remove directory.
19114 * sysdeps/mach/powerpc: Likewise.
19115
4da224a2
AS
191162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19117
19118 * scripts/check-local-headers.sh: Ignore c++ headers.
19119
341dd673
TS
191202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19121
19122 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19123 __libc_cleanup_region_start argument.
19124
473611b2
JM
191252012-11-01 Joseph Myers <joseph@codesourcery.com>
19126
19127 [BZ #14784]
19128 [BZ #14785]
19129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19130 x * y using scaling, not as x * y + z.
19131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19133 * math/libm-test.inc (fma_test): Add more tests.
19134 (fma_test_towardzero): Likewise.
19135 (fma_test_downward): Likewise.
19136 (fma_test_upward): Likewise.
19137
4078da3d
TS
191382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19139
19140 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19141
903252aa
JM
191422012-10-31 Joseph Myers <joseph@codesourcery.com>
19143
19144 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19145 New variable.
19146
cbc818d0
TS
191472012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19148
19149 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19150
5a03cb1e
AS
191512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19152
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19154 Fix sort order.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19156 Likewise.
19157
90aff2ff
TMQMF
191582012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19159
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19161 Fix the order of the list for glibc 2.17.
19162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19163 Likewise.
19164
1818fcb7
AS
191652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19166
19167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19168
ef82f4da
JM
191692012-10-31 Joseph Myers <joseph@codesourcery.com>
19170
16a0e2ec
JM
19171 [BZ #14610]
19172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19173 for low part of x being zero before using __atanl (y).
19174 * math/libm-test.inc (atan2_test): Add another test.
19175
0eb69512
JM
19176 * manual/install.texi (Configuring and compiling): Document
19177 general use of test-wrapper and test-wrapper-env.
19178 * INSTALL: Regenerated.
19179
ef82f4da
JM
19180 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19181 (__fma): Do not extract and scale down low bits on after-rounding
19182 systems when result rounded to normal precision would have normal
19183 exponent.
19184 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19185 (__fmal): Do not extract and scale down low bits on after-rounding
19186 systems when result rounded to normal precision would have normal
19187 exponent.
19188 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19189 (__fmal): Do not extract and scale down low bits on after-rounding
19190 systems when result rounded to normal precision would have normal
19191 exponent.
19192 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19193 macro.
19194 (fma_test): Add more tests.
19195 (fma_test_towardzero): Likewise.
19196 (fma_test_downward): Likewise.
19197 (fma_test_upward): Likewise.
19198
954ef0d9
L
191992012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19200
19201 * sysdeps/i386/tininess.h: Renamed to ...
19202 * sysdeps/x86/tininess.h: This.
19203 * sysdeps/x86_64/tininess.h: Removed.
19204
df61ffb2
JM
192052012-10-30 Joseph Myers <joseph@codesourcery.com>
19206
19207 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19208 input. Use $(build-program-cmd).
19209 ($(objpfx)tst-array1-static.out): Likewise.
19210 ($(objpfx)tst-array2.out): Likewise.
19211 ($(objpfx)tst-array3.out): Likewise.
19212 ($(objpfx)tst-array4.out): Likewise.
19213 ($(objpfx)tst-array5.out): Likewise.
19214 ($(objpfx)tst-array5-static.out): Likewise.
19215
01767843
CM
192162012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19217
47cc1490
CM
19218 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19219 if defined.
19220
01767843
CM
19221 * nss/nsswitch.h (nss_interface_function): Provide new
19222 macro for use with NSS functions.
19223 * grp/initgroups.c: Use new macro.
19224 * nss/getXXbyYY.c: Likewise.
19225 * nss/getXXbyYY_r.c: Likewise.
19226 * nss/getXXent.c: Likewise.
19227 * nss/getXXent_r.c: Likewise.
19228 * sysdeps/posix/getaddrinfo.c: Likewise.
19229
8321aa97
AJ
192302012-10-30 Andreas Jaeger <aj@suse.de>
19231
19232 * po/ru.po: Update Russion translation from translation project.
19233
2a27fd6d
JM
192342012-10-30 Joseph Myers <joseph@codesourcery.com>
19235
8627a232
JM
19236 [BZ #14152]
19237 [BZ #14783]
19238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19239 result and shift together with sticky bit instead of replicating
19240 round-to-nearest rounding.
19241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19243 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19244 missing underflow exceptions.
19245 (fma_test_towardzero): Add more tests.
19246 (fma_test_downward): Likewise.
19247 (fma_test_upward): Likewise.
19248
2a27fd6d
JM
19249 [BZ #14047]
19250 * sysdeps/generic/tininess.h: New file.
19251 * sysdeps/i386/tininess.h: Likewise.
19252 * sysdeps/sh/tininess.h: Likewise.
19253 * sysdeps/x86_64/tininess.h: Likewise.
19254 * stdlib/tst-strtod-underflow.c: Likewise.
19255 * stdlib/tst-tininess.c: Likewise.
19256 * stdlib/strtod_l.c: Include <tininess.h>.
19257 (round_and_return): Do not set errno for exact underflow cases.
19258 Force an underflow exception when setting errno for underflow.
19259 Determine underflow based on rounding to normal precision if
19260 TININESS_AFTER_ROUNDING.
19261 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19262 ERANGE for exact underflow cases.
19263 * stdlib/Makefile (tests): Add tst-tininess and
19264 tst-strtod-underflow.
19265 ($(objpfx)tst-tininess): Use $(link-libm).
19266 ($(objpfx)tst-strtod-underflow): Likewise.
19267
e7170363
AJ
192682012-10-30 Andreas Jaeger <aj@suse.de>
19269
e5088dc6
AJ
19270 [BZ#14767]
19271 * elf/Makefile (tests): Remove conditional for have-initfini-array
19272 since this is now always required and the variable does not exist
19273 anymore.
19274 (tests-static): Likewise.
19275 (modules-names): Likewise.
19276
e7170363 19277 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19278
19279 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19280 merged with constructor/destructor.
19281 (init_array): Likewise.
19282 * elf/tst-array2dep.c (fini_array): Likewise.
19283 (init_array): Likewise.
19284
60457d8a
MF
192852012-10-29 Mike Frysinger <vapier@gentoo.org>
19286
19287 * manual/message.texi: Delete @cartouche tags.
19288
8bece752
PT
192892012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19290
94ce799f
PT
19291 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19292 EOPNOTSUPP.
19293 * sysdeps/mach/hurd/fsync.c: Likewise.
19294
8bece752
PT
19295 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19296 [_POSIX_REALTIME_SIGNALS]: Change condition to
19297 [_POSIX_REALTIME_SIGNALS > 0].
19298
86ebe6b1
AJ
192992012-10-27 Andreas Jaeger <aj@suse.de>
19300
19301 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19302 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19304 [__WORDSIZE != 64]: Likewise.
19305
54399c08
L
193062012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19307
19308 * iconvdata/tst-table.sh: Remove ${SHELL}.
19309 * iconvdata/tst-tables.sh: Likewise.
19310
e2211bed
DM
193112012-10-25 David S. Miller <davem@davemloft.net>
19312
19313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19314 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19315 of strtoull.
19316
f303f97c
DM
19317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19318 ifunc-impl-list.c
19319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19320 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19321 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19322 file.
19323
1e9d84cd
RM
193242012-10-25 Roland McGrath <roland@hack.frob.com>
19325
19326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19327 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19328 __getdirentries.
19329
df381762
JM
193302012-10-25 Joseph Myers <joseph@codesourcery.com>
19331 Jim Blandy <jimb@codesourcery.com>
19332
19333 * scripts/cross-test-ssh.sh: New file.
19334 * manual/install.texi (Configuring and compiling): Document use of
19335 cross-test-ssh.sh.
19336 * INSTALL: Regenerated.
19337
bff64913
PT
193382012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19339
19340 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19341 EOPNOTSUPP.
19342
25fe8932
JM
193432012-10-25 Joseph Myers <joseph@codesourcery.com>
19344
19345 * Makeconfig (run-program-prefix): Fix comment.
19346
cc1290d0
JM
193472012-10-24 Joseph Myers <joseph@codesourcery.com>
19348 Jim Blandy <jimb@codesourcery.com>
19349
19350 * Makeconfig (test-wrapper): New variable,
19351 (test-wrapper-env): Likewise.
19352 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19353 (run-built-tests): Define to yes.
19354 (run-program-prefix): Use $(test-wrapper).
19355 (built-program-cmd): Likewise.
19356 * Rules (make-test-out): Use $(test-wrapper-env) and
19357 $(host-built-program-cmd).
19358 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19359 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19360 tst-pathopt.sh.
19361 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19362 $(test-wrapper-env) to tst-rtld-load-self.sh.
19363 ($(objpfx)order2.out): Use $(test-wrapper).
19364 ($(objpfx)tst-initorder.out): Likewise.
19365 ($(objpfx)tst-initorder2.out): Likewise.
19366 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19367 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19368 (test_wrapper_env): New variable. Use it to run ld.so.
19369 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19370 Use it to run ld.so.
19371 (test_wrapper_env): Likewise.
19372 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19373 $(test-wrapper) to run-iconv-test.sh.
19374 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19375 (ICONV): Use $test_wrapper.
19376 * posix/Makefile ($(objpfx)globtest.out): Pass
19377 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19378 globtest.sh, not $(run-program-prefix).
19379 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19380 (test_wrapper): Likewise.
19381 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19382 set together with run_via_rtld_prefix.
19383 (run_program_prefix): Define in terms of test_wrapper and
19384 run_via_rtld_prefix.
19385
6e6249d0
RM
193862012-10-24 Roland McGrath <roland@hack.frob.com>
19387
19388 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19389 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19390 Targets removed.
19391
19392 [BZ #14743]
19393 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19394 Declare __clock_getres, __clock_gettime, __clock_settime,
19395 __clock_nanosleep, and __clock_getcpuclockid.
19396 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19397 Remove librt_hidden_def (clock_gettime).
19398 * sysdeps/unix/clock_gettime.c: Likewise.
19399 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19400 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19401 * rt/clock_getres.c: Define __clock_getres as an alias.
19402 * sysdeps/posix/clock_getres.c: Likewise.
19403 * rt/clock_settime.c: Define __clock_settime as an alias.
19404 * sysdeps/unix/clock_settime.c: Likewise.
19405 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19406 * sysdeps/unix/clock_nanosleep.c: Likewise.
19407 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19408 * rt/clock-compat.c: New file.
19409 * rt/Makefile (librt-routines): Add clock-compat and move
19410 $(clock-routines) to ...
19411 (routines): ... here, new variable.
19412 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19413 Don't add get_clockfreq here.
19414 * rt/Versions (libc: GLIBC_2.17): New version set.
19415 Add clock_* symbols here.
19416 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19418 (GLIBC_2.17): Add clock_* symbols.
19419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19423 Likewise.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19425 Likewise.
19426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19430 * NEWS: Mention the move.
19431
19432 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19433 Use __open, __read, __close rather than their public counterparts.
19434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19435 (__get_clockfreq_via_cpuinfo): Likewise.
19436 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19437 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19438
19439 * config.h.in (HAVE_IFUNC): New #undef.
19440 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19441 was successful.
19442 * configure: Regenerated.
19443
0cae3f4b
MF
194442012-10-24 Mike Frysinger <vapier@gentoo.org>
19445
19446 * configure.in: Move READELF check to start of file.
19447 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19448 libc_cv_asm_gnu_indirect_function in the process.
19449 * configure: Regenerated.
19450
8175a253
MF
194512012-10-24 Mike Frysinger <vapier@gentoo.org>
19452
19453 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19454 send the output to /dev/null.
19455 (libc_cv_cc_with_libunwind): Likewise.
19456 (libc_cv_as_noexecstack): Likewise.
19457 * configure: Regenerate.
19458
0708a7d1
JM
194592012-10-24 Joseph Myers <joseph@codesourcery.com>
19460
10b40d85
JM
19461 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19462
0708a7d1
JM
19463 * posix/globtest.sh (TMPDIR): Do not set.
19464 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19465 (testout): Likewise.
19466
9fddec1a
AJ
194672012-10-24 Andreas Jaeger <aj@suse.de>
19468
3a8db22f
AJ
19469 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19470 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19471 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19472 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19473 posix_fadvise64, posix_fallocate64.
19474
9fddec1a
AJ
19475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19476 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19477 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19478 Likewise.
19479 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19480 Likewise.
19481 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19482
19483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19484 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19485 <bits/fcntl-linux.h>.
19486 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19487
19488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19489 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19490 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19491 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19492 [__WORDSIZE != 64]: Likewise.
19493
ebfd1bbd
JM
194942012-10-23 Joseph Myers <joseph@codesourcery.com>
19495
03ac099f
JM
19496 * Makeconfig (run-built-tests): New variable.
19497 * Rules [$(cross-compiling) = yes]: Change condition to
19498 [$(run-built-tests) = no].
19499 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19500 to [$(run-built-tests) = yes].
19501 * elf/Makefile [$(cross-compiling) = no]: Likewise
19502 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19503 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19504 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19505 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19506 * io/Makefile [$(cross-compiling) = no]: Likewise.
19507 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19508 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19509 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19510 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19511 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19512 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19513 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19514 * string/Makefile [$(cross-compiling) = no]: Likewise.
19515
ebfd1bbd
JM
19516 * posix/Makefile ($(objpfx)globtest.out): Pass
19517 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19518 $(rtld-installed-name).
19519 * posix/globtest.sh (elf_objpfx): Remove variable.
19520 (rtld_installed_name): Likewise.
19521 (library_path): Likewise.
19522 (run_program_prefix): New variable. Use for running globtest
19523 binary.
19524
166bca24
JB
195252012-10-23 Jim Blandy <jimb@codesourcery.com>
19526 Joseph Myers <joseph@codesourcery.com>
19527
19528 * Makeconfig (host-built-program-cmd): New variable.
19529 * elf/Makefile (tst-stackguard1-ARGS): Use
19530 $(host-built-program-cmd).
19531 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19532 (tst-spawn-ARGS): Likewise.
19533 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19534
88866099
JM
195352012-10-23 Joseph Myers <joseph@codesourcery.com>
19536 Jim Blandy <jimb@codesourcery.com>
19537
19538 * Makeconfig (run-via-rtld-prefix): New variable.
19539 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19540 (built-program-cmd): Likewise.
19541
b4b4c296
AJ
195422012-10-22 Andreas Jaeger <aj@suse.de>
19543
19544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19545 __O_RSYNC if it exists, otherwise to O_SYNC.
19546
6fb54a22
JB
195472012-10-22 Jim Blandy <jimb@codesourcery.com>
19548 Joseph Myers <joseph@codesourcery.com>
19549
19550 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19551 /dev/null.
19552 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19553 from /dev/null
19554 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19555 /dev/null.
19556
481b90b9
AJ
195572012-10-22 Andreas Jaeger <aj@suse.de>
19558
2a0e2669
AJ
19559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19560 Define always.
19561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19562
76e38f9a
AJ
19563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19564 bits/fcntl-linux.h.
19565
7cd37b43
AJ
19566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19567 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19568
481b90b9
AJ
19569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19570 to __O_LARGEFILE.
19571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19572 to __O_LARGEFILE.
19573
aba75984
JB
195742012-10-21 Jim Blandy <jimb@codesourcery.com>
19575 Joseph Myers <joseph@codesourcery.com>
19576
19577 * config.make.in (NM): New variable.
19578
88d4247f
AJ
195792012-10-21 Andreas Jaeger <aj@suse.de>
19580
19581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19582 definitions and declarations that are provided by
19583 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19584
f2eed205
L
195852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19586
19587 [BZ #14683]
19588 * elf/Makefile (tests-static): Add tst-leaks1-static.
19589 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19590 ($(objpfx)tst-leaks1-static): New rule.
19591 ($(objpfx)tst-leaks1-static-mem): Likewise.
19592 (tst-leaks1-static-ENV): New macro.
19593 * elf/dl-open.c (dl_open_worker): Check the main application
19594 only if SHARED is defined.
19595 * elf/tst-leaks1-static.c: New file.
19596
335e6931
AJ
195972012-10-20 Andreas Jaeger <aj@suse.de>
19598
19599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19600 generic values for Linux.
19601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19602 and declarations that are provided by <bits/fcntl-linux.h> and
19603 include <bits/fcntl-linux.h>.
19604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19606
ac5c94d3
RM
196072012-10-20 Roland McGrath <roland@hack.frob.com>
19608
19609 * io/fcntl.h: Move include of <bits/types.h> to the top and
19610 include it unconditionally.
19611
de54b33a
L
196122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19613
228cfb01
L
19614 * wcsmbs/Makefile (tests-ifunc): New variable.
19615 (tests): Add $(tests-ifunc).
19616 * wcsmbs/test-wcschr-ifunc.c: New file.
19617 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19618 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19619 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19620 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19621 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19622
69f07e5f
L
19623 * string/Makefile (tests-ifunc): New variable.
19624 (tests): Add $(tests-ifunc).
19625 * string/test-memccpy.c (TEST_NAME): New macro.
19626 * string/test-memchr.c (TEST_NAME): Likewise.
19627 * string/test-memcmp.c (TEST_NAME): Likewise.
19628 * string/test-memcpy.c (TEST_NAME): Likewise.
19629 * string/test-memmem.c (TEST_NAME): Likewise.
19630 * string/test-memmove.c (TEST_NAME): Likewise.
19631 * string/test-memset.c (TEST_NAME): Likewise.
19632 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19633 * string/test-stpcpy.c (TEST_NAME): Likewise.
19634 * string/test-stpncpy.c (TEST_NAME): Likewise.
19635 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19636 * string/test-strcasestr.c (TEST_NAME): Likewise.
19637 * string/test-strcat.c (TEST_NAME): Likewise.
19638 * string/test-strchr.c (TEST_NAME): Likewise.
19639 * string/test-strcmp.c(TEST_NAME): Likewise.
19640 * string/test-strcpy.c (TEST_NAME): Likewise.
19641 * string/test-strcspn.c (TEST_NAME): Likewise.
19642 * string/test-strlen.c (TEST_NAME): Likewise.
19643 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19644 * string/test-strncmp.c (TEST_NAME): Likewise.
19645 * string/test-strncpy.c (TEST_NAME): Likewise.
19646 * string/test-strnlen.c (TEST_NAME): Likewise.
19647 * string/test-strpbrk.c (TEST_NAME): Likewise.
19648 * string/test-strrchr.c (TEST_NAME): Likewise.
19649 * string/test-strspn.c (TEST_NAME): Likewise.
19650 * string/test-strstr.c (TEST_NAME): Likewise.
19651 * string/test-bcopy-ifunc.c: New file.
19652 * string/test-bzero-ifunc.c: Likewise.
19653 * string/test-memccpy-ifunc.c: Likewise.
19654 * string/test-memchr-ifunc.c: Likewise.
19655 * string/test-memcmp-ifunc.c: Likewise.
19656 * string/test-memcpy-ifunc.c: Likewise.
19657 * string/test-memmem-ifunc.c: Likewise.
19658 * string/test-memmove-ifunc.c: Likewise.
19659 * string/test-mempcpy-ifunc.c: Likewise.
19660 * string/test-memset-ifunc.c: Likewise.
19661 * string/test-rawmemchr-ifunc.c: Likewise.
19662 * string/test-stpcpy-ifunc.c: Likewise.
19663 * string/test-stpncpy-ifunc.c: Likewise.
19664 * string/test-strcasecmp-ifunc.c: Likewise.
19665 * string/test-strcasestr-ifunc.c: Likewise.
19666 * string/test-strcat-ifunc.c: Likewise.
19667 * string/test-strchr-ifunc.c: Likewise.
19668 * string/test-strchrnul-ifunc.c: Likewise.
19669 * string/test-strcmp-ifunc.c: Likewise.
19670 * string/test-strcpy-ifunc.c: Likewise.
19671 * string/test-strcspn-ifunc.c: Likewise.
19672 * string/test-strlen-ifunc.c: Likewise.
19673 * string/test-strncasecmp-ifunc.c: Likewise.
19674 * string/test-strncat-ifunc.c: Likewise.
19675 * string/test-strncmp-ifunc.c: Likewise.
19676 * string/test-strncpy-ifunc.c: Likewise.
19677 * string/test-strnlen-ifunc.c: Likewise.
19678 * string/test-strpbrk-ifunc.c: Likewise.
19679 * string/test-strrchr-ifunc.c: Likewise.
19680 * string/test-strspn-ifunc.c: Likewise.
19681 * string/test-strstr-ifunc.c: Likewise.
19682
de54b33a
L
19683 * debug/Makefile (tests-ifunc): New variable.
19684 (tests): Add $(tests-ifunc).
19685 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19686 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19687 * debug/test-stpcpy_chk-ifunc.c: New file.
19688 * debug/test-strcpy_chk-ifunc.c: Likewise.
19689
88481c16
SP
196902012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19691
19692 [BZ #13601]
19693 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19694 header is not read in.
19695
135948bd
JM
196962012-10-19 Joseph Myers <joseph@codesourcery.com>
19697
89f1c388
JM
19698 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19699 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19700 directly. Pass built executable to script as
19701 $(built-program-cmd).
19702 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19703 $testprogram without using LD_LIBRARY_PATH and $ldso.
19704
e40a0d21
JM
19705 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19706 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19707 $(rtld-installed-name).
19708 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19709 (rtld_installed_name): Likewise.
19710 (library_path): Likewise.
19711 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19712 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19713 $(run-program-prefix) to tst-tables.sh.
19714 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19715 it to run tst-table-from and tst-table-to.
19716 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19717 Pass it to tst-table.sh.
19718 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19719 $(run-program-prefix) to tst-gettext.sh.
19720 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19721 tst-translit.sh.
19722 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19723 tst-gettext2.sh.
19724 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19725 to run tst-gettext.
19726 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19727 to run tst-gettext2.
19728 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19729 to run tst-translit.
19730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19731 $(run-program-prefix) to tst-mtrace.sh.
19732 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19733 to run tst-mtrace.
19734 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19735 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19736 $(rtld-installed-name).
19737 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19738 (rtld_installed_name): Likewise.
19739 (run_program_prefix): New variable. Use it to run wordexp-test.
19740
728e272a
JM
19741 * Makeconfig (ARCH): Remove all definitions.
19742 (machine): Likewise.
19743 [ARCH]: Remove conditional code.
19744 [!objdir]: Give error.
19745 [!objdir] (objpfx): Remove.
19746 [!objdir] (common-objpfx): Likewise.
19747 [!objdir] (common-objdir): Likewise.
19748 * configure.in (config_makefile): Remove. Hardcode Makefile in
19749 AC_CONFIG_FILES call.
19750 * configure: Regenerated.
19751
d528cdcf
JM
19752 [BZ #13888]
19753 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19754 or TMPDIR.
19755 (testout): Likewise.
19756
135948bd
JM
19757 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19758 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19759 $(rtld-installed-name).
19760 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19761 (rtld_installed_name): Likwise.
19762 (runit): Remove function.
19763 (run_getconf): New variable, Use it for running getconf binary.
19764
38c78296
L
197652012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19766
19767 [BZ #14716]
19768 * string/test-memmem.c (check_result): New function.
19769 (do_one_test): Use it.
19770 (check1): New function.
19771 (test_main): Use it.
19772
d077f65f
MT
197732012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19774
19775 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19776
ced52c71
JM
197772012-10-18 Joseph Myers <joseph@codesourcery.com>
19778
19779 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19780 (_G_LSEEK64): Likewise.
19781 (_G_MMAP64): Likewise.
19782 (_G_FSTAT64): Likewise.
19783 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19784 (_G_LSEEK64): Likewise.
19785 (_G_MMAP64): Likewise.
19786 (_G_FSTAT64): Likewise.
19787 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19788 unconditional. Call __mmap64 directly.
19789 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19790 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19791 __lseek64 directly.
19792 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19793 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19794 __mmap64 directly.
19795 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19796 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19797 __lseek64 directly.
19798 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19799 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19800 __lseek64 directly.
19801 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19802 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19803 __lseek64 directly.
19804 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19805 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19806 __fxstat64 directly.
19807 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19808 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19809 unconditional.
19810 (freopen64) [!_G_OPEN64]: Remove conditional code.
19811 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19812 unconditional.
19813 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19814 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19815 unconditional.
19816 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19817 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19818 unconditional.
19819 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19820 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19821 unconditional.
19822 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19823 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19824 unconditional.
19825 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19826 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19827 unconditional.
19828 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19829 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19830 unconditional.
19831 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19832
b741de23
SP
198332012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19834
19835 [BZ #12140]
19836 * manual/memory.texi (Malloc Tunable Parameters): Add note
19837 about free list pointers overwriting some perturb bytes.
19838 Wording suggested by Roland McGrath.
19839
f9b9d9c9
JM
198402012-10-17 Joseph Myers <joseph@codesourcery.com>
19841
19842 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19843 (lgamma_test): Likewise.
19844 (tgamma_test): Likewise.
19845
172a631a
FW
198462012-10-16 Florian Weimer <fweimer@redhat.com>
19847
19848 [BZ #14700]
19849 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19850 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19851
e9f37252
MK
198522012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19853
19854 * NEWS: Mention BZ #14716.
19855 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19856 when removing AVAILABLE1_USES_J macro.
19857
d394eb74
L
198582012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19859
19860 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19861 (__bswap_64): __uint64_t for unsigned 64-bit int.
19862
ca38dc17
AS
198632012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19864
19865 * include/string.h (memmem): Declare libc hidden alias.
19866 * string/memmem.c (memmem): Define libc hidden alias.
19867 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19868 __read, __close instead of open, read, close.
19869
9a387d1f
L
198702012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19871
ac49ecaf
L
19872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19873 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19874 global and hidden.
19875 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19876 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19877 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19878 Likewise.
19879 (__rawmemchr_sse2): Likewise.
19880 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19881 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19882 (__strchr_sse2): Likewise.
19883 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19884 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19885 (__strcasecmp_sse2): Likewise.
19886 (__strncasecmp_sse2): Likewise.
19887 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19888 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19889 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19890 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19891 (__strrchr_sse2): Likewise.
19892 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19893 ifunc-impl-list.c.
19894 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19895 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19896 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19897 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19898 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19899 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19900 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19901 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19902 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19903 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19904 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19905 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19906 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19907 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19908 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19909 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19910 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19911 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19912 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19913 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19914 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19915 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19916 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19917 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19918 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19919 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19920 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19921 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19922 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19923 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19924
b090e8ea
L
19925 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19926 global and hidden.
19927 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19928 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19929 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19930 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19931 Likewise.
19932 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19933 Likewise.
19934 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19935 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19936 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19937 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19938 ifunc-impl-list.c.
19939 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19942 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19943 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19945 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19946 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19973 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19980
11dd4af6
L
19981 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19982 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19983 * include/ifunc-impl-list.h: New file.
19984 * misc/ifunc-impl-list.c: Likewise.
19985 * misc/Makefile (routines): Add ifunc-impl-list.
19986 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19987 * string/test-string.h: Include <ifunc-impl-list.h>.
19988 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19989 impl_array): New variables.
19990 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19991 are defined.
19992 (test_init): Call __libc_ifunc_impl_list to initialize
19993 func_list if TEST_IFUNC and TEST_NAME are defined.
19994
9a387d1f
L
19995 * string/Makefile (strop-tests): Add bcopy and bzero.
19996 * string/test-bcopy.c: New file.
19997 * string/test-bzero.c: Likewise.
19998 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19999 defined.
20000 * string/test-memset.c: Support bzero test if TEST_BZERO is
20001 defined.
20002 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20003 __libc_memmove.
20004 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20005 __libc_memset.
20006 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20007 of memset.
20008
472371b9
JM
200092012-10-10 Joseph Myers <joseph@codesourcery.com>
20010
1e4a9536
JM
20011 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20012 * configure: Regenerated.
20013
d173d12e
JM
20014 * Makeconfig (+link-static-before-libc): Don't include
20015 $(link-static-libc).
20016
472371b9
JM
20017 * libio/libio.h (_IO_pos_t): Remove.
20018
89a3ad0b
AO
200192012-10-10 Alexandre Oliva <aoliva@redhat.com>
20020
20021 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20022 McGrath.
20023
e7451425
AO
200242012-10-10 Alexandre Oliva <aoliva@redhat.com>
20025
20026 * crypt/crypt-entry.c: Include fips-private.h.
20027 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20028 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20029 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20030 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20031
4ba74a35
AO
200322012-10-10 Alexandre Oliva <aoliva@redhat.com>
20033
20034 * crypt/crypt-private.h: Include stdbool.h.
20035 (_ufc_setup_salt_r): Return bool.
20036 * crypt/crypt-entry.c: Include errno.h.
20037 (__crypt_r): Return NULL with EINVAL for bad salt.
20038 * crypt/crypt_util.c (bad_for_salt): New.
20039 (_ufc_setup_salt_r): Check that salt is long enough and within
20040 the specified alphabet.
20041 * crypt/badsalttest.c: New file.
20042 * crypt/Makefile (tests): Add it.
20043 ($(objpfx)badsalttest): New.
20044
f96f1242
MK
200452012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20046
20047 * NEWS: Add entry for BZ #14602.
20048
0e8e0c1c
JM
200492012-10-09 Joseph Myers <joseph@codesourcery.com>
20050
20051 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20052 type-generic.
20053 * math/libm-test.inc: Update comment listing what functions and
20054 macros are tested.
20055 (isgreater_test): New function.
20056 (isgreaterequal_test): Likewise.
20057 (isless_test): Likewise.
20058 (islessequal_test): Likewise.
20059 (islessgreater_test): Likewise.
20060 (isunordered_test): Likewise.
20061 (main): Call the new functions.
20062
273edc5e
RM
200632012-10-09 Roland McGrath <roland@hack.frob.com>
20064
b8493de0
RM
20065 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20066 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20067 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20068 * sysdeps/i386/configure: Regenerated.
20069 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20070 * sysdeps/mach/configure: Regenerated.
20071 * sysdeps/mach/hurd/configure: Regenerated.
20072 * sysdeps/powerpc/configure: Regenerated.
20073 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20074 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20075 * sysdeps/s390/s390-32/configure: Regenerated.
20076 * sysdeps/s390/s390-64/configure: Regenerated.
20077 * sysdeps/sh/configure: Regenerated.
20078 * sysdeps/sparc/configure: Regenerated.
20079 * sysdeps/unix/sysv/linux/configure: Regenerated.
20080 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20081 * sysdeps/x86_64/configure: Regenerated.
20082
273edc5e
RM
20083 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20084 defined. Don't check if MAP is NULL.
20085
c8450f70
JM
200862012-10-09 Joseph Myers <joseph@codesourcery.com>
20087
20088 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20089 (_G_stat64): Likewise.
20090 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20091 (_G_stat64): Likewise.
20092 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20093 instead of struct _G_stat64.
20094 * libio/fileops.c (mmap_remap_check): Likewise.
20095 (decide_maybe_mmap): Likewise.
20096 (_IO_new_file_seekoff): Likewise.
20097 (_IO_file_stat): Likewise.
20098 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20099 _G_off64_t.
20100 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20101 instead of struct _G_stat64.
20102 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20103
57e605ba
MK
201042012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20105
20106 [BZ #14602]
20107 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20108 Replace with ...
20109 (CHECK_EOL): New macro.
20110 (two_way_short_needle): Check beginning of haystack for EOL. Use
20111 CHECK_EOL.
20112 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20113 Replace with CHECK_EOL.
20114 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20115 Replace with CHECK_EOL.
20116
ef1bb361
JM
201172012-10-08 Joseph Myers <joseph@codesourcery.com>
20118
20119 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20120 type-generic.
20121 * math/libm-test.inc: Update comment listing what functions and
20122 macros are tested.
20123 (finite_test): New function.
20124 (isinf_test): Likewise.
20125 (isnan_test): Likewise.
20126 (fpclassify_test): Test subnormal input.
20127 (isfinite_test): Likewise.
20128 (isnormal_test): Likewise.
20129 (main): Call the new functions.
20130
55f11534
JN
201312012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20132
20133 [BZ #14660]
20134 * Makerules (%.dynsym): Force C locale when running
20135 $(OBJDUMP) --dynamic-syms.
20136
1ab29350
AS
201372012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20138
20139 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20140 <stdint.h>.
20141
f1ecb7ef
DM
201422012-10-06 David S. Miller <davem@davemloft.net>
20143
20144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20145 upper 32-bits of the length value in %o2 since we use branch-on-register
20146 tests which consider the entire 64-bit register.
20147
5d41d91a
L
201482012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 * string/test-strstr.c (check2): Add a test for page boundary.
20151
3baddb72
DM
201522012-10-05 David S. Miller <davem@davemloft.net>
20153
20154 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20155 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20156 file.
20157 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20158 sysdep_routines.
20159 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20160 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20161 and bzero when HWCAP_SPARC_CRYPTO is present.
20162
9cee5585
L
201632012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20164
d7e0dab9
L
20165 [BZ #14602]
20166 * string/test-strstr.c (check2): New function.
20167 (test_main): Call check2.
20168
03759f47
L
20169 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20170 and bug-strchr1.
20171 * string/bug-strcasestr1.c (do_test): Moved to ...
20172 * string/test-strcasestr.c (check1): Here. New function.
20173 (do_one_test): Break out result checking code into ...
20174 (check_result): This. New function.
20175 (do_one_test): Call check_result.
20176 (test_main): Call check1.
20177 * string/bug-strchr1.c (do_test): Moved to ...
20178 * string/test-strchr.c (check1): Here. New function.
20179 (do_one_test): Break out result checking code into ...
20180 (check_result): This. New function.
20181 (do_one_test): Call check_result.
20182 (test_main): Call check1.
20183 * string/bug-strstr1.c (main): Moved to ...
046f153e 20184 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20185 (do_one_test): Break out result checking code into ...
20186 (check_result): This. New function.
20187 (do_one_test): Call check_result.
20188 (test_main): Call check1.
20189 * string/bug-strcasestr1.c: Removed.
20190 * string/bug-strchr1.c: Likewise.
20191 * string/bug-strstr1.c: Likewise.
20192
53cea63e
L
20193 * elf/Makefile (dl-routines): Add hwcaps.
20194 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20195 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20196 (_dl_important_hwcaps): Moved to ...
20197 * elf/dl-hwcaps.c: Here. New file.
20198 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20199
9cee5585 20200 [BZ #14557]
bb859b06
L
20201 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20202 if IS_IN_rtld isn't defined.
20203
9cee5585
L
20204 * elf/dl-support.c (_dl_sysinfo_map): New.
20205 Include "get-dynamic-info.h" and "setup-vdso.h".
20206 (_dl_non_dynamic_init): Call setup_vdso.
20207 * elf/dynamic-link.h: Don't include <assert.h>.
20208 (elf_get_dynamic_info): Moved to ...
20209 * elf/get-dynamic-info.h: Here. New file.
20210 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20211 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20212 * elf/setup-vdso.h: Here. New file.
20213 * elf/rtld.c: Include "setup-vdso.h".
20214 (dl_main): Call setup_vdso.
20215
23c31b76
JM
202162012-10-05 Joseph Myers <joseph@codesourcery.com>
20217
28234b07
JM
20218 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20219 creal in comment listing functions tested. List finite, isinf,
20220 isnan, isless, islessequal, isgreater, isgreaterequal,
20221 islessgreater, isunordered, lgamma_r and pow10 as functions and
20222 macros not tested. Mention which functions not tested are aliases
20223 for other functions. Fix typo. Note that signs of NaNs are not
20224 tested.
20225
23c31b76
JM
20226 * scripts/config.guess: Update from config.git.
20227 * scripts/config.sub: Likewise.
20228
9043e228
RM
202292012-10-04 Roland McGrath <roland@hack.frob.com>
20230
20231 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20232 * misc/madvise.c (madvise): Renamed to __madvise.
20233 Make madvise a weak alias.
20234 * include/sys/mman.h: Declare __madvise.
20235 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20236 * sysdeps/unix/syscalls.list
20237 (madvise): Make __madvise the strong name, and madvise a weak alias.
20238 * sysdeps/unix/sysv/linux/syscalls.list
20239 (madvise, mmap): Remove redundant entries.
20240 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20241 * malloc/malloc.c (mtrim): Likewise.
20242 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20243
f57f8055
RM
202442012-10-03 Roland McGrath <roland@hack.frob.com>
20245
20246 * sysdeps/mach/hurd/dl-cache.c: File removed.
20247 * config.h.in (USE_LDCONFIG): New #undef.
20248 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20249 * configure: Regenerated.
20250 * elf/Makefile (dl-routines): Add dl-cache only under
20251 [$(use-ldconfig) = yes].
20252 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20253 cache on [USE_LDCONFIG].
20254 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20255 [USE_LDCONFIG].
20256 * elf/rtld.c (dl_main): Likewise.
20257
5bb0c10a
PT
202582012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20259
20260 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20261 _SC_LEVEL4_CACHE_LINESIZE.
20262
010188c6
RM
202632012-10-03 Roland McGrath <roland@hack.frob.com>
20264
20265 * sysdeps/unix/bsd/confstr.h: File removed.
20266
b6c5ec07
AO
202672012-10-02 Alexandre Oliva <aoliva@redhat.com>
20268
20269 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20270 sys/sdt-config.h.
20271
408223d4
RM
202722012-10-02 Roland McGrath <roland@hack.frob.com>
20273
20274 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20275 Make 'mapoff' field ElfW(Off) rather than off_t.
20276
bb9510dc
DL
202772012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20278
fc997c6e
DL
20279 * nscd/Makefile: Remove nscd-cflags and all its users.
20280 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20281 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20282
bb9510dc
DL
20283 [BZ #10631]
20284 * malloc.c (malloc_printerr): Clarify error message.
20285
05699367
L
202862012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20287
20288 [BZ #14648]
20289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20290 Set bit_FMA_Usable if FMA is supported.
20291 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20292 macro.
20293 (bit_FMA4_Usable): Updated.
20294 (index_FMA_Usable): New macro.
20295 (CPUID_FMA): Likewise
20296 (HAS_FMA): Defined with bit_FMA_Usable.
20297
51367701
RM
202982012-10-01 Roland McGrath <roland@hack.frob.com>
20299
20300 * bits/types.h (__swblk_t): Type removed.
20301 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20302 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20304 (__SWBLK_T_TYPE): Likewise.
20305 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20306 (__SWBLK_T_TYPE): Likewise.
20307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20308 (__SWBLK_T_TYPE): Likewise.
20309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20310 (__SWBLK_T_TYPE): Likewise.
20311
4d57bf63 203122012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20313 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20314
20315 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20316 (xdr_mapname): Use YPMAXMAP as maxsize.
20317 (xdr_peername): Use YPMAXPEER as maxsize.
20318 (xdr_keydat): Use YPAXRECORD as maxsize.
20319 (xdr_valdat): Use YPMAXRECORD as maxsize.
20320
93c65d43
RM
203212012-10-01 Roland McGrath <roland@hack.frob.com>
20322
497a03d6
RM
20323 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20324
93c65d43
RM
20325 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20326 * csu/init-first.c: ... here.
20327 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20328 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20329 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20330 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20331 * sysdeps/i386/init-first.c: File removed.
20332 * sysdeps/sh/init-first.c: File removed.
20333
bec749fd
JM
203342012-10-01 Joseph Myers <joseph@codesourcery.com>
20335
20336 [BZ #14645]
20337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20338 if x * y might underflow to zero and z is zero.
20339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20341 * math/libm-test.inc (min_subnorm_value): New variable.
20342 (fma_test): Add more tests.
20343 (fma_test_towardzero): Likewise.
20344 (fma_test_downward): Likewise
20345 (fma_test_upward): Likewise.
20346 (initialize): Set min_subnorm_value.
20347
8ec5b013
JM
203482012-09-29 Joseph Myers <joseph@codesourcery.com>
20349
20350 [BZ #14638]
20351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20352 0 + 0.
20353 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20354 mode for addition resulting in exact zero.
20355 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20357 exact 0 + 0.
20358 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20360 * math/libm-test.inc (fma_test): Add more tests.
20361 (fma_test_towardzero): New function.
20362 (fma_test_downward): Likewise.
20363 (fma_test_upward): Likewise.
20364 (main): Call the new functions.
20365
b1fa802e
DM
203662012-09-28 David S. Miller <davem@davemloft.net>
20367
20368 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20369
d3b9fd9e
RM
203702012-09-28 Roland McGrath <roland@hack.frob.com>
20371
ea4d37b3
RM
20372 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20373 instead of SIGALRM.
20374
ac51c949
RM
20375 * sysdeps/gnu/_G_config.h: Moved to ...
20376 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20377 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20378 * sysdeps/generic/_G_config.h: ... here.
20379
28c195f7
RM
20380 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20381
848917f9
RM
20382 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20383
6bacf05b
RM
20384 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20385 Conditionalize target on [libnss_test1.so-version].
20386
91363dbb
RM
20387 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20388
cc87f7d8
RM
20389 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20390 (elfobjdir): Move out of conditionals.
20391
b1c608fe
RM
20392 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20393 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20394 (__nss_lookup_function): Conditionalize label remove_from_tree on
20395 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20396
1d9a6d96
DM
203972012-09-28 David S. Miller <davem@davemloft.net>
20398
20399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20400 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20401 file.
20402 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20403 sysdep_routines.
20404 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20406 when HWCAP_SPARC_CRYPTO is present.
20407
72581615
PT
204082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20409
20410 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20411
715a900c
JL
204122012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20413
20414 [BZ #6530]
20415 * stdio-common/vfprintf.c (process_string_arg): Revert
20416 2000-07-22 change.
20417
204182011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20419
20420 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20421 for testcase.
20422 * stdio-common/tst-sprintf.c: Include <locale.h>
20423 (main): Test sprintf's handling of incomplete multibyte
20424 characters.
20425
9bac1d86
L
204262012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 * elf/dl-runtime.c (VERSYMIDX): Removed.
20429 * elf/dl-version.c (VERSYMIDX): Likewise.
20430 * elf/do-rel.h (VERSYMIDX): Likewise.
20431 (VALIDX): Likewise.
20432 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20433 * elf/rtld.c (VALIDX): Likewise.
20434 (ADDRIDX): Likewise.
9bac1d86
L
20435 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20436 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20437 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20438 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20439 (VALIDX): Likewise.
20440 (ADDRIDX): Likewise.
9bac1d86 20441
b31606c0
PT
204422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20443
20444 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20445
11541177
JL
204462012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20447
20448 [BZ #11438]
20449 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20450 to global scope.
20451 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20452 addresses are in the same scope as 192.0.2/24.
20453 * posix/gai.conf: Document new scope table defaults.
20454
adb26fae
SP
204552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20456
20457 [BZ #5298]
20458 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20459 for ftell. Compute offsets from write pointers instead.
20460 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20461
4573c6b0
SP
204622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20463
20464 [BZ #14543]
20465 * libio/Makefile (tests): New test case tst-fseek.
20466 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20467 combination works in wide mode.
20468 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20469 state when the external buffer state changes.
20470
aa9bbfe6
DM
204712012-09-27 David S. Miller <davem@davemloft.net>
20472
20473 [BZ #14376]
20474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20475 pass reloc->r_addend in as the 'high' argument to
20476 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20477
784421e7
DM
20478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20479
c39bc8b8
PT
204802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20481
20482 * rt/tst-aio2.c: Include <pthread.h>.
20483 * rt/tst-aio3.c: Likewise.
20484
1ccc2399
SE
204852012-09-27 Steve Ellcey <sellcey@mips.com>
20486
20487 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20488
31ed4153
L
204892012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20490
25f5f885
L
20491 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20492 contents on [SHARED].
31ed4153 20493
b7bfe116
MP
204942012-09-26 Marek Polacek <polacek@redhat.com>
20495
20496 [BZ #14530]
20497 [BZ #13741]
20498 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20499 for C++ and GCC <4.3 as well as for non GCC compilers.
20500
43c4edba
MT
205012012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20502
20503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20504
6a1bf82f
RM
205052012-09-25 Roland McGrath <roland@hack.frob.com>
20506
20507 * Makefile.in (all, install): Declare with .PHONY.
20508 Reported by Michael Hope <michael.hope@linaro.org>.
20509
8ad11b9a
TMQMF
205102012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20511
20512 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20513 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20514 system header.
20515 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20516 Likewise.
20517 (sydep_routines): Add the new and the internal functions.
20518 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20519 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20521 (GLIBC_2.17): Add the new function.
20522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20523 (GLIBC_2.17): Likewise.
20524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20525 (GLIBC_2.17): Likewise.
20526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20527 (GLIBC_2.17): Likewise.
20528 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20529
7e2fca8d
AM
205302012-09-25 Alan Modra <amodra@gmail.com>
20531
20532 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20533 Add release barrier before setting once_control to say
20534 initialisation is done. Add hints on lwarx. Use macro in
20535 place of isync.
20536 (clear_once_control): Add release barrier.
20537
b87c4b24
JM
205382012-09-25 Joseph Myers <joseph@codesourcery.com>
20539
d032e0d2
JM
20540 [BZ #13629]
20541 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20542 specially.
20543 * math/s_clog10.c (__clog10): Likewise.
20544 * math/s_clog10f.c (__clog10f): Likewise.
20545 * math/s_clog10l.c (__clog10l): Likewise.
20546 * math/s_clogf.c (__clogf): Likewise.
20547 * math/s_clogl.c (__clogl): Likewise.
20548 * math/Makefile (libm-calls): Add x2y2m1.
20549 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20550 (__x2y2m1): Likewise.
20551 (__x2y2m1l): Likewise.
20552 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20553 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20554 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20555 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20556 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20557 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20558 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20559 * sysdeps/i386/fpu/libm-test-ulps: Update.
20560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20561
b87c4b24
JM
20562 [BZ #14621]
20563 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20564 int as type of variable DEPTH.
20565 (glob): Use size_t instead of int as type of variables NEWCOUNT
20566 and OLD_PATHC.
20567
6d3bf199
LD
205682012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20569
22bf5c17
LD
20570 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20571 Add s_sincosf-sse2.
20572 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20573 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20574 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20575 macros for using routine as __sincosf_ia32.
20576 Use macro for function declaration and weak_alias.
20577 * sysdeps/i386/fpu/libm-test-ulps: Update.
20578
20579 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20581
20582 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20583 subnormal argument.
20584 * math/s_cexpf.c (__cexpf): Likewise.
20585 * math/s_csinf.c (__csinf): Likewise.
20586 * math/s_csinhf.c (__csinhf): Likewise.
20587 * math/s_ctanf.c (__ctanf): Likewise.
20588 * math/s_ctanhf.c (__ctanhf): Likewise.
20589 * math/s_ccosh.c (__ccoshf): Likewise.
20590 * math/s_cexp.c (__cexpl): Likewise.
20591 * math/s_csin.c (__csin): Likewise.
20592 * math/s_csinh.c (__csinh): Likewise.
20593 * math/s_ctan.c (__ctan): Likewise.
20594 * math/s_ctanh.c (ctanh): Likewise.
20595 * math/s_ccoshl.c (__ccoshl): Likewise.
20596 * math/s_cexpl.c (__cexpl): Likewise.
20597 * math/s_csinl.c (__csinl): Likewise.
20598 * math/s_csinhl.c (__csinhl): Likewise.
20599 * math/s_ctanl.c (__ctanl): Likewise.
20600 * math/s_ctanhl.c (__ctanhl): Likewise.
20601
203e5603
JM
206022012-09-25 Joseph Myers <joseph@codesourcery.com>
20603
20604 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20605 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20606 (_IO_off_t): Define to __off_t, not _G_off_t.
20607 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20608 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20609 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20610 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20611 type of __dummy and __dummy2 fields.
20612 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20613 (_G_ssize_t): Likewise.
20614 (_G_off_t): Likewise.
20615 (_G_pid_t): Likewise.
20616 (_G_uid_t): Likewise.
20617 (_G_wchar_t): Likewise.
20618 (_G_wint_t): Likewise.
20619 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20620 (_G_ssize_t): Likewise.
20621 (_G_off_t): Likewise.
20622 (_G_pid_t): Likewise.
20623 (_G_uid_t): Likewise.
20624 (_G_wchar_t): Likewise.
20625 (_G_wint_t): Likewise.
20626 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20627 (_G_ssize_t): Likewise.
20628 (_G_off_t): Likewise.
20629 (_G_pid_t): Likewise.
20630 (_G_uid_t): Likewise.
20631 (_G_wchar_t): Likewise.
20632 (_G_wint_t): Likewise.
20633
9fab36eb
SP
206342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20635
20636 * malloc/arena.c: Include malloc-sysdep.h.
20637 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20638 is sufficient to shrink the heap or an unmap is needed.
20639 * sysdeps/generic/malloc-sysdep.h: New file. Define
20640 new function check_may_shrink_heap.
20641 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20642 new function check_may_shrink_heap.
20643
2b4f00d1
SP
206442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20645
20646 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20647 comments.
20648
9a9028b1
DL
206492012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20650
57c69bef
DL
20651 * catgets/test-gencat.sh: Add "set -e".
20652 * elf/tst-pathopt.sh: Likewise.
20653 * grp/tst_fgetgrent.sh: Likewise.
20654 * iconvdata/run-iconv-test.sh: Likewise.
20655 * intl/tst-gettext.sh: Likewise.
20656 * intl/tst-gettext2.sh: Likewise.
20657 * intl/tst-gettext4.sh: Likewise.
20658 * intl/tst-gettext6.sh: Likewise.
20659 * intl/tst-translit.sh: Likewise.
20660 * io/ftwtest-sh: Likewise.
20661 * libio/test-freopen.sh: Likewise.
20662 * malloc/tst-mtrace.sh: Likewise.
20663 * posix/globtest.sh: Likewise.
20664 * posix/tst-getconf.sh: Likewise.
20665 * posix/wordexp-tst.sh: Likewise.
20666 * stdio-common/tst-printf.sh: Likewise.
20667 * stdio-common/tst-unbputc.sh: Likewise.
20668 * stdlib/tst-fmtmsg.sh: Likewise.
20669 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20670 * catgets/Makefile: Do not specify -e option when running
20671 testsuite shell scripts.
20672 * elf/Makefile: Likewise.
20673 * grp/Makefile: Likewise.
20674 * iconvdata/Makefile: Likewise.
20675 * intl/Makefile: Likewise.
20676 * io/Makefile: Likewise.
20677 * libio/Makefile: Likewise.
20678 * malloc/Makefile: Likewise.
20679 * posix/Makefile: Likewise.
20680 * stdio-common/Makefile: Likewise.
20681 * stdlib/Makefile: Likewise.
20682 * sysdeps/x86_64/Makefile: Likewise.
20683
9a9028b1
DL
20684 * io/ftwtest-sh: Add copyright header.
20685 * posix/globtest.sh: Likewise.
20686 * posix/tst-getconf.sh: Likewise.
20687 * posix/wordexp-tst.sh: Likewise.
20688 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20689
ced6f16e
L
206902012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20691
94b32c39
L
20692 [BZ #13679]
20693 * Makeconfig (+link): Defined as $(+link-static) if
20694 $(build-shared) isn't yes.
20695 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20696 isn't yes.
20697 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20698
189e935b
L
20699 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20700
ced6f16e
L
20701 [BZ #14562]
20702 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20703 new chunk size with MALLOC_ALIGN_MASK.
20704
a9f8e53a
JM
207052012-09-24 Joseph Myers <joseph@codesourcery.com>
20706
20707 [BZ #5044]
20708 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20709 <rounding-mode.h>.
20710 (__printf_fphex): Determine rounding using get_rounding_mode and
20711 round_away.
20712 * stdio-common/tst-printf-round.c (struct hex_test): New
20713 structure.
20714 (hex_tests): New variable.
20715 (test_hex_in_one_mode): New function.
20716 (do_test): Also run tests for hex float output.
20717
43153109
JM
207182012-09-21 Joseph Myers <joseph@codesourcery.com>
20719
20720 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20721 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20722 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20723 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20724 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20725 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20726 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20727 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20728
8a26625d
JM
207292012-09-20 Joseph Myers <joseph@codesourcery.com>
20730
20731 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20732 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20733 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20734 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20735
f3fd569c
DL
207362012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20737
20738 [BZ #14579]
20739 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20740 mode only.
20741 * elf/tst-rtld-load-self.sh: New test.
20742 * elf/Makefile: Run it.
20743
63bbedd4
JM
207442012-09-18 Joseph Myers <joseph@codesourcery.com>
20745
20746 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20747 (tst-writev-ENV): Remove.
20748 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20749
626f8b6a
CM
207502012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20751
20752 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20753
b7aaa4d6
JM
207542012-09-17 Joseph Myers <joseph@codesourcery.com>
20755
20756 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20757 unconditional.
20758 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20759 Likewise.
20760 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20761 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20762 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20763 Likewise.
20764
65513990
L
207652012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20766
20767 [BZ #14587]
20768 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20769 * config.make.in (have-cpp-asm-debuginfo): Removed.
20770 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20771 * configure: Regenerated.
20772
784761be
JM
207732012-09-14 Joseph Myers <joseph@codesourcery.com>
20774
20775 [BZ #5044]
20776 * stdio-common/printf_fp.c: Include <stdbool.h> and
20777 <rounding-mode.h>.
20778 (___printf_fp): Determine rounding using get_rounding_mode and
20779 round_away.
20780 * stdio-common/tst-printf-round.c: New file.
20781 * stdio-common/Makefile (tests): Add tst-printf-round.
20782 (link-libm): New variable.
20783 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20784
9503345f
L
207852012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20786
20787 [BZ #14576]
20788 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20789 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20790 Likewise.
20791 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20792 Likewise.
20793
ad35fc00
JM
207942012-09-13 Joseph Myers <joseph@codesourcery.com>
20795
20796 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20797 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20798 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20799 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20800
6c9b0f68
JM
208012012-09-12 Joseph Myers <joseph@codesourcery.com>
20802
20803 [BZ #14518]
20804 * include/rounding-mode.h: New file.
20805 * sysdeps/generic/get-rounding-mode.h: Likewise.
20806 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20807 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20808 (MAX_VALUE): New macro.
20809 (MIN_VALUE): Likewise.
20810 (overflow_value): New function.
20811 (underflow_value): Likewise.
20812 (round_and_return): Use overflow_value and underflow_value to
20813 determine return values in overflow and underflow cases. Use
20814 round_away to determine rounding depending on rounding mode.
20815 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20816 determine return values in overflow and underflow cases.
20817 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20818 (struct test_results): New structure.
20819 (struct test): Use struct test_results to store expected results
20820 for all rounding modes.
20821 (TEST): Include expected results for all rounding modes.
20822 (test_in_one_mode): New function.
20823 (do_test): Use test_in_one_mode to compute and check results.
20824 Check results for all rounding modes.
20825 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20826 $(link-libm).
20827
19fcedd5
AM
208282012-12-09 Allan McRae <allan@archlinux.org>
20829
1e9d84cd 20830 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20831
8bbfd2f1
JM
208322012-09-11 Joseph Myers <joseph@codesourcery.com>
20833
20834 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20835 (_G_int32_t): Likewise.
20836 (_G_uint16_t): Likewise.
20837 (_G_uint32_t): Likewise.
20838 (_G_HAVE_BOOL): Likewise.
20839 (_G_HAVE_ATEXIT): Likewise.
20840 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20841 (_G_HAVE_IO_FILE_OPEN): Likewise.
20842 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20843 (_G_int32_t): Likewise.
20844 (_G_uint16_t): Likewise.
20845 (_G_uint32_t): Likewise.
20846 (_G_HAVE_BOOL): Likewise.
20847 (_G_HAVE_ATEXIT): Likewise.
20848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20849 (_G_HAVE_IO_FILE_OPEN): Likewise.
20850 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20851 (_G_int32_t): Likewise.
20852 (_G_uint16_t): Likewise.
20853 (_G_uint32_t): Likewise.
20854 (_G_HAVE_BOOL): Likewise.
20855 (_G_HAVE_ATEXIT): Likewise.
20856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20857 (_G_HAVE_IO_FILE_OPEN): Likewise.
20858
b1dc5912
L
208592012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * csu/libc-tls.c: Update copyright years.
20862
0e886ef9
JM
208632012-09-10 Joseph Myers <joseph@codesourcery.com>
20864
28361c5e
JM
20865 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20866 [!_G_USING_THUNKS]: Remove conditional code.
20867 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20868 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20869
0e886ef9
JM
20870 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20871 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20872 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20873 (_G_VTABLE_LABEL_PREFIX): Likewise.
20874 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20875 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20876 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20877 (_G_VTABLE_LABEL_PREFIX): Likewise.
20878 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20879 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20880 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20881 (_G_VTABLE_LABEL_PREFIX): Likewise.
20882 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20883
bcba7aa2
L
208842012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20885
20886 * libio/Makefile: Include ../Makeconfig before tests.
20887 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20888 only if $(build-shared) is yes.
20889
06585ee8
L
20890 * iconv/gconv_db.c: Update copyright years.
20891
80ccd52c
LD
208922012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20893
20894 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20895 unwind info if defined PIC. Fix special cases description.
20896 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20897
20898 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20899 DP_HI_MASK entry.
20900 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20901
691bc9c1
L
209022012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20903
3d9b46b3
L
20904 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20905
de2139a9
L
20906 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20907 is NULL.
20908
5ca78dd0
L
20909 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20910 (LDLIBS-tst-chk4): This.
20911 (LDFLAGS-tst-chk5): Renamed to ...
20912 (LDLIBS-tst-chk5): This.
20913 (LDFLAGS-tst-chk6): Renamed to ...
20914 (LDLIBS-tst-chk6): This.
20915 (LDFLAGS-tst-lfschk4): Renamed to ...
20916 (LDLIBS-tst-lfschk4): This.
20917 (LDFLAGS-tst-lfschk5): Renamed to ...
20918 (LDLIBS-tst-lfschk5): This.
20919 (LDFLAGS-tst-lfschk6): Renamed to ...
20920 (LDLIBS-tst-lfschk6): This.
20921
691bc9c1
L
20922 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20923 on $(common-objpfx)soversions.mk.
20924
65cafb1c
JM
209252012-09-07 Joseph Myers <joseph@codesourcery.com>
20926
20927 [BZ #10014]
20928 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20929 example host name.
20930
c78ab094
SP
209312012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20932
20933 * malloc/arena.c (arena_get_retry): New function that gets
20934 another arena for the caller to try its request on.
20935 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20936 current arena cannot fulfill the request.
20937 (__libc_memalign): Likewise.
20938 (__libc_memalign): Likewise.
20939 (__libc_pvalloc): Likewise.
20940 (__libc_calloc): Likewise.
20941
01f49f59
JT
209422012-09-05 John Tobey <john.tobey@gmail.com>
20943
20944 [BZ #13542]
20945 * manual/arith.texi (Operations on Complex): Fix description
20946 of carg branch cut.
20947
4c23fed5
JM
209482012-09-06 Joseph Myers <joseph@codesourcery.com>
20949
1d3c8572
JM
20950 [BZ #10014]
20951 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20952 host name.
20953
4c23fed5
JM
20954 [BZ #10038]
20955 * manual/memory.texi (Memory): Make order of menu items match
20956 order of sections.
20957
04570aaa
L
209582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20959
20960 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20961 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20962 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20963
b80af2f4
L
209642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20965
20966 * csu/libc-tls.c (static_dtv): Renamed to ...
20967 (_dl_static_dtv): This. Make it global.
20968 (_dl_initial_dtv): Removed.
20969 (__libc_setup_tls): Updated.
20970 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20971 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20972 DL_INITIAL_DTV.
20973
2abe9f15
PM
209742012-09-06 Petr Machata <pmachata@redhat.com>
20975
20976 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20977 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20978 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20979 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20980
0948c3af
L
209812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20982
20983 [BZ #14545]
20984 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20985 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20986 freeing dtv[-1].
20987
a5055ad1
L
209882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20989
20990 [BZ #14544]
20991 * Makeconfig (link-static-before-libc): Replace $(+prector)
20992 with $(+prectorT).
20993 (link-static-after-libc): Replace $(+postctor) with
20994 $(+postctorT).
20995 (link-bounded): Replace $(+prector)/$(+postctor) with
20996 $(+prectorT)/$(+postctorT).
20997 (+prectorT): New macro.
20998 (+postctorT): Likewise.
20999
ed8c2ecd
JM
210002012-09-06 Joseph Myers <joseph@codesourcery.com>
21001
21002 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21003 (round_str): Handle values above the maximum for IBM long double
21004 as inexact.
21005 * stdlib/tst-strtod-round.c (tests): Regenerated.
21006
14c996c8
AK
210072012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21008
21009 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21010 assembler flag.
21011 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21012 zarch_nohighgprs around the zarch optimized routines.
21013 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21014 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21015 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21016 for zarch.
21017
430d6ce6
DM
210182012-09-05 David S. Miller <davem@davemloft.net>
21019
21020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21021
ff04dda4
DM
21022 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21023 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21024 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21025 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21026 entries.
21027
24d4e01b
AO
210282012-09-05 Alexandre Oliva <aoliva@redhat.com>
21029
21030 * malloc/arena.c: Fold copyright years.
21031 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21032
61d58174
AO
210332012-09-05 Alexandre Oliva <aoliva@redhat.com>
21034
21035 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21036
20196a5e
AO
210372012-09-05 Alexandre Oliva <aoliva@redhat.com>
21038
21039 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21040
5c447383
AO
210412012-09-05 Alexandre Oliva <aoliva@redhat.com>
21042
21043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21044 change internal state upon failure.
21045
fad64255
AO
210462012-09-05 Alexandre Oliva <aoliva@redhat.com>
21047
21048 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21049 * malloc/memusage.c (mmap): Likewise.
21050 (mmap64, mremap): Likewise. Adjust name in comment.
21051
1ffb8c90
SP
210522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21053
21054 * libio/fileops.c: Fix typos in comments.
21055 * libio/oldfileops.c: Likewise.
21056 * libio/wfileops.c: Likewise.
21057
6ef9cc37
SP
210582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21059
21060 [BZ #1349]
21061 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21062 (tst-malloc-usable-ENV): Set environment for test case.
21063 * malloc/hooks.c (malloc_check_get_size): New function to get
21064 requested size.
21065 * malloc/malloc.c (musable): Use malloc_check_get_size.
21066 * malloc/tst-malloc-usable.c: New test case.
21067
4d038ae3
AS
210682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21069
21070 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21071
c4e85184
AM
210722012-09-05 Allan McRae <allan@archlinux.org>
21073
b9dafc56 21074 [BZ #13966]
c4e85184
AM
21075 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21076 determine header location.
21077 * configure: Regenerated.
21078
e1343020
AS
210792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21080
21081 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21082 float format.
21083 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21084 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21085 format.
e1343020
AS
21086 (test): Regenerate.
21087
0a9f1987
DM
210882012-09-04 David S. Miller <davem@davemloft.net>
21089
21090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21092 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21093
29237804
FW
210942012-09-04 Florian Weimer <fweimer@redhat.com>
21095
21096 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21097 failures.
21098
edb3cb88
FW
21099 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21100
60160d83
JM
211012012-09-04 Joseph Myers <joseph@codesourcery.com>
21102
21103 [BZ #9914]
21104 * libio/iogetdelim.c: Include <limits.h>.
21105 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21106 + len + 1 would overflow.
21107
bcd6c8dc
AJ
211082012-09-03 Andreas Jaeger <aj@suse.de>
21109
21110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21111 * sysdeps/i386/fpu/libm-test-ulps: Update.
21112
4ffffbd2
LD
211132012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21114
21115 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21116 Add s_sinf-sse2, s_conf-sse2.
21117
21118 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21119 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21120 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21121 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21122
21123 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21124 for using routine as __sinf_ia32.
21125 Use macro for function declaration and weak_alias.
21126 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21127 for using routine as __cosf_ia32.
21128 Use macro for function declaration and weak_alias.
21129
21130 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21131 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21132
21133 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21134 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21136
21137 * math/libm-test.inc (cos_test): Add more test cases.
21138 (sin_test): Likewise.
21139 (sincos_test): Likewise.
21140
511fa286
AK
211412012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21142
21143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21144 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21145 hidden.
21146 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21147
5f30cfec
L
211482012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21149
21150 [BZ #14538]
21151 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21152 first element of the GOT.
21153 (elf_machine_load_address): Return the difference between
21154 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21155
0786794f
AM
211562012-09-01 Allan McRae <allan@archlinux.org>
21157
5f30cfec
L
21158 [BZ #13412]
21159 * configure.in (AWK): Require gawk version 3.0 or later.
21160 * configure: Regenerated.
0786794f 21161
26889eac
JM
211622012-09-01 Joseph Myers <joseph@codesourcery.com>
21163
21164 * sysdeps/unix/sysv/linux/kernel-features.h
21165 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21167 [__NR_clock_getres]: Make code unconditional.
21168 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21169 (clock_getcpuclockid): Remove code left unreachable by removal of
21170 conditionals.
21171 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21172 code unconditional.
21173 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21174 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21175 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21176 Make code unconditional.
21177 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21178 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21179 * sysdeps/unix/sysv/linux/clock_settime.c
21180 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21181 conditional code.
21182 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21183 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21184
d22e28b0
L
211852012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21186
21187 [BZ #14476]
21188 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21189 scripts/test-installation.pl.
21190
21191 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21192 and $ld_so_version if it is set.
21193
050af9c4
SP
211942012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21195
21196 [BZ #14516]
21197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21198 failure if reading from procfs failed.
21199 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21200
ad845c0b
JM
212012012-08-27 Joseph Myers <joseph@codesourcery.com>
21202
21203 * sysdeps/unix/sysv/linux/kernel-features.h
21204 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21205 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21206 Remove conditional code.
21207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21208 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21209 Remove conditional code.
21210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21211 * sysdeps/unix/sysv/linux/i386/fxstat.c
21212 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21214 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21215 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21217 * sysdeps/unix/sysv/linux/i386/lxstat.c
21218 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21220 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21221 Remove conditional code.
21222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21223 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21224 Remove conditional code.
21225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21226 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21227 <kernel-features.h>.
21228 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21229 Remove.
21230 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21231 Remove conditional code.
21232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21233 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21234 Remove conditional.
21235
5dbf56af
MF
212362012-08-27 Mike Frysinger <vapier@gentoo.org>
21237
21238 [BZ #5400]
21239 * NEWS: Add fixed bug number.
21240
d6e70f43
JM
212412012-08-27 Joseph Myers <joseph@codesourcery.com>
21242
7efb4737
JM
21243 [BZ #14519]
21244 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21245 underflowing exponent in case of negative sign.
21246 * stdlib/tst-strtod-round-data: Add more tests.
21247 * stdlib/tst-strtod-round.c (tests): Regenerated.
21248
af92131a
JM
21249 [BZ #3479]
21250 * stdlib/strtod_l.c (NDIG): Remove.
21251 (HEXNDIG): Likewise.
21252 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21253 smallest representable value.
21254 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21255 lie within an exact representation of 1/2 ulp of the result.
21256 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21257 unconditionally.
21258 (TENS_P9_IDX): Define unconditionally.
21259 (TENS_P9_SIZE): Likewise.
21260 (TENS_P10_IDX): Likewise.
21261 (TENS_P10_SIZE): Likewise.
21262 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21263 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21264 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21265 entries for 10^2^13 and 10^2^14.
21266 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21267 (TENS_P13_IDX): Define.
21268 (TENS_P13_SIZE): Likewise.
21269 (TENS_P14_IDX): Likewise.
21270 (TENS_P14_SIZE): Likewise.
21271 (_fpioconst_pow10): Change array size to
21272 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21273 unconditional.
21274 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21275 1024]: Add entries for 10^2^13 and 10^2^14.
21276 [LAST_POW10 > _LAST_POW10]: Remove #error.
21277 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21278 (_fpioconst_pow10): Change array size to
21279 FPIOCONST_POW10_ARRAY_SIZE.
21280 * stdlib/gen-fpioconst.c: New file.
21281 * stdlib/gen-tst-strtod-round.c: Likewise.
21282 * stdlib/tst-strtod-round-data: Likewise.
21283 * stdlib/tst-strtod-round.c: Likewise.
21284 * stdlib/Makefile (tests): Add tst-strtod-round.
21285
d6e70f43
JM
21286 [BZ #14459]
21287 * stdlib/strtod_l.c: Include <stdint.h>.
21288 (NDEBUG): Do not define.
21289 (round_and_return): Change EXPONENT parameter to type intmax_t.
21290 Rearrange calculations to avoid internal overflow possibilities.
21291 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21292 Rearrange calculations to avoid internal overflow possibilities.
21293 Assert that number fits inside MPNSIZE limbs.
21294 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21295 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21296 calculations and add assertions to avoid internal overflow
21297 possibilities. Add casts to avoid signed/unsigned operations.
21298 * stdlib/tst-strtod-overflow.c: New file.
21299 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21300
1f529f7d
MP
213012012-08-25 Marek Polacek <polacek@redhat.com>
21302
21303 * time/time.h: Fix some typos in comments.
21304
59a629f1
RM
213052012-08-23 Roland McGrath <roland@hack.frob.com>
21306
21307 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21308 * posix/tst-rfc3484-2.c: Likewise.
21309 * posix/tst-rfc3484-3.c: Likewise.
21310
d3bafbc9
SM
213112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21312
21313 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21314 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21315
4efcc022
JM
213162012-08-23 Joseph Myers <joseph@codesourcery.com>
21317
21318 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21319 #include of fxstatat64.c.
21320
3cc3ef96
RM
213212012-08-22 Roland McGrath <roland@hack.frob.com>
21322
f04e2132
RM
21323 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21324 * shadow/getspent_r.c: Likewise.
21325 * shadow/getspnam.c: Likewise.
21326 * shadow/getspnam_r.c: Likewise.
21327 * gshadow/getsgent.c: Likewise.
21328 * gshadow/getsgent_r.c: Likewise.
21329 * gshadow/getsgnam.c: Likewise.
21330 * gshadow/getsgnam_r.c: Likewise.
21331 * inet/getnetbyad.c: Likewise.
21332 * inet/getnetbyad_r.c: Likewise.
21333 * inet/getnetbynm.c: Likewise.
21334 * inet/getnetbynm_r.c: Likewise.
21335 * inet/getnetent.c: Likewise.
21336 * inet/getnetent_r.c: Likewise.
21337 * inet/getproto.c: Likewise.
21338 * inet/getproto_r.c: Likewise.
21339 * inet/getprtent.c: Likewise.
21340 * inet/getprtent_r.c: Likewise.
21341 * inet/getprtname.c: Likewise.
21342 * inet/getprtname_r.c: Likewise.
21343 * inet/getrpcbyname.c: Likewise.
21344 * inet/getrpcbyname_r.c: Likewise.
21345 * inet/getrpcbynumber.c: Likewise.
21346 * inet/getrpcbynumber_r.c: Likewise.
21347 * inet/getrpcent.c: Likewise.
21348 * inet/getrpcent_r.c: Likewise.
21349 * inet/getaliasent.c: Likewise.
21350 * inet/getaliasent_r.c: Likewise.
21351 * inet/getaliasname.c: Likewise.
21352 * inet/getaliasname_r.c: Likewise.
21353 * nscd/getgrgid_r.c: Likewise.
21354 * nscd/getgrnam_r.c: Likewise.
21355 * nscd/gethstbyad_r.c: Likewise.
21356 * nscd/gethstbynm3_r.c: Likewise.
21357 * nscd/getpwnam_r.c: Likewise.
21358 * nscd/getpwuid_r.c: Likewise.
21359 * nscd/getsrvbynm_r.c: Likewise.
21360 * nscd/getsrvbypt_r.c: Likewise.
21361 * nscd/gai.c: Likewise.
21362
c53d909c
RM
21363 * configure.in (build_nscd): New substituted variable, set
21364 by --disable-build-nscd and defaults to $use_nscd.
21365 * configure: Regenerated.
21366 * config.make.in (build-nscd): New substituted variable.
21367 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21368 Change conditional to require [$(build-nscd) = yes] as well.
21369 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21370
3cc3ef96
RM
21371 [BZ# 13696]
21372 * configure.in (use_nscd): New substituted variable, set by
21373 --disable-nscd. If enabled, define USE_NSCD.
21374 * configure: Regenerated.
21375 * config.h.in: Add USE_NSCD.
21376 * config.make.in (use-nscd): New substituted variable.
21377 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21378 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21379 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21380 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21381 (CFLAGS-getgrnam_r.c): Likewise.
21382 (CFLAGS-initgroups.c): Likewise.
21383 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21384 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21385 Variables removed.
21386 * inet/getnetgrent_r.c
21387 (nscd_setnetgrent): New function, broken out of ...
21388 (setnetgrent): ... here. Call it.
21389 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21390 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21391 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21392 * nscd/Makefile (routines, aux): Move definitions after include of
21393 Makeconfig. Conditionalize on [$(use-nscd) != no].
21394 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21395 Conditionalize on [USE_NSCD].
21396 (is_nscd, nscd_init_cb): Likewise.
21397 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21398 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21399 * nss/nss_db/db-init.c: Likewise.
21400 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21401 [USE_NSCD].
21402 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21403 (make_request): Use it.
21404 (cache_valid_p): New function.
21405 (__check_pf): Use it.
21406 * NEWS: Add item for --disable-nscd.
21407
07e51550
DL
214082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21409
21410 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21411 to support sed >= 4.2.1-20-ga9bf076.
21412 * configure: Regenerated.
21413
35a5b08b
RM
214142012-08-22 Roland McGrath <roland@hack.frob.com>
21415
21416 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21417 Conditionalize whole body on [IREL].
21418
8479f23a
JL
214192012-08-22 Jeff Law <law@redhat.com>
21420
21421 [BZ #14505]
21422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21423 if the family is PF_UNSPEC.
21424
48da0b21
MF
214252012-08-22 Mike Frysinger <vapier@gentoo.org>
21426
21427 * Makerules (lib-version): Rename from V.
21428 (install-lib-nosubdir): Change V to lib-version.
21429
15d0da8c
WS
214302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21431
21432 [BZ #14252]
21433 * powerpc32/power6/wcschr.c: New file.
21434 * powerpc32/power6/wcscpy.c: New file.
21435 * powerpc32/power6/wcsrchr.c: New file.
21436 * powerpc64/power6/wcschr.c: New file.
21437 * powerpc64/power6/wcscpy.c: New file.
21438 * powerpc64/power6/wcsrchr.c: New file.
21439
bcca0895
MK
214402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21441
21442 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21443 (two_way_short_needle): Use it.
5a4aaa33
RM
21444 * string/strstr.c (AVAILABLE1_USES_J): Define.
21445 * string/strcasestr.c: Likewise.
99677e57
MK
21446
21447 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21448 array references.
21449 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21450
400726de
MK
21451 [BZ #11607]
21452 * NEWS: Add an entry.
21453 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21454 define their defaults.
21455 (two_way_short_needle): Detect end-of-string on-the-fly.
21456 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21457 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21458 * string/bug-strcasestr1.c: New test.
21459 * string/Makefile: Run it.
21460
20a71f2c
MK
214612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21462
21463 [BZ #11607]
21464 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21465 the first character.
21466
21ad0558
RM
214672012-08-21 Roland McGrath <roland@hack.frob.com>
21468
21469 * csu/elf-init.c (__libc_csu_irel): Function removed.
21470 * csu/libc-start.c (apply_irel): New function.
21471 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21472
0e1d9911
JM
214732012-08-21 Joseph Myers <joseph@codesourcery.com>
21474
21475 * sysdeps/unix/sysv/linux/kernel-features.h
21476 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21477 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21478 <kernel-features.h>.
21479 [__NR_fadvise64_64]: Make code unconditional.
21480 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21481 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21482 !__NR_fadvise64_64)]: Likewise.
21483 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21484 !__NR_fadvise64_64))]: Likewise.
21485 [__NR_fadvise64]: Make code unconditional.
21486 [!__NR_fadvise64]: Remove conditional code.
21487 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21488 <kernel-features.h>.
21489 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21490 unconditional.
21491 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21492 conditional code.
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21494 not include <kernel-features.h>.
21495 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21496 unconditional.
21497 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21498 conditional code.
21499 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21500 include <kernel-features.h>.
21501 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21502 unconditional.
21503 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21504 conditional code.
21505
14a50c9d
WS
215062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21507
21508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21509 slight instruction rearrangements per scrollpipe analysis.
21510 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21511
c0f4faf0
RM
215122012-08-20 Roland McGrath <roland@hack.frob.com>
21513
696da859
RM
21514 * manual/syslog.texi (syslog; vsyslog, closelog):
21515 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21516 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21517
c0f4faf0
RM
21518 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21519 DSOCAPS to match condition on defining it.
21520
348363b2
JM
215212012-08-20 Joseph Myers <joseph@codesourcery.com>
21522
a35cbf28
JM
21523 * sysdeps/unix/sysv/linux/kernel-features.h
21524 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21526 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21527 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21529 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21530 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21532 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21533 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21534
445f7ecd
JM
21535 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21536 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21537
348363b2
JM
21538 * sysdeps/unix/sysv/linux/kernel-features.h
21539 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21540 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21541 unconditional.
21542 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21543 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21544 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21545 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21546 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21547 Make code unconditional.
21548 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21549 (__mmap64) [!__NR_mmap2]: Likewise.
21550 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21551 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21552 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21553 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21554 [__NR_mmap2]: Make code unconditional.
21555 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21556 (__mmap64) [!__NR_mmap2]: Likewise.
21557
bc5bc0e5
AK
215582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21559
21560 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21561
88d506de
AJ
215622012-08-18 Andreas Jaeger <aj@suse.de>
21563
21564 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21565
493387d2
MF
215662012-08-18 Mike Frysinger <vapier@gentoo.org>
21567
21568 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21569 * include/unistd.h (__have_sock_cloexec): Likewise.
21570 (__have_pipe2): Likewise.
21571 (__have_dup3): Likewise.
21572
a277af22
MF
215732012-08-18 Mike Frysinger <vapier@gentoo.org>
21574
21575 [BZ #9685]
21576 * include/unistd.h (__have_pipe2): Change define into an extern int.
21577 (__have_dup3): Likewise.
21578 * socket/have_sock_cloexec.c: Include fcntl.h.
21579 (__have_pipe2): New variable.
21580 (__have_dup3): Likewise.
21581
fdab8fd3
MF
215822012-08-17 Mike Frysinger <vapier@gentoo.org>
21583
21584 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21585
31035e80
MP
215862012-08-17 Marek Polacek <polacek@redhat.com>
21587
21588 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21589 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21590
3bd9e993
RM
215912012-08-17 Roland McGrath <roland@hack.frob.com>
21592
c91c505f
RM
21593 * configure.in: Add AC_SUBST for sysheaders.
21594 * configure: Regenerated.
21595 * config.make.in (sysheaders): New substituted variable.
21596
7c6f9d53
RM
21597 * sysdeps/unix/mkfifo.c: Moved ...
21598 * sysdeps/posix/mkfifo.c: ... here.
21599 * sysdeps/unix/mkfifoat.c: Moved ...
21600 * sysdeps/posix/mkfifoat.c: ... here.
21601
21602 * sysdeps/unix/utime.c: Moved ...
21603 * sysdeps/posix/utime.c: ... here.
21604
21605 * sysdeps/unix/time.c: Moved ...
21606 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21607 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21608 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21609
21610 * sysdeps/unix/nice.c: Moved ...
21611 * sysdeps/posix/nice.c: ... here.
21612
21613 * sysdeps/unix/alarm.c: Moved ...
21614 * sysdeps/posix/alarm.c: ... here.
21615
3bd9e993
RM
21616 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21617
d1f09384
JL
216182012-08-17 Jeff Law <law@redhat.com>
21619
21620 * intl/Makefile (codeset_mo): New variable.
21621 ($(codeset_mo)): New target.
21622 (tst-codeset.out): Depend on that. Remove explicit rule.
21623 (tst-gettext3.out, tst-gettext5.out): Likewise.
21624 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21625 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21626 * intl/tst-codeset.sh: Remove.
21627 * intl/tst-gettext3.sh: Likewise.
21628 * intl/tst-gettext5.sh: Likewise.
21629
2ae1ae5c
RM
216302012-08-17 Roland McGrath <roland@hack.frob.com>
21631
c31fdb83
RM
21632 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21633 * sysdeps/unix/syscalls.list: ... here.
21634
a0844057
RM
21635 * sysdeps/posix/getaddrinfo.c
21636 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21637 (gaiconf_init, gaiconf_reload): Use them.
21638 [!_STATBUF_ST_NSEC]
21639 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21640 Define using time_t rather than struct timespec.
21641
750c1f2a
RM
21642 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21643 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21644 Macros removed.
21645 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21646 [!NO_THREADS].
21647 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21648 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21649 Likewise.
21650
2ae1ae5c
RM
21651 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21652 __libc_cleanup_push argument.
21653
e66a42f5
RM
21654 * bits/param.h: New file.
21655 * misc/sys/param.h: New file.
21656 * include/sys/param.h: New file.
21657 * misc/Makefile (headers): Add bits/param.h.
21658 * sysdeps/generic/sys/param.h: File removed.
21659 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21660 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21661 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21662 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21663
b7c08a66
RM
21664 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21665 last change.
21666
b2e1c562
RM
21667 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21668 [_IO_MTSAFE_IO].
21669 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21670 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21671 New macros.
21672
c75ccd4c
RM
21673 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21674 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21675 rather than -D_IO_MTSAFE_IO conditionally.
21676 * stdio-common/Makefile (CPPFLAGS): Likewise.
21677 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21678 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21679 Use $(libio-mtsafe).
21680 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21681 of -D_IO_MTSAFE_IO.
21682 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21683 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21684 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21685 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21686 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21687 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21688 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21689 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21690 (CFLAGS-fread_u_chk.c): Likewise.
21691 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21692 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21693 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21694 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21695 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21696 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21697 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21698 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21699 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21700
21701 * libio/Makefile: Test [$(libc-reentrant) = yes]
21702 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21703
21704 * Makeconfig
21705 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21706 * sysdeps/pthread/configure: File removed.
21707 * sysdeps/pthread/Makeconfig: New file.
21708 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21709 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21710
d9195db8
GB
217112012-08-16 Gary Benson <gbenson@redhat.com>
21712
21713 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21714 unmapping the first object in a namespace.
21715
86466cd9
RM
217162012-08-16 Roland McGrath <roland@hack.frob.com>
21717
21718 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21719 (__internal_setnetgrent): ... this. Add internal_function to
21720 definition. Add libc_hidden_def.
21721 (setnetgrent): Update caller.
21722 (internal_endnetgrent): Renamed to ...
21723 (__internal_endnetgrent): ... this. Add internal_function to
21724 definition. Add libc_hidden_def.
21725 (endnetgrent): Update caller.
21726 (internal_getnetgrent_r): Renamed to ...
21727 (__internal_getnetgrent_r): ... this. Add internal_function to
21728 definition. Add libc_hidden_def.
21729 (__getnetgrent_r): Update caller.
21730 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21731
c3c8283c
JM
217322012-08-16 Joseph Myers <joseph@codesourcery.com>
21733
21734 * stdlib/longlong.h: Update from GCC.
21735
db1ee0a8
RM
217362012-08-16 Roland McGrath <roland@hack.frob.com>
21737
21738 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21739 on _QL, which is set by umul_ppmm but never used.
21740 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21741 variables, which are set by GMP macros but never used.
21742 * stdio-common/_itowa.c (_itowa): Likewise.
21743 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21744 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21745
30f69637
CD
217462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21747
21748 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21749 struct La_sh_regs is not constant.
21750 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21751 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21752 and struct La_sparc64_regs are not constant.
21753
93a78ac4
JM
217542012-08-16 Joseph Myers <joseph@codesourcery.com>
21755
21756 * sysdeps/unix/sysv/linux/kernel-features.h
21757 (__ASSUME_POSIX_TIMERS): Remove.
21758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21760 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21761 Make code unconditional.
21762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21763 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21764 Make code unconditional.
21765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21766 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21767 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21769 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21770 Make code unconditional.
21771 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21772 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21773 (__libc_missing_posix_timers): Remove.
21774
dd924cd7
RM
217752012-08-15 Roland McGrath <roland@hack.frob.com>
21776
4b4f2771
RM
21777 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21778 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21779
601c888b
RM
21780 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21781
176790a7
RM
21782 * elf/dl-sym.c: Include <stdlib.h>.
21783
329bc018
RM
21784 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21785 constants, which avoids warnings in 32-bit builds.
21786
e04e272d
RM
21787 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21788 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21789
952bf94a
RM
21790 * misc/lseek.c: File moved to ...
21791 * io/lseek.c: ... here.
21792
7c99b50a
RM
21793 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21794
dd924cd7
RM
21795 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21796 shifting LEN more than 31 bits at once.
21797
b3f479a8
LD
217982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21799
21800 [BZ #14195]
8c4ae0d4
RM
21801 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21802 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21803 * string/test-strncasecmp.c (check1): Renamed to...
21804 (bz12205): ...this.
21805 (bz14195): Add new testcase for two empty input strings and N > 0.
21806 (test_main): Call new testcase, adapt for renamed function.
21807
9c55864e
AJ
218082012-08-15 Andreas Jaeger <aj@suse.de>
21809
21810 [BZ #14090]
21811 * crypt/md5test2.c: New test, based on test supplied by Serge
21812 Belyshev <belyshev@depni.sinp.msu.ru>.
21813 * crypt/Makefile (xtests): Add md5test-giant..
21814 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21815
02dcb6c5
PE
218162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21817
21818 [BZ #14090]
21819 * crypt/md5.c (md5_process_block): Don't assume the buffer
21820 length is less than 2**32.
21821 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21822 length is less than 2**64.
21823
a3f95dcc
RM
218242012-08-15 Roland McGrath <roland@hack.frob.com>
21825
be75d758
RM
21826 * string/str-two-way.h: Include <sys/param.h>.
21827 (MAX): Macro removed.
21828
7312ca90
RM
21829 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21830 Move #define and #undef of memmove to just before and after
21831 including <string.h>.
21832
9a0a5486
RM
21833 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21834 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21835 and after including <string.h>. Move declarations of
21836 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21837 to before #include "string/memmove.c".
21838
67cc348d
RM
21839 * include/dirent.h: Declare __getdirentries.
21840
a3f95dcc
RM
21841 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21842 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21843
ca98e171
MF
218442012-08-14 Mike Frysinger <vapier@gentoo.org>
21845
21846 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21847 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21848 * sysdeps/i386/configure: Regenerated.
21849 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21850 STABS_CURRENT_FILE, and STABS_FUN.
21851 (END): Remove call to STABS_FUN_END.
21852 (STABS_CURRENT_FILE1): Delete.
21853 (STABS_CURRENT_FILE): Likewise.
21854 (STABS_FUN): Likewise.
21855 (STABS_FUN_END): Likewise.
21856 (STABS_FUN2): Likewise.
21857 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21858 * sysdeps/x86_64/configure: Regenerated.
21859
5908bf46
RM
218602012-08-14 Roland McGrath <roland@hack.frob.com>
21861
21862 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21863 * elf/dl-lookup.c: Likewise.
5908bf46 21864
f2c05b9e
JM
218652012-08-14 Joseph Myers <joseph@codesourcery.com>
21866
21867 * sysdeps/unix/sysv/linux/kernel-features.h
21868 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21869 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21870 unconditionally.
21871 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21872 unconditionally.
21873 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21874 condition on __ASSUME_CLONE_THREAD_FLAGS.
21875
e11f5155
AJ
218762012-08-14 Andreas Jaeger <aj@suse.de>
21877
21878 * sysdeps/i386/fpu/libm-test-ulps: Update.
21879
51a9ba86
MK
218802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21881
2fdd4f78
AJ
21882 * include/atomic.h (atomic_exchange_and_add): Split into ...
21883 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21884 New atomic macros.
51a9ba86 21885
ba6cba9e
MT
218862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21887
21888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21889
42443a47
JL
218902012-08-13 Jeff Law <law@redhat.com>
21891
21892 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21893 null byte in the output string.
21894
121dce05
JM
218952012-08-10 Joseph Myers <joseph@codesourcery.com>
21896
21897 * sysdeps/unix/sysv/linux/kernel-features.h
21898 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21899 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21900 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21901 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21902 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21903 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21904 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21905
bf51f568
JL
219062012-08-09 Jeff Law <law@redhat.com>
21907
21908 [BZ #13939]
21909 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21910 When avoid_arena is set, don't retry in the that arena. Pick the
21911 next one, whatever it might be.
21912 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21913 (arena_lock): Pass in new parameter to arena_get2.
21914 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21915 arena_get2.
21916 (__libc_malloc): Unify retrying after main arena failure with
21917 __libc_memalign version.
21918 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21919
f85fa270
L
219202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 [BZ #14166]
21923 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21924 to __redirect_strstr.
21925 (__strstr_sse42): Use typeof __redirect_strstr.
21926 (__strstr_ia32): Likewise.
21927 (__libc_strstr): New prototype.
21928 (strstr): Renamed to ...
21929 (__libc_strstr): This.
21930 (strstr): New strong alias of __libc_strstr.
21931 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21932 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21933 __redirect_time.
21934 Include <time.h>.
21935 (__libc_time): New prototype.
21936 (time_ifunc): Replace time with __libc_time.
21937 (time): New strong alias and hidden definition of __libc_time.
21938 (__GI_time): Remove strong alias.
21939 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21940 Include <stddef.h>.
21941 (memmove): Redefined to __redirect_memmove.
21942 (__memmove_sse2): Use typeof __redirect_memmove.
21943 (__memmove_ssse3): Likewise.
21944 (__memmove_ssse3_back): Likewise.
21945 (__libc_memmove): New prototype.
21946 (memmove): Renamed to ...
21947 (__libc_memmove): This.
21948 (memmove): New strong alias of __libc_memmove.
21949
33b4a91e
MS
219502012-08-08 Mark Salter <msalter@redhat.com>
21951
21952 * elf/elf.h
21953 (R_MN10300_TLS_GD): Define.
21954 (R_MN10300_TLS_LD): Likewise.
21955 (R_MN10300_TLS_LDO): Likewise.
21956 (R_MN10300_TLS_GOTIE): Likewise.
21957 (R_MN10300_TLS_IE): Likewise.
21958 (R_MN10300_TLS_LE): Likewise.
21959 (R_MN10300_TLS_DTPMOD): Likewise.
21960 (R_MN10300_TLS_DTPOFF): Likewise.
21961 (R_MN10300_TLS_TPOFF): Likewise.
21962 (R_MN10300_SYM_DIFF): Likewise.
21963 (R_MN10300_ALIGN): Likewise.
21964 (R_MN10300_NUM): Update.
21965
b36137f1
JM
219662012-08-08 Joseph Myers <joseph@codesourcery.com>
21967
21968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21969 Remove.
21970
cdd915fd
RM
219712012-08-08 Roland McGrath <roland@hack.frob.com>
21972
a2433aac
RM
21973 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21974
cdd915fd
RM
21975 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21976 sysdeps/unix -> sysdeps/posix move.
21977 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21978
bf9b740a
AM
219792012-08-07 Allan McRae <allan@archlinux.org>
21980
21981 [BZ #14303]
21982 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21983 (SUNOS_CPP): Likewise.
21984 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21985 not found.
21986 (open_input): Call CPP using execvp.
21987
93df14ee
JM
219882012-08-07 Joseph Myers <joseph@codesourcery.com>
21989
21990 * sysdeps/unix/sysv/linux/kernel-features.h
21991 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21992 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21993 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21994 (__ASSUME_WAITID_SYSCALL): Likewise.
21995 * sysdeps/unix/sysv/linux/dl-execstack.c
21996 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21997 code unconditional.
21998 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21999 conditional code.
22000 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22001 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22002 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22003 code.
22004 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22005 unconditional.
22006 [__ASSUME_WAITID_SYSCALL]: Likewise.
22007 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22008
d34689de
RM
220092012-08-07 Roland McGrath <roland@hack.frob.com>
22010
a281decc
RM
22011 * sysdeps/unix/closedir.c: Renamed to ...
22012 * sysdeps/posix/closedir.c: ... here.
22013 * sysdeps/unix/dirfd.c: Renamed to ...
22014 * sysdeps/posix/dirfd.c: ... here.
22015 * sysdeps/unix/dirstream.h: Renamed to ...
22016 * sysdeps/posix/dirstream.h: ... here.
22017 * sysdeps/unix/fdopendir.c: Renamed to ...
22018 * sysdeps/posix/fdopendir.c: ... here.
22019 * sysdeps/unix/opendir.c: Renamed to ...
22020 * sysdeps/posix/opendir.c: ... here.
22021 * sysdeps/unix/readdir.c: Renamed to ...
22022 * sysdeps/posix/readdir.c: ... here.
22023 * sysdeps/unix/readdir_r.c: Renamed to ...
22024 * sysdeps/posix/readdir_r.c: ... here.
22025 * sysdeps/unix/rewinddir.c: Renamed to ...
22026 * sysdeps/posix/rewinddir.c: ... here.
22027 * sysdeps/unix/seekdir.c: Renamed to ...
22028 * sysdeps/posix/seekdir.c: ... here.
22029 * sysdeps/unix/telldir.c: Renamed to ...
22030 * sysdeps/posix/telldir.c: ... here.
22031 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22032 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22033 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22034 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22035
22895b47
RM
22036 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22037 * bits/fcntl.h: ... here.
22038
707a53b6
RM
22039 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22040 not 0.
22041 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22042 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22043 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22044 (struct flock): Move l_start, l_len to the beginning.
22045 Use __pid_t for l_pid.
22046 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22047 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22048 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22049 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22050 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22051 [__USE_LARGEFILE64] (struct flock64): New type.
22052 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22053
f0bd3e25
RM
22054 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22055 * bits/dirent.h: ... here.
22056
d34689de
RM
22057 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22058 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22059
6dad2c06
JM
220602012-08-07 Joseph Myers <joseph@codesourcery.com>
22061
22062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22063 Change from 2.6.0 to 2.6.16.
22064 * sysdeps/unix/sysv/linux/configure: Regenerated.
22065 * sysdeps/unix/sysv/linux/kernel-features.h
22066 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22067 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22068 version.
22069 (__ASSUME_UTIMES): Likewise.
22070 (__ASSUME_CLONE_STOPPED): Remove.
22071 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22072 architectures, not kernel version.
22073 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22074 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22075 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22076 (__ASSUME_WAITID_SYSCALL): Likewise.
22077 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22078 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22079 * README: State 2.6.16 as minimum Linux kernel version. Do not
22080 refer to older versions.
22081
03af9520
RM
220822012-08-06 Roland McGrath <roland@hack.frob.com>
22083
8e49df1d
RM
22084 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22085 Define alphasort64 as an alias.
22086 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22087 Define versionsort64 as an alias.
22088 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22089 Define scandir64 as an alias.
22090 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22091 Define scandirat64 as an alias.
22092 * dirent/alphasort64.c (alphasort64):
22093 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22094 * dirent/versionsort64.c: Likewise.
22095 * dirent/scandir64.c: Likewise.
22096 * dirent/scandirat64.c: Likewise.
22097 * sysdeps/wordsize-64/alphasort.c: File removed.
22098 * sysdeps/wordsize-64/alphasort64.c: File removed.
22099 * sysdeps/wordsize-64/scandir.c: File removed.
22100 * sysdeps/wordsize-64/scandir64.c: File removed.
22101 * sysdeps/wordsize-64/scandirat.c: File removed.
22102 * sysdeps/wordsize-64/scandirat64.c: File removed.
22103 * sysdeps/wordsize-64/versionsort.c: File removed.
22104 * sysdeps/wordsize-64/versionsort64.c: File removed.
22105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22112 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22113
22114 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22116 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22118 [defined __arch64__ || defined __sparcv9]
22119 (__INO_T_MATCHES_INO64_T): New macro.
22120 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22121 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22122 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22123 * sysdeps/unix/sysv/linux/bits/dirent.h
22124 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22125 (_DIRENT_MATCHES_DIRENT64): New macro.
22126
03af9520
RM
22127 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22128 Define lockf64 as an alias.
22129 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22130 Define fseeko64 as an alias.
22131 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22132 Define ftello64 as an alias.
22133 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22134 Define _IO_fgetpos64 and fgetpos64 as aliases.
22135 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22136 Define _IO_fsetpos64 and fsetpos64 as aliases.
22137 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22138 Conditionalize body on this.
22139 * libio/fseeko64.c: Likewise.
22140 * libio/ftello64.c: Likewise.
22141 * libio/iofgetpos64.c: Likewise.
22142 * libio/iofsetpos64.c: Likewise.
22143 * sysdeps/wordsize-64/lockf.c: File removed.
22144 * sysdeps/wordsize-64/lockf64.c: File removed.
22145 * sysdeps/wordsize-64/fseeko.c: File removed.
22146 * sysdeps/wordsize-64/fseeko64.c: File removed.
22147 * sysdeps/wordsize-64/ftello.c: File removed.
22148 * sysdeps/wordsize-64/ftello64.c: File removed.
22149 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22150 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22151 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22152 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22154 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22156 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22158 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22159 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22160 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22162 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22163
22164 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22166 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22168 [defined __arch64__ || defined __sparcv9]
22169 (__OFF_T_MATCHES_OFF64_T): New macro.
22170 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22171 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22173 (__OFF_T_MATCHES_OFF64_T): New macro.
22174
c5757acd
L
221752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22176
22177 * stdlib/secure-getenv.c (__secure_getenv): Replace
22178 GLIBC_2_16 with GLIBC_2_17.
22179
3a31811e
L
221802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22181
22182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22183 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22184
faa2bccb
DM
221852012-08-03 David S. Miller <davem@davemloft.net>
22186
22187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22188
85fe1997
JM
221892012-08-03 Joseph Myers <joseph@codesourcery.com>
22190
22191 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22192 Remove.
22193 (__ASSUME_CORRECT_SI_PID): Likewise.
22194 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22195 (__ASSUME_TMPFS_NAME): Likewise.
22196 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22197 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22198 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22199 (HAVE_AUX_SECURE): Make definition unconditional.
22200 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22201 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22202
4f75b7a0
RM
222032012-08-03 Roland McGrath <roland@hack.frob.com>
22204
22205 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22206 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22207 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22208 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22209 __eloop_threshold instead of SYMLOOP_MAX.
22210
22211 * sysdeps/generic/eloop-threshold.h: New file.
22212 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22213 of MAXSYMLINKS.
22214 * elf/chroot_canon.c (chroot_canon): Likewise.
22215
7aab07e4
JM
222162012-08-03 Joseph Myers <joseph@codesourcery.com>
22217
22218 [BZ #13717]
22219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22220 Change to 2.6.0 everywhere.
22221 * sysdeps/unix/sysv/linux/configure: Regenerated.
22222 * sysdeps/unix/sysv/linux/kernel-features.h
22223 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22224 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22225 kernel versions.
22226 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22227 (__ASSUME_FUTEX_REQUEUE): Remove.
22228 (__ASSUME_STATFS64): Define unconditionally.
22229 (__ASSUME_AT_SECURE): Likewise.
22230 (__ASSUME_CORRECT_SI_PID): Likewise.
22231 (__ASSUME_TGKILL): Define without depending on kernel version for
22232 i386.
22233 (__ASSUME_UTIMES): Likewise.
22234 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22235 kernel version.
22236 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22237 (__ASSUME_TMPFS_NAME): Likewise.
22238 * README: Update reference to Linux kernel versions.
22239
b67e9372
MP
222402012-08-02 Marek Polacek <polacek@redhat.com>
22241
1f529f7d 22242 [BZ# 14150]
b67e9372
MP
22243 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22244 libc_cv_asm_type_prefix with %.
22245 * configure: Regenerated.
d2441631
RM
22246 * include/libc-symbols.h: Remove comment about
22247 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22248 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22249 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22250 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22251 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22252 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22253 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22254 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22255 * elf/tst-unique2mod1.c: Likewise.
22256 * elf/tst-unique1mod2.c: Likewise.
22257 * elf/tst-unique1mod1.c: Likewise.
22258 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22259 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22260 Replace ASM_TYPE_DIRECTIVE with .type.
22261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22262 * sysdeps/i386/sysdep.h: Likewise.
22263 * sysdeps/x86_64/sysdep.h: Likewise.
22264 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22266 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22267 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22268 * sysdeps/powerpc/powerpc32/sysdep.h:
22269 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22270 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22271 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22272 * sysdeps/i386/fpu/e_powf.S: Likewise.
22273 * sysdeps/i386/fpu/e_expl.S: Likewise.
22274 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22275 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22276 * sysdeps/i386/fpu/e_pow.S: Likewise.
22277 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22278 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22279 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22280 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22281 * sysdeps/i386/fpu/e_log2.S: Likewise.
22282 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22283 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22284 * sysdeps/i386/fpu/e_powl.S: Likewise.
22285 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22286 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22287 * sysdeps/i386/fpu/e_logl.S: Likewise.
22288 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22289 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22290 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22291 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22292 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22293 * sysdeps/i386/fpu/e_log.S: Likewise.
22294 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22295 * sysdeps/i386/fpu/e_logf.S: Likewise.
22296 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22297 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22298 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22299 * sysdeps/i386/fpu/e_log10.S: Likewise.
22300 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22301 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22302 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22303 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22304 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22305 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22306 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22307 * sysdeps/i386/i686/strtok.S: Likewise.
22308 * sysdeps/i386/i386-mcount.S: Likewise.
22309 * sysdeps/i386/strtok.S: Likewise.
22310 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22311 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22313 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22314 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22315 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22316 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22317 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22319 * sysdeps/x86_64/_mcount.S: Likewise.
22320 * sysdeps/x86_64/strtok.S: Likewise.
22321 * sysdeps/sh/_mcount.S: Likewise.
22322
2747bf9a
RM
223232012-08-01 Roland McGrath <roland@hack.frob.com>
22324
22325 * libio/iofopen.c: Include <fcntl.h>.
22326 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22327 (_IO_fopen64, fopen64): Define as aliases.
22328 * libio/iofopen64.c: Include <fcntl.h>.
22329 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22330 Conditionalize body on this.
22331 * sysdeps/wordsize-64/iofopen.c: File removed.
22332 * sysdeps/wordsize-64/iofopen64.c: File removed.
22333
3fb791b8
MP
223342012-08-01 Marek Polacek <polacek@redhat.com>
22335
22336 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22337 Use dlfcn directly instead of a variable.
22338 (binfmt-subdir): Do not define.
22339 (dlfcn): Likewise.
22340
a9f1039f
JM
223412012-08-01 Joseph Myers <joseph@codesourcery.com>
22342
23bddc06
JM
22343 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22344 Remove all definitions.
22345 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22346 <kernel-features.h>.
22347 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22348 (miss_F_GETOWN_EX): Remove all definitions.
22349 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22350 macro definition.
22351 [!__ASSUME_FCNTL64]: Remove conditional code.
22352 [__ASSUME_FCNTL64]: Make code unconditional.
22353 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22354 <kernel-features.h>.
22355 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22356 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22357 (lockf64) [__NR_fcntl64]: Make code unconditional.
22358 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22359
a9f1039f
JM
22360 * sysdeps/unix/sysv/linux/kernel-features.h
22361 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22362 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22363 Make code unconditional.
22364 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22365 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22367 [__NR_vfork]: Make code unconditional.
22368 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22369 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22371 [__NR_vfork]: Make code unconditional.
22372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22374
09c0ee5f
RM
223752012-08-01 Roland McGrath <roland@hack.frob.com>
22376
48aec5b9
RM
22377 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22378 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22379
cd97c966
RM
22380 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22381 Define mkstemp64 as an alias.
3f55550c
RM
22382 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22383 Define mkstemps64 as an alias.
cd97c966
RM
22384 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22385 Define mkostemp64 as an alias.
b8625cfc
RM
22386 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22387 Define mkostemps64 as an alias.
cd97c966
RM
22388 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22389 Conditionalize body on this.
22390 * misc/mkostemp64.c: Likewise.
b8625cfc 22391 * misc/mkostemps64.c: Likewise.
3f55550c 22392 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22393 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22394 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22395 * sysdeps/wordsize-64/mkostemp.c: File removed.
22396 * sysdeps/wordsize-64/mkstemp.c: File removed.
22397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22400 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22401
09c0ee5f
RM
22402 [BZ #14138]
22403 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22404 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22405 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22406 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22407
22408 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22409 compat_symbol macros from <shlib-compat.h> rather than the underlying
22410 default_symbol_version and symbol_version macros, so that DEFAULT
22411 lines in shlib-versions are respected.
22412 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22413
7e66ee51
FW
224142012-08-01 Florian Weimer <fweimer@redhat.com>
22415
22416 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22417 Declare with warn_unused_result.
22418 (setgid, setregid, setegid, setresgid): Likewise.
22419 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22420 Likewise.
22421 * WUR-REPORT: Remove set*id functions.
22422
d2a54255
PT
224232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22424
22425 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22426
7ecdb005
RM
224272012-07-31 Roland McGrath <roland@hack.frob.com>
22428
b4180a5e 22429 [BZ #10191]
789bd351
RM
22430 * include/sys/socket.h (__libc_accept, __libc_accept4):
22431 Add attribute_hidden.
22432 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22433
40ce302d
RM
22434 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22435 use of PTR_MANGLE.
22436 * inet/getnetgrent_r.c (setup): Likewise.
22437
7ecdb005
RM
22438 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22439
e2eabb2c
DM
224402012-07-31 David S. Miller <davem@davemloft.net>
22441
22442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22443
d0419dbf
JM
224442012-07-31 Joseph Myers <joseph@codesourcery.com>
22445
22446 [BZ #13629]
22447 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22448 value between 1.0 and 2.0 and smaller part has absolute value less
22449 than 1.0.
22450 * math/s_clog10.c (__clog10): Likewise.
22451 * math/s_clog10f.c (__clog10f): Likewise.
22452 * math/s_clog10l.c (__clog10l): Likewise.
22453 * math/s_clogf.c (__clogf): Likewise.
22454 * math/s_clogl.c (__clogl): Likewise.
22455 * math/libm-test.inc (clog_test): Add more tests.
22456 (clog10_test): Likewise.
22457 * sysdeps/i386/fpu/libm-test-ulps: Update.
22458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22459
2bc13872
FW
224602012-07-31 Florian Weimer <fweimer@redhat.com>
22461
22462 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22463 Exit with zero in case no suitable GID is found, and write a
22464 message to standard error.
22465
bea9b193
RM
224662012-07-30 Roland McGrath <roland@hack.frob.com>
22467
22468 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22469 rather than to 1.
22470 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22471 (MAXPATHLEN): Removed.
22472 (NOGROUP, NODEV): New macros.
22473 (setbit, clrbit, isset, isclr): New macros.
22474 (howmany, roundup, powerof2): New macros.
22475 (DEV_BSIZE): New macro.
22476
22477 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22478 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22479
22480 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22481 definition on [!__NO_LONG_DOUBLE_MATH].
22482
22483 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22484 PTR_MANGLE and PTR_DEMANGLE.
22485
22486 * socket/accept4.c (accept4): Rename to __libc_accept4.
22487 Define accept4 as a weak alias.
22488
22489 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22490 on [_DIRENT_HAVE_D_TYPE].
22491 * io/ftw.c (ftw_dir): Likewise.
22492
22493 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22494
22495 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22496
22497 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22498 Use the BSD numbers rather than the arbitrary ones we had.
22499 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22500 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22501 (SIGXCPU, SIGXFSZ): New macros.
22502 (_NSIG): Now 32.
22503
22504 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22505 initializer on [_LIBC_REENTRANT].
22506
22507 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22508 definitions inside [_POSIX_MAPPED_FILES].
22509
22510 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22511
22512 * dirent/opendir.c: Include <fcntl.h>.
22513
22514 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22515 (__libc_getspecific): Likewise.
22516 (__libc_key_create): Likewise.
22517
22518 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22519 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22520 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22521 (tmpfile64): Define as alias.
22522 * sysdeps/wordsize-64/tmpfile.c: File removed.
22523 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22526
22527 * stdio-common/vfscanf.c: Include <stdbool.h>.
22528 * nss/makedb.c: Likewise.
22529 * stdio-common/_i18n_number.h: Likewise.
22530 * argp/argp-help.c: Likewise.
22531 * posix/wordexp.c: Likewise.
22532 * sysdeps/posix/spawni.c: Likewise.
22533 * nss/nss_files/files-initgroups.c: Likewise.
22534 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22535 * nss/nss_files/files-initgroups.c: Likewise.
22536 * nss/nss_db/db-netgrp.c: Likewise.
22537 * nss/nss_db/db-initgroups.c: Likewise.
22538 * io/fchmodat.c: Include <sys/stat.h>.
22539
22540 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22541 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22542
22543 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22544 [HAVE_MMAP].
22545
22546 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22547 Add multiple inclusion protection.
22548
e5abc686
DM
225492012-07-27 David S. Miller <davem@davemloft.net>
22550
22551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22552
815e6fa3
GB
225532012-07-27 Gary Benson <gbenson@redhat.com>
22554
22555 [BZ #14298]
22556 * elf/rtld.c: Include <stap-probe.h>.
22557 (dl_main): Added static probes "init_start" and "init_complete".
22558 * elf/dl-load.c: Include <stap-probe.h>.
22559 (lose): Take new parameter "nsid".
22560 Added static probe "map_failed".
22561 (_dl_map_object_from_fd): Pass namespace id to lose.
22562 Added static probe "map_start".
22563 (open_verify): Pass namespace id to lose.
22564 * elf/dl-open.c: Include <stap-probe.h>.
22565 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22566 and "reloc_complete".
22567 * elf/dl-close.c: Include <stap-probe.h>.
22568 (_dl_close_worker): Added static probes "unmap_start" and
22569 "unmap_complete".
22570 * elf/rtld-debugger-interface.txt: New file documenting the above.
22571
9f98c16c
RM
225722012-07-26 Roland McGrath <roland@hack.frob.com>
22573
22574 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22575 rather than a string variable.
22576 * sunrpc/rpc_main.c (h_output): Likewise.
22577 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22578
f3c22df3
PT
225792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22580
22581 * inet/check_native.c: New file.
22582
3129cfc6
JM
225832012-07-26 Joseph Myers <joseph@codesourcery.com>
22584
da865e95
JM
22585 [BZ #13629]
22586 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22587 if larger part has absolute value 1.0.
22588 * math/s_clog10.c (__clog10): Likewise.
22589 * math/s_clog10f.c (__clog10f): Likewise.
22590 * math/s_clog10l.c (__clog10l): Likewise.
22591 * math/s_clogf.c (__clogf): Likewise.
22592 * math/s_clogl.c (__clogl): Likewise.
22593 * math/libm-test.inc (clog_test): Add more tests.
22594 (clog10_test): Likewise.
22595 * sysdeps/i386/fpu/libm-test-ulps: Update.
22596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22597
3129cfc6
JM
22598 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22599 (pltexit): Likewise.
22600 (La_regs): Likewise.
22601 (La_retval): Likewise.
22602 (int_retval): Likewise.
22603 Update #error for removed macros to refer only to definitions in
22604 tst-audit.h.
22605 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22606 macro.
22607 (pltexit): Likewise.
22608 (La_regs): Likewise.
22609 (La_retval): Likewise.
22610 (int_retval): Likewise.
22611 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22612 macro.
22613 (pltexit): Likewise.
22614 (La_regs): Likewise.
22615 (La_retval): Likewise.
22616 (int_retval): Likewise.
22617 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22618 macro.
22619 (pltexit): Likewise.
22620 (La_regs): Likewise.
22621 (La_retval): Likewise.
22622 (int_retval): Likewise.
22623 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22624 macro.
22625 (pltexit): Likewise.
22626 (La_regs): Likewise.
22627 (La_retval): Likewise.
22628 (int_retval): Likewise.
22629 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22630 macro.
22631 (pltexit): Likewise.
22632 (La_regs): Likewise.
22633 (La_retval): Likewise.
22634 (int_retval): Likewise.
22635 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22636 macro.
22637 (pltexit): Likewise.
22638 (La_regs): Likewise.
22639 (La_retval): Likewise.
22640 (int_retval): Likewise.
22641 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22642 macro definitions in tst-audit.h.
22643 * sysdeps/i386/tst-audit.h: New file.
22644 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22645 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22646 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22647 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22648 * sysdeps/sh/tst-audit.h: Likewise.
22649 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22650 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22651 * sysdeps/x86_64/tst-audit.h: Likewise.
22652
bfc07087
AJ
226532012-07-26 Andreas Jaeger <aj@suse.de>
22654
b1b2aaf8
AJ
22655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22656 ptrace.
22657
22658 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22659 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22660 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22661 PTRACE_O_MASK.
22662 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22663 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22664 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22665
bfc07087
AJ
22666 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22667 value.
22668
22669 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22670 _sigsys.
22671 (si_call_addr, si_syscall, si_arch): Define new macro.
22672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22673 _sigsys.
22674 (si_call_addr, si_syscall, si_arch): Define new marcro.
22675 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22676 _sigsys.
22677 (si_call_addr, si_syscall, si_arch): Define new macro.
22678 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22679 _sigsys.
22680 (si_call_addr, si_syscall, si_arch): Define new macro.
22681
89b4b02f
JM
226822012-07-25 Joseph Myers <joseph@codesourcery.com>
22683
22684 [BZ #13717]
22685 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22686 Change to 2.4.21 where previously 2.4.1.
22687 * sysdeps/unix/sysv/linux/configure: Regenerated.
22688 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22689 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22690 Linux kernel version.
22691 (__ASSUME_STD_AUXV): Remove.
22692 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22693 kernel version.
22694 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22695 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22696 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22697 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22698 (__ASSUME_NETLINK_SUPPORT): Likewise.
22699 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22700 (__no_netlink_support): Remove conditional definition.
22701 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22702 Remove.
22703 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22704 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22705 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22706 (if_nameindex_ioctl): Remove.
22707 (if_nameindex_netlink): Do not handle __no_netlink_support.
22708 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22709 code.
22710 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22711 Remove conditional code.
22712 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22713 code.
22714 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22715 unconditional.
22716 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22717 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22718 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22719 Remove.
22720 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22721 [!__ASSUME_STD_AUXV]: Remove conditional code.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22723 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22724 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22726 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22727 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22728 code.
22729 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22731 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22732 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22733 conditional code.
22734 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22736 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22737 code.
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22739 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22740 conditional code.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22742 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22743 code unconditional.
22744 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22745 conditional code.
22746 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22747 unconditional.
22748 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22749 conditional code.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22751 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22752 unconditional.
22753 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22754 conditional code.
22755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22756 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22757 code unconditional.
22758 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22759 conditional code.
22760 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22761 unconditional.
22762 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22763 conditional code.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22765 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22766 code unconditional.
22767 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22768 conditional code.
22769 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22770 unconditional.
22771 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22772 conditional code.
22773
842a39cd
AS
227742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22775
22776 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22777 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22778 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22779 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22780 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22781 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22782 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22783 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22784 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22785 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22786 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22787 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22788 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22789 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22790 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22792 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22793 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22794 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22796 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22797 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22799
84b3fd84
FW
228002012-07-25 Florian Weimer <fweimer@redhat.com>
22801
22802 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22803 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22804 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22805 Introduce __libc_secure_getenv.
0c7936d5
FW
22806 * stdlib/Versions (2.17): Add secure_getenv
22807 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22808 * stdlib/secure-getenv.c: Rename __secure_getenv to
22809 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22810 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22811 * stdlib/tst-secure-getenv.c: New.
22812 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22813 * manual/startup.texi (Environment Access): Document
22814 secure_getenv.
84b3fd84
FW
22815 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22816 __libc_secure_getenv.
22817 * inet/ruserpass.c (ruserpass): Likewise.
22818 * malloc/mtrace.c (mtrace): Likewise.
22819 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22820 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22821 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22822 * sysdeps/posix/tempname.c: Likewise. Evaluate
22823 HAVE_SECURE_GETENV.
22824 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22825 __secure_getenv to __libc_secure_getenv.
84b3fd84 22826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22828 Likewise.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22830 Likewise.
22831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22838
56e49b71
JM
228392012-07-25 Joseph Myers <joseph@codesourcery.com>
22840
22841 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22842 (struct La_i86_retval): Likewise.
22843 (struct La_x86_64_regs): Likewise.
22844 (struct La_x86_64_retval): Likewise.
22845 (struct La_x32_regs): Likewise.
22846 (struct La_x32_retval): Likewise.
22847 (struct La_ppc32_regs): Likewise.
22848 (struct La_ppc32_retval): Likewise.
22849 (struct La_ppc64_regs): Likewise.
22850 (struct La_ppc64_retval): Likewise.
22851 (struct La_sh_regs): Likewise.
22852 (struct La_sh_retval): Likewise.
22853 (struct La_s390_32_regs): Likewise.
22854 (struct La_s390_32_retval): Likewise.
22855 (struct La_s390_64_regs): Likewise.
22856 (struct La_s390_64_retval): Likewise.
22857 (struct La_sparc32_regs): Likewise.
22858 (struct La_sparc32_retval): Likewise.
22859 (struct La_sparc64_regs): Likewise.
22860 (struct La_sparc64_retval): Likewise.
22861 (struct audit_ifaces): Remove architecture-specific pltenter and
22862 pltexit members.
22863 * sysdeps/i386/ldsodefs.h: New file.
22864 * sysdeps/powerpc/ldsodefs.h: Likewise.
22865 * sysdeps/s390/ldsodefs.h: Likewise.
22866 * sysdeps/sh/ldsodefs.h: Likewise.
22867 * sysdeps/sparc/ldsodefs.h: Likewise.
22868 * sysdeps/x86_64/ldsodefs.h: Likewise.
22869
354691b7
MP
228702012-07-25 Marek Polacek <polacek@redhat.com>
22871
22872 [BZ #6808]
22873 * math/libm-test.inc (yn_test): Add another test.
22874 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22875 to ERANGE when the result is +-Inf.
22876 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22877 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22878 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22879 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22880
bf9e2071
JM
228812012-07-24 Joseph Myers <joseph@codesourcery.com>
22882
22883 * conform/data/time.h-data (NULL): Use macro-constant. Require
22884 equal to 0.
22885 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22886 clock_t.
22887 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22888
57633811
TS
228892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22890
22891 * configure.in <sysdeps resolving>: Correct printing
22892 Implies_before.
22893 * configure: Regenerate.
22894
c23c33b0
TS
228952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22896
22897 * math/w_ilogb.c: Include <limits.h>.
22898 * math/w_ilogbl.c: Likewise.
22899
b5982523
JM
229002012-07-20 Joseph Myers <joseph@codesourcery.com>
22901
22902 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22903 va_copy. Document allowing for unavailable va_copy only as
22904 pre-C99 compatibility.
22905 * manual/string.texi (Copying and Concatenation): Use va_copy
22906 instead of __va_copy in concat example.
22907
ac4ea442
PT
229082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22909
22910 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22911 (__sendto): Use create_address_port. Initialize APORT and deallocate
22912 it if not null.
22913
f98eafbd
PT
22914 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22915 with O_NOLINK passed to __file_name_lookup.
22916
898c7aab
PT
22917 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22918 with O_NOLINK passed to __file_name_lookup.
22919
0ced335a
PT
22920 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22921 negative N or less than NGIDS.
22922
b3404dbd
PT
22923 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22924 type to string_t. Set ERANGE as errno and return it if NAME is not big
22925 enough. Use memcpy instead of strncpy.
22926
0f48659e
JM
229272012-07-20 Joseph Myers <joseph@codesourcery.com>
22928
22929 * elf/Makefile (check-data): Remove.
22930 (localplt.data): New vpath directive.
22931 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22932 instead of $(check-data).
22933 * scripts/data/localplt-generic.data: Move to ...
22934 * sysdeps/generic/localplt.data: ... here.
22935 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22936 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22937 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22939 ... here.
22940 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22942 ... here.
22943 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22945 ... here.
22946 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22948 ... here.
22949 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22951 ... here.
22952 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22954 ... here.
22955
d37cbdaa
AZ
229562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22957
22958 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22959 PPC32 and PPC64 files.
22960 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22961 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22962
46f85fc2
AK
229632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22964
22965 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22966 __makecontext_ret to ...
22967 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22968 ... here and call exit if uc_link is NULL. New file.
22969 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22970 __makecontext_ret.S.
22971 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22972 __makecontext_ret to ...
22973 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22974 ... here and call exit if uc_link is NULL. New file.
22975 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22976 __makecontext_ret.S.
22977
08f43f9b
AK
229782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22979
22980 * elf/elf.h (R_390_IRELATIVE): New definition.
22981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22982 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22983 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22984 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22985 (elf_machine_lazy_rel): Likewise.
22986 * sysdeps/s390/dl-irel.h: New file.
22987 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22988 * sysdeps/s390/s390-64/memset.S: New asm code.
22989 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22990 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22991 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22992 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22993 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22994 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22995 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22996 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22997 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22998 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22999 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23000 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23001 * sysdeps/s390/s390-32/memset.S: New asm code.
23002 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23003
3b05db33
MP
230042012-07-17 Marek Polacek <polacek@redhat.com>
23005
23006 [BZ #14349]
23007 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23008 * sysdeps/s390/s390-64/configure.in: Likewise.
23009 * sysdeps/sparc/configure.in: Likewise.
23010 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23011 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23012 * sysdeps/i386/configure.in: Likewise.
23013 * sysdeps/x86_64/configure.in: Likewise.
23014 * sysdeps/sh/configure.in: Likewise.
23015 * sysdeps/s390/s390-32/configure: Regenerated.
23016 * sysdeps/s390/s390-64/configure: Likewise.
23017 * sysdeps/x86_64/configure: Likewise.
23018 * sysdeps/sh/configure: Likewise.
23019 * sysdeps/powerpc/powerpc64/configure: Likewise.
23020 * sysdeps/powerpc/powerpc32/configure: Likewise.
23021 * sysdeps/sparc/configure: Likwise.
23022 * sysdeps/i386/configure: Likewise.
23023
a66877c6
MP
23024 * elf/dl-open.c: Comment fixes.
23025
cfc82fd8
JM
230262012-07-17 Joseph Myers <joseph@codesourcery.com>
23027
bd29910a
JM
23028 * Makefile [CXX] (check-data): Remove.
23029 [CXX] (c++-types.data): New vpath directive.
23030 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23031 vpath. Do not allow for C++ type data being missing.
23032 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23033 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23034 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23035 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23036 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23037 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23038 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23040 ... here.
23041 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23043 ... here.
23044 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23046 ... here.
23047 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23049 ... here.
23050 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23052 ... here.
23053 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23055 ... here.
23056 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23058 ... here.
23059 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23061
cfc82fd8
JM
23062 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23063 definitions to architecture-specific files.
23064 (TLS_IE): Likewise.
23065 (TLS_LD): Likewise.
23066 (TLS_GD): Likewise.
23067 * sysdeps/i386/tls-macros.h: New file.
23068 * sysdeps/powerpc/tls-macros.h: Likewise.
23069 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23070 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23071 * sysdeps/sh/tls-macros.h: Likewise.
23072 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23073 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23074 * sysdeps/x86_64/tls-macros.h: Likewise.
23075
f7db3170
TS
230762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23077
07cbfc23
TS
23078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23079 zero value for regular exit case.
23080
f7db3170
TS
23081 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23082 (__start_context): Preserve zero value for regular exit case.
23083
dc97c227
TS
230842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23085 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23086
23087 * manual/setjmp.texi (setcontext): Clarify normal process
23088 termination when uc_link is the null pointer.
23089 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23090 exit call.
23091
d0cd7d02
AS
230922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23093
23094 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23095 preprocessor. Test for each exception mask separately.
23096
dd318934
AJ
230972012-07-16 Andreas Jaeger <aj@suse.de>
23098
23099 * po/ru.po: Update from translation team.
23100
8048311a
JM
231012012-07-15 Joseph Myers <joseph@codesourcery.com>
23102
23103 * conform/data/string.h-data (NULL): Use macro-constant. Require
23104 equal to 0.
23105 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23106 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23107 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23108 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23110
b637d46e
AJ
231112012-07-13 Andreas Jaeger <aj@suse.de>
23112
23113 * po/fr.po: Update from translation team.
23114
541428fe
MP
231152012-07-12 Marek Polacek <polacek@redhat.com>
23116
23117 [BZ #14173]
23118 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23120 loop condition.
23121
ec332e94
JM
231222012-07-12 Joseph Myers <joseph@codesourcery.com>
23123
23124 [BZ #13717]
23125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23126 Change to 2.4.1 where previously 2.4.0.
23127 * sysdeps/unix/sysv/linux/configure: Regenerated.
23128 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23129 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23130 version.
23131 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23132 (__ASSUME_AT_CLKTCK): Remove.
23133 (__ASSUME_AT_PAGESIZE): Likewise.
23134 (__ASSUME_AT_XID): Likewise.
23135 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23136 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23137 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23138 unconditionally.
23139 (HAVE_AUX_PAGESIZE): Likewise.
23140 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23141 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23142 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23143
7b6e99be
JB
231442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23145
23146 [BZ #14307]
23147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23148 the temporary buffer used to invoke __gethostbyname2_r,
23149 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23150 host_data / struct gaih_addrtuple.
23151 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23152 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23153 header file nss/nsswitch.h.
23154 * nss/nsswitch.h (global scope): Add definition of implementation
23155 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23156 resolv/nss_dns/dns-host.c).
23157
608404eb
AJ
231582012-07-11 Andreas Jaeger <aj@suse.de>
23159
23160 * po/fr.po: Update from translation team.
23161
71220aca
AJ
23162 * po/sv.po: Update from translation team
23163 * po/fr.po: Another update from translation team.
23164
28cfe843
AZ
231652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23166
23167 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23168 for subnormals or multiply small sinh result by itself.
23169 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23171
6b90f981
DM
231722012-07-11 David S. Miller <davem@davemloft.net>
23173
23174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23175
c6825772
AS
231762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23177
23178 [BZ #14347]
23179 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23180 (INTERNAL_MARK): Shift it here.
23181
7b8e0d49
MP
231822012-07-10 Marek Polacek <polacek@redhat.com>
23183
23184 [BZ #14151]
23185 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23186 libc_cv_asm_global_directive with .globl.
23187 * configure: Regenerated.
23188 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23189 with .globl.
23190 * sysdeps/i386/configure: Regenerated.
23191 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23192 with .globl.
23193 * sysdeps/x86_64/configure: Regenerated.
23194 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23195 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23196 * elf/tst-unique2mod2.c: Likewise.
23197 * elf/tst-unique2mod1.c: Likewise.
23198 * elf/tst-unique1mod2.c: Likewise.
23199 * elf/tst-unique1mod1.c: Likewise.
23200 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23201 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23203 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23204 * sysdeps/mach/sysdep.h: Likewise.
23205 * sysdeps/i386/sysdep.h: Likewise.
23206 * sysdeps/i386/i386-mcount.S: Likewise.
23207 * sysdeps/x86_64/_mcount.S: Likewise.
23208 * sysdeps/x86_64/sysdep.h: Likewise.
23209 * sysdeps/sh/_mcount.S: Likewise.
23210 * sysdeps/sh/sysdep.h: Likewise.
23211 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23212 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23213 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23215 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23216 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23217 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23218 * locale/localeinfo.h: Likewise.
23219 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23220 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23221
6c55cda3
RM
232222012-07-09 Roland McGrath <roland@hack.frob.com>
23223
23224 [BZ #14336]
23225 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23226 system".
23227 * manual/message.texi (The Uniforum approach): Likewise.
23228 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23229 (glibc iconv Implementation): Likewise.
23230
638a572e
JM
232312012-07-09 Joseph Myers <joseph@codesourcery.com>
23232
23233 [BZ #14337]
23234 * math/s_clog.c (__clog): Avoid scaling a value down where that
23235 could result in underflow.
23236 * math/s_clog10.c (__clog10): Likewise.
23237 * math/s_clog10f.c (__clog10f): Likewise.
23238 * math/s_clog10l.c (__clog10l): Likewise.
23239 * math/s_clogf.c (__clogf): Likewise.
23240 * math/s_clogl.c (__clogl): Likewise.
23241 * math/libm-test.inc (clog_test): Add more tests.
23242 (clog10_test): Likewise.
23243 * sysdeps/i386/fpu/libm-test-ulps: Update.
23244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23245
261f4859
AS
232462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23247
0abaf3e4
AS
23248 [BZ #14283]
23249 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23250 by 7 not 8 to examine high bit of fractional part.
23251
261f4859
AS
23252 [BZ #14042]
23253 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23254 for call to __mcount_internal.
23255 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23256 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23257 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23258
f17ac40d
JM
232592012-07-06 Joseph Myers <joseph@codesourcery.com>
23260
9ad63c23
JM
23261 [BZ #14154]
23262 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23263 approximation for values within 0x1p-13f of an odd multiple of
23264 pi/4.
23265 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23266 exception. Add more tests.
23267 * sysdeps/i386/fpu/libm-test-ulps: Update.
23268
f17ac40d
JM
23269 [BZ #6778]
23270 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23271 inputs and return -1 for them. Do not check for +Inf in case not
23272 reachable for +Inf.
23273 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23274 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23275 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23276 and return -1 for them. Do not check for +Inf in case not
23277 reachable for +Inf.
23278 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23279 define.
23280 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23281 and return -1 for them. Do not check for +Inf in case not
23282 reachable for +Inf.
23283 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23284 spurious underflow.
23285 * sysdeps/i386/fpu/libm-test-ulps: Update.
23286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287
fb21f89b
MF
232882012-07-06 Mike Frysinger <vapier@gentoo.org>
23289
23290 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23291
cdfe2c5e
JM
232922012-07-05 Joseph Myers <joseph@codesourcery.com>
23293
23294 [BZ #14157]
23295 [BZ #14331]
23296 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23297 could result in spurious underflow. Scale down values above
23298 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23299 * math/s_csqrtf.c (__csqrtf): Likewise.
23300 * math/s_csqrtl.c (__csqrtl): Likewise.
23301 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23302 spurious underflow.
23303 * sysdeps/i386/fpu/libm-test-ulps: Update.
23304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23305
70d35b67
AS
233062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23307
704bc459
AS
23308 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23309 xopen-msg.sed.
23310 * catgets/xopen-msg.awk: New file.
23311 * catgets/xopen-msg.sed: Removed.
23312
70d35b67
AS
23313 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23314 po2text.sed.
23315 * intl/po2test.awk: New file.
23316 * intl/po2test.sed: Removed.
23317
ca61cf32
JM
233182012-07-04 Joseph Myers <joseph@codesourcery.com>
23319
23320 [BZ #14328]
23321 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23322 or multiply small sinh result by itself.
23323 * math/s_ctanf.c (__ctanf): Likewise.
23324 * math/s_ctanh.c (__ctanh): Likewise.
23325 * math/s_ctanhf.c (__ctanhf): Likewise.
23326 * math/s_ctanhl.c (__ctanhl): Likewise.
23327 * math/s_ctanl.c (__ctanl): Likewise.
23328 * math/libm-test.inc (ctan_test_tonearest): New function.
23329 (ctan_test_towardzero): Likewise.
23330 (ctan_test_downward): Likewise.
23331 (ctan_test_upward): Likewise.
23332 (ctanh_test_tonearest): Likewise.
23333 (ctanh_test_towardzero): Likewise.
23334 (ctanh_test_downward): Likewise.
23335 (ctanh_test_upward): Likewise.
23336 (main): Call these new functions.
23337 * sysdeps/i386/fpu/libm-test-ulps: Update.
23338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23339
ca48a46a
MF
233402012-07-03 Mike Frysinger <vapier@gentoo.org>
23341
23342 * .gitignore: Delete /ports entry.
23343
9d63d37d
AJ
233442012-07-03 Andreas Jaeger <aj@suse.de>
23345
23346 * po/bg.po: Update from translation team.
23347 * po/cs.po: Likewise.
23348 * po/de.po: Likewise.
23349 * po/hr.po: Likewise.
23350 * po/nl.pl: Likewise.
23351 * po/pl.po: Likewise.
23352 * po/vi.po: Likewise.
23353
370ca3d2
JM
233542012-07-03 Joseph Myers <joseph@codesourcery.com>
23355
95f5a9a8
JM
23356 * Makeconfig [!+link] (+link-before-libc): New variable.
23357 [!+link] (+link-after-libc): Likewise.
23358 [!+link] (+link-tests): Likewise.
23359 [!+link] (+link): Define in terms of $(+link-before-libc) and
23360 $(+link-after-libc).
23361 [!+link-static] (+link-static-before-libc): New variable.
23362 [!+link-static] (+link-static-after-libc): Likewise.
23363 [!+link-static] (+link-static-tests): Likewise.
23364 [!+link-static] (+link-static): Define in terms of
23365 $(+link-static-before-libc) and $(+link-static-after-libc).
23366 [build-shared] (link-libc-before-gnulib): New variable.
23367 [build-shared] (link-libc-tests): Likewise.
23368 [build-shared] (link-libc): Define in terms of
23369 $(link-libc-before-gnulib).
23370 [!build-shared] (link-libc-tests): New variable.
23371 (link-libc-static-tests): New variable.
23372 [!gnulib] (gnulib-arch): New variable.
23373 [!gnulib] (gnulib-tests): Likewise.
23374 [!gnulib] (static-gnulib-arch): Likewise.
23375 [!gnulib] (static-gnulib-tests): Likewise.
23376 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23377 Define with "=" instead of ":=".
23378 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23379 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23380 * Rules (binaries-all-notests): New variable.
23381 (binaries-all-tests): Likewise.
23382 (binaries-static-notests): Likewise.
23383 (binaries-static-tests): Likewise.
23384 (binaries-all): Define using $(binaries-all-notests) and
23385 $(binaries-all-tests).
23386 (binaries-static): Define using $(binaries-static-notests) and
23387 $(binaries-static-tests).
23388 (binaries-shared-tests): New variable.
23389 (binaries-shared-notests): Likewise.
23390 (binaries-shared): Remove variable.
23391 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23392 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23393 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23394 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23395 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23396 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23397 * elf/Makefile (sln-modules): New variable.
23398 (extra-objs): Add $(sln-modules:=.o).
23399 (ldconfig-modules): Add static-stubs.
23400 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23401 * elf/static-stubs.c: New file.
23402
7a845b2c
JM
23403 [BZ #14283]
23404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23405 by 7 not 8 to examine high bit of fractional part. Use volatile
23406 variables when splitting into final array of floats if
23407 __FLT_EVAL_METHOD__ != 0.
23408 * math/libm-test.inc (cos_test): Add another test.
23409 (sin_test): Likewise.
23410 * sysdeps/i386/fpu/libm-test-ulps: Update.
23411
e2283f38
JM
23412 [BZ #14273]
23413 * math/libm-test.inc (cosh_test): Add more tests.
23414
370ca3d2
JM
23415 * version.h (RELEASE): Set to "development".
23416 (VERSION): Set to "2.16.90".
23417
ee9247c3
CD
234182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23419
23420 * NEWS: Update copyright. Remove last-updated date.
23421 Mention math library bug fixes and timezone data changes.
23422 * README: Mention GNU/Hurd, x32, and HPPA support status.
23423
4648c381
TS
234242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23425
23426 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23427
aac78a43
AJ
234282012-06-27 Andreas Jaeger <aj@suse.de>
23429
23430 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23431
ed3dbfad
AJ
234322012-06-25 Andreas Jaeger <aj@suse.de>
23433
23434 * sysdeps/s390/fpu/libm-test-ulps: Update.
23435
4d0ee855
AS
234362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23437 Thomas Schwinge <thomas@codesourcery.com>
23438
23439 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23440 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23442 fanotify_mark.
23443
af1bce34
TS
234442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23445
a9fa33ba
TS
23446 * sysdeps/mach/start.c: Remove file.
23447 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23448 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23449 * sysdeps/sh/init-first.c: Likewise.
23450
58f902b8
TS
23451 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23452 registers for frame unwinding purposes, add CFI directives.
23453 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23455 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23456 Likewise.
23457
1518f58b
TS
23458 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23459 __fortify_fail returning.
23460 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23461
db9b5059
TS
23462 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23463 sysdeps/sh/____longjmp_chk.S.
23464 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23465 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23466 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23467 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23468
967705fe
TS
23469 * sysdeps/sh/abort-instr.h: New file.
23470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23471 process in case exit returns.
23472
a9def8c4
TS
23473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23474 initialize the GOT register before use.
23475
2a649725
TS
23476 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23477 calculation of ARGC > 4.
23478
af1bce34
TS
23479 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23480 meaningful names to some local labels.
23481
d230f50a
KK
234822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23483 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23484
23485 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23486 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23487 (__arch_compare_and_exchange_val_16_acq): Likewise.
23488 (__arch_compare_and_exchange_val_32_acq): Likewise.
23489 (atomic_exchange_and_add): Fix gUSA sequence.
23490 (atomic_add): Likewise.
23491 (atomic_add_negative): Likewise.
23492 (atomic_add_zero): Likewise.
23493 (atomic_bit_test_set): Likewise.
23494
0479b305
AS
234952012-06-22 Andreas Schwab <schwab@redhat.com>
23496
23497 [BZ #13579]
23498 * include/link.h (struct link_map): Add l_free_initfini.
23499 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23500 l_initfini.
23501 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23502 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23503 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23504 set.
23505
0e3933b9
CD
235062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23507
23508 * configure.in: Use AC_LANG_SOURCE.
23509 * configure: Regenerate.
23510
4248b1b1
RM
235112012-06-22 Roland McGrath <roland@hack.frob.com>
23512
23513 * configure.in (libc_cv_localstatedir): New substituted variable.
23514 * configure: Regenerated.
23515 * config.make.in (localstatedir): New variable, substituted from
23516 libc_cv_localstatedir.
23517 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23518 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23519 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23520 * sysdeps/gnu/configure: Regenerated.
23521
006dd861
JL
235222012-06-21 Jeff Law <law@redhat.com>
23523
23524 [BZ #14277]
23525 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23526 free. Simplify list management for _LIBC case.
23527
79662d42
JM
235282012-06-21 Joseph Myers <joseph@codesourcery.com>
23529
b7abb4bf
JM
23530 [BZ #14273]
23531 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23532 Clear sign bit of 64-bit integer value before comparing against
23533 overflow value.
23534
79662d42
JM
23535 * sysdeps/mach/configure: Regenerated.
23536
1f150908
L
235372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23538
23539 [BZ #14278]
23540 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23541
28363bbf
JL
235422012-06-21 Jeff Law <law@redhat.com>
23543
23544 [BZ #13882]
23545 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23546 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23547 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23548 * elf/dl-open.c (dl_open_worker): Likewise.
23549
09615db4
CD
235502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23551
23552 * scripts/list-sources.sh: Scan PORTS for translations.
23553 * po/libc.pot: Regenerated.
23554
2174c6dd
AJ
235552012-06-21 Andreas Jaeger <aj@suse.de>
23556
23557 [BZ #12194]
23558 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23559 warning.
23560 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23561 * bits/byteswap-16.h (__bswap_16): Likewise.
23562 * bits/byteswap.h (__bswap_constant_16): Likewise.
23563
3ee947b1
L
235642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23565
23566 [BZ #14117]
a2f34833
L
23567 * sysdeps/i386/fpu_control.h: Removed.
23568 * sysdeps/x86_64/fpu_control.h: Moved to ...
23569 * sysdeps/x86/fpu_control.h: Here.
23570
3ee947b1
L
23571 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23572 (_FPU_SETCW): Likewise.
23573
ed1825f8
L
235742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23575
25f1282a
L
23576 [BZ #14117]
23577 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23578 * sysdeps/x86/fpu/bits/mathinline.h: This.
23579 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23580
ed1825f8
L
23581 [BZ #14050]
23582 [BZ #14117]
23583 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23584 functions if __x86_64__ is defined.
23585
36d54b74
CLT
235862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23587
23588 * string/endian.h: Add !__ASSEMBLER__ condition for including
23589 conversion interfaces.
23590
10285c21
JM
235912012-06-15 Joseph Myers <joseph@codesourcery.com>
23592
23593 [BZ #14241]
23594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23595 of ABS(x) in calculating zero to negative powers other than odd
23596 integers.
23597 * math/libm-test.inc (pow_test): Add more tests.
23598
06c5abbd
AJ
235992012-06-15 Andreas Jaeger <aj@suse.de>
23600
23601 * manual/contrib.texi (Contributors): Update entry of Liubov
23602 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23603 Machado Filho.
23604
a3aeac40
CH
236052012-06-15 Cyril Hrubis <metan@ucw.cz>
23606
23607 * string/string.h: Add __wur to GNU version of strerror_r.
23608
49bdf4c1
L
236092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 [BZ #14229]
23612 * string/Makefile (tests): Add tst-strtok_r.
23613 * string/tst-strtok_r.c: New file.
23614 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23615 RAX_LP/RDX_LP on SAVE_PTR.
23616
834f9b8d
RM
236172012-06-14 Roland McGrath <roland@hack.frob.com>
23618
23619 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23620
75fa1921
JM
236212012-06-14 Joseph Myers <joseph@codesourcery.com>
23622
23623 * libm_test.inc (csqrt_test): Allow more spurious underflow
23624 exceptions.
23625 (j0_test): Likewise.
23626 (j1_test): Likewise.
23627 (y0_test): Likewise.
23628 (y1_test): Likewise.
23629
771766df
CD
236302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23631
23632 * po/Makefile (libc.pot): Use UTF-8 charset.
23633
ceb9e56b
PP
236342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23635
23636 [BZ #14210]
23637 Suppress sign-conversion warning from FD_SET.
23638 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23639 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23640 not unsigned long int.
23641 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23642
ddb28975
L
236432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23644
23645 [BZ #14050]
23646 [BZ #14117]
23647 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23648 __extern_always_inline instead of __extern_inline.
23649 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23650 (__signbit): Likewise.
23651 (__signbitl): Support C++ namespace.
23652 (lrintf): New inline function.
23653 (lrint): Likewise.
23654 (llrintf): Likewise.
23655 (llrint): Likewise.
23656 (fmaxf): Likewise.
23657 (fmax): Likewise.
23658 (fminf): Likewise.
23659 (fmin): Likewise.
23660 (rint): Likewise.
23661 (rintf): Likewise.
23662 (ceil): Likewise.
23663 (ceilf): Likewise.
23664 (floor): Likewise.
23665 (floorf): Likewise.
23666 (nearbyint): Likewise.
23667 (nearbyintf): Likewise.
23668
d7b4fb26
TS
236692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23670
23671 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23672 non-default versions.
23673
eb55f5c2
RM
236742012-06-11 Roland McGrath <roland@hack.frob.com>
23675
23676 [BZ #14218]
23677 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23678
366af02c
TS
236792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23680
99ff6e5c
TS
23681 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23682 (FE_UPWARD, FE_DOWNWARD): Don't define.
23683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23684 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23685
366af02c
TS
23686 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23687 reading it.
23688 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23690
793ea851
KK
236912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23692
23693 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23696 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23697
a728a38f
L
236982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23699
23700 [BZ #14117]
c08010c7
L
23701 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23702 * sysdeps/i386/fpu/Implies: New file.
23703 * sysdeps/x86_64/fpu/Implies: Likewise.
23704 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23705 * sysdeps/x86/fpu/bits/fenv.h: This.
23706
a728a38f
L
23707 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23708 __SSE_MATH__.
23709
6e230d11
SP
237102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23711
23712 [BZ #14134]
23713 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23714 character 0xffff that matches the last element of the
23715 conversion table.
23716
1b671feb
AZ
237172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23718
23719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23720 fmodl commit.
23721
6043738b
AZ
237222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23723
23724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23725 values higher than 25.6283.
23726
34ae0b32
AZ
237272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23728
23729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23730 subnormal exponent extraction and add some __builtin_expect.
23731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23732 Fix for subnormal mantissa calculation.
23733
1214ec8f
MF
237342012-06-04 Mike Frysinger <vapier@gentoo.org>
23735
23736 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23737 cpu2 is -1 and errno is not ENOSYS.
23738
f3d1f93c
L
237392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 [BZ #14117]
0e4a3cd7
L
23742 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23743 * sysdeps/x86/bits/string.h: This.
23744 * sysdeps/x86_64/bits/string.h: Removed.
23745
6704c645
L
23746 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23747 if not compiling for x86-64, but compiling for >= i486.
23748
48495318
L
23749 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23750 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23751
14adcbfc
L
23752 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23753 New macro from Linux kernel 3.4.0.
23754 (FP_XSTATE_MAGIC2): Likewise.
23755 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23756 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23757 (struct _fpx_sw_bytes): New struct.
23758 (struct _xsave_hdr): Likewise.
23759 (struct _ymmh_state): Likewise.
23760 (struct _xstate): Likewise.
23761
68e408ab
L
23762 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23763 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23764 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23765 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23766 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23767 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23768
f3d1f93c
L
23769 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23770 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23771 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23772 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23773 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23774 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23775
d9dc34cd
TMQMF
237762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23777
23778 [BZ #13743]
23779 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23780 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23781 (sysdep_headers): Include sys/platform/ppc.h.
23782 * sysdeps/powerpc/test-gettimebase.c: Test for
23783 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23784 * manual/Makefile (appendices): Include platform.texi.
23785 * manual/contrib.texi (Contributors): Update @node pointers.
23786 * manual/maint.texi (Maintenance): Likewise.
23787 (Platform): New node.
23788 * manual/platform.texi: New file. Document the new features.
23789
4af3879c
SP
237902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23791 Jakub Jelinek <jakub@redhat.com>
23792
23793 [BZ #14188]
23794 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23795 where __builtin_expect is unavailable.
23796
2fd6ff13
DM
237972012-06-03 David S. Miller <davem@davemloft.net>
23798
23799 * stdlib/longlong.h: Updated from GCC.
23800
173f7220
AS
238012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23802
23803 [BZ #14042]
23804 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23805 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23806 __mcount_internal.
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23808 (GLIBC_2.16): Likewise.
23809
f34a1c6f
L
238102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23811
23812 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23813
88a4576f
JM
238142012-06-01 Joseph Myers <joseph@codesourcery.com>
23815
ea32bcdd
JM
23816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23817 (default-abi): New variable.
23818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23819 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23820 variable.
23821 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23822 Likewise.
23823 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23824 Likewise.
23825 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23826 Likewise.
23827
88a4576f
JM
23828 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23829 definition. Document in comment.
23830
402fe938
DM
238312012-06-01 David S. Miller <davem@davemloft.net>
23832
23833 * stdlib/longlong.h: Updated from GCC.
23834
3553723f
L
238352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23836
23837 [BZ #14117]
3bd872c4
L
23838 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23839 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23840 sys/debugreg.h sys/io.h here.
23841 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23842 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23843 sys/io.h.
23844 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23845 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23846 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23847 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23848 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23849 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23850
3553723f
L
23851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23852 Define only if __x86_64__ is defined.
23853
4842e4fe
JM
238542012-06-01 Joseph Myers <joseph@codesourcery.com>
23855
c5bfe3d5
JM
23856 [BZ #14048]
23857 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23858 Use int64_t for variable i.
23859 * math/libm-test.inc (fmod_test): Add more tests.
23860
4842e4fe
JM
23861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23862 z computation is not scheduled after fetestexcept.
23863 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23864 Use math_force_eval instead of asm to ensure calculation scheduled
23865 before exception test.
23866 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23867 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23868
efb73488
AJ
238692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23870
23871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23872 computation is not scheduled after fetestexcept.
23873
29bcce7c
L
238742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23875
23876 [BZ #14117]
23877 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23878 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23879
73a68f94
AZ
238802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23881
23882 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23884
67b6df78
L
238852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23886
edf2933a 23887 [BZ #14117]
ebc64a18
L
23888 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23889 <bits/wordsize.h>.
23890 (__WCHAR_MIN): Support __WORDSIZE == 64.
23891 (__WCHAR_MAX): Likewise.
23892
edf2933a
L
23893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23895
57c6cf40
L
23896 [BZ #14183]
23897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23898 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23899
67b6df78 23900 [BZ #14117]
8eb6281e
L
23901 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23903
aac639f4
L
23904 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23905 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23906
67b6df78
L
23907 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23908 Defined to 1 if __x86_64__ isn't defined.
23909 (_STAT_VER_LINUX_OLD): New.
23910 (st_atime): Remove duplicate.
23911 (st_mtime): Likewise.
23912 (st_ctime): Likewise.
23913
1c2cfe81
DM
239142012-05-31 David S. Miller <davem@davemloft.net>
23915
23916 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23917 entries.
23918
5be8418c
AS
239192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23920
e7725326
AS
23921 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23922 gen-libm-test.pl.
23923
5be8418c
AS
23924 [BZ #14132]
23925 * elf/dl-reloc.c: Include <_itoa.h>.
23926 (_dl_reloc_bad_type): Remove use of INTUSE.
23927 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23928 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23929 * stdio-common/psiginfo.c (psiginfo): Likewise.
23930 * stdio-common/psignal.c (psignal): Likewise.
23931 * string/strsignal.c (strsignal): Likewise.
23932 * include/signal.h (_sys_siglist): Declare hidden proto.
23933 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23934 INTVARDEF with libc_hidden_data_def.
23935 * stdio-common/itoa-udigits.c: Likewise.
23936 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23937 (_itoa_lower_digits_internal): Remove declaration.
23938 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23939 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23940 (_sys_sigabbrev_internal): Remove aliases.
23941 (_sys_siglist): Define hidden alias.
23942
507352f1
MT
239432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23944
23945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23946 bits/sysctl.h.
23947
42bbb1c3
L
239482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 [BZ #14117]
6bd784b6
L
23951 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23952 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23953
8bca20f0
L
23954 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23955 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23956 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23957 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23959 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23960
f9e890a9
L
23961 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23962 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23963 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23964
471101a1
L
23965 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23966 with __addr.
23967 (insw): Likewise.
23968 (insl): Likewise.
23969 (outsb): Likewise.
23970 (outsw): Likewise.
23971 (outsl): Likewise.
23972
6451c862
L
23973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23976
a254b8c9
L
23977 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23978 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23980 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23981 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23982 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23983
b8dfdd92
L
23984 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23985 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23986
578cd270
L
23987 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23988 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23989
de662f5f
L
23990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23992 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23993
25653439
L
23994 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23995 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23996 to ...
23997 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23998
6bad24a0
L
23999 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24000 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24001 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24002
42bbb1c3
L
24003 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24004 for x86-64.
24005 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24006
2d10d547
JM
240072012-05-31 Joseph Myers <joseph@codesourcery.com>
24008
24009 * math/math.h (M_El): Use two more decimal places.
24010 (M_LOG2El): Likewise.
24011 (M_LOG10El): Likewise.
24012 (M_LN2l): Likewise.
24013 (M_LN10l): Likewise.
24014 (M_PIl): Likewise.
24015 (M_PI_2l): Likewise.
24016 (M_PI_4l): Likewise.
24017 (M_1_PIl): Likewise.
24018 (M_2_PIl): Likewise.
24019 (M_2_SQRTPIl): Likewise.
24020 (M_SQRT2l): Likewise.
24021 (M_SQRT1_2l): Likewise.
24022
f230c29b
DM
240232012-05-31 David S. Miller <davem@davemloft.net>
24024
24025 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24026 values between float registers.
24027 * sysdeps/sparc/sparc64/memset.S: Likewise.
24028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24029
fed806c3
MF
240302012-05-31 Mike Frysinger <vapier@gentoo.org>
24031
24032 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24033 -D_FORTIFY_SOURCE=1.
24034 (CPPFLAGS-tst-longjmp_chk.c): Define.
24035 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24036 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24037 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24038 CFLAGS-tst-wchar-h.c.
24039
30917259
MP
240402012-05-31 Marek Polacek <polacek@redhat.com>
24041
24042 [BZ #14132]
24043 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24044 __endmntent_internal): Remove declaration.
24045 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24046 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24047 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24048
1c58d5dc
DM
240492012-05-30 David S. Miller <davem@davemloft.net>
24050
24051 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24052 (___Q_simulate_exceptions): Use real FP ops rather than writing
24053 into the %fsr.
24054 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24055 Likewise.
24056
7dc00e0d
L
240572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24058
24059 [BZ #14117]
0bd53985
L
24060 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24061 * sysdeps/x86/bits/xtitypes.h: This.
24062
3a257e66
L
24063 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24064 * sysdeps/x86/bits/wordsize.h: This.
24065
62f62904
L
24066 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24067 * sysdeps/x86/bits/huge_vall.h: This.
24068
404fe9d9
L
24069 * sysdeps/i386/bits/select.h: Removed.
24070 * sysdeps/x86_64/bits/select.h: Renamed to ...
24071 * sysdeps/x86/bits/select.h: This.
24072
d48d0446
L
24073 * sysdeps/i386/bits/setjmp.h: Removed.
24074 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24075 * sysdeps/x86/bits/setjmp.h: This.
24076
7dc00e0d
L
24077 * sysdeps/i386/bits/mathdef.h: Removed.
24078 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24079 * sysdeps/x86/bits/mathdef.h: This.
24080
03277f8f
AS
240812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24082
24083 [BZ #14132]
24084 * include/sys/socket.h (__connect_internal)
24085 (__libc_sa_len_internal): Remove declaration.
24086 (__connect, __libc_sa_len): Declare hidden_proto.
24087 (SA_LEN): Remove use of INTUSE.
24088 * socket/connect.c: Add libc_hidden_def.
24089 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24090 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24091 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24092 alias.
24093 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24094 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24095 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24096 of adding _internal alias.
24097
13764867
L
240982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 [BZ #14117]
6bd97696
L
24101 * sysdeps/i386/bits/link.h: Removed.
24102 * sysdeps/i386/bits/linkmap.h: Likewise.
24103 * sysdeps/x86_64/bits/link.h: Renamed to ...
24104 * sysdeps/x86/bits/link.h: This.
24105 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24106 * sysdeps/x86/bits/linkmap.h: This.
24107
f726f0bb
L
24108 * sysdeps/i386/bits/endian.h: Removed.
24109 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24110 * sysdeps/x86/bits/endian.h: This.
24111
13764867
L
24112 * sysdeps/i386/bits/byteswap.h: Removed.
24113 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24114 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24115 * sysdeps/x86/bits/byteswap.h: This.
24116 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24117 * sysdeps/x86/bits/byteswap-16.h: This.
24118 * sysdeps/i386/Implies: Add x86.
24119 * sysdeps/x86_64/Implies: Likewise.
24120
ae251b0b
DM
241212012-05-30 David S. Miller <davem@davemloft.net>
24122
24123 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24124 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24125 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24126 (FP_TRAPPING_EXCEPTIONS): Define.
24127 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24128 (FP_TRAPPING_EXCEPTIONS): Define.
24129 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24130 subnormals only when inexact has been signalled or underflow
24131 exceptions are enabled.
24132 (_FP_PACK_CANONICAL): Likewise.
24133
d5c90867
L
241342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24135
24136 [BZ #14183]
24137 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24138 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24139
63f1549e
RH
241402012-05-30 Richard Henderson <rth@twiddle.net>
24141
8d8f2279
RH
24142 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24143 with #ifndef NOT_IN_libc.
24144
63f1549e
RH
24145 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24146 marked to avoid plt entry.
24147
0ab0291b
L
241482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24149
24150 [BZ #14112]
24151 * Makeconfig (default-abi): New macro.
24152 (abi-includes): Likewise.
24153 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24154 $(abi-$(default-abi)-lib-soname) for soname if defined.
24155 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24156 abi-variants.
24157 * Makefile (installed-stubs): Likewise.
24158 * include/stubs-biarch.h: Removed.
24159 * scripts/lib-names.awk: Only handle one library at a time.
24160 * scripts/soversions.awk: Remove WORDSIZE support.
24161 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24162 entries.
24163 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24164 Removed.
24165 (syscall-list-default-condition): Likewise.
24166 (syscall-list-default-condition): Likewise.
24167 (syscall-list-includes): Likewise.
24168 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24169 syscall-list-* with abi-*. Handle undefined abi-variants.
24170 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24171 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24172 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24173 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24174 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24175 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24176 Removed.
24177 (syscall-list-32-options): Likewise.
24178 (syscall-list-32-condition): Likewise.
24179 (syscall-list-64-options): Likewise.
24180 (syscall-list-64-condition): Likewise.
24181 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24182 macro.
24183 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24184 Renamed to ...
24185 (abi-*): This.
24186 (abi-64-ld-soname): New macro.
24187 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24188 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24189 Renamed to ...
24190 (abi-*): This.
24191 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24192 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24193
4da0431d
JM
241942012-05-30 Joseph Myers <joseph@codesourcery.com>
24195
3a85279c
JM
24196 * sysdeps/unix/sysv/linux/kernel-features.h
24197 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24198 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24199 include <kernel-features.h>.
24200 [!__NR_ftruncate64]: Remove conditional code.
24201 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24202 [__NR_ftruncate64]: Make code unconditional.
24203 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24204 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24205 include <kernel-features.h>.
24206 [!__NR_ftruncate64]: Remove conditional code.
24207 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24208 [__NR_ftruncate64]: Make code unconditional.
24209 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24211 include <kernel-features.h>.
24212 [!__NR_ftruncate64]: Remove conditional code.
24213 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24214 [__NR_ftruncate64]: Make code unconditional.
24215 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24217 include <kernel-features.h>.
24218 [!__NR_ftruncate64]: Remove conditional code.
24219 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24220 [__NR_ftruncate64]: Make code unconditional.
24221 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24222
4da0431d
JM
24223 * configure.in (libc_cv_fpie): Weaken to a compile test using
24224 LIBC_TRY_CC_OPTION.
24225 * configure: Regenerated.
24226
11ef492c
AK
242272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24228
24229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24233 Refreshed.
24234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24240 Refreshed.
24241
d66ef399
DM
242422012-05-27 David S. Miller <davem@davemloft.net>
24243
24244 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24245 (___Q_zero): New.
24246 (__Q_simulate_exceptions): Return void. Change to simulate
24247 exceptions by writing into the %fsr.
24248 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24249 (__Qp_handle_exceptions): Likewise.
24250 (numbers): Delete.
24251 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24252 __Qp_handle_exceptions.
24253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24254 __Qp_handle_exceptions.
24255 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24256 as unused and give dummy FP_RND_NEAREST initializer.
24257 (FP_INHIBIT_RESULTS): Define.
24258 (___Q_simulate_exceptions): Update declaration.
24259 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24260 formatting.
24261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24262 as unused and give dummy FP_RND_NEAREST initializer.
24263 (__Qp_handle_exceptions): Update declaration.
24264 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24265 formatting.
24266
04fb54b5
TS
242672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24268
24269 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24270 the temporary FPU control word.
24271 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24272 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24273 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24274 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24276 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24277 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24278 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24279 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24280 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24282
3f99608f
KK
242832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24284
24285 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24286 fields.
24287
65a4de4e
CLT
242882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24289
24290 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24291 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24292 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24293 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24294 Likewise.
24295 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24296 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24297 Likewise.
24298
15749d40
UD
242992012-05-27 Ulrich Drepper <drepper@gmail.com>
24300
24301 * po/h.po: Update from translation team.
24302
25dbcb27
AS
243032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24304
3d3f8e55
AS
24305 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24306
25dbcb27
AS
24307 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24308 handling of denormals.
24309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24310 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24311 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24312 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24316 Likewise.
24317
7ad47a80 243182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24319
24320 [BZ #14152]
24321 * math/libm-test.inc (fma_test): Don't always expect underflow
24322 exception.
24323
9c6ea9fa
SP
243242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24325
24326 [BZ #12416]
24327 * elf/tst-execstack.c: Include stackinfo.h.
24328 (do_test): Adjust test case to ensure that pthread_getattr_np
24329 behaviour remains the same after marking stack executable.
24330
a8239222
JM
243312012-05-25 Joseph Myers <joseph@codesourcery.com>
24332
24333 * sysdeps/unix/sysv/linux/kernel-features.h
24334 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24335 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24336 kernel-features.h.
24337 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24338 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24339 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24340 kernel-features.h.
24341 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24342 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24343
918b5606
L
243442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * configure.in: Define the default includes to being none.
24347 * configure: Regenerated.
24348
3a097cc7
RM
243492012-05-25 Roland McGrath <roland@hack.frob.com>
24350
8422c9a5
RM
24351 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24352 * sysdeps/x86_64/setjmp.S: Likewise.
24353 * sysdeps/i386/bsd-setjmp.S: Likewise.
24354 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24355 * sysdeps/i386/setjmp.S: Likewise.
24356 * sysdeps/i386/__longjmp.S: Likewise.
24357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24358 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24359
3a097cc7
RM
24360 * include/stap-probe.h: New file.
24361 * configure.in: Handle --enable-systemtap.
24362 * configure: Regenerated.
24363 * config.h.in (USE_STAP_PROBE): New #undef.
24364 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24365 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24366 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24367
21708942
JM
243682012-05-25 Joseph Myers <joseph@codesourcery.com>
24369
24370 [BZ #13717]
24371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24372 to 2.4.0 where earlier.
24373 * sysdeps/unix/sysv/linux/configure: Regenerated.
24374 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24375 <kernel-features.h>.
24376 [__ASSUME_32BITUIDS]: Make code unconditional.
24377 [!__ASSUME_32BITUIDS]: Remove conditional code.
24378 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24379 <kernel-features.h>.
24380 [__ASSUME_32BITUIDS]: Make code unconditional.
24381 [!__ASSUME_32BITUIDS]: Remove conditional code.
24382 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24383 [__ASSUME_32BITUIDS]: Make code unconditional.
24384 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24385 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24386 <kernel-features.h>.
24387 [__ASSUME_32BITUIDS]: Make code unconditional.
24388 [!__ASSUME_32BITUIDS]: Remove conditional code.
24389 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24390 <kernel-features.h>.
24391 [__ASSUME_32BITUIDS]: Make code unconditional.
24392 [!__ASSUME_32BITUIDS]: Remove conditional code.
24393 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24394 <kernel-features.h>.
24395 [__ASSUME_32BITUIDS]: Make code unconditional.
24396 [!__ASSUME_32BITUIDS]: Remove conditional code.
24397 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24398 <kernel-features.h>.
24399 [__ASSUME_32BITUIDS]: Make code unconditional.
24400 [!__ASSUME_32BITUIDS]: Remove conditional code.
24401 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24402 <kernel-features.h>.
24403 [__ASSUME_32BITUIDS]: Make code unconditional.
24404 [!__ASSUME_32BITUIDS]: Remove conditional code.
24405 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24406 <kernel-features.h>.
24407 [__ASSUME_32BITUIDS]: Make code unconditional.
24408 [!__ASSUME_32BITUIDS]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24410 <kernel-features.h>.
24411 [__ASSUME_32BITUIDS]: Make code unconditional.
24412 [!__ASSUME_32BITUIDS]: Remove conditional code.
24413 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24414 <kernel-features.h>.
24415 [__ASSUME_32BITUIDS]: Make code unconditional.
24416 [!__ASSUME_32BITUIDS]: Remove conditional code.
24417 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24418 <kernel-features.h>.
24419 [__ASSUME_32BITUIDS]: Make code unconditional.
24420 [!__ASSUME_32BITUIDS]: Remove conditional code.
24421 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24422 <kernel-features.h>.
24423 [__ASSUME_32BITUIDS]: Make code unconditional.
24424 [!__ASSUME_32BITUIDS]: Remove conditional code.
24425 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24426 <kernel-features.h>.
24427 [__NR_setresgid] (__setresgid): Do not declare.
24428 [__ASSUME_32BITUIDS]: Make code unconditional.
24429 [!__ASSUME_32BITUIDS]: Remove conditional code.
24430 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24431 <kernel-features.h>.
24432 [__NR_setresuid] (__setresuid): Do not declare.
24433 [__ASSUME_32BITUIDS]: Make code unconditional.
24434 [!__ASSUME_32BITUIDS]: Remove conditional code.
24435 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24436 <kernel-features.h>.
24437 [__ASSUME_32BITUIDS]: Make code unconditional.
24438 [!__ASSUME_32BITUIDS]: Remove conditional code.
24439 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24440 <kernel-features.h>.
24441 [__ASSUME_32BITUIDS]: Make code unconditional.
24442 [!__ASSUME_32BITUIDS]: Remove conditional code.
24443 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24444 <kernel-features.h>.
24445 [__ASSUME_32BITUIDS]: Make code unconditional.
24446 [!__ASSUME_32BITUIDS]: Remove conditional code.
24447 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24448 <kernel-features.h>.
24449 [__ASSUME_32BITUIDS]: Make code unconditional.
24450 [!__ASSUME_32BITUIDS]: Remove conditional code.
24451 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24452 <kernel-features.h>.
24453 [__ASSUME_32BITUIDS]: Make code unconditional.
24454 [!__ASSUME_32BITUIDS]: Remove conditional code.
24455 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24456 <kernel-features.h>.
24457 [__ASSUME_32BITUIDS]: Make code unconditional.
24458 [!__ASSUME_32BITUIDS]: Remove conditional code.
24459 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24460 <kernel-features.h>.
24461 [__ASSUME_32BITUIDS]: Make code unconditional.
24462 [!__ASSUME_32BITUIDS]: Remove conditional code.
24463 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24464 <kernel-features.h>.
24465 [__ASSUME_32BITUIDS]: Make code unconditional.
24466 [!__ASSUME_32BITUIDS]: Remove conditional code.
24467 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24468 <kernel-features.h>.
24469 [__ASSUME_32BITUIDS]: Make code unconditional.
24470 [!__ASSUME_32BITUIDS]: Remove conditional code.
24471 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24472 <kernel-features.h>.
24473 [__ASSUME_32BITUIDS]: Make code unconditional.
24474 [!__ASSUME_32BITUIDS]: Remove conditional code.
24475 * sysdeps/unix/sysv/linux/kernel-features.h
24476 (__ASSUME_SETRESUID_SYSCALL): Remove.
24477 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24478 (__ASSUME_32BITUIDS): Likewise.
24479 (__ASSUME_LDT_WORKS): Likewise.
24480 (__ASSUME_O_DIRECTORY): Likewise.
24481 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24482 architecture but not kernel version.
24483 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24484 (__ASSUME_MMAP2_SYSCALL): Likewise.
24485 (__ASSUME_STAT64_SYSCALL): Likewise.
24486 (__ASSUME_IPC64): Likewise.
24487 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24488 <kernel-features.h>.
24489 [__ASSUME_32BITUIDS]: Make code unconditional.
24490 [!__ASSUME_32BITUIDS]: Remove conditional code.
24491 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24492 <kernel-features.h>.
24493 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24494 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24495 132096]: Remove conditional code.
24496 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24497 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24498 <kernel-features.h>.
24499 [__ASSUME_32BITUIDS]: Make code unconditional.
24500 [!__ASSUME_32BITUIDS]: Remove conditional code.
24501 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24502 <kernel-features.h>.
24503 [__ASSUME_32BITUIDS]: Make code unconditional.
24504 [!__ASSUME_32BITUIDS]: Remove conditional code.
24505 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24506 <kernel-features.h>.
24507 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24508 unconditional.
24509 (__setresgid): Do not declare.
24510 [__ASSUME_32BITUIDS]: Make code unconditional.
24511 [!__ASSUME_32BITUIDS]: Remove conditional code.
24512 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24513 <kernel-features.h>.
24514 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24515 unconditional.
24516 (__setresuid): Do not declare.
24517 [__ASSUME_32BITUIDS]: Make code unconditional.
24518 [!__ASSUME_32BITUIDS]: Remove conditional code.
24519 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24520 <kernel-features.h>.
24521 [__ASSUME_32BITUIDS]: Make code unconditional.
24522 [!__ASSUME_32BITUIDS]: Remove conditional code.
24523 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24524 <kernel-features.h>.
24525 [__ASSUME_32BITUIDS]: Make code unconditional.
24526 [!__ASSUME_32BITUIDS]: Remove conditional code.
24527
a386f1cc
RH
245282012-05-25 Richard Henderson <rth@twiddle.net>
24529
24530 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24531 dl_hwcap to ifunc resolver.
24532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24533 elf_ifunc_invoke.
24534 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24535 dl_hwcap to ifunc resolver.
24536 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24537
b6550497
JM
245382012-05-24 Joseph Myers <joseph@codesourcery.com>
24539
24540 [BZ #14153]
24541 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24542 for |x| <= 2**-26, not 2**-57.
24543 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24544 exception.
24545
b0bc23a1
JL
245462012-05-24 Jeff Law <law@redhat.com>
24547
24548 * stdio-common/Makefile (tests): Add bug25.
24549 * stdio-common/bug25.c: New test.
24550
347c92e9
L
245512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24552
24553 [BZ #13576]
24554 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24555 multiple of MALLOC_ALIGNMENT in size.
24556 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24557
6bcc8b3f
JM
245582012-05-24 Joseph Myers <joseph@codesourcery.com>
24559
24560 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24561 Require >= 256.
24562 (FILENAME_MAX): Use macro-int-constant.
24563 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24564 (_IOFBF): Use macro-int-constant.
24565 (_IOLBF): Likewise.
24566 (_IONBF): Likewise.
24567 (SEEK_CUR): Likewise.
24568 (SEEK_END): Likewise.
24569 (SEEK_SET): Likewise.
24570 (TMP_MAX): Likewise.
24571 (EOF): Use macro-int-constant. Require < 0.
24572 (NULL): Use macro-constant. Require == 0.
24573 (stdin): Require type to be FILE *.
24574 (stdout): Likewise.
24575 (stderr): Likewise.
24576 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24577 macro-int-constant.
24578 (EXIT_SUCCESS): Likewise.
24579 (NULL): Use macro-constant. Require == 0.
24580 (RAND_MAX): Use macro-int-constant.
24581 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24582 [C99-based standards] (strtof): Require function.
24583 [C99-based standards] (strtold): Likewise.
24584 [C99-based standards] (strtoll): Likewise.
24585 [C99-based standards] (strtoull): Likewise.
24586 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24587 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24588 [ISO || ISO99 || ISO11] (math.h): Likewise.
24589 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24590 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24592
d18ea0c5
AS
245932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24594
24595 [BZ #14132]
56d25bb8
AS
24596 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24597 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24598 * intl/dgettext.c (DCGETTEXT): Likewise.
24599 * intl/gettext.c (DCGETTEXT): Likewise.
24600 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24601 * posix/regex_internal.h (gettext): Likewise.
24602 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24603 Remove declaration.
24604 * include/argz.h (__argz_count_internal)
24605 (__argz_stringify_internal): Remove declaration.
24606 (__argz_count, __argz_stringify): Declare hidden proto.
24607 * intl/dcgettext.c: Remove use of INTDEF.
24608 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24609 * string/argz-stringify.c: Likewise.
24610 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24611 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24612 Declare hidden proto.
d18ea0c5
AS
24613 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24614 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24615 Declare hidden proto.
24616 * include/stdio.h (__asprintf_internal): Don't declare.
24617 (__asprintf): Don't define as macro. Declare hidden proto.
24618 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24619 (__fsetlocking): Declare hidden proto.
24620 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24621 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24622 hidden proto.
24623 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24624 (_IO_setlinebuf): Remove use of INTUSE.
24625 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24626 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24627 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24628 Remove declaration.
24629 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24630 (_IO_do_flush): Remove use of INTUSE.
24631 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24632 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24633 (_IO_adjust_column, _IO_least_wmarker)
24634 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24635 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24636 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24637 (_IO_default_doallocate, _IO_wdefault_doallocate)
24638 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24639 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24640 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24641 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24642 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24643 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24644 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24645 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24646 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24647 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24648 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24649 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24650 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24651 proto.
24652 (_IO_flush_all_internal, _IO_adjust_column_internal)
24653 (_IO_default_uflow_internal, _IO_default_finish_internal)
24654 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24655 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24656 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24657 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24658 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24659 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24660 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24661 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24662 (_IO_file_close_internal, _IO_file_close_it_internal)
24663 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24664 (_IO_file_init_internal, _IO_file_attach_internal)
24665 (_IO_file_fopen_internal, _IO_file_read_internal)
24666 (_IO_file_sync_internal, _IO_file_seek_internal)
24667 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24668 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24669 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24670 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24671 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24672 (_IO_list_all_internal, _IO_link_in_internal)
24673 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24674 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24675 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24676 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24677 (_IO_do_write_internal, _IO_padn_internal)
24678 (_IO_getline_info_internal, _IO_getline_internal)
24679 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24680 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24681 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24682 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24683 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24684 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24685 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24686 with libc_hidden_ver, remove use of INTUSE.
24687 * libio/genops.c: Likewise.
24688 * libio/freopen.c: Likewise.
24689 * libio/freopen64.c: Likewise.
24690 * libio/iofclose.c: Likewise.
24691 * libio/iofdopen.c: Likewise.
24692 * libio/iofflush.c: Likewise.
24693 * libio/iofflush_u.c: Likewise.
24694 * libio/iofgets.c: Likewise.
24695 * libio/iofgets_u.c: Likewise.
24696 * libio/iofopen.c: Likewise.
24697 * libio/iofopncook.c: Likewise.
24698 * libio/iofread.c: Likewise.
24699 * libio/iofread_u.c: Likewise.
24700 * libio/ioftell.c: Likewise.
24701 * libio/iofwrite.c: Likewise.
24702 * libio/iogetline.c: Likewise.
24703 * libio/iogets.c: Likewise.
24704 * libio/iogetwline.c: Likewise.
24705 * libio/iopadn.c: Likewise.
24706 * libio/iopopen.c: Likewise.
24707 * libio/ioseekoff.c: Likewise.
24708 * libio/ioseekpos.c: Likewise.
24709 * libio/iosetbuffer.c: Likewise.
24710 * libio/iosetvbuf.c: Likewise.
24711 * libio/ioungetc.c: Likewise.
24712 * libio/ioungetwc.c: Likewise.
24713 * libio/iovdprintf.c: Likewise.
24714 * libio/iovsprintf.c: Likewise.
24715 * libio/iovsscanf.c: Likewise.
24716 * libio/memstream.c: Likewise.
24717 * libio/obprintf.c: Likewise.
24718 * libio/oldfileops.c: Likewise.
24719 * libio/oldiofclose.c: Likewise.
24720 * libio/oldiofdopen.c: Likewise.
24721 * libio/oldiofopen.c: Likewise.
24722 * libio/oldiopopen.c: Likewise.
24723 * libio/oldstdfiles.c: Likewise.
24724 * libio/putc.c: Likewise.
24725 * libio/setbuf.c: Likewise.
24726 * libio/setlinebuf.c: Likewise.
24727 * libio/stdfiles.c: Likewise.
24728 * libio/strops.c: Likewise.
24729 * libio/vasprintf.c: Likewise.
24730 * libio/vscanf.c: Likewise.
24731 * libio/vsnprintf.c: Likewise.
24732 * libio/vswprintf.c: Likewise.
24733 * libio/wfiledoalloc.c: Likewise.
24734 * libio/wfileops.c: Likewise.
24735 * libio/wgenops.c: Likewise.
24736 * libio/wmemstream.c: Likewise.
24737 * libio/wstrops.c: Likewise.
24738 * libio/__fpurge.c: Likewise.
24739 * libio/__fsetlocking.c: Likewise.
24740 * assert/assert.c: Likewise.
24741 * debug/fgets_chk.c: Likewise.
24742 * debug/fgets_u_chk.c: Likewise.
24743 * debug/fread_chk.c: Likewise.
24744 * debug/fread_u_chk.c: Likewise.
24745 * debug/gets_chk.c: Likewise.
24746 * debug/obprintf_chk.c: Likewise.
24747 * debug/vasprintf_chk.c: Likewise.
24748 * debug/vdprintf_chk.c: Likewise.
24749 * debug/vsnprintf_chk.c: Likewise.
24750 * debug/vsprintf_chk.c: Likewise.
24751 * malloc/mtrace.c: Likewise.
24752 * misc/error.c: Likewise.
24753 * misc/syslog.c: Likewise.
24754 * stdio-common/asprintf.c: Likewise.
24755 * stdio-common/fxprintf.c: Likewise.
24756 * stdio-common/getw.c: Likewise.
24757 * stdio-common/isoc99_fscanf.c: Likewise.
24758 * stdio-common/isoc99_scanf.c: Likewise.
24759 * stdio-common/isoc99_vfscanf.c: Likewise.
24760 * stdio-common/isoc99_vscanf.c: Likewise.
24761 * stdio-common/isoc99_vsscanf.c: Likewise.
24762 * stdio-common/printf-prs.c: Likewise.
24763 * stdio-common/printf_fp.c: Likewise.
24764 * stdio-common/printf_fphex.c: Likewise.
24765 * stdio-common/printf_size.c: Likewise.
24766 * stdio-common/putw.c: Likewise.
24767 * stdio-common/scanf.c: Likewise.
24768 * stdio-common/sprintf.c: Likewise.
24769 * stdio-common/tmpfile.c: Likewise.
24770 * stdio-common/vfprintf.c: Likewise.
24771 * stdio-common/vfscanf.c: Likewise.
24772 * stdlib/strfmon_l.c: Likewise.
24773 * sunrpc/openchild.c: Likewise.
24774 * sunrpc/xdr_stdio.c: Likewise.
24775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24776 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24777
d6c33fda
RM
247782012-05-24 Roland McGrath <roland@hack.frob.com>
24779
c1487492
RM
24780 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24781
24782 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24783 in the third column, to generate for the shared library an IFUNC
24784 that uses _dl_vdso_vsym.
24785 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24786 * Makeconfig (object-suffixes-noshared): New variable.
24787
24788 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24789 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24790 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24791 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24792
d6c33fda
RM
24793 [BZ #14132]
24794 * include/sys/time.h (__gettimeofday): Remove macro.
24795 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24796 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24797 Remove INTDEF.
24798 (__gettimeofday): Add libc_hidden_def.
24799 (gettimeofday): Add libc_hidden_weak.
24800 * sysdeps/mach/gettimeofday.c: Likewise.
24801 * sysdeps/posix/gettimeofday.c: Likewise.
24802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24803 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24805 (__gettimeofday_internal): Remove strong_alias.
24806 (__gettimeofday): Add libc_hidden_def.
24807 (gettimeofday): Add libc_hidden_weak.
24808 * sysdeps/unix/syscalls.list (gettimeofday):
24809 Remove __gettimeofday_internal alias.
24810
b5a2bbe6
L
248112012-05-24 Daniel Jacobowitz <drow@false.org>
24812 H.J. Lu <hongjiu.lu@intel.com>
24813
24814 [BZ #12495]
24815 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24816 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24817 (largebin_index_32_big): New.
24818 (largebin_index): Use it for 16-byte alignment.
24819 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24820 correction with front_misalign.
24821
cfba4fda
L
248222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24823
7f907421
L
24824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24826 Likewise.
24827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24828 Likewise.
24829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24830 Likewise.
24831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24832 Likewise.
24833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24834 Likewise.
24835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24836 Likewise.
24837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24838 Likewise.
24839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24840 Likewise.
24841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24842 Likewise.
24843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24844 Likewise.
24845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24846 Likewise.
24847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24848 Likewise.
24849
cfba4fda
L
24850 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24851 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24852
80bad0cc
JM
248532012-05-24 Joseph Myers <joseph@codesourcery.com>
24854
7a25eb06
JM
24855 [BZ #10846]
24856 [BZ #14036]
24857 * math/libm-test.inc (exp_test): Add test from bug 14036.
24858 (pow_test): Add test from bug 10846.
24859
795405f9
JM
24860 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24861 and other flags.
24862 (special_function): Do not include flags in test name.
24863 (parse_args): Likewise.
24864 * sysdeps/i386/fpu/libm-test-ulps: Update.
24865 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24866 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24867 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24869
80bad0cc
JM
24870 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24871 exceptions.
24872 * math/libm-test.inc ("Philosophy"): Update comment about
24873 exception testing.
24874 (UNDERFLOW_EXCEPTION): New macro.
24875 (UNDERFLOW_EXCEPTION_OK): Likewise.
24876 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24877 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24878 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24879 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24880 (INVALID_EXCEPTION_OK): Update value.
24881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24882 (OVERFLOW_EXCEPTION_OK): Likewise.
24883 (IGNORE_ZERO_INF_SIGN): Likewise.
24884 (test_exceptions): Handle underflow exceptions.
24885 (acos_test): Update for underflow exception expectations.
24886 (cexp_test): Likewise.
24887 (clog_test): Likewise.
24888 (clog10_test): Likewise.
24889 (csqrt_test): Likewise.
24890 (ctan_test): Likewise.
24891 (ctanh_test): Likewise.
24892 (exp_test): Likewise.
24893 (exp10_test): Likewise.
24894 (exp2_test): Likewise.
24895 (expm1_test): Likewise.
24896 (fma_test): Likewise.
24897 (j0_test): Likewise.
24898 (jn_test): Likewise.
24899 (nexttoward_test): Likewise.
24900 (pow_test): Likewise.
24901 (scalbn_test): Likewise.
24902 (scalbln_test): Likewise.
24903 (tan_test): Likewise.
24904 (y1_test): Likewise.
24905 * sysdeps/i386/fpu/libm-test-ulps: Update.
24906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24907
9e0e3d0b
DM
249082012-05-23 David S. Miller <davem@davemloft.net>
24909
24910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24911 (__libc_sigaction): Remove unused local variables.
24912
ccd0a08f
L
249132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24914
24915 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24916
62bdf9a6
PE
249172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24918
f8591f80
PE
24919 mktime: avoid signed integer overflow
24920 * time/mktime.c (__mktime_internal): Do not mishandle the case
24921 where diff == INT_MIN.
24922
94c7d826
PE
24923 mktime: simplify computation of average
24924 * time/mktime.c (ranged_convert): Use new time_t_avg function
24925 instead of rolling our own (probably-slower) code.
24926
ce73d683
PE
24927 mktime: do not assume signed right shift propagates sign bit
24928 * time/mktime.c (isdst_differ): New static function.
24929 (__mktime_internal): No need to normalize tm_isdst now.
24930 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24931 tm_isdst values.
24932
72a22e59
PE
24933 mktime: merge another wrapv change from gnulib
24934 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24935 from some compilers.
24936
68605433
PE
24937 mktime: remove incorrect attempt at unusual arithmetics
24938 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24939 The code didn't really work on such machines anyway.
24940 (TYPE_MINIMUM): Assume two's complement.
24941 (twos_complement_arithmetic): Verify that long_int and time_t
24942 are two's complement (or unsigned, in the latter case).
24943
03cf7fe3
PE
24944 mktime: check signed shifts on long_int and time_t, too
24945 * time/mktime.c (SHR): Check that shifts work as desired
24946 on the types long_int and time_t too, as SHR is used on
24947 such types.
24948
f04dfbc2
PE
24949 mktime: do not assume 'long' is wide enough
24950 * time/mktime.c (verify): Move decl up.
24951 (long_int): New type.
24952 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24953 to remove assumption in the code that 'long' is wide enough to
24954 store year values. This assumption is not true on x32 and on
24955 some non-glibc platforms.
24956
62bdf9a6
PE
24957 mktime: merge wrapv change from gnulib
24958 * time/mktime.c (WRAPV): New macro.
24959 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24960 (guess_time_tm, __mktime_internal): Do not assume that signed
24961 integer overflow wraps around; modern compilers generate code
24962 where this assumption is no longer valid.
24963
5e292e4f
L
249642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24965
24966 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24967 Replace "jmp L(pseudo_end)" with "ret".
24968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24969 Likewise.
24970
8caf8c87
AJ
249712012-05-23 Andreas Jaeger <aj@suse.de>
24972
24973 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24974 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24975
1a09dc56
AJ
249762012-05-23 Andreas Jaeger <aj@suse.de>
24977 Maximilian Attems <max@stro.at>
24978
24979 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24980 New macros.
24981
1c87aba0
L
249822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24983
24984 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24985 code so that pseudo_end is just ret and the stack pointer is
24986 correct also for static library in error case.
24987
40e45bd5
JM
249882012-05-23 Joseph Myers <joseph@codesourcery.com>
24989
c2670533
JM
24990 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24991 move to syscalls.list.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24996
40e45bd5
JM
24997 * manual/install.texi (Running make install): Do not mention Linux
24998 kernel version for which pt_chown is not needed.
24999 (Linux): Do not mention problems with nscd with 2.0 kernels.
25000 * INSTALL: Regenerated.
25001
be08eda5
AJ
250022012-05-23 Andreas Jaeger <aj@suse.de>
25003
25004 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25005 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25006 macro.
25007 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25008 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25009 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25010 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25011 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25012 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25014 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25017 * sysdeps/unix/sysv/linux/bits/in.h
25018 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25019
a6a056bb
RM
250202012-05-22 Roland McGrath <roland@hack.frob.com>
25021
25022 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25023 (PREPARE_VERSION): Just use assert instead, it will be elided
25024 under [NDEBUG] anyway.
25025
c9009328
L
250262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25027
25028 * sysdeps/unix/sysv/linux/Makefile: Include
25029 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25030 (sysdep_routines): Remove sysctl.
c9009328
L
25031 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25032 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25033 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25034 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25035 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25036
73338355
AJ
250372012-05-22 Andreas Jaeger <aj@suse.de>
25038
25039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25040 that pseudo_end is just ret and the stack pointer is correct also
25041 for static library in error case.
25042
d44638b0
PP
250432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25044
25045 [BZ #14122]
25046 * nss/nsswitch.c (defconfig_entries): New variable.
25047 (__nss_database_lookup): Don't leak defconfig entries.
25048 (nss_parse_service_list): Don't leak on error paths.
25049 (free_database_entries): New function.
25050 (free_defconfig): New function.
25051 (free_mem): Move common code to free_database_entries.
25052
31a39bd8
L
250532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25054
da0331a8
L
25055 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25056 Add arch_prctl.
25057 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25058
31a39bd8
L
25059 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25060 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25062 New macro.
25063 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25064 (INTERNAL_SYSCALL_TYPES): Likewise.
25065 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25066 (LOAD_REGS_TYPES_[1-6]): Likewise.
25067 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25068 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25069
45470df3
AZ
250702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25071
25072 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25073 copysignl for GLIBC_2_0.
25074 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25075 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25077 logbl for GLIBC_2_0.
25078 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25079 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25080
98a61bcb
L
250812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25082
a4f6e481
L
25083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25085
f63d5db6
L
25086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25087 Use "neg %eax".
25088
98a61bcb
L
25089 * time/mktime.c: Update copyright years.
25090
95770f14
PE
250912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25092
6226efbd
PE
25093 mktime: merge comment-quoting-style change from gnulib
25094 * time/mktime.c: Quote 'like this' in comments.
25095 The GNU coding standards suggest that we no longer quote `like this',
25096 as "`" and "'" are typically rendered asymmetrically nowadays.
25097 The typical gnulib style is to quote 'like this' when quoting
25098 code, and "like this" when quoting English.
25099
b99e4f78
PE
25100 * time/mktime.c (compile-command): Add "-I.".
25101
643e01e6
PE
25102 mktime: merge mktime-internal.h change from gnulib
25103 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25104
2554247d
PE
25105 mktime: merge time_r change from gnulib
25106 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25107
826dd0ab
PE
25108 mktime: merge DEBUG change from gnulib
25109 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25110 case system <time.h> has a #define.
25111
bd83aabe
PE
25112 mktime: merge <sys/types.h> change from gnulib
25113 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25114 since <time.t> is now guaranteed to define time_t.
25115
95770f14
PE
25116 mktime: merge HAVE_CONFIG_H change from gnulib
25117 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25118
5e1a27a9
L
251192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25120
0e44a77e
L
25121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25122 Use "neg %eax".
25123
5e1a27a9
L
25124 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25125 __rlim_t cast.
25126 (struct rusage): Use anonymous union to pad each field to
25127 __syscall_slong_t.
25128
46259bec
DM
251292012-05-21 David S. Miller <davem@davemloft.net>
25130
25131 * Makefules (o-iterator): Remove .s cases.
25132 (compile-command.s): Delete.
25133 (COMPILE.s): Delete.
25134 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25135
59f0c22e
JM
251362012-05-21 Joseph Myers <joseph@codesourcery.com>
25137
25138 * configure.in (libc_cv_predef_stack_protector): Only consider
25139 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25140 * configure: Regenerated.
25141
20c07380
L
251422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25143
bbb3154b
L
25144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25145 New macro. Use R*LP on int and pointer.
25146 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25147 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25148 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25149 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25150
20c07380
L
25151 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25152 [__WORDSIZE_TIME64_COMPAT32] instead of
25153 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25154 (struct utmp): Likewise.
25155 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25156 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25157 Renamed to ...
25158 (__WORDSIZE_TIME64_COMPAT32): This.
25159 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25160 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25161 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25162 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25163 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25164 (__WORDSIZE_TIME64_COMPAT32): New macro.
25165
d8d1017e
AJ
251662012-05-21 Andreas Jaeger <aj@suse.de>
25167
25168 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25169 only if [SHARED]. Add prototype for __wcschr_ia32.
25170
6c7fb145
RM
251712012-05-21 Roland McGrath <roland@hack.frob.com>
25172
25173 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25174 of %rbp unmolested in the jmp_buf while mangling the low bits.
25175 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25176 unmolested high bits of %rbp while demangling the low bits.
25177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25178
66274218
AJ
251792012-05-21 Andreas Jaeger <aj@suse.de>
25180
07c58f8f
AJ
25181 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25182 * sunrpc/svc_simple.c: Use it for registerrpc.
25183 * sunrpc/xcrypt.c: Use it for passwd2des.
25184
66274218
AJ
25185 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25186
61f65140
L
251872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25188
25189 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25190 Don't define if [__SYSCALL_WORDSIZE != 32].
25191 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25192 New macro.
25193
5fefb436
AJ
251942012-05-21 Bruno Haible <bruno@clisp.org>
25195 Andreas Jaeger <aj@suse.de>
25196
25197 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25198 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25199 inptr and inend for must_buffer_ch.
25200 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25201 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25202 * stdio-common/Makefile (tests): Remove bug15.
25203 (bug15-ENV): Remove macro.
25204 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25205 anymore.
25206
d8e272ab
AJ
252072012-05-19 Andreas Jaeger <aj@suse.de>
25208 Roland McGrath <roland@hack.frob.com>
25209
25210 * manual/contrib.texi: Completely rewritten. It contains now an
25211 alphabetical list of contributors and their contributions.
25212
4a56a162
RH
252132012-05-21 Richard Henderson <rth@twiddle.net>
25214
25215 * misc/getauxval.c (__getauxval): Use unsigned long int.
25216 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25217 (getauxval): Use unsigned long int.
25218
d024d23c
L
252192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25220
25221 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25222
cbc00a03
RM
252232012-05-21 Roland McGrath <roland@hack.frob.com>
25224
25225 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25226 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25227 __alignof__ (long double).
25228
478143fa
AZ
252292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25230
25231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25232
c7683a6d
RH
252332012-05-20 Richard Henderson <rth@twiddle.net>
25234
25235 * misc/getauxval.c: New file.
25236 * misc/sys/auxv.h: New file.
25237 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25238 (routines): Add getauxval.
25239 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25240 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25241 * elf/dl-sysdep.c (_dl_auxv): Remove.
25242 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25243 * elf/dl-support.c (_dl_auxv): New variable.
25244 (_dl_aux_init): Initialize it.
25245 * manual/startup.texi (Auxiliary Vector): New node.
25246 * sysdeps/generic/bits/hwcap.h: New file.
25247 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25248 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25249 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25250 * sysdeps/sparc/sysdep.h: ... here. Include it.
25251 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25252 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25254 Update.
c7683a6d
RH
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25263
a6f1845d
AZ
252642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25265
25266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25267
cbcbe830
DM
252682012-05-19 David S. Miller <davem@davemloft.net>
25269
25270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25271
e0b16cc2
JM
252722012-05-19 Joseph Myers <joseph@codesourcery.com>
25273
25274 [BZ #14123]
25275 * math/s_ccosh.c: Include <float.h>
25276 (__ccosh): Avoid internal overflow calculating sinh and cosh
25277 values before multiplying by sin and cos values.
25278 * math/s_ccoshf.c: Likewise.
25279 * math/s_ccoshl.c: Likewise.
25280 * math/s_csin.c: Likewise.
25281 * math/s_csinf.c: Likewise.
25282 * math/s_csinl.c: Likewise.
25283 * math/s_csinh.c: Likewise.
25284 * math/s_csinhf.c: Likewise.
25285 * math/s_csinhl.c: Likewise.
25286 * math/libm-test.inc (ccos_test): Add more tests.
25287 (ccosh_test): Likewise.
25288 (csin_test): Likewise.
25289 (csinh_test): Likewise.
25290 * sysdeps/i386/fpu/libm-test-ulps: Update.
25291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25292
6ad13e08
L
252932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25294
f66f0ce8
L
25295 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25296 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25297
6ad13e08
L
25298 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25299
b1d072a7
JM
253002012-05-19 Joseph Myers <joseph@codesourcery.com>
25301
25302 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25303 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25304 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25305 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25306 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25307 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25308 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25309 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25310 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25311 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25312 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25313 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25314 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25315 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25316 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25317 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25318 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25319 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25320 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25321 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25322 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25323 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25324 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25325 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25326 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25327 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25328 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25329 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25330 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25331 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25332 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25333
9eae47cb
AJ
253342012-05-18 Andreas Jaeger <aj@suse.de>
25335
25336 * csu/.gitignore: Delete.
25337
bb07f69f
L
253382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25339
25340 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25341 (timex): Use __syscall_slong_t.
25342
e6bdb741
AJ
253432012-05-18 Andreas Jaeger <aj@suse.de>
25344 Carlos O'Donell <carlos_odonell@mentor.com>
25345
25346 * manual/install.texi (Configuring and compiling): Update
25347 description about files modified in the source directory.
d6c33fda 25348 * INSTALL: Regenerated.
e6bdb741 25349
1b74487e
L
253502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25351
25352 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25353 value. Use "or" to set return value to -1.
25354 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25355 negate return value.
25356
a88b64b9
TMQMF
253572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25358
25359 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25360 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25361 failure if the compiler has Graphite support disabled.
25362 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25363 Likewise.
25364 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25365 CFLAGS-memmove.c): Likewise.
25366 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25367 Likewise.
25368
3707636e
L
253692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25370
610b8622
L
25371 * sysdeps/x86_64/x32/_itoa.h: New file.
25372
7cd195df
L
25373 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25374 getdents system call only if kernel and user dirents have the
25375 same d_ino and d_off.
25376
94b07d20
L
25377 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25378 LLONG_MAX != LONG_MAX.
25379 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25380 (_fitoa_word): Likewise.
25381
18298070
L
25382 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25383 years.
25384 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25385 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25386 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25387
553c7ea4
L
25388 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25389 include <bits/wordsize.h>. Check __x86_64__ instead of
25390 __WORDSIZE.
25391 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25392 if __x86_64__ is defined. Use anonymous union on fpstate.
25393
3707636e
L
25394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25395 anonymous union.
25396
b53ef01a
AS
253972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25398
37fb1dc0
AS
25399 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25400 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25402 Refer to _rtld_local_ro instead of _rtld_global_ro.
25403 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25404 Likewise.
25405 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25406 Likewise.
25407 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25408 Likewise.
25409 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25410 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25411 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25412
b53ef01a
AS
25413 * sysdeps/powerpc/powerpc32/dl-machine.c
25414 (__elf_machine_runtime_setup) [PROF]: Don't reference
25415 _dl_prof_resolve.
25416
7a185db2
AJ
254172012-05-18 Andreas Jaeger <aj@suse.de>
25418
25419 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25420 function only available for GCCs before 3.4 since GCC 3.4
25421 introduced a builtin.
25422 (lrint): Likewise.
25423 (llrintf): Likewise.
25424 (llrint): Likewise.
25425 (fmaxf): Likewise.
25426 (fmax): Likewise.
25427 (fminf): Likewise.
25428 (fmin): Likewise.
25429 (rint): Likewise.
25430 (rintf): Likewise.
25431 (nearbyint): Likewise.
25432 (nearbyintf): Likewise.
25433 (ceil): Likewise.
25434 (ceilf): Likewise.
25435 (floor): Likewise.
25436 (floorf): Likewise.
25437
3e5aef87
L
254382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25439
428bd707
L
25440 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25441 on both fields and cast pointer to __syscall_ulong_t.
25442
3e5aef87
L
25443 * bits/types.h (__fsword_t): New type.
25444 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25445 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25447 (__FSWORD_T_TYPE): Likewise.
25448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25449 (__FSWORD_T_TYPE): Likewise.
25450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25451 (__FSWORD_T_TYPE): Likewise.
25452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25453 (__FSWORD_T_TYPE): Likewise.
25454 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25455 __SWORD_TYPE with __fsword_t.
25456 (statfs64): Likewise.
25457
1ba7c3dc
DM
254582012-05-17 David S. Miller <davem@davemloft.net>
25459
25460 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25461
59910343
AJ
254622012-05-17 Andreas Jaeger <aj@suse.de>
25463
25464 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25465 warning.
25466
2e4c1e9e
L
254672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25468
25469 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25470
de7f5ce7
AJ
254712012-05-17 Andreas Jaeger <aj@suse.de>
25472
25473 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25474 when it is used.
25475
286abc3d
CM
254762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25477
25478 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25479
477cc68e
L
254802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25481
25482 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25483 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25484
1a0994f5
CD
254852012-05-17 Andreas Jaeger <aj@suse.de>
25486 Carlos O'Donell <carlos_odonell@mentor.com>
25487
25488 [BZ #14059]
25489 * sysdeps/x86_64/multiarch/init-arch.h
25490 (bit_YMM_Usable): Rename to...
25491 (bit_AVX_Usable): ... this.
25492 (bit_FMA4_Usable): New macro.
25493 (bit_XMM_state): New macro.
25494 (bit_YMM_state): New macro.
25495 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25496 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25497 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25498 (CPUID_OSXSAVE): New macro.
25499 (CPUID_AVX): New macro.
25500 (CPUID_FMA4): New macro.
25501 (index_YMM_Usable): Rename to...
25502 (index_AVX_Usable): ... this.
25503 (HAS_AVX): Use HAS_ARCH_FEATURE.
25504 (HAS_FMA4): Likewise.
25505 (HAS_YMM_USABLE): Remove.
25506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25507 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25508 are present.
25509 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25510 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25511 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25512 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25513 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25514
0af797de
CM
255152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25516
25517 * math/libm-test.c: Support platforms without multiple rounding modes.
25518 * math/bug-nextafter.c: Support platforms without FP exceptions.
25519 * math/bug-nexttoward.c: Likewise.
25520 * math/test-fenv.c: Likewise.
25521 * math/test-misc.c: Likewise.
25522 * stdlib/bug-getcontext.c: Likewise.
25523
e39745ff
AJ
255242012-05-17 Andreas Jaeger <aj@suse.de>
25525
25526 * manual/examples/search.c (critter_cmp): Change signature to
25527 avoid warnings.
25528 * manual/string.texi (Collation Functions): Likewise.
25529
48970aba
L
255302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25531
25532 * bits/types.h: Fold copyright years.
25533 * bits/typesizes.h: Likewise.
25534 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25538 * time/time.h: Likewise.
25539
bedee953
PP
255402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25541
25542 [BZ #208]
25543 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25544 in instead of returning them. Return void.
25545 (__libc_mallinfo): Accumulate over all arenas.
25546 (__malloc_stats): Adjust for change in int_mallinfo interface.
25547
61653dfb
RM
255482012-05-16 Roland McGrath <roland@hack.frob.com>
25549
30b99d79
RM
25550 [BZ #10375]
25551 * configure.in (NM): Add AC_CHECK_TOOL for it.
25552 (libc_extra_cflags): New substituted variable.
25553 Check for -fstack-protector being used implicitly.
25554 * configure: Regenerated.
25555 * config.make.in (config-extra-cflags): New variable,
25556 gets @libc_extra_cflags@.
25557 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25558
61653dfb
RM
25559 [BZ #10375]
25560 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25561 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25562 * configure: Regenerated.
25563 * config.make.in (CPPUNDEFS): New substituted variable.
25564 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25565 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25566 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25567
661768bb
L
255682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25569
25570 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25571 (mq_attr): Use __syscall_slong_t.
25572
d4261567
L
255732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25574
25575 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25576 Check __x86_64__ instead of __WORDSIZE.
25577 (_STAT_VER_LINUX): Likewise.
25578 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25579 __syscall_ulong_t and __syscall_slong_t.
25580 (stat64): Likewise.
25581
cf3ff365
L
255822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25585
76cf3e4d
L
255862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25587
25588 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25589
a637753a
L
255902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25591
25592 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25593 __syscall_ulong_t.
25594
d5e05119
L
25595 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25596 include <bits/wordsize.h>. Check __x86_64__ instead of
25597 __WORDSIZE.
25598 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25599 defined.
25600 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25601
f62ee380
L
25602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25603 include <bits/wordsize.h>. Check __x86_64__ instead of
25604 __WORDSIZE.
25605 (user_regs_struct): Use "__extension__ unsigned long long"
25606 instead of "unsigned long" if __x86_64__ is defined.
25607 (user): Likewise. Pad after pointer field if __ILP32__ is
25608 defined.
25609
4e124ced
JM
256102012-05-16 Joseph Myers <joseph@codesourcery.com>
25611
6a3951a0
JM
25612 * configure.in (makeinfo): Require version 4.5 or later. Allow
25613 versions 5 to 9.
25614 * configure: Regenerated.
25615 * manual/install.texi (texinfo): Increase version requirement to
25616 4.5 or later.
25617 * INSTALL: Regenerated.
25618
4e124ced
JM
25619 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25620
953ca31a
L
256212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25622
25623 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25624
617aca05
L
25625 * sysdeps/x86_64/x32/ffs.c: New file.
25626
5762f7ae
L
25627 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25628 __syscall_ulong_t.
25629 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25630 defined. Use __syscall_ulong_t.
25631 (shminfo): Use __syscall_ulong_t.
25632 (shm_info): Likewise.
25633
a26b6856
L
25634 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25635 __syscall_ulong_t.
25636
cb2b9ef7
L
25637 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25638 <bits/wordsize.h>.
25639 (msgqnum_t): Use __syscall_ulong_t.
25640 (msglen_t): Likewise.
25641 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25642 __syscall_ulong_t.
25643
34683bb0
L
25644 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25645 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25646
84a68786
L
25647 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25648
48baa5f1
L
25649 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25650 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25651
180be88b
L
25652 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25653 __syscall_slong_t.
25654
5e90c8ad
L
25655 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25656 include <bits/wordsize.h>. Check __x86_64__ instead of
25657 __WORDSIZE.
25658
23dfb58b
L
25659 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25660 "unsigned long long int" if __x86_64__ is defined.
25661 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25662
ce5d54b0
L
25663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25665 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25666
13dc9eac
L
25667 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25668 <stdint.h>.
25669 (GET_PC): Cast to uintptr_t first.
25670 (GET_FRAME): Likewise.
25671 (GET_STACK): Likewise.
25672
a7895d15
L
25673 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25674 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25675 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25676 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25677 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25678 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25679 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25680 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25681 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25683 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25686 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25687 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25689 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25702
656416c9
AS
257032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25704
5bd66283
AS
25705 * Makerules (+depfiles): Also collect depfiles from .oS in
25706 $(extra-objs).
25707 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25708 .oS, $(libnldbl-routines)).
25709
656416c9
AS
25710 * Makerules (native-compile-mkdep-flags): Define.
25711 * sunrpc/Makefile (extra-objs): Add $(addprefix
25712 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25713 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25714 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25715 calling $(make-target-directory).
25716
a46f2169
L
257172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25718
25719 * bits/types.h (__snseconds_t): Removed.
25720 * time/time.h (struct timespec): Replace __snseconds_t with
25721 __syscall_slong_t.
25722 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25723 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25724 Likewise.
25725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25726 (__SNSECONDS_T_TYPE): Likewise.
25727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25728 (__SNSECONDS_T_TYPE): Likewise.
25729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25730 (__SNSECONDS_T_TYPE): Likewise.
25731
6af6528b
L
257322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25733
25734 * sysdeps/mach/hurd/bits/typesizes.h
25735 (__SYSCALL_SLONG_TYPE): New macro.
25736 (__SYSCALL_ULONG_TYPE): Likewise.
25737
de986b56
L
257382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25739
25740 * bits/types.h (__syscall_slong_t): New type.
25741 (__syscall_ulong_t): Likewise.
25742
25743 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25744 (__SYSCALL_ULONG_TYPE): Likewise.
25745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25746 (__SYSCALL_SLONG_TYPE): Likewise.
25747 (__SYSCALL_ULONG_TYPE): Likewise.
25748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25749 (__SYSCALL_SLONG_TYPE): Likewise.
25750 (__SYSCALL_ULONG_TYPE): Likewise.
25751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25752 (__SYSCALL_SLONG_TYPE): Likewise.
25753 (__SYSCALL_ULONG_TYPE): Likewise.
25754
85736dc7
L
257552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25756
25757 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25758 Add sigaltstack-offsets.sym.
25759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25760 <sigaltstack-offsets.h>.
25761 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25762 longjmp_msg pointer.
25763 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25764 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25765 signal stack.
25766 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25767
cc03b296
JM
257682012-05-15 Joseph Myers <joseph@codesourcery.com>
25769
a9538892
JM
25770 * elf/stackguard-macros.h: Remove file.
25771 * sysdeps/generic/stackguard-macros.h: New file.
25772 * sysdeps/i386/stackguard-macros.h: Likewise.
25773 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25774 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25775 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25776 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25777 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25778 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25779 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25780 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25781 <elf/stackguard-macros.h>.
25782
cc03b296
JM
25783 [BZ #14109]
25784 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25785 __aligned__ in attribute.
25786 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25787 (gregset_t): Likewise.
25788
93171016
L
257892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25790
25791 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25792 * sysdeps/x86_64/64/Implies-after: Here. New file.
25793 * sysdeps/x86_64/x32/Implies-after: New file.
25794
d86813a0
L
257952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25796
25797 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25798 and access return value for _dl_profile_fixup. Use R10_LP to
25799 load frame size.
25800
2953ec75
L
258012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25802
25803 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25804
3b550e9e
L
258052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25808 * sysdeps/x86_64/x32/sysdep.h: New file.
25809
eda41706
L
258102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25811
25812 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25813 * sysdeps/x86_64/setjmp.S: Likewise.
25814
9ea01d93
AZ
258152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25816
25817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25819 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25821 remove unused global constant.
25822
02a91938
CM
258232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25824
25825 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25826 include of <not-cancel.h>.
25827
6540185f
RM
258282012-05-15 Roland McGrath <roland@hack.frob.com>
25829
25830 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25831
509072a0
AJ
258322012-05-15 Jeff Law <law@redhat.com>
25833 Andreas Jaeger <aj@suse.de>
25834
25835 [BZ #13594]
25836 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25837 out from...
25838 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25839 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25840 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25841 code changing __hst_map_handle.map.
25842
ba75122d
RM
258432012-05-15 Roland McGrath <roland@hack.frob.com>
25844
25845 * configure.in (sysnames): Look for Implies-before and Implies-after
25846 files.
25847 * configure: Regenerated.
25848
890d8bd8
L
258492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25850
25851 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25852 8-byte data alignment with LP_SIZE alignment.
25853
f6ee6623
L
258542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25855
25856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25857 into R10_LP.
25858
ea2626f6
L
258592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25862
085f715e
L
258632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25864
25865 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25866 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25868 Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25870
be8498fc
L
258712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25872
25873 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25874 (stackinfo_sub_sp): Likewise.
25875
70bc83b9
L
258762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25877
25878 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25879 RAX_LP.
25880
9bc0b730
L
258812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25884 into R*_LP.
25885
6d2850e7
L
258862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25887
25888 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25889 sizes into R*_LP.
25890
3cb84561
L
258912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25892
25893 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25894
54e2ed81
L
258952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25896
25897 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25898 into R11_LP and load __x86_64_shared_cache_size_half into
25899 R8_LP.
25900
8a17f349
L
259012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25904 R8_LP.
25905
777b1eea
AZ
259062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25907
25908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25909 logb for POWER7.
25910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25911 logbf for POWER7.
25912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25913 logbl for POWER7.
25914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25915 powerpc32/power7/fpu/s_logb.c via #include.
25916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25917 powerpc32/power7/fpu/s_logbf.c via #include.
25918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25919 powerpc32/power7/fpu/s_logbl.c via #include.
25920
d20d4ac2
JM
259212012-05-15 Joseph Myers <joseph@codesourcery.com>
25922
25923 * README.libm: Remove file.
25924
6cdef1ab
L
259252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25926
25927 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25928 count for x32. Use R*_LP and omit operand-size suffix.
25929
0b254d8f
L
259302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25931
25932 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25933 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25934 * sysdeps/x86_64/x32/shlib-versions: New file.
25935
ceb809dc
RM
259362012-05-14 Roland McGrath <roland@hack.frob.com>
25937
25938 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25939 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25940 Use _dl_fatal_printf instead.
25941
37f1abd4
JM
259422012-05-14 Joseph Myers <joseph@codesourcery.com>
25943
25944 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25945 set if not set by the user. Do not allow for being unset.
25946 * sysdeps/unix/sysv/linux/configure: Regenerated.
25947
11de3a33
L
259482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25949
25950 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25951 the `q' suffix from lea and replace .quad with ASM_ADDR.
25952
e02f153a
L
259532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25954
25955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25956 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25957 instead of $17.
25958 (PTR_DEMANGLE): Likewise.
25959
520ae0fd
L
259602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25961
25962 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25963 (LP_OP): Likewise.
25964 (ASM_ADDR): Likewise.
25965 (RAX_LP): Likewise.
25966 (RBP_LP): Likewise.
25967 (RBX_LP): Likewise.
25968 (RCX_LP): Likewise.
25969 (RDI_LP): Likewise.
25970 (RSI_LP): Likewise.
25971 (RSP_LP): Likewise.
25972 (R8_LP): Likewise.
25973 (R9_LP): Likewise.
25974 (R10_LP): Likewise.
25975 (R10_LP): Likewise.
25976 (R11_LP): Likewise.
25977 (R12_LP): Likewise.
25978 (R13_LP): Likewise.
25979 (R14_LP): Likewise.
25980 (R15_LP): Likewise.
25981
b985be81
L
259822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25983
25984 * sysdeps/x86_64/x32/dl-machine.h: New file.
25985
6a4888ff
AJ
259862012-05-14 Andreas Jaeger <aj@suse.de>
25987
25988 * manual/Makefile (subdir): Remove export of subdir.
25989 (all): Remove target.
25990 (.PHONY): Remove all from list.
25991 (mkinstalldirs): Remove.
25992 (.PHONY): Remove installdirs from list.
25993 ($(inst_infodir)/libc.info): Use make-target-directory.
25994 (installdirs): Remove.
25995 (subdir_%): Remove.
25996 (glibc-targets): Remove.
25997 (lib): Remove.
25998 (stubs): Remove.
25999 ($(objpfx)stubs ../po/manual.pot): Remove.
26000 ($(objpfx)stamp%): Remove.
26001 (make-target-directory): Remove.
26002 (subdir_install): Remove.
26003 (routines): Remove.
26004 (aux): Remove.
26005 (sources): Remove.
26006 (objects): Remove.
26007 (headers): Remove.
26008
26009 [BZ #13750]
26010 * manual/.gitignore: Remove, it's not needed anymore.
26011 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26012 all files in it.
26013 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26014 directory.
26015 (texis): Renamed to $(objpfx)texis.
26016 (texis-path): New, contains path to generated files.
26017 (chapters.%): Use texis-path for complete path, add extra argument
26018 libc-texinfo.sh.
26019 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26020 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26021 (summary,texi, stamp-summary): Use complete path of
26022 files. Generate files in build dir.
26023 (dir-add.texi): Build in build dir.
26024 (libm-err.texi,stamp-libm-err): Likewise.
26025 (version.texi, stamp-version): Likewise.
26026 (.%c.texi): Likewise.
26027 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26028 (mostlyclean): Remove target.
26029 (realclean): Remove target.
26030 (generated): Add new variable with contents from mostlyclean and
26031 realclean, remove entries duplicated in common-mostlyclean, add
26032 stamp-libm-err and stamp-version.
26033 (generated-dirs): Add libc directory.
26034 ($(inst_infodir)/libc.info): Install files from build dir.
26035
26036 * manual/install.texi (Configuring and compiling): Adjust since
26037 the info files are not part of the tar ball anymore.
26038
7ac77294
AJ
260392012-05-14 Andreas Jaeger <aj@suse.de>
26040
26041 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26042 variable.
26043
ffb7875d
JM
260442012-05-14 Joseph Myers <joseph@codesourcery.com>
26045
26046 [BZ #13717]
26047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26048 to 2.2.0 where earlier.
26049 * sysdeps/unix/sysv/linux/configure: Regenerated.
26050 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26051 Remove conditional code.
26052 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26053 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26054 Remove conditional code.
26055 [!__NR_lchown]: Likewise.
26056 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26057 [__NR_lchown]: Likewise.
26058 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26059 comment referencing __ASSUME_LCHOWN_SYSCALL.
26060 * sysdeps/unix/sysv/linux/i386/sigaction.c
26061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26063 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26064 Remove conditional code.
26065 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26066 (__protocol_available): Remove #if 0 code.
26067 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26068 conditional code.
26069 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26070 * sysdeps/unix/sysv/linux/kernel-features.h
26071 (__ASSUME_GETCWD_SYSCALL): Don't define.
26072 (__ASSUME_REALTIME_SIGNALS): Likewise.
26073 (__ASSUME_PREAD_SYSCALL): Likewise.
26074 (__ASSUME_PWRITE_SYSCALL): Likewise.
26075 (__ASSUME_POLL_SYSCALL): Likewise.
26076 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26077 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26078 non-SPARC.
26079 (__ASSUME_SIOCGIFNAME): Don't define.
26080 (__ASSUME_MSG_NOSIGNAL): Likewise.
26081 (__ASSUME_SENDFILE): Define unconditionally.
26082 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26083 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26084 conditional code.
26085 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26086 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26087 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26088 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26089 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26090 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26091 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26093 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26096 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26108 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26116 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26117 Remove conditional code.
26118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26119 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26120 Remove conditional code.
26121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26122 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26123 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26124 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26125 Remove conditional code.
26126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26127 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26128 Remove conditional code.
26129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26130 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26131 Remove conditional code.
26132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26133 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26134 Remove conditional code.
26135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26136 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26137 Remove conditional code.
26138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26139 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26142 * sysdeps/unix/sysv/linux/sigaction.c
26143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26145 * sysdeps/unix/sysv/linux/sigpending.c
26146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26148 * sysdeps/unix/sysv/linux/sigprocmask.c
26149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26151 * sysdeps/unix/sysv/linux/sigsuspend.c
26152 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26153 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26154 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26155 (__libc_missing_rt_sigs): Remove.
26156 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26157 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26158 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26159 Remove conditional code.
26160 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26161 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26162 return 1.
26163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26164 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26166 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26167
1bfb7291
AJ
261682012-05-14 Andreas Jaeger <aj@suse.de>
26169
caae5a81
AJ
26170 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26171 it's not used in glibc.
26172 (__coshm1): Likewise.
26173 (__acosh1p): Likewise.
26174 (__sgn): Likewise.
26175
1bfb7291
AJ
26176 * manual/string.texi (Copying and Concatenation): Add missing
26177 variable in concat example.
26178 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26179
c044d724
L
261802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26181
144c5467 26182 [BZ #14103]
c044d724
L
26183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26184 __builtin_clzl with __builtin_clzll.
26185
2523c62b
L
261862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26187
26188 [BZ #14104]
26189 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26190 libc_freeres_ptr.
26191
d7bb4c42
LD
261922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26193
26194 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26195 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26196 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26197 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26198
9dc4e1fb
MF
261992012-05-14 Mike Frysinger <vapier@gentoo.org>
26200
26201 * NEWS: Update ia64 info.
26202
c7df0112
AS
262032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26204
26205 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26206 used as bcopy.
26207
dc70356c
TS
262082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26209
26210 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26211 * sysdeps/unix/syscalls.list (dup3): Likewise.
26212 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26213 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26214
9fb1a21f
L
262152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26216
26217 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26218 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26219
4822a2a5
L
262202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26221
26222 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26223 thread pointer.
26224 (TLS_IE): Use mov/add instead of movq/addq to load thread
26225 pointer.
26226 (TLS_GD_PREFIX): New.
26227 (TLS_GD): Use it.
26228
842b81d6
DM
262292012-05-11 David S. Miller <davem@davemloft.net>
26230
26231 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26232 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26233 (_FPU_SETCW): Likewise.
26234
1cf463cd
L
262352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26236
26237 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26238 is 32-byte aligned.
26239
60cc4a18
AS
262402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26241
26242 [BZ #11837]
26243 * iconvdata/gb18030.c: Update tables.
26244 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26245 characters specially.
26246 (BODY for TO_LOOP): Add encoding of missing ranges.
26247
febb44a4
TS
262482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26249
26250 [BZ #13673]
26251 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26252 * sysdeps/mach/hurd/dup3.c: Likewise.
26253 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26254 * sysdeps/powerpc/memmove.c:: Likewise.
26255
0a10fb9e
L
262562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26257
26258 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26259 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26260
df8a552f
L
262612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26262
26263 * elf/elf.h (R_X86_64_RELATIVE64): New.
26264 (R_X86_64_NUM): Updated.
26265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26266 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26267 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26268 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26269 tst-quad1pie tst-quad2pie
26270 (modules-names): Add tst-quadmod1 tst-quadmod2.
26271 ($(objpfx)tst-quad1): New dependency.
26272 ($(objpfx)tst-quad2): Likewise.
26273 ($(objpfx)tst-quad1pie): Likewise.
26274 ($(objpfx)tst-quad2pie): Likewise.
26275 * sysdeps/x86_64/tst-quad1.c: New file.
26276 * sysdeps/x86_64/tst-quad1pie.c: New file.
26277 * sysdeps/x86_64/tst-quad2.c: Likewise.
26278 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26279 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26280 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26281 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26282 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26283
f34d6f84
ST
262842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26285
f42d41d1
ST
26286 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26287 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26288 * streams/stropts.h (t_scalar_t): Define type.
26289
3c3571fc
ST
26290 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26291 (_PATH_PRESERVE): Set to "/var/lib".
26292 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26293
61f06bd3
ST
26294 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26295 instead of int.
26296
918d4d71
ST
26297 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26298 if __dir_mkfile succeeded.
26299
f34d6f84
ST
26300 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26301 checking for _hurd_dtablesize. Unlock it right after having
26302 finished _hurd_dtable allocation.
26303
10589b4a
TS
263042012-05-10 Thomas Schwinge <thomas@schwinge.name>
26305
674cdbc7
TS
26306 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26307 * sysdeps/mach/hurd/configure: Regenerated.
26308 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26309 special-casing to...
26310 * sysdeps/gnu/configure.in: ... this new file.
26311 * sysdeps/unix/sysv/linux/configure: Regenerated.
26312 * sysdeps/gnu/configure: New generated file.
26313
8e41b99f
TS
26314 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26315 for Linux: use nsec instead of usec, as well as:
26316 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26317 members of type struct timespec.
26318 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26319 New macros.
26320 (struct stat64): Likewise.
26321 (_STATBUF_ST_NSEC): New macro.
26322 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26323
10589b4a
TS
26324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26325 __strtoul_internal rather than strtoul.
26326
63643c85
PT
263272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26328
26329 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26330 and reject them.
26331
3faebe6a
ST
263322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26333
26334 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26335 which preserves existing values.
26336 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26337
c6474b07
PT
263382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26339
26340 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26341 TIMEOUT values. Return EINVAL for NFDS values either negative or
26342 greater than FD_SETSIZE.
26343
1043890b
ST
263442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26345
26346 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26347 allocated, call __vm_protect to finish enabling the existing space, and
26348 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26349 allocate the remainder.
26350
37ed8b9b
PT
263512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26352
26353 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26354 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26355
db653660
ST
263562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26357
37ed8b9b
PT
26358 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26359 sysdeps/mach/hurd/readlink.c.
b29d4053 26360
db653660
ST
26361 * posix/tst-sysconf.c (posix_options): Only use
26362 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26363 _POSIX_SYNCHRONIZED_IO when they are defined
26364 * sysdeps/mach/hurd/bits/posix_opt.h:
26365 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26366 (_XOPEN_REALTIME): Undefine macro.
26367 (_XOPEN_REALTIME_THREADS): Undefine macro.
26368 (_XOPEN_SHM): Undefine macro.
26369 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26370 macro to -1.
26371 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26372 macro to -1.
26373 (_POSIX_ASYNC_IO): Undefine macro.
26374 (_POSIX_PRIORITIZED_IO): Undefine macro.
26375 (_POSIX_SPIN_LOCKS): Define macro to -1.
26376
ee16e894
ST
26377 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26378 SA_NODEFER, SA_RESETHAND.
26379 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26380 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26381 F_DUPFD_CLOEXEC.
26382
6103ae3b
TS
263832012-05-10 Thomas Schwinge <thomas@schwinge.name>
26384
26385 * elf/Makefile (pldd-modules): Define unconditionally.
26386
80b4e5f3
TS
263872012-05-10 Thomas Schwinge <thomas@schwinge.name>
26388
26389 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26390
edadcbd6
ST
263912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26392
26393 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26394 Return ENOENT when name is empty.
26395 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26396
80694780
TS
263972012-05-10 Thomas Schwinge <thomas@schwinge.name>
26398
1792c087
TS
26399 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26400
80694780
TS
26401 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26402
6b645f0d
ST
264032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26404
80694780
TS
26405 Fix mlock in all cases except non-readable pages.
26406 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26407 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26408
6b645f0d
ST
26409 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26410 (__mkdir): When path is `/', just fail with EEXIST.
26411 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26412
e468f8a3
TS
264132012-05-10 Thomas Schwinge <thomas@schwinge.name>
26414
26415 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26416 <sys/uio.h> (for writev).
26417 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26418 and <sys/param.h> (for MIN).
26419
a4186cff
PT
264202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26421
26422 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26423 REQUESTED_TIME. Properly set the remaining time and return EINTR
26424 if interrupted.
26425
510bbf14
TS
264262012-05-10 Thomas Schwinge <thomas@schwinge.name>
26427
26428 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26429 Depend on against $(link-rpcuserlibs).
26430
5d5722e8
ST
264312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26432
a4186cff
PT
26433 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26434 (__libc_stack_end): Do not use attribute_relro.
26435 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26436 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26437 to libthread-provided value.
a4186cff
PT
26438 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26439 attribute_relro.
5d5722e8 26440
37233df9
TS
264412012-05-10 Thomas Schwinge <thomas@schwinge.name>
26442
be971a2b
TS
26443 [BZ #3748]
26444 * bits/libc-lock.h (__libc_once_get): New macro.
26445 * sysdeps/mach/bits/libc-lock.h: Likewise.
26446 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26448 instead of using implementation details.
26449
37233df9
TS
26450 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26451 * libio/freopen.c: Likewise.
26452 * libio/freopen64.c: Likewise.
26453 * misc/syslog.c: Likewise.
26454 * nscd/connections.c: Likewise.
26455 * nscd/netgroupcache.c: Likewise.
26456 * sysdeps/posix/getcwd.c: Likewise.
26457
38de94a5
RM
264582012-05-10 Roland McGrath <roland@hack.frob.com>
26459
26460 * math/w_ilogbf.c: Add #include <limits.h>.
26461
67530489
ST
264622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26463
a4186cff 26464 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26465 path instead of returning without unlocking.
26466
67530489
ST
26467 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26468 immediate-write ioctls.
26469 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26470
5aa3a74a
TS
264712012-05-10 Thomas Schwinge <thomas@schwinge.name>
26472
18bad2ae
TS
26473 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26474 __builtin_frame_address instead of making assumptions about the
26475 location of the return address relative to DATA. Force early load of
26476 the return address.
26477 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26478 __builtin_frame_address.
26479
5aa3a74a
TS
26480 dup3 for GNU Hurd.
26481 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26482 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26483 implement dup3 and do some further code clean-ups.
26484 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26485 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26486
ecd0de9a
ST
264872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26488
cd9fa985
ST
26489 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26490
a4186cff
PT
26491 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26492 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26493 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26494 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26495 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26496 d->port.lock.
802ca5a5 26497
a4186cff
PT
26498 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26499 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26500 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26501
bcf55240
TS
265022012-05-10 Thomas Schwinge <thomas@schwinge.name>
26503
6960eb42
TS
26504 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26505 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26506 definitions.
26507
eb43375f
TS
26508 accept4 for GNU Hurd.
26509 * include/sys/socket.h (__libc_accept4): New prototype.
26510 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26511 to implement __libc_accept4.
26512 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26513 __libc_accept4.
26514 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26515
bcf55240
TS
26516 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26517 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26518 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26519 signal-defines.sym.
26520
6178c55b
ST
265212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26522
a4186cff 26523 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26524
6f080c2f
TS
265252012-05-10 Thomas Schwinge <thomas@schwinge.name>
26526
26527 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26528 assertion on O_CLOEXEC flag.
26529 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26530 * hurd/intern-fd.c: Likewise.
26531 * hurd/port2fd.c: Likewise.
26532
bcfe3a54
ST
265332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26534
26535 [BZ #3906]
26536 * bits/in.h (IPV6_PKTINFO): Define new macro.
26537 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26538
89c9aa49
AZ
265392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26540
26541 [BZ #13954]
26542 [BZ #13955]
26543 [BZ #13956]
26544 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26546 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26547 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26549 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26550 * math/libm-test.inc (logb_test) : Additional logb tests.
26551
021db4be
AJ
265522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26553 Andreas Jaeger <aj@suse.de>
26554
26555 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26556 * configure: Regenerated.
26557 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26558 * config.make.in (link-obsolete-rpc): New substituted variable.
26559 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26560 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26561 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26562 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26563 so that libc.a contains the symbols.
26564 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26565 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26566 * sunrpc/auth_none.c: Likewise.
26567 * sunrpc/auth_unix.c: Likewise.
26568 * sunrpc/authdes_prot.c: Likewise.
26569 * sunrpc/authuxprot.c: Likewise.
26570 * sunrpc/clnt_gen.c: Likewise.
26571 * sunrpc/clnt_perr.c: Likewise.
26572 * sunrpc/clnt_raw.c: Likewise.
26573 * sunrpc/clnt_simp.c: Likewise.
26574 * sunrpc/clnt_tcp.c: Likewise.
26575 * sunrpc/clnt_udp.c: Likewise.
26576 * sunrpc/clnt_unix.c: Likewise.
26577 * sunrpc/des_crypt.c: Likewise.
26578 * sunrpc/des_soft.c: Likewise.
26579 * sunrpc/get_myaddr.c: Likewise.
26580 * sunrpc/key_call.c: Likewise.
26581 * sunrpc/key_prot.c: Likewise.
26582 * sunrpc/netname.c: Likewise.
26583 * sunrpc/pm_getmaps.c: Likewise.
26584 * sunrpc/pm_getport.c: Likewise.
26585 * sunrpc/pmap_clnt.c: Likewise.
26586 * sunrpc/pmap_prot.c: Likewise.
26587 * sunrpc/pmap_prot2.c: Likewise.
26588 * sunrpc/pmap_rmt.c: Likewise.
26589 * sunrpc/publickey.c: Likewise.
26590 * sunrpc/rpc_cmsg.c: Likewise.
26591 * sunrpc/rpc_common.c: Likewise.
26592 * sunrpc/rpc_dtable.c: Likewise.
26593 * sunrpc/rpc_prot.c: Likewise.
26594 * sunrpc/rpc_thread.c: Likewise.
26595 * sunrpc/rtime.c: Likewise.
26596 * sunrpc/svc.c: Likewise.
26597 * sunrpc/svc_auth.c: Likewise.
26598 * sunrpc/svc_raw.c: Likewise.
26599 * sunrpc/svc_run.c: Likewise.
26600 * sunrpc/svc_tcp.c: Likewise.
26601 * sunrpc/svc_udp.c: Likewise.
26602 * sunrpc/svc_unix.c: Likewise.
26603 * sunrpc/svcauth_des.c: Likewise.
26604 * sunrpc/xcrypt.c: Likewise.
26605 * sunrpc/xdr.c: Likewise.
26606 * sunrpc/xdr_array.c: Likewise.
26607 * sunrpc/xdr_float.c: Likewise.
26608 * sunrpc/xdr_intXX_t.c: Likewise.
26609 * sunrpc/xdr_mem.c: Likewise.
26610 * sunrpc/xdr_rec.c: Likewise.
26611 * sunrpc/xdr_ref.c: Likewise.
26612 * sunrpc/xdr_sizeof.c: Likewise.
26613 * sunrpc/xdr_stdio.c: Likewise.
26614
b5c086a2
RM
266152012-05-10 Roland McGrath <roland@hack.frob.com>
26616
26617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26618 change. Update copyright years.
26619
6d74dd09
JM
266202012-05-10 Joseph Myers <joseph@codesourcery.com>
26621
26622 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26623
28e72501
MK
266242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26625 Joseph Myers <joseph@codesourcery.com>
26626 Paul Pluzhnikov <ppluzhnikov@google.com>
26627
26628 [BZ #14012]
26629 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26630 requiring rpcgen.
26631 [cross-compiling] (extra-libs): Likewise.
26632 [cross-compiling] (extra-libs-others): Likewise.
26633 [cross-compiling] (librpcsvc-routines): Likewise.
26634 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26635 [cross-compiling] (omit-deps): Likewise.
26636 (sunrpc-CPPFLAGS): New variable.
26637 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26638 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26639 (cross-rpcgen-objs): New variable.
26640 (extra-objs): Append $(cross-rpcgen-objs).
26641 ($(cross-rpcgen-objs)): New rule.
26642 ($(objpfx)cross-rpcgen): Likewise.
26643 (rpcgen-cmd): Define to use $(built-program-file). Expand
26644 comment.
26645 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26646 ($(objpfx)x%.stmp): Likewise.
26647 * sunrpc/proto.h [IS_IN_build] (_): Define.
26648 [IS_IN_build] (_libc_intl_domainname): Likewise.
26649
c8c59454
L
266502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26651
26652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26653 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26654 and R_X86_64_TPOFF64.
26655
6f27cd16
JM
266562012-05-10 Joseph Myers <joseph@codesourcery.com>
26657
26658 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26659 sysdeps/unix/sysv/syscalls.list.
26660 (stime): Likewise.
26661 (utime): Likewise.
26662 * sysdeps/unix/sysv/syscalls.list: Remove file.
26663
02467e1c
PE
266642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26665
26666 [BZ #3440]
26667 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26668 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26669 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26670 (__LC_IDENTIFICATION): Make these macros useful in #if
26671 expressions, as required by C99.
26672
da392631
AS
266732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26674
26675 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26676 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26677 after this.
26678
8115f29b
L
266792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 * stdlib/longlong.h: Updated from GCC.
26682
bdd74070
AJ
266832012-05-09 Andreas Jaeger <aj@suse.de>
26684
edfe0dbe
AJ
26685 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26686 default is first entry.
26687 (run_mode): Set type.
26688 (main): Remove informal message about syslog.
26689 (options): Fix typo.
26690
bcfe3a54
ST
26691 [BZ #14053]
26692 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26693 to asm.
bcfe3a54
ST
26694 (lrint): Likewise.
26695 (llrintf): Likewise.
26696 (llrint): Likewise.
26697 (rint): Likewise.
26698 (rintf): Likewise.
26699 (nearbyint): Likewise.
26700 (nearbyintf): Likewise.
bdd74070 26701
91d8d69e
AJ
267022012-05-09 Andreas Jaeger <aj@suse.de>
26703 Pedro Alves <palves@redhat.com>
26704
26705 * nscd/nscd.c (run_mode): Use enum.
26706 (main): Cleanup coding style issue.
26707
bb90b80b
AJ
267082012-05-09 Alexandre Oliva <aoliva@redhat.com>
26709 Andreas Jaeger <aj@suse.de>
26710
bcfe3a54
ST
26711 * nscd/nscd.c (go_background): Replaced with...
26712 (run_mode): ... this.
bb90b80b 26713 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26714 (options): Add -F --foreground.
26715 (main): Implement it.
26716 (parse_opt): Parse it.
bb90b80b 26717
1a4b75a1
AJ
267182012-05-09 Andreas Jaeger <aj@suse.de>
26719
26720 [BZ #14083]
26721 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26722 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26723 -Wconversion warning.
26724 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26725 Likewise.
26726
b1cc2472
JM
267272012-05-09 Joseph Myers <joseph@codesourcery.com>
26728
26729 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26730 == 0.
26731 (LC_ALL): Use macro-int-constant.
26732 (LC_COLLATE): Likewise.
26733 (LC_CTYPE): Likewise.
26734 (LC_MESSAGES): Likewise.
26735 (LC_MONETARY): Likewise.
26736 (LC_NUMERIC): Likewise.
26737 (LC_TIME): Likewise.
26738 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26739 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26741 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26742 Specify type.
26743 [C99-based standards] (float_t): Expect type.
26744 [C99-based standards] (double_t): Expect type.
26745 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26746 type.
26747 [C99-based standards] (HUGE_VALL): Likewise.
26748 [C99-based standards] (INFINITY): Likewise.
26749 [C99-based standards] (NAN): Likewise.
26750 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26751 [C99-based standards] (FP_NAN): Likewise.
26752 [C99-based standards] (FP_NORMAL): Likewise.
26753 [C99-based standards] (FP_SUBNORMAL): Likewise.
26754 [C99-based standards] (FP_ZERO): Likewise.
26755 [C99-based standards] (FP_FAST_FMA): Use
26756 optional-macro-int-constant. Specify type. Require == 1.
26757 [C99-based standards] (FP_FAST_FMAF): Likewise.
26758 [C99-based standards] (FP_FAST_FMAL): Likewise.
26759 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26760 [C99-based standards] (FP_ILOGBNAN): Likewise.
26761 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26762 Specify type.
26763 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26764 [C99-based standards] (math_errhandling): Specify type.
26765 [ISO99 || ISO11] (signgam): Do not allow.
26766 [non-C99-based standards] (copysignf): Do not allow.
26767 [non-C99-based standards] (exp2f): Likewise.
26768 [non-C99-based standards] (log2f): Likewise.
26769 [non-C99-based standards] (modff): Allow.
26770 [non-C99-based standards] (erff): Do not allow.
26771 [non-C99-based standards] (erfcf): Likewise.
26772 [non-C99-based standards] (gammaf): Likewise.
26773 [non-C99-based standards] (hypotf): Likewise.
26774 [non-C99-based standards] (j0f): Likewise.
26775 [non-C99-based standards] (j1f): Likewise.
26776 [non-C99-based standards] (jnf): Likewise.
26777 [non-C99-based standards] (lgammaf): Likewise.
26778 [non-C99-based standards] (tgammaf): Likewise.
26779 [non-C99-based standards] (y0f): Likewise.
26780 [non-C99-based standards] (y1f): Likewise.
26781 [non-C99-based standards] (ynf): Likewise.
26782 [non-C99-based standards] (isnanf): Likewise.
26783 [non-C99-based standards] (acoshf): Likewise.
26784 [non-C99-based standards] (asinhf): Likewise.
26785 [non-C99-based standards] (atanhf): Likewise.
26786 [non-C99-based standards] (cbrtf): Likewise.
26787 [non-C99-based standards] (expm1f): Likewise.
26788 [non-C99-based standards] (ilogbf): Likewise.
26789 [non-C99-based standards] (log1pf): Likewise.
26790 [non-C99-based standards] (logbf): Likewise.
26791 [non-C99-based standards] (nextafterf): Likewise.
26792 [non-C99-based standards] (remainderf): Likewise.
26793 [non-C99-based standards] (rintf): Likewise.
26794 [non-C99-based standards] (scalbf): Likewise.
26795 [non-C99-based standards] (copysignl): Likewise.
26796 [non-C99-based standards] (exp2l): Likewise.
26797 [non-C99-based standards] (log2l): Likewise.
26798 [non-C99-based standards] (modfl): Allow.
26799 [non-C99-based standards] (erfl): Do not allow.
26800 [non-C99-based standards] (erfcl): Likewise.
26801 [non-C99-based standards] (gammal): Likewise.
26802 [non-C99-based standards] (hypotl): Likewise.
26803 [non-C99-based standards] (j0l): Likewise.
26804 [non-C99-based standards] (j1l): Likewise.
26805 [non-C99-based standards] (jnl): Likewise.
26806 [non-C99-based standards] (lgammal): Likewise.
26807 [non-C99-based standards] (tgammal): Likewise.
26808 [non-C99-based standards] (y0l): Likewise.
26809 [non-C99-based standards] (y1l): Likewise.
26810 [non-C99-based standards] (ynl): Likewise.
26811 [non-C99-based standards] (isnanl): Likewise.
26812 [non-C99-based standards] (acoshl): Likewise.
26813 [non-C99-based standards] (asinhl): Likewise.
26814 [non-C99-based standards] (atanhl): Likewise.
26815 [non-C99-based standards] (cbrtl): Likewise.
26816 [non-C99-based standards] (expm1l): Likewise.
26817 [non-C99-based standards] (ilogbl): Likewise.
26818 [non-C99-based standards] (log1pl): Likewise.
26819 [non-C99-based standards] (logbl): Likewise.
26820 [non-C99-based standards] (nextafterl): Likewise.
26821 [non-C99-based standards] (remainderl): Likewise.
26822 [non-C99-based standards] (rintl): Likewise.
26823 [non-C99-based standards] (scalbl): Likewise.
26824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26825 [non-C99-based standards] (FP_*): Do not allow.
26826 [C99-based standards] (FP_*): Change to
26827 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26828 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26829 allow.
26830 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26831 (SIG_ERR): Likewise.
26832 [X/Open-based standards] (SIG_HOLD): Likewise.
26833 (SIG_IGN): Likewise.
26834 (SIGABRT): Use macro-int-constant. Specify type. Require
26835 positive value.
26836 (SIGFPE): Likewise.
26837 (SIGILL): Likewise.
26838 (SIGINT): Likewise.
26839 (SIGSEGV): Likewise.
26840 (SIGTER): Likewise.
26841 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26842 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26843 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26844 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26845 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26846 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26847 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26848 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26849 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26850 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26851 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26852 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26853 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26854 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26855 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26856 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26857 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26858 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26859 [X/Open-based standards] (SIGTRAP): Likewise.
26860 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26861 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26862 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26863 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26864 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26865 allow.
26866
b9f1922d
IW
268672012-05-08 Ian Wienand <ianw@vmware.com>
26868
26869 [BZ #14080]
26870 * time/tzset.c (__tzset_parse_tz): Update default rules for
26871 daylight time changes in the Energy Policy Act of 2005.
26872
1db86e88
AJ
268732012-05-09 Andreas Jaeger <aj@suse.de>
26874
26875 [BZ #13983]
26876 * elf/ldconfig.c (parse_conf): Change string to make clear that
26877 ldconfig only issued a warning if ld.so.conf does not exist.
26878
dee4a4e3
DM
268792012-05-08 David S. Miller <davem@davemloft.net>
26880
ee0db190
DM
26881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26882 movxtod instead of popping the value on the stack.
26883
dee4a4e3
DM
26884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26885
6a43ec98
CD
268862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26887
26888 * config.h.in: Add HAVE_ARM_PCS_VFP.
26889
05c2c961
RMG
268902012-05-08 Roland Mc Grath <roland@hack.frob.com>
26891
bcfe3a54
ST
26892 [BZ #13979]
26893 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26894 checking but the checks are disabled for any reason.
05c2c961 26895
4b30f61a
L
268962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26899 and ELF64_R_TYPE with ELFW(R_TYPE).
26900
eee2bc67
JM
269012012-05-08 Joseph Myers <joseph@codesourcery.com>
26902
7ea5391a
JM
26903 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26904 (ulimit): Likewise.
26905
eee2bc67
JM
26906 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26907 (settimeofday): Likewise.
26908
abb66a67
MF
269092012-05-08 Mike Frysinger <vapier@gentoo.org>
26910
26911 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26912 a struct th_u2 inside the union, and move tu_block/tu_code into
26913 a new th_u3 union of tu_block/tu_code inside of that. Move
26914 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26915 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26916 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26917 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26918 (th_stuff): Change to th_u1.tu_stuff.
26919 (th_data): Define.
26920 (th_msg): Change to th_u1.th_u2.tu_data.
26921
7f18b530
DM
269222012-05-07 David S. Miller <davem@davemloft.net>
26923
05760585
DM
26924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26925
7f18b530
DM
26926 [BZ #14074]
26927 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26928 (SETUP_PIC_REG): Use it.
26929 (SETUP_PIC_REG_LEAF): Use it.
26930
495fd99f
JM
269312012-05-07 Joseph Myers <joseph@codesourcery.com>
26932
26933 [BZ #13885]
26934 [BZ #13923]
26935 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26936 USE_AS_EXPM1L.
26937 (EXPL_FINITE): Likewise.
26938 (FLDLOG): Likewise.
26939 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26940 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26941 e_expl.S.
26942 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26943 USE_AS_EXPM1L.
26944 (EXPL_FINITE): Likewise.
26945 (FLDLOG): Likewise.
26946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26947 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26948 e_expl.S.
26949 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26950 test of -max_value argument for long double.
26951 * sysdeps/i386/fpu/libm-test-ulps: Update.
26952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26953
6693d694
DM
269542012-05-06 David S. Miller <davem@davemloft.net>
26955
26956 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26957 quad soft-float symbols whose references which are compiler
26958 generated.
26959 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26960
6c23e11c
JM
269612012-05-06 Joseph Myers <joseph@codesourcery.com>
26962
d8b82cad
JM
26963 [BZ #13884]
26964 [BZ #13914]
26965 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26966 USE_AS_EXP10L.
26967 (EXPL_FINITE): Likewise.
26968 (FLDLOG): Likewise.
26969 (c0): Likewise.
26970 (c1): Likewise.
26971 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26972 Adjust comments for base varying.
26973 (__expl_finite): Change alias to EXPL_FINITE.
26974 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26975 e_expl.S.
26976 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26977 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26978 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26979 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26980 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26981 USE_AS_EXP10L.
26982 (EXPL_FINITE): Likewise.
26983 (FLDLOG): Likewise.
26984 (c0): Likewise.
26985 (c1): Likewise.
26986 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26987 Adjust comments for base varying.
26988 (__expl_finite): Change alias to EXPL_FINITE.
26989 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26990 tests for bugs.
26991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26992
6c23e11c
JM
26993 [BZ #14064]
26994 * math/libm-test.inc (check_float_internal): Correct ulp
26995 calculation for subnormal expected results.
26996
29ba805c
AJ
269972012-05-06 Andreas Jaeger <aj@suse.de>
26998
26999 * Makeconfig (+math-flags): New, set to -frounding-math.
27000 (+cflags): Add +math-flags so that all of glibc gets compiled with
27001 it.
27002
27003 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27004
7b17aeda
JM
270052012-05-05 Joseph Myers <joseph@codesourcery.com>
27006
5779f134
JM
27007 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27008 Disable one test.
27009
41498f4d
JM
27010 [BZ #13787]
27011 [BZ #13922]
27012 [BZ #14036]
27013 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27014 (__ieee754_expl): Allow for and saturate large arguments.
27015 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27016 (u_threshold): Likewise.
27017 (__exp): Call __ieee754_exp before checking for overflow and
27018 underflow.
27019 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27020 (u_threshold): Likewise.
27021 (__expf): Call __ieee754_expf before checking for overflow and
27022 underflow.
27023 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27024 (u_threshold): Likewise.
27025 (__expl): Call __ieee754_expl before checking for overflow and
27026 underflow.
27027 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27028 (__ieee754_expl): Allow for and saturate large arguments.
27029 * math/libm-test.inc (exp_test): Add another test. Do not allow
27030 missing overflow exception on overflow.
27031 (expm1_test): Do not allow missing overflow exception on overflow.
27032
6698b8bf
JM
27033 * sysdeps/i386/fpu/e_expl.c: Move to ...
27034 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27035 rather than using inline asm.
27036 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27037 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27038 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27039
7b17aeda
JM
27040 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27041 (nice): Likewise.
27042 (poll): Likewise.
27043 (signal): Likewise.
27044 (time): Likewise.
27045 (times): Likewise.
27046
f7c85819
JM
270472012-05-04 Joseph Myers <joseph@codesourcery.com>
27048
27049 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27050 sysdeps/unix/common/syscalls.list.
27051 (fchmod): Likewise.
27052 (fchown): Likewise.
27053 (ftruncate): Likewise.
27054 (getrusage): Likewise.
27055 (gettimeofday): Likewise.
27056 (setpgid): Likewise.
27057 (setregid): Likewise.
27058 (setreuid): Likewise.
27059 (sigaction): Likewise.
27060 (truncate): Likewise.
27061 (vhangup): Likewise.
27062 * sysdeps/unix/common/syscalls.list: Remove file.
27063 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27064 * sysdeps/unix/sysv/linux/Implies: Likewise.
27065
336270d0
L
270662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27070 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27071 Moved to ...
27072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27073 Here.
27074 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27075 to ...
27076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27077 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27078 to ...
27079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27080 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27081 to ...
27082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27083 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27084 to ...
27085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27086 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27087 to ...
27088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27089 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27090 to ...
27091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27092 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27093 to ...
27094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27095 Here.
27096 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27097 to ...
27098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27099 Here.
27100 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27101 to ...
27102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27103 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27104 Moved to ...
27105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27106 Here.
27107 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27108 to ...
27109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27110
d128e450
JM
271112012-05-04 Joseph Myers <joseph@codesourcery.com>
27112
fa8ee516
JM
27113 * sysdeps/unix/common/bits/dirent.h: Remove file.
27114 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27115
d128e450
JM
27116 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27117 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27118 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27119 * sysdeps/unix/bsd/isatty.c: Likewise.
27120 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27121 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27122 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27123
ff8faaf0 271242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27125
62881be4 27126 [BZ #13563]
31dc8730
AZ
27127 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27128 long double comparison inaccuracies.
27129 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27131
6fef930c
AS
271322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27133
27134 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27135 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27136
8f203e6c
JM
271372012-05-04 Joseph Myers <joseph@codesourcery.com>
27138
27139 [BZ #14049]
27140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27141 nonzero digits before rounding a hex value.
27142 * stdlib/tst-strtod.c (tests): Add another test.
27143
5197d9c2
AK
271442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27145
27146 * sysdeps/s390/fpu/libm-test-ulps: Update.
27147
f0c1dedf
AJ
271482012-05-03 Andreas Jaeger <aj@suse.de>
27149
27150 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27151 does not get optimized out.
27152 (malloc_opt_barrier): New.
27153
a65ef2ae 271542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27155 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27156
2b942cb7 27157 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27158 intermediate file deletion.
2b942cb7 27159 (generated): Add .symlist files.
a65ef2ae 27160
54b71e02
JM
271612012-05-03 Joseph Myers <joseph@codesourcery.com>
27162
27163 [BZ #13775]
27164 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27165 Redirect under this condition.
27166 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27167 [__USE_GNU] (__dprintf_chk): Not under this condition.
27168 [__USE_GNU] (__vdprintf_chk): Likewise.
27169 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27170 under this condition.
27171 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27172 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27173 [__USE_XOPEN2K8] (vdprintf): Likewise.
27174 [__USE_GNU] (__dprintf_chk): Not under this condition.
27175 [__USE_GNU] (__vdprintf_chk): Likewise.
27176 [__USE_GNU] (dprintf): Likewise.
27177 [__USE_GNU] (vdprintf): Likewise.
27178
d3dfcc41
RM
271792012-05-03 Roland McGrath <roland@hack.frob.com>
27180
27181 * elf/Makefile (common-generated): Set this instead of generated for
27182 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27183 $(all-built-dso)-derived lists.
27184
7ac30cc5
AJ
271852012-05-03 Andreas Jaeger <aj@suse.de>
27186
0c51e550
AJ
27187 * sysdeps/i386/fpu/libm-test-ulps: Update.
27188
7ac30cc5
AJ
27189 * FAQ: Removed.
27190 * FAQ.in: Likewise.
27191 * scripts/gen-FAQ.pl: Likewise.
27192 * manual/install.texi (Installation): Point to online location of
27193 FAQ.
27194 * Makefile (files-for-dist): Remove FAQ.
27195 (FAQ): Remove.
27196
d4c2917f
AM
271972012-05-02 Allan McRae <allan@archlinux.org>
27198
27199 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27200 (LDFLAGS-reldepmod5.so): Likewise.
27201 (LDFLAGS-reldep6mod1.so): Likewise.
27202 (LDFLAGS-reldep6mod4.so): Likewise.
27203 (LDFLAGS-reldep8mod3.so): Likewise.
27204 (LDFLAGS-unload4mod1.so): Likewise.
27205 (LDFLAGS-unload4mod2.so): Likewise.
27206 (LDFLAGS-tst-initorder): Likewise.
27207 (LDFLAGS-tst-initordera2.so): Likewise.
27208 (LDFLAGS-tst-initordera3.so): Likewise.
27209 (LDFLAGS-tst-initordera4.so): Likewise.
27210 (LDFLAGS-tst-initorderb2.so): Likewise.
27211 (LDFLAGS-noload): Likewise.
27212 (LDFLAGS-next): Likewise.
27213 (LDFLAGS-order2mod1.so): Likewise.
27214 (LDFLAGS-order2mod2.so): Likewise.
27215 (LDFLAGS-tst-initorder2): Likewise.
27216 (LDFLAGS-tst-initorder2a.so): Likewise.
27217 (LDFLAGS-tst-initorder2b.so): Likewise.
27218 (LDFLAGS-tst-initorder2c.so): Likewise.
27219 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27220
d77f993f
DM
272212012-05-02 David S. Miller <davem@davemloft.net>
27222
27223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27224
171a70b4
PP
272252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27226
27227 [BZ #14055]
27228 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27229
0be196ad
AJ
272302012-05-02 Andreas Jaeger <aj@suse.de>
27231
27232 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27233 since we manipulate rounding mode.
27234 (CPPFLAGS-test-idouble.c): Likewise.
27235 (CPPFLAGS-test-ifloat.c): Likewise.
27236 (CFLAGS-test-ldouble.c): Likewise.
27237 (CFLAGS-test-double.c): Likewise.
27238 (CFLAGS-test-float.c): Likewise.
27239 (CFLAGS-test-misc.c): Likewise.
27240 (CFLAGS-test-test-fenv.c): Likewise.
27241
4f9d04aa
AZ
272422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27243
2b942cb7
RM
27244 [BZ #2550]
27245 [BZ #2570]
27246 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27247 comparisons to determine direction to adjust input.
4f9d04aa 27248
82a79e7d
RM
272492012-05-01 Roland McGrath <roland@hack.frob.com>
27250
f5a01ca9
RM
27251 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27252 output to the target.
27253
90fe4186
RM
27254 * scripts/localplt.awk: New file.
27255 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27256 (check-localplt-CFLAGS): Variable removed.
27257 ($(all-built-dso:=.jmprel)): New static pattern rule.
27258 (generated): Add those targets.
27259 (localplt-built-dso): New variable.
27260 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27261
27262 * elf/check-localplt.c: File removed.
27263
82397ed6
RM
27264 * scripts/check-execstack.awk: New file.
27265 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27266 (check-execstack-CFLAGS): Variable removed.
27267 ($(objpfx)check-execstack.h): Target removed.
27268 ($(objpfx)execstack-default): New target.
27269 (generated): Add that instead of check-execstack.h.
27270 ($(all-built-dso:=.phdr)): New static pattern rule.
27271 (generated): Add those targets.
27272 * elf/check-execstack.c: File removed.
27273
82a79e7d
RM
27274 * scripts/check-textrel.awk: New file.
27275 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27276 (check-textrel-CFLAGS): Variable removed.
27277 (all-built-dso): Use := to define.o
27278 ($(all-built-dso:=.dyn)): New static pattern rule.
27279 (generated): Add those targets.
27280 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27281 * config.make.in (READELF): New substituted variable.
27282 * elf/check-textrel.c: File removed.
27283
62fde54f 272842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27285
615605c9
JM
27286 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27287 allow.
27288 * conform/data/ctype.h-data [C99-based standards] (isblank):
27289 Expect function.
27290 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27291 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27293 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27294 Specify type. Require positive value.
27295 (EILSEQ): Likewise.
27296 (ERANGE): Likewise.
27297 [ISO || POSIX] (EILSEQ): Do not expect.
27298 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27299 Specify type. Require positive value.
27300 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27301 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27302 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27303 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27304 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27305 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27306 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27307 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27308 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27309 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27310 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27311 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27312 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27313 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27314 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27315 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27316 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27317 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27318 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27319 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27320 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27321 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27322 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27323 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27324 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27325 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27326 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27327 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27328 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27329 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27330 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27331 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27332 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27333 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27334 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27335 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27336 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27337 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27338 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27339 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27340 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27341 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27342 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27343 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27344 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27345 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27346 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27347 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27348 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27349 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27350 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27351 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27352 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27353 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27354 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27355 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27356 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27357 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27358 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27359 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27360 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27361 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27362 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27363 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27364 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27365 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27366 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27367 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27368 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27369 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27370 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27371 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27372 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27373 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27374 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27375 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27376 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27377 Require >= 2.
27378 (FLT_ROUNDS): Expect as macro, not constant.
27379 (FLT_MANT_DIG): Use macro-int-constant.
27380 (DBL_MANT_DIG): Likewise.
27381 (LDBL_MANT_DIG): Likewise.
27382 (FLT_DIG): Likewise.
27383 (DBL_DIG): Likewise.
27384 (LDBL_DIG): Likewise.
27385 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27386 (DBL_MIN_EXP): Likewise.
27387 (LDBL_MIN_EXP): Likewise.
27388 (FLT_MAX_EXP): Use macro-int-constant.
27389 (DBL_MAX_EXP): Likewise.
27390 (LDBL_MAX_EXP): Likewise.
27391 (FLT_MAX_10_EXP): Likewise.
27392 (DBL_MAX_10_EXP): Likewise.
27393 (LDBL_MAX_10_EXP): Likewise.
27394 (FLT_MAX): Use macro-constant.
27395 (DBL_MAX): Likewise.
27396 (LDBL_MAX): Likewise.
27397 (FLT_EPSILON): Use macro-constant. Give upper bound.
27398 (DBL_EPSILON): Likewise.
27399 (LDBL_EPSILON): Likewise.
27400 (FLT_MIN): Likewise.
27401 (DBL_MIN): Likewise.
27402 (LDBL_MIN): Likewise.
27403 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27404 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27405 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27406 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27407 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27408 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27409 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27410 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27411 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27412 [ISO11] (FLT_TRUE_MIN): Likewise.
27413 [ISO11] (LDBL_TRUE_MIN): Likewise.
27414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27415 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27416 (SCHAR_MIN): Use macro-int-constant. Specify type.
27417 (SCHAR_MAX): Likewise.
27418 (UCHAR_MAX): Likewise.
27419 (CHAR_MIN): Likewise.
27420 (CHAR_MAX): Likewise.
27421 (MB_LEN_MAX): Use macro-int-constant.
27422 (SHRT_MIN): Use macro-int-constant. Specify type.
27423 (SHRT_MAX): Likewise.
27424 (USHRT_MAX): Likewise.
27425 (INT_MAX): Likewise.
27426 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27427 bound negative.
27428 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27429 bound with "U".
27430 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27431 bound with "L".
27432 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27433 bound negative. Suffix upper bound with "L".
27434 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27435 bound with "UL".
27436 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27437 Specify type.
27438 [C99-based standards] (LLONG_MAX): Likewise.
27439 [C99-based standards] (ULLONG_MAX): Likewise.
27440 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27441 == 0.
27442 [ISO11] (max_align_t): Require type.
27443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27444
c9140a62
JM
27445 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27446 from $CFLAGS, without defining away __attribute__ calls.
27447 (checknamespace): Use $CFLAGS_namespace.
27448
9af0bf29
JM
27449 * conform/conformtest.pl (@keywords): Only include C99 keywords
27450 for standards based on C99 or C11.
27451
343222a2
JM
27452 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27453 Disable tests.
27454 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27455 UNIX98]: Likewise.
27456
661f8cf0
JM
27457 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27458 usability of symbols in #if.
27459
ee74b9cb
JM
27460 * conform/conformtest.pl: If macro or constant types start
27461 "promoted:", expect the symbol to be of the following type
27462 promoted by the integer promotions.
62fde54f 27463
aafc49b3
JM
27464 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27465 in one place. Also handle "macro-constant".
27466
fefdf574
JM
27467 * conform/conformtest.pl: Only accept expected macro values with
27468 "==". Parse all "macro" lines in one place.
27469 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27470
f2d922fe
JM
27471 * conform/conformtest.pl: Handle braced types on "constant" lines
27472 instead of handling "typed-constant".
27473 * conform/data/signal.h-data: Use "constant" instead of
27474 "typed-constant".
27475
d22956c9
JM
27476 * conform/conformtest.pl: Handle "optional-" at start of lines in
27477 one place rather than duplicating several cases. Handle each
27478 format of "macro" line with initial "optional-".
27479
028e2e38
JM
27480 * conform/conformtest.pl: Only accept expected constant or
27481 optional-constant values with "==". Parse all "constant" lines in
27482 one place. Parse all "optional-constant" lines in one place.
27483 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27484 * conform/data/fmtmsg.h-data: Likewise.
27485 * conform/data/netinet/in.h-data: Likewise.
27486 * conform/data/tar.h-data: Likewise.
27487 * conform/data/limits.h-data: Use "==" form on "constant" and
27488 "optional-constant" lines.
27489
1b8f2850
JM
27490 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27491 Use -std=c99 for XOPEN2K.
27492 (@knownproblems): Remove.
27493 (newtoken): Don't check %isknown.
27494
a05a144b
JM
27495 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27496 Do not expect macro.
27497 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27498 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27499 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27500 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27501 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27502 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27503 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27504 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27505 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27506 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27507 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27508 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27509 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27510 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27511 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27512 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27513 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27514 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27515 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27516 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27517 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27518 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27520 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27521 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27522 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27523 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27524 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27525 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27526 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27527 [XPG3] (acosh): Likewise.
27528 [XPG3] (asinh): Likewise.
27529 [XPG3] (atanh): Likewise.
27530 [XPG3] (cbrt): Likewise.
27531 [XPG3] (expm1): Likewise.
27532 [XPG3] (ilogb): Likewise.
27533 [XPG3] (log1p): Likewise.
27534 [XPG3] (logb): Likewise.
27535 [XPG3] (nextafter): Likewise.
27536 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27537 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27538 [XPG3] (remainder): Likewise.
27539 [XPG3] (rint): Likewise.
27540 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27541 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27542 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27543 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27544 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27545 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27546 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27547 [UNIX98 || XOPEN2K] (scalb): Expect.
27548 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27549 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27550 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27551 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27552 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27553 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27554 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27555 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27556 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27557 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27558 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27559 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27560 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27561 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27562 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27563 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27564 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27565 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27566 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27567 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27568 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27569 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27570 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27571 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27572 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27573 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27574 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27575 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27582 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27583 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27584 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27586 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27587 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27588 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27589 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27590 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27591 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27592 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27593 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27594 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27595 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27596 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27597 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27598 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27599 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27600 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27601 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27602 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27603 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27604 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27605 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27606 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27607 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27608 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27609 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27610 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27611 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27612 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27613 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27614 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27615 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27616 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27617 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27618 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27619 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27620 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27621 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27622 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27623 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27624 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27625 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27626 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27627 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27628 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27629 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27630 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27631 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27632 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27633 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27634 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27635 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27636 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27638 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27644 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27645 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27648 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27649 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27656 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27657 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27658 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27660 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27661 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27662 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27663 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27664 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27665 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27666 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27667 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27668 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27669 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27670 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27673 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27674 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27676 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27677 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27678 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27682 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27683 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27684 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27685
73c5ebe3
JM
27686 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27687 _XOPEN_SOURCE_EXTENDED for XPG4.
27688
39c33b6c
JM
27689 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27690
62fde54f
JM
27691 * Makeconfig (localtime): Remove variable.
27692 (inst_localtime-file): Likewise.
27693
0741d64c
AS
276942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27695
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27697 Update.
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27699 Update.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27701 Update.
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27703 Update.
27704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27705 Update.
27706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27707 Update.
27708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27709 Update.
27710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27711 Update.
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27713 Update.
27714
7cb029ee
JM
277152012-05-01 Joseph Myers <joseph@codesourcery.com>
27716
27717 [BZ #2550]
27718 [BZ #2570]
27719 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27720 comparisons to determine direction to adjust input.
27721 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27722 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27724 Likewise.
27725 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27726 Likewise.
27727 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27728 Likewise.
27729 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27730 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27731 Likewise.
27732 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27733 Likewise.
27734 * math/libm-test.inc (nexttoward_test): Add more tests.
27735
412bd966
AS
277362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27737
27738 [BZ #14040]
27739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27740 in version GLIBC_2.1, not GLIBC_2.0.
27741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27742 Likewise.
27743
9568c0c2
JM
277442012-04-30 Joseph Myers <joseph@codesourcery.com>
27745
adfbc8ac
JM
27746 [BZ #13942]
27747 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27748 (1 - x) * (1 + x).
27749 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27750 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27751 * math/libm-test.inc (acos_test): Add more tests.
27752 (asin_test): Likewise.
27753 * sysdeps/i386/fpu/libm-test-ulps: Update.
27754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27755
5ba3cc69
JM
27756 [BZ #14034]
27757 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27758 of square root.
27759 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27760 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27761 * math/libm-test.inc (acos_test_tonearest): New function.
27762 (acos_test_towardzero): Likewise.
27763 (acos_test_downward): Likewise.
27764 (acos_test_upward): Likewise.
27765 (asin_test_tonearest): Likewise.
27766 (asin_test_towardzero): Likewise.
27767 (asin_test_downward): Likewise.
27768 (asin_test_upward): Likewise.
27769 (main): Call the new functions.
27770 * sysdeps/i386/fpu/libm-test-ulps: Update.
27771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27772
9568c0c2
JM
27773 [BZ #13884]
27774 [BZ #13924]
27775 * math/e_exp10.c: Include <float.h>.
27776 (__ieee754_exp10): Handle underflow here rather than multiplying
27777 large negative argument by M_LN10.
27778 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27779 of __ieee754_expf.
27780 * math/e_exp10l.c: Include <float.h>.
27781 (__ieee754_exp10l): Handle underflow here rather than multiplying
27782 large negative argument by M_LN10l.
27783 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27784 spurious overflow exception on underflow.
27785
5ac3ea17
MP
277862012-04-29 Marek Polacek <polacek@redhat.com>
27787
27788 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27789 (__fortify_function): New macro.
27790 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27791 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27792 __extern_always_inline.
27793 * libio/bits/stdio2.h: Likewise.
27794 * libio/bits/stdio.h: Likewise.
27795 * string/string.h: Likewise.
27796 * string/bits/string3.h: Likewise.
27797 * include/stdio.h: Likewise.
27798 * stdlib/bits/stdlib.h: Likewise.
27799 * stdlib/stdlib.h: Likewise.
27800 * rt/bits/mqueue2.h: Likewise.
27801 * rt/mqueue.h: Likewise.
27802 * posix/bits/unistd.h: Likewise.
27803 * posix/unistd.h: Likewise.
27804 * io/bits/poll2.h: Likewise.
27805 * io/bits/fcntl2.h: Likewise.
27806 * io/fcntl.h: Likewise.
27807 * io/sys/poll.h: Likewise.
27808 * misc/bits/syslog.h: Likewise.
27809 * misc/bits/syslog-ldbl.h: Likewise.
27810 * misc/sys/syslog.h: Likewise.
27811 * socket/bits/socket2.h: Likewise.
27812 * socket/sys/socket.h: Likewise.
27813 * debug/tst-chk1.c: Likewise.
27814 * wcsmbs/bits/wchar2.h: Likewise.
27815 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27816 * wcsmbs/wchar.h: Likewise.
27817
ecf0ebfb
AJ
278182012-04-29 Andreas Jaeger <aj@suse.de>
27819
27820 * Makerules (tests): Remove enable-check-abi protection.
27821 (check-abi-warn): Remove.
27822 (check-abi-%): Remove check-abi-warn usage.
27823
27824 * configure.in: Remove check-abi configure option.
27825 * configure: Regenerated.
27826 * config.make.in (enable-check-abi): Remove.
27827
6d5c57fa
AS
278282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27829
24c5d07e 27830 [BZ #14033]
ded5180a
AS
27831 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27832 double functions to double *_finite functions.
27833
7e0d315d
AS
27834 [BZ #13941]
27835 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27836 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27837 LDBL_MIN_EXP.
27838 * stdio-common/Makefile (tests): Add tst-sprintf3.
27839 * stdio-common/tst-sprintf3.c: New file.
27840
6d5c57fa
AS
27841 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27842 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27843
0749ff8b
JM
278442012-04-28 Joseph Myers <joseph@codesourcery.com>
27845
27846 * conform/conformtest.pl: Remove duplicate typed-constant
27847 handling.
27848
8dbd5d7b
DM
278492012-04-28 David S. Miller <davem@davemloft.net>
27850
27851 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27852 (check-abi-%): Remove AWK script prerequisite and explicit
27853 abilist directory.
27854 (check-abi): Rewrite to just diff the symlist with the abilist.
27855 (config-tls, config-abi-config): Delete, no longer used.
27856 (update-abi-%): Remove AWK script and explicit abilist directory.
27857 (update-abi): Rewrite to simply compare and conditionally copy the
27858 symlist and the sysdep abilist file. Remove update-abi-config
27859 checks.
27860 * abilist/ld.abilist: Remove.
27861 * abilist/libBrokenLocale.abilist: Remove.
27862 * abilist/libanl.abilist: Remove.
27863 * abilist/libcrypt.abilist: Remove.
27864 * abilist/libdl.abilist: Remove.
27865 * abilist/librt.abilist: Remove.
27866 * abilist/libthread_db.abilist: Remove.
27867 * abilist/libutil.abilist: Remove.
27868 * scripts/extract-abilist.awk: Remove.
27869 * scripts/merge-abilist.awk: Remove.
27870 * sysdeps/generic/libcidn.abilist: New file.
27871 * sysdeps/generic/libnss_compat.abilist: New file.
27872 * sysdeps/generic/libnss_db.abilist: New file.
27873 * sysdeps/generic/libnss_dns.abilist: New file.
27874 * sysdeps/generic/libnss_files.abilist: New file.
27875 * sysdeps/generic/libnss_hesiod.abilist: New file.
27876 * sysdeps/generic/libnss_nis.abilist: New file.
27877 * sysdeps/generic/libnss_nisplus.abilist: New file.
27878 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27879 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27880 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27881 file.
27882 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27883 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27884 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27885 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27886 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27887 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27888 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27889 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27890 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27891 file.
27892 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27893 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27894 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27895 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27896 file.
27897 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27898 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27899 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27900 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27901 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27902 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27903 file.
27904 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27905 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27906 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27907 file.
27908 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27910 New file.
27911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27912 New file.
27913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27914 New file.
27915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27916 New file.
27917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27918 New file.
27919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27920 New file.
27921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27922 New file.
27923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27924 New file.
27925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27926 New file.
27927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27928 New file.
27929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27930 New file.
27931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27932 New file.
27933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27934 New file.
27935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27936 file.
27937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27938 New file.
27939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27940 New file.
27941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27942 file.
27943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27944 New file.
27945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27946 New file.
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27948 file.
27949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27950 New file.
27951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27952 New file.
27953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27954 New file.
27955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27956 New file.
27957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27958 New file.
27959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27960 New file.
27961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27963 file.
27964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27965 New file.
27966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27967 file.
27968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27969 file.
27970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27971 file.
27972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27973 file.
27974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27975 file.
27976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27977 New file.
27978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27979 file.
27980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27981 file.
27982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27983 New file.
27984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27985 file.
27986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27988 file.
27989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27990 New file.
27991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27992 file.
27993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27994 file.
27995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27996 file.
27997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27998 file.
27999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28000 file.
28001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28002 New file.
28003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28004 file.
28005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28006 file.
28007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28008 New file.
28009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28010 file.
28011 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28012 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28013 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28014 file.
28015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28016 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28017 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28018 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28019 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28020 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28021 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28022 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28023 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28024 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28027 file.
28028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28029 New file.
28030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28031 file.
28032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28033 file.
28034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28035 file.
28036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28037 file.
28038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28039 file.
28040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28041 New file.
28042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28043 New file.
28044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28045 file.
28046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28047 New file.
28048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28049 file.
28050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28052 file.
28053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28054 New file.
28055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28056 file.
28057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28058 file.
28059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28060 file.
28061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28062 file.
28063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28064 file.
28065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28066 New file.
28067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28068 New file.
28069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28070 file.
28071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28072 New file.
28073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28074 file.
28075
41d73a1b
JM
280762012-04-28 Joseph Myers <joseph@codesourcery.com>
28077
28078 * conform/conformtest.pl: Fix typo in handling typed-constant from
28079 allow-header.
28080
28aeeda4
JM
280812012-04-27 Joseph Myers <joseph@codesourcery.com>
28082
adae8f5e
JM
28083 * README: Cut down references to pre-2.6 Linux kernels and
28084 Linuxthreads. Update lists of configurations in libc and ports
28085 and sort alphabetically. Say "or newer" with Linux kernel version
28086 requirements.
28087
28aeeda4
JM
28088 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28089
a462cb63
RA
280902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28091
28092 [BZ #887]
28093 * math/libm-test.inc (logb_test_downward): New test to expose
28094 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28095 rounding mode.
28096
6ad3493e
JM
280972012-04-27 Joseph Myers <joseph@codesourcery.com>
28098
28099 [BZ #14027]
28100 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28101 to be done.
28102 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28103 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28104
2ce4f015
JM
281052012-04-26 Joseph Myers <joseph@codesourcery.com>
28106
5aeb141a
JM
28107 * sysdeps/unix/i386/brk.S: Remove file.
28108 * sysdeps/unix/i386/dl-brk.S: Likewise.
28109 * sysdeps/unix/i386/pipe.S: Likewise.
28110 * sysdeps/unix/i386/sigreturn.S: Likewise.
28111 * sysdeps/unix/i386/syscall.S: Likewise.
28112 * sysdeps/unix/i386/vfork.S: Likewise.
28113 * sysdeps/unix/i386/wait.S: Likewise.
28114
7143acae
JM
28115 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28116 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28117
2ce4f015
JM
28118 * configure.in (arm*-none*): Do not allow without
28119 --enable-hacker-mode.
28120 (netbsd*): Remove case setting base_os.
28121 (386bsd*): Likewise.
28122 (freebsd*): Likewise.
28123 (bsdi*): Likewise.
28124 (osf*): Likewise.
28125 (sunos*): Likewise.
28126 (ultrix*): Likewise.
28127 (newsos*): Likewise.
28128 (dynix*): Likewise.
28129 (*bsd*): Likewise.
28130 (sysv*): Likewise.
28131 (isc*): Likewise.
28132 (esix*): Likewise.
28133 (sco*): Likewise.
28134 (minix*): Likewise.
28135 (irix4*): Likewise.
28136 (irix6*): Likewise.
28137 (solaris[2-9]*): Likewise.
28138 (none): Likewise.
28139 * configure: Regenerated.
28140
0ac229c8
AZ
281412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28142
28143 [BZ #11521]
28144 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28145 overflow or cancellation in calculating denominator.
28146 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28147 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28148 down expression to avoid unexpected rounding in newer GCCs.
28149 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28150
33f244f4
DM
281512012-04-26 David S. Miller <davem@davemloft.net>
28152
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28154 long-double compat symbols.
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28168
cfa1f3e8
DM
281692012-04-25 David S. Miller <davem@davemloft.net>
28170
28171 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28172 HWCAP_* values only after the memory barriers have been defined.
28173 (atomic_full_barrier): Define.
28174 (atomic_read_barrier): Define.
28175 (atomic_write_barrier): Define.
28176
6e236b92
SP
281772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28178
28179 * shlib-versions: Add libgcc_s version information.
28180 * sysdeps/generic/libgcc_s.h: Remove.
28181 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28182 libgcc_s.h.
28183 * sysdeps/gnu/unwind-resume.c: Likewise.
28184 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28185
aab39a09
DM
281862012-04-25 David S. Miller <davem@davemloft.net>
28187
28188 * sysdeps/unix/sparc/brk.S: Delete.
28189 * sysdeps/unix/sparc/dl-brk.S: Delete.
28190 * sysdeps/unix/sparc/pipe.S: Delete.
28191 * sysdeps/unix/sparc/sysdep.S: Delete.
28192 * sysdeps/unix/sparc/sysdep.h: Delete.
28193 * sysdeps/unix/sparc/vfork.S: Delete.
28194 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28195 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28196 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28197 ret_ERRVAL, r0, r1, MOVE): Define.
28198 (JUMPTARGET): Remove.
28199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28200 sysdeps/unix/sparc/sysdep.h
28201 (ENTRY, END): Remove.
28202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28203
a3cc4f48
JM
282042012-04-25 Joseph Myers <joseph@codesourcery.com>
28205
2ed8cda2
JM
28206 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28207 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28208 -DIS_IN_build.
28209
35d76d59
JM
28210 * timezone/README: Update upstream location and email address for
28211 tzcode and tzdata.
28212 * timezone/zdump.c: Update from tzcode 2012b.
28213 * timezone/zic.c: Likewise.
28214
a3cc4f48
JM
28215 * configure.in (libc_cv_as_needed): Remove test.
28216 * configure: Regenerated.
28217 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28218 conditional definition.
28219 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28220 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28221 * config.make.in (have-as-needed): Remove variable.
28222
ceab42c3
SP
282232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28224 Paul Pluzhnikov <ppluzhnikov@google.com>
28225
28226 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28227 strings correctly.
28228
3ce2865f
CLT
282292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28230
28231 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28232 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28233 * sysdeps/sh/strlen.S: Likewise.
28234
f37e0d68
JM
282352012-04-24 Joseph Myers <joseph@codesourcery.com>
28236
ae186e9a
JM
28237 * sysdeps/unix/fork.S: Remove file.
28238 * sysdeps/unix/i386/fork.S: Likewise.
28239 * sysdeps/unix/sparc/fork.S: Likewise.
28240
b96914af
JM
28241 * sysdeps/unix/system.c: Remove file.
28242 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28243
f37e0d68
JM
28244 * sysdeps/unix/getegid.S: Remove file.
28245 * sysdeps/unix/geteuid.S: Likewise.
28246
87ef29ca
RM
282472012-04-24 Roland McGrath <roland@hack.frob.com>
28248
83bcd236
RM
28249 * scripts/check-localplt.awk: New file.
28250 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28251 of diff.
28252 * scripts/data/localplt-generic.data: Add a comment.
28253
87ef29ca
RM
28254 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28255 NODE when __dir_mkfile failed.
28256 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28257 Reported by Ludovic Courtès <ludo@gnu.org>.
28258
e5a6e567
AJ
282592012-04-24 Andreas Jaeger <aj@suse.de>
28260
28261 * Makerules (common-clean): Also remove gen-as-const-headers
28262 files.
28263
c1820385
JM
282642012-04-24 Joseph Myers <joseph@codesourcery.com>
28265
28266 * Makerules (native-compile): Do not change working directory for
28267 build. Use $(OUTPUT_OPTION) in command.
28268 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28269
94e02fc4
AZ
282702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28271
28272 [BZ #13886]
28273 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28274 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28275 * math/libm-test.inc (floor_test): Add more tests.
28276 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28277
3a533ca3
JM
282782012-04-24 Joseph Myers <joseph@codesourcery.com>
28279
940ab4b3
JM
28280 * sysdeps/unix/getdents.c: Remove file.
28281 * sysdeps/unix/sysv/getdents.c: Likewise.
28282 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28283
90e037bd
JM
28284 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28285 sysdeps/unix/mman/syscalls.list.
28286 (mmap): Likewise.
28287 (mprotect): Likewise.
28288 (msync): Likewise.
28289 (munmap): Likewise.
28290 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28291 * sysdeps/unix/mman/syscalls.list: Remove.
28292 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28293
3a533ca3
JM
28294 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28295 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28296 * configure: Regenerated.
28297 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28298 $(libgcc_s_suffix).
28299 * config.make.in (libgcc_s_suffix): Remove variable.
28300
1ad743de
JM
283012012-04-23 Joseph Myers <joseph@codesourcery.com>
28302
4ad451e2
JM
28303 * sysdeps/unix/sysv/gethostname.c: Move to ...
28304 * sysdeps/posix/gethostname.c: ... here.
28305
5e37ce39
JM
28306 * sysdeps/unix/execve.S: Remove file.
28307
1ad743de
JM
28308 * sysdeps/unix/_exit.S: Remove file.
28309
4e681b5b
AJ
283102012-04-23 Andreas Jaeger <aj@suse.de>
28311
28312 [BZ #13739]
28313 * manual/Makefile: Remove make dist support, there's no
28314 need for a stand-alone documentation tar ball.
28315 (TEXI2DVI): Define always, it's not in Makeconfig.
28316 (dist): Removed.
28317 (tar-it): Removed.
28318 (edition): Removed.
28319 (glibc-doc-$(edition).tar): Removed
28320 (%.Z): Removed.
28321 (%.gz): Removed.
28322 (%.uu): Removed.
28323 (ETAGS): Remove, it's in Makeconfig.
28324 (move-if-change): Remove, it's in Makeconfig.
28325
38686a03 283262012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28327
28328 [BZ #13970]
28329 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28330 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28331 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28332 (strtod_l, strtof_l, strtold_l): Remove __wur.
28333 It is not necessarily an error to ignore strtol's return value.
28334 One can reliably look at the stored endptr to decide whether
28335 the number had valid syntax.
28336
7c0616fa
AJ
283372012-04-21 Andreas Jaeger <aj@suse.de>
28338
803cb6b7 28339 [BZ #13739]
7c0616fa
AJ
28340 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28341
b0fe253f
JM
283422012-04-21 Joseph Myers <joseph@codesourcery.com>
28343
28344 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28345 * sysdeps/unix/sysv/Versions: Remove file.
28346
8280f22d
MT
283472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28348
28349 [BZ #13927]
28350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28351
75ce411f 283522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28353
28354 [BZ #7064]
28355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28356 version from __vm86.
28357
097d59fa
JM
283582012-04-20 Joseph Myers <joseph@codesourcery.com>
28359
a90f3bcb
JM
28360 * sysdeps/unix/common/lxstat.c: Remove file.
28361 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28362
edc7ea78
JM
28363 * sysdeps/unix/sysv/Makefile: Remove file.
28364
cb78c221
JM
28365 * sysdeps/unix/sysv/direct.h: Remove file.
28366
efa6a45f
JM
28367 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28368 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28369 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28370 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28371 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28372 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28373 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28374
9c9f2d0c
JM
28375 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28376
4541c83b
JM
28377 * sysdeps/unix/xmknod.c: Remove file.
28378 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28379
f5d153a0
JM
28380 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28381
aa746595
JM
28382 * sysdeps/unix/sysv/i386/time.S: Remove file.
28383
cce5905e
JM
28384 * sysdeps/unix/fxstat.c: Remove file.
28385 * sysdeps/unix/xstat.c: Likewise.
28386 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28387
37fa3841
JM
28388 * sysdeps/unix/sysv/sigaction.c: Remove file.
28389
ff1962a3
JM
28390 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28391 (sysdep_headers): Remove variable.
28392 [termio.h not in sysdep_headers] (generated): Likewise.
28393 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28394 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28395 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28396 * sysdeps/unix/sysv/tcflow.c: Likewise.
28397 * sysdeps/unix/sysv/tcflush.c: Likewise.
28398 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28399 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28400 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28401 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28402 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28403
e7740d31
JM
28404 * sysdeps/unix/siglist.c: Remove file.
28405
ee06f18b
JM
28406 * sysdeps/unix/getppid.S: Remove file.
28407
097d59fa
JM
28408 * sysdeps/unix/mkdir.c: Remove file.
28409 * sysdeps/unix/rmdir.c: Likewise.
28410
ff3d51ec
AS
284112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28412
28413 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28414 ERR_MAX value.
28415 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28416 errlist-compat value.
28417
50f81fd7
DM
284182012-04-18 David S. Miller <davem@davemloft.net>
28419
28420 * sysdeps/generic/memcopy.h (reg_char): Delete.
28421 * debug/strcat_chk.c: Use char, not reg_char.
28422 * debug/strcpy_chk.c: Likewise.
28423 * debug/strncat_chk.c: Likewise.
28424 * debug/strncpy_chk.c: Likewise.
28425 * string/memchr.c: Likewise.
28426 * string/memrchr.c: Likewise.
28427 * string/rawmemchr.c: Likewise.
28428 * string/strcat.c: Likewise.
28429 * string/strchr.c: Likewise.
28430 * string/strchrnul.c: Likewise.
28431 * string/strcmp.c: Likewise.
28432 * string/strcpy.c: Likewise.
28433 * string/strncat.c: Likewise.
28434 * string/strncmp.c: Likewise.
28435 * string/strncpy.c: Likewise.
28436
8ff41c46
WS
284372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28438
28439 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28440 __builtin_memcopy is called when src and dest ranges are known to not
28441 overlap.
28442
6b652f46
WS
284432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28444
28445 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28446 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28447 fwd_align_merge macro call.
28448 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28449 bwd_align_merge macro call.
28450 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28451
b282631e
WS
284522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28453
28454 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28455 bwd_align_merge macros.
28456 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28457 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28459
95aa737c
DM
284602012-04-18 David S. Miller <davem@davemloft.net>
28461
28462 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28463
7a99a614
AJ
284642012-04-18 Andreas Jaeger <aj@suse.de>
28465
28466 [BZ# 6794]
28467 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28468 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28469 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28470
28471 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28472 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28473 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28474
28475 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28476 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28477 Adjust for changed ldbl-128 files.
28478
28479 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28480 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28482
e5270c23
DM
284832012-04-17 David S. Miller <davem@davemloft.net>
28484
28485 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28486
fb5e92c9
AS
284872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28488
28489 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28490 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28491 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28492 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28493 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28494 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28495
76da7265
AZ
284962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28497
28498 [BZ #6794]
28499 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28500 * math/libm-test.inc: Add ilogb errno and exception tests.
28501 * math/w_ilogb.c: New file: ilogb wrapper.
28502 * math/w_ilogbf.c: New file: ilogbf wrapper.
28503 * math/w_ilogbl.c: New file: ilogbl wrapper.
28504 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28505 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28506 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28507 exception being thrown with 0.0 as argument.
28508 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28509 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28510 exception being thrown with 0.0 as argument.
28511 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28512 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28513 exception being thrown with 0.0 as argument.
28514 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28515 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28516 exception being thrown with 0.0 as argument.
28517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28518 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28519 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28520 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28522 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28523 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28524 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28525 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28526
0396e69d
PB
285272012-04-17 Petr Baudis <pasky@ucw.cz>
28528
28529 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28530 with altivec.
28531
750b5926
MP
285322012-04-16 Marek Polacek <polacek@redhat.com>
28533
28534 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28535
751728a1
MP
285362012-04-16 Marek Polacek <polacek@redhat.com>
28537
28538 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28539 operands of fdivp instruction.
28540
34a27407
L
285412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28542
28543 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28544 * elf/tst-auditmod3b.c: Likewise.
28545 * elf/tst-auditmod4b.c: Likewise.
28546 * elf/tst-auditmod5b.c: Likewise.
28547 * elf/tst-auditmod6b.c: Likewise.
28548 * elf/tst-auditmod6c.c: Likewise.
28549 * elf/tst-auditmod7b.c: Likewise.
28550 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28551 * sysdeps/x86_64/preconfigure.in: Likewise.
28552 * sysdeps/x86_64/preconfigure: Regenerated.
28553
7e73e17d
L
285542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28557 __ILP32__.
28558
c7a6ab72
AB
285592012-04-13 Antoine Balestrat <merkil33@gmail.com>
28560
28561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28562 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28563
a9e8e0e0
CL
285642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28565
28566 [BZ #13973]
28567 * locale/iso-639.def: Fix gl language name. Spotted by
28568 Yaron Shahrabani.
28569
ec98af7d
RM
285702012-04-12 Roland McGrath <roland@hack.frob.com>
28571
28572 [BZ #2074]
28573 * libio/libio.h (__io_write_fn): Update comment.
28574
247c3ede
PB
285752012-04-12 Petr Baudis <pasky@ucw.cz>
28576
28577 [BZ #2074]
28578 * stdio.texi (Hook Functions): The user provided writer function
28579 is not allowed to return -1.
28580
55939d6d
DM
285812012-04-11 David S. Miller <davem@davemloft.net>
28582
28583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28584
90020f5a
MF
285852012-04-11 Mike Frysinger <vapier@gentoo.org>
28586
28587 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28588 Add a leading slash to rtkaio.
28589
288f9098
JM
285902012-04-11 Jim Meyering <meyering@redhat.com>
28591
90020f5a
MF
28592 [BZ #11959]
28593 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28594 It is not necessarily an error to ignore fwrite's return
28595 value. One can reliably use ferror to test for errors after
28596 the fact.
288f9098 28597
4be2b570
L
285982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28599
28600 * bits/types.h (__snseconds_t): New type.
28601 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28602
28603 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28605 (__SNSECONDS_T_TYPE): Likewise.
28606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28607 (__SNSECONDS_T_TYPE): Likewise.
28608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28609 (__SNSECONDS_T_TYPE): Likewise.
28610
288f9098 286112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28612
28613 [BZ #2636]
28614 * manual/time.texi (Processor Time): Return type of times is
28615 elapsed real time since an arbitrary point in the past.
28616 (CPU Time): Move CLK_TCK from here...
28617 (Processor Time): ...to here. Correct description.
28618 * manual/conf.texi (Constants for Sysconf): Correct description of
28619 _SC_CLK_TCK.
28620
d7dd4413
DM
286212012-04-10 David S. Miller <davem@davemloft.net>
28622
28623 [BZ #13967]
28624 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28625 where the is a gap between DT_REL(A) and DT_JMPREL.
28626
b46068fc
L
286272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28630 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28631 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28632
73d65cc3
SP
286332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28634
28635 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28636 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28637 (dl_main): Handle --inhibit-cache.
28638 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28639 _dl_inhibit_cache.
28640 * elf/dl-load.c (_dl_map_object): Use it.
28641 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28642
bcc8d661
JM
286432012-04-09 Joseph Myers <joseph@codesourcery.com>
28644
8f9a2fae
JM
28645 [BZ #13872]
28646 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28647 (__ieee754_powl): Saturate large exponents rather than testing for
28648 overflow of y*log2(x).
28649 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28650 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28651 exceptions.
28652
bcc8d661
JM
28653 [BZ #11521]
28654 * math/s_ctan.c: Include <float.h>.
28655 (__ctan): Avoid internal overflow or cancellation in calculating
28656 denominator.
28657 * math/s_ctanf.c: Likewise.
28658 * math/s_ctanl.c: Likewise.
28659 * math/s_ctanh.c: Likewise.
28660 * math/s_ctanhf.c: Likewise.
28661 * math/s_ctanhl.c: Likewise.
28662 * math/libm-test.inc (ctan_test): Add more tests.
28663 (ctanh_test): Likewise.
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28666
823fbbb4
AJ
286672012-04-09 Andreas Jaeger <aj@suse.de>
28668
03879793
AJ
28669 [BZ #6894]
28670 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28671 is an optional BSD extension.
28672
823fbbb4
AJ
28673 [BZ #10254]
28674 * manual/stdio.texi (Opening Streams): Document additional fopen
28675 parameters.
28676
8de131cb
RM
286772012-04-09 Roland McGrath <roland@hack.frob.com>
28678
28679 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28680 %eax without telling the compiler.
28681
c0ed9d7d
CD
286822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28683
28684 [BZ # 13963]
28685 * manual/install.texi: Use sourceware.org.
28686
c483f6b4
JM
286872012-04-09 Joseph Myers <joseph@codesourcery.com>
28688
d7dd9453
JM
28689 [BZ #13873]
28690 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28691 (__ieee754_pow): Generate overflow and underflow using huge*huge
28692 and tiny*tiny rather than just returning constant infinity or zero
28693 for large exponents.
28694 * math/libm-test.inc (pow_test): Require overflow exceptions for
28695 applicable cases of large exponents.
28696
c483f6b4
JM
28697 [BZ #706]
28698 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28699 (__ieee754_pow): Use iterative multiplication algorithm only for
28700 integer exponents with absolute value below 1024. Check for odd
28701 integer exponents when using algorithm for real exponents.
28702 * math/libm-test.inc (pow_test): Add more tests.
28703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28704
d2de7579
JM
287052012-04-08 Joseph Myers <joseph@codesourcery.com>
28706
28707 [BZ #13705]
28708 * math/libm-test.inc (exp_test): Do not allow overflow exception
28709 on underflow test.
28710
f77f1232
AJ
287112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28712
28713 [BZ #13705]
28714 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28715 instead of __kernel_standard_f.
28716
3884932b
MF
287172012-04-08 Mike Frysinger <vapier@gentoo.org>
28718
28719 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28720 * sysdeps/x86_64/memset_chk.S: Likewise.
28721
54472e9c
AJ
287222012-04-08 Andreas Jaeger <aj@suse.de>
28723
6ab0fbfc
AJ
28724 [BZ #10153]
28725 * manual/startup.texi (Environment Access): Describe return value
28726 for putenv and setenv.
28727
61efba8c
AJ
28728 [BZ #6895]
28729 * manual/filesys.texi (Directory Entries): Add description for
28730 DT_LNK.
28731
95c3f29a
AJ
28732 [BZ #6890]
28733 * manual/filesys.texi (Directory Entries): Clarify that it's file
28734 system not operating system in the description of DT_UNKNOWN.
28735
54472e9c
AJ
28736 [BZ #6578]
28737 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28738
624254b1
SC
287392012-04-08 Stephen Compall <s11@member.fsf.org>
28740
28741 [BZ #6649]
28742 * manual/llio.texi (Opening and Closing Files): Add cross
28743 reference to explain mode argument.
28744
1e4920e0
MF
287452012-04-07 Mike Frysinger <vapier@gentoo.org>
28746
28747 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28748 * sysdeps/x86_64/memset_chk.S: Likewise.
28749
5ed848f3
DM
287502012-04-07 David S. Miller <davem@davemloft.net>
28751
28752 * elf/elf.h (R_SPARC_WDISP10): Define.
28753 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28754 R_SPARC_SIZE32.
28755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28756 R_SPARC_SIZE64 and R_SPARC_H34.
28757
96154cd8
CD
287582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28759
28760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28761 conditions and remove no longer applicable assertion.
28762
9904dc47
L
287632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28764
28765 * bits/byteswap.h: Include <features.h>.
28766 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28767 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28768
f8887d0a
L
287692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28770
28771 * bits/byteswap.h (__bswap_16): Removed.
28772 Include <bits/byteswap-16.h> to get __bswap_16.
28773 * sysdeps/i386/bits/byteswap.h: Likewise.
28774 * sysdeps/s390/bits/byteswap.h: Likewise.
28775 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28776 * bits/byteswap-16.h: New file.
28777 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28778 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28779 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28780 * string/Makefile (headers): Add bits/byteswap-16.h.
28781
62470f60
PP
287822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28783
28784 [BZ #13895]
28785 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28786 extra indirection.
28787 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28788 * nss/tst-nss-static.c: New.
28789
4dad7bab
RM
287902012-04-06 Robert Millan <rmh@gnu.org>
28791
28792 [BZ #6486]
28793 * manual/llio.texi (File Position Primitive): lseek
28794 refers to WHENCE when it really means OFFSET.
28795
e9142a17
AJ
287962012-04-06 Andreas Jaeger <aj@suse.de>
28797
2c040eff
AJ
28798 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28799 strncmp declarations.
28800
e9142a17
AJ
28801 * abilist/libc.abilist: Add __poll and __ppoll.
28802
ff9f1c5f
DM
288032012-04-05 David S. Miller <davem@davemloft.net>
28804
dcd2ae90
DM
28805 * scripts/check-local-headers.sh: Accept a host triplet in the
28806 path matched by the exclude regexp.
28807
993eb054
DM
28808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28809 definition.
28810 * sysdeps/powerpc/powerpc32/dl-machine.h
28811 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28812 * sysdeps/s390/s390-32/dl-machine.h
28813 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28814 * sysdeps/sparc/sparc32/dl-machine.h
28815 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28816 * sysdeps/sparc/sparc64/dl-machine.h
28817 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28818
ff9f1c5f
DM
28819 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28820 lazy binding.
48e2e132 28821 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28822 undefined symbol errors.
28823
48e2e132 28824 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28825 DT_NEEDED entries.
28826
e80d6f94
MM
288272012-04-05 Michael Matz <matz@suse.de>
28828
28829 [BZ #13592]
28830 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28831
349fa79f
AJ
288322012-04-05 Andreas Jaeger <aj@suse.de>
28833
28834 [BZ #13908]
28835 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28836 comment.
28837
f402708f
KK
288382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28839
28840 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28841 which ROUND is no valid rounding mode.
28842
2ecccfc9
KK
288432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28844
28845 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28846 read again.
28847 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28848
8a53f50f
KK
288492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28850
28851 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28852 an exception using FPU order intentionally.
28853
288542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28855
28856 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28857 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28858 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28859 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28860
d653abb7
SJ
288612012-04-05 Simon Josefsson <simon@josefsson.org>
28862
28863 [BZ #12340]
28864 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28865 EINVAL when BUFLEN is too smal.
28866
c3b1bf7d
TS
288672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28868
28869 [BZ #13553]
28870 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28871 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28872
b1aa60f3
AJ
288732012-04-03 Andreas Jaeger <aj@suse.de>
28874
c3b1bf7d 28875 [BZ #13938]
67f60a26
AJ
28876 * manual/setjmp.texi (System V contexts): Fix sentence.
28877
b1aa60f3
AJ
28878 [BZ #13926]
28879 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28880 New macro for this case.
28881 [!__GNUC__] (__bswap_64): New inline function for this case.
28882 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28883 * bits/byteswap.h: Likewise.
28884 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28885 ull, guard with __GLIBC_HAVE_LONG_LONG.
28886
28887 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28888 __GLIBC_HAVE_LONG_LONG.
28889
28890 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28891 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28892
39c59c35
TMQMF
288932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28894
28895 [BZ #13691]
28896 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28897 inptr and inend, rather than using last_ch.
28898
135ffda8
DM
288992012-04-02 David S. Miller <davem@davemloft.net>
28900
28901 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28902 * stdio-common/printf-parse.h (read_int): Change return type to
28903 'int', return -1 on INT_MAX overflow.
28904 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28905 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28906 overflows INT_MAX. Check for overflow of in-format-string precision
28907 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28908 SIZE_MAX not INT_MAX for integer overflow test.
28909 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28910 skip the construct in the format string but do not record anything.
28911 * stdio-common/bug22.c: Adjust to test both width/prevision
28912 INT_MAX overflow as well as total length INT_MAX overflow. Check
28913 explicitly for proper errno values.
28914
228c019e
TS
289152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28916
302cadd3
TS
28917 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28918 CHAR_MAX.
28919 * string/test-strcmp.c [! WIDE]: Likewise.
28920 * time/tst-mktime2.c: Likewise for INT_MAX.
28921 * string/test-string.h: #include <sys/param.h> for MIN.
28922
228c019e
TS
28923 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28924 * sysdeps/i386/init-first.c (init): Likewise.
28925 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28926 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28927 * sysdeps/sh/init-first.c (init): Likewise.
28928
cfa633f5
UD
289292012-04-01 Ulrich Drepper <drepper@gmail.com>
28930
28931 * po/ru.po: Update from translation team.
d1635ef8 28932 * po/vi.po: Likewise.
cfa633f5 28933
6cd0a5ea
SP
289342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28935
28936 * resolv/nss_dns/dns-host.c: Merge copyright years.
28937
4b43400f
LD
289382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28939
28940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28941 Optimize memcpy with prefetch if
28942 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28943 src, dst pointers have unequal 16 byte alignments.
28944
48c41d04
SP
289452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28946
28947 [BZ #13928]
28948 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28949 from a CNAME entry and return the minimum ttl for the query.
28950 (gaih_getanswer_slice): Likewise.
28951
b8dc394d
JL
289522012-03-30 Jeff Law <law@redhat.com>
28953
28954 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28955 due to long keys.
28956 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28957 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28958
2f5a5ed0
JL
28959 * resolv/nss_dns/dns-host.c: Update copyright year.
28960
1d39e359
UD
289612012-03-30 Ulrich Drepper <drepper@gmail.com>
28962
c030f70c 28963 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28964 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28965
1d39e359
UD
28966 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28967 comments for sendmmsg.
28968
289692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28970
28971 [BZ #13691]
28972 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28973 with only 1 character between 0x0041 and 0x01b0.
28974 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28975 * wcsmbs/tst-mbsnrtowcs.c: New file.
28976
20fde227
DM
289772012-03-29 David S. Miller <davem@davemloft.net>
28978
28979 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28980 small copies by hand.
28981
984a4237
JL
289822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28983
28984 [BZ #13761]
28985 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28986 _nss_compat_initgroups_dyn): Fall back to malloc/free
28987 for large group memberships.
28988
18c9d62b
DM
289892012-03-28 David S. Miller <davem@davemloft.net>
28990
88d85d4f
DM
28991 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28992 that branches into memcpy.
28993 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28996 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28998 bits.
28999 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29000 implementation too.
29001 * sysdeps/sparc/mempcpy.S: New file.
29002
e5aa83e1
DM
29003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29004 the IFUNC routine in the libc case.
29005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29006
88570753
DM
29007 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29008 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29009 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29010 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29011 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29012 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29013 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29014 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29015
249d7567
DM
29016 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29017 loop to 256 bytes instead of 64 bytes and fix test signedness.
29018
18c9d62b
DM
29019 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29020 * sysdeps/sparc/sparc32/Makefile: rather than here...
29021 * sysdeps/sparc/sparc64/Makefile: and here.
29022
05f3d1f6
UD
290232012-03-28 Ulrich Drepper <drepper@gmail.com>
29024
29025 * malloc/mallocbug.c: Avoid warnings about unused variables.
29026
86ae07a8
JL
290272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29028
29029 [BZ #13760]
29030 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29031 in the right place. Discard and retry query if response is
29032 larger than input buffer size.
29033
41bf21a1
JM
290342012-03-28 Joseph Myers <joseph@codesourcery.com>
29035
d6270972
JM
29036 [BZ #369]
29037 [BZ #2678]
29038 [BZ #3866]
29039 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29040 x for large integer exponent.
29041 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29042 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29043 sign of result as needed afterwards.
29044 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29045 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29046 result for underflowing pow the same as for overflow.
29047 (__kernel_standard_l): Handle powl overflow and underflow here
29048 rather than calling __kernel_standard.
29049 * math/libm-test.inc (pow_test): Add more tests.
29050
414fca03 29051 [BZ #3868]
41bf21a1
JM
29052 [BZ #13879]
29053 [BZ #13910]
29054 [BZ #13911]
29055 [BZ #13912]
29056 [BZ #13913]
29057 [BZ #13915]
29058 [BZ #13916]
29059 [BZ #13917]
29060 [BZ #13918]
29061 [BZ #13919]
29062 [BZ #13920]
29063 [BZ #13921]
29064 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29065 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29066 (__kernel_standard_l): New function.
29067 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29068 __kernel_standard.
29069 * math/w_acosl.c (__acosl): Likewise.
29070 * math/w_asinl.c (__asinl): Likewise.
29071 * math/w_atan2l.c (__atan2l): Likewise.
29072 * math/w_atanhl.c (__atanhl): Likewise.
29073 * math/w_coshl.c (__coshl): Likewise.
29074 * math/w_exp10l.c (__exp10l): Likewise.
29075 * math/w_exp2l.c (__exp2l): Likewise.
29076 * math/w_fmodl.c (__fmodl): Likewise.
29077 * math/w_hypotl.c (__hypotl): Likewise.
29078 * math/w_j0l.c (__j0l, __y0l): Likewise.
29079 * math/w_j1l.c (__j1l, __y1l): Likewise.
29080 * math/w_jnl.c (__jnl, __ynl): Likewise.
29081 * math/w_lgammal.c (__lgammal): Likewise.
29082 * math/w_log10l.c (__log10l): Likewise.
29083 * math/w_log2l.c (__log2l): Likewise.
29084 * math/w_logl.c (__logl): Likewise.
29085 * math/w_powl.c (__powl): Likewise.
29086 * math/w_remainderl.c (__remainderl): Likewise.
29087 * math/w_scalbl.c (sysv_scalbl): Likewise.
29088 * math/w_sinhl.c (__sinhl): Likewise.
29089 * math/w_sqrtl.c (__sqrtl): Likewise.
29090 * math/w_tgammal.c (__tgammal): Likewise.
29091 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29092 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29093 * math/libm-test.inc (acos_test): Add more tests.
29094 (acosh_test): Likewise.
29095 (asin_test): Likewise.
29096 (atanh_test): Likewise.
29097 (exp_test): Likewise.
29098 (exp10_test): Likewise.
29099 (exp2_test): Likewise.
29100 (expm1_test): Likewise.
29101 (lgamma_test): Likewise.
29102 (log_test): Likewise.
29103 (log10_test): Likewise.
29104 (log1p_test): Likewise.
29105 (log2_test): Likewise.
29106 (pow_test): Do not allow some spurious overflow exceptions.
29107 (sqrt_test): Add more tests.
29108 (tgamma_test): Likewise.
29109 (y0_test): Likewise.
29110 (y1_test): Likewise.
29111 (yn_test): Likewise.
29112
dd62fda6
AB
291132012-03-27 Anton Blanchard <anton@samba.org>
29114
29115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29116 MAP_HUGETLB.
29117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29120
1e3cdfda
AJ
291212012-03-27 David S. Miller <davem@davemloft.net>
29122
b855ab85
DM
29123 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29124
1e3cdfda
AJ
29125 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29126 have-as-vis3 check.
29127
291282012-03-27 Andreas Jaeger <aj@suse.de>
29129
29130 * sysdeps/x86_64/elf/configure.in: Moved to ...
29131 * sysdeps/x86_64/configure.in: ... here.
29132 * sysdeps/x86_64/elf/start.S: Moved to ...
29133 * sysdeps/x86_64/start.S: ... here.
29134 * sysdeps/x86_64/elf/configure: Delete.
29135
29136 * sysdeps/x86_64/configure.in: Merge contents from
29137 sysdeps/i386/configure.in (without i686 check).
29138
29139 * sysdeps/i386/elf/Versions: Merge into ...
29140 * sysdeps/i386/Versions: ... this.
29141 * sysdeps/i386/elf/Versions: Delete file.
29142 * sysdeps/i386/elf/start.S: Moved to ...
29143 * sysdeps/i386/start.S: ...here.
29144 * sysdeps/i386/elf/configure.in: Merge into...
29145 * sysdeps/i386/configure.in: ...here.
29146 * sysdeps/i386/elf/configure.in: Delete file.
29147 * sysdeps/i386/elf/configure: Delete file.
29148
29149 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29150 * debug/backtracesyms.c: ... here.
29151 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29152 * debug/backtracesymsfd.c: ... here.
29153 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29154 * sysdeps/generic/ifunc-sel.h: ... here.
29155
29156 * sysdeps/unix/i386/start.c: Delete file.
29157 * sysdeps/unix/sparc/start.c: Delete file.
29158 * sysdeps/unix/start.c: Delete file.
29159
29160 * sysdeps/sh/elf/configure.in: Moved to ...
29161 * sysdeps/sh/configure.in: ... here.
29162 * sysdeps/sh/elf/start.S: Moved to ...
29163 * sysdeps/sh/start.S: ... here.
29164 * sysdeps/sh/elf/configure: Delete file.
29165
29166 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29167 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29168 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29169 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29170 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29171 * sysdeps/powerpc/powerpc64/start.S: here.
29172 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29173 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29174 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29175 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29176 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29177
29178 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29179 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29180 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29181 * sysdeps/powerpc/powerpc32/start.S: ... here.
29182 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29183 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29184 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29185
29186 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29187 * sysdeps/powerpc/ifunc-sel.h: ... here.
29188 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29189 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29190
29191 * sysdeps/sparc/elf/configure.in: Moved to ...
29192 * sysdeps/sparc/configure.in: ... here.
29193 * sysdeps/sparc/elf/configure: Delete file.
29194 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29195 * sysdeps/sparc/sparc32/start.S: ... here.
29196 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29197 * sysdeps/sparc/sparc64/start.S: ... here.
29198 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29199 * sysdeps/sparc/sparc32/Makefile: ... this.
29200 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29201 * sysdeps/sparc/sparc64/Makefile: ... this.
29202
29203 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29204 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29205 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29206 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29207 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29208 * sysdeps/s390/s390-32/setjmp.S: ... here.
29209 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29210 * sysdeps/s390/s390-32/configure.in: ... here.
29211 * sysdeps/s390/s390-32/elf/configure: Delete file.
29212 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29213 * sysdeps/s390/s390-32/start.S: ... here.
29214
29215 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29216 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29217 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29218 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29219 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29220 * sysdeps/s390/s390-64/setjmp.S: ... here.
29221 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29222 * sysdeps/s390/s390-64/configure.in: ... here
29223 * sysdeps/s390/s390-64/elf/configure: Delete file.
29224 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29225 * sysdeps/s390/s390-64/start.S: ... here.
29226 * sysdeps/s390/s390-64/elf/configure: Delete.
29227
29228 * configure.in: Remove support for elf directories in sysdeps.
29229
29230 * configure: Regenerated.
29231 * sysdeps/i386/configure: Regenerated.
29232 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29233 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29234 * sysdeps/s390/s390-32/configure: Regenerated.
29235 * sysdeps/s390/s390-64/configure: Regenerated.
29236 * sysdeps/sh/configure: Regenerated.
29237 * sysdeps/sparc/configure: Regenerated.
29238 * sysdeps/x86_64/configure: Regenerated.
29239
a3f61311
AS
292402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29241
c876e002
AS
29242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29243
a3f61311
AS
29244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29245 denormal result into account.
29246
ac4c54f0
RM
292472012-03-25 Roland McGrath <roland@hack.frob.com>
29248
29249 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29250 Reported by Allan McRae <allan@archlinux.org>.
29251
6a9b9c02
JL
292522012-03-23 Jeff Law <law@redhat.com>
29253
29254 * nss/getnssent.c (__nss_getent): Fix typo.
29255
4c42a0c1
DM
292562012-03-23 David S. Miller <davem@davemloft.net>
29257
29258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29259
1532c7ac
L
292602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29263 to pad to uint64_t for each field.
29264 (dl_tls_index): Replace unsigned long with uint64_t.
29265
3ff42526
PP
292662012-03-23 Daniel Jacobowitz <dmj@google.com>
29267 Paul Pluzhnikov <ppluzhnikov@google.com>
29268
29269 [BZ #6528]
29270 * grp/Makefile (otherlibs): Don't set it.
29271 * inet/Makefile (otherlibs): Likewise.
29272 * login/Makefile (otherlibs): Likewise.
29273 * nscd/Makefile (otherlibs): Likewise.
29274 * posix/Makefile (otherlibs): Likewise.
29275 * pwd/Makefile (otherlibs): Likewise.
29276 * rt/Makefile (otherlibs): Likewise.
29277 * sunrpc/Makefile (otherlibs): Likewise.
29278 * nss/Makefile (otherlibs): Likewise.
29279 Add libnss_files to routines and static-only-routines.
29280 ($(objpfx)getent): Remove rule.
29281 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29282 static-only-routines.
29283
7c69cd14
JM
292842012-03-22 Joseph Myers <joseph@codesourcery.com>
29285
29286 [BZ #13892]
29287 * math/s_cexp.c: Include <float.h>.
29288 (__cexp): Handle exp result overflowing not necessarily
29289 overflowing both real and imaginary parts of result.
29290 * math/s_cexpf.c: Likewise.
29291 * math/s_cexpl.c: Likewise.
29292 * math/libm-test.inc (cexp_test): Add more tests.
29293 * sysdeps/i386/fpu/libm-test-ulps: Update.
29294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29295
81b035fe
L
292962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29297
29298 * include/link.h (ELFW): New macro.
29299 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29300 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29301
1da7940c
L
293022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29303
29304 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29305 with uint64_t.
29306
b749dbb9
L
293072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29310 declaration.
29311 (struct La_x32_retval): Likewise.
29312
2ff87f3f
L
293132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 * sysdeps/x86_64/preconfigure.in: New file.
29316 * sysdeps/x86_64/preconfigure: New generated file.
29317
c0df8e69
JM
293182012-03-22 Joseph Myers <joseph@codesourcery.com>
29319
48e44791
JM
29320 [BZ #13824]
29321 * math/e_exp2l.c: Include <float.h>.
29322 (__ieee754_exp2l): Handle overflow and underflow cases
29323 separately. Only pass fractional part of argument to
29324 __ieee754_expl.
29325 * math/libm-test.inc (exp2_test): Add more tests.
29326
c0df8e69
JM
29327 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29328 negating x to take absolute value.
29329 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29330 Likewise.
29331 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29333 Likewise.
29334 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29335 computing low part if x was negated.
29336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29337
c8e43ba7
L
293382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29341 la_x32_gnu_pltexit.
29342 (pltexit): Cast int_retval to ptrdiff_t.
29343 * elf/tst-auditmod3b.c: Likewise.
29344 * elf/tst-auditmod4b.c: Likewise.
29345 * elf/tst-auditmod5b.c: Likewise.
29346 * elf/tst-auditmod6b.c: Likewise.
29347 * elf/tst-auditmod6c.c: Likewise.
29348 * elf/tst-auditmod7b.c: Likewise.
29349
29350 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29351 and x32_gnu_pltexit.
29352
29353 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29354 __ELF_NATIVE_CLASS.
29355 (La_x32_regs): New macro.
29356 (La_x32_retval): Likewise.
29357 (la_x32_gnu_pltenter): New function prototype.
29358 (la_x32_gnu_pltexit): Likewise.
29359
7998fa78
AS
293602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29361
dcb33988
AS
29362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29363 exponent.
29364
233fc563
AS
29365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29366
7998fa78
AS
29367 * configure.in (libc_cv_cc_nofma): Check for option to disable
29368 generation of FMA instructions.
29369 * configure: Regenerate.
29370 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29371 * sysdeps/ieee754/dbl-64/Makefile: New file.
29372 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29373 Remove brandred-fma4.
29374 (CFLAGS-brandred-fma4.c): Remove.
29375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29377 define.
29378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29379 define.
29380
8e95c99a
L
293812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29382
29383 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29384 LLONG_MAX != LONG_MAX.
29385 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29386 (_fitoa_word): Likewise.
29387 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29388 LLONG_MAX != LONG_MAX.
29389 * stdio-common/_itowa.h: Include <_itoa.h>.
29390 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29391 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29392 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29393 only if not defined.
29394 (_ITOA_WORD_TYPE): Likewise.
29395 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29396 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29397
6f4db457
DM
293982012-03-21 David S. Miller <davem@davemloft.net>
29399
29400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29401
7785fe5a
L
294022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29403
29404 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29405 of x86_64 when setting libc_cv_slibdir, libdir and
29406 libc_cv_localedir.
29407 * sysdeps/unix/sysv/linux/configure: Regenerated.
29408
4535cd55
JM
294092012-03-21 Joseph Myers <joseph@codesourcery.com>
29410
29411 * manual/lang.texi (Old Varargs): Remove section.
29412 (How Variadic): Update menu.
29413 (va_start): Do not mention varargs.h.
29414
17228132
TS
294152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29416 Joseph Myers <joseph@codesourcery.com>
29417
29418 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29419 link test.
29420 * configure: Regenerated.
29421
8149f976
TS
294222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29423
05f3d1f6
UD
29424 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29425 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29426 conformtest.pl
8149f976 29427
1a4ac776
JM
294282012-03-21 Joseph Myers <joseph@codesourcery.com>
29429
be22ce65
JM
29430 * NOTES: Remove.
29431 * Makefile (files-for-dist): Remove NOTES.
29432 (NOTES): Remove rule.
29433 * README: Don't refer to NOTES.
29434 * manual/creature.texi: Don't include macros.texi.
29435 * manual/intro.texi (creature.texi): Remove comment referring to
29436 NOTES.
29437
40b601fb
JM
29438 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29439 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29440 * configure: Regenerated.
29441 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29442 LIBC_TRY_CC_OPTION.
29443 (libc_cv_as_i686): Likewise.
29444 (libc_cv_cc_avx): Likewise.
29445 (libc_cv_cc_sse2avx): Likewise.
29446 (libc_cv_cc_fma4): Likewise.
29447 (libc_cv_cc_novzeroupper): Likewise.
29448 * sysdeps/i386/configure: Regenerated.
29449
1a4ac776
JM
29450 [BZ #13883]
29451 * sysdeps/i386/fpu/s_cexp.S: Remove.
29452 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29454 * math/libm-test.inc (cexp_test): Add more tests.
29455 * sysdeps/i386/fpu/libm-test-ulps: Update.
29456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29457
a458e7fe
AM
294582012-03-21 Allan McRae <allan@archlinux.org>
29459
29460 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29461
0cb7efc5
JM
294622012-03-21 Joseph Myers <joseph@codesourcery.com>
29463
29464 [BZ #13871]
29465 * math/w_exp2.c: Do not include <float.h>.
29466 (o_threshold, u_threshold): Remove.
29467 (__exp2): Calculate result before checking finiteness and calling
29468 __kernel_standard.
29469 * math/w_exp2f.c: Likewise.
29470 * math/w_exp2l.c: Likewise.
29471 * math/libm-test.inc (exp2_test): Require overflow exception for
29472 1e6 input.
2460d3aa
JM
29473
29474 [BZ #3866]
29475 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29476 range of signed 64-bit integers before using fistpll. Remove
29477 checks for whether integers fit in mantissa bits.
29478 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29479 the range of signed 32-bit integers before using fistpl. Remove
29480 checks for whether integers fit in mantissa bits.
29481 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29482 (__ieee754_powl): Test for y outside the range of signed 64-bit
29483 integers before using fistpll. Reduce 64-bit values to 63-bit
29484 ones as needed.
29485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29486 divide-by-zero is raised for zero to large negative powers.
29487 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29488 (__ieee754_powl): Test for y outside the range of signed 64-bit
29489 integers before using fistpll. Reduce 64-bit values to 63-bit
29490 ones as needed.
29491 * math/libm-test.inc (pow_test): Add more tests.
29492
eb96ffb0
L
294932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29494
29495 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29496 <stdio-common/_itoa.h>.
29497 * debug/segfault.c: Likewise.
29498 * elf/dl-cache.c: Likewise.
29499 * elf/dl-minimal.c: Likewise.
29500 * elf/dl-misc.c: Likewise.
29501 * elf/dl-sysdep.c: Likewise.
29502 * elf/dl-version.c: Likewise.
29503 * elf/rtld.c: Likewise.
29504 * hurd/hurdsock.c: Likewise.
29505 * hurd/lookup-retry.c: Likewise.
29506 * malloc/malloc.c: Likewise.
29507 * malloc/mtrace.c: Likewise.
29508 * nscd/nscd_getgr_r.c: Likewise.
29509 * nscd/nscd_getpw_r.c: Likewise.
29510 * nscd/nscd_getserv_r.c: Likewise.
29511 * posix/getopt_init.c: Likewise.
29512 * posix/wordexp.c: Likewise.
29513 * stdio-common/_itoa.c: Likewise.
29514 * stdio-common/printf_fphex.c: Likewise.
29515 * stdio-common/vfprintf.c: Likewise.
29516 * string/_strerror.c: Likewise.
29517 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29518 * sysdeps/i386/i686/hp-timing.h: Likewise.
29519 * sysdeps/mach/_strerror.c: Likewise.
29520 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29521 * sysdeps/mach/hurd/sethostid.c: Likewise.
29522 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29523 * sysdeps/mach/xpg-strerror.c: Likewise.
29524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29526 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29527 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29528 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29529 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29531 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29532 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29533 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29534 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29535 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29536 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29537 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29538 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29539 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29540 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29541 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29542 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29543 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29544 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29545
29546 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29547
29548 * stdio-common/_itoa.h: Moved to ...
29549 * sysdeps/generic/_itoa.h: Here.
29550
29551 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29552
29553 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29554 instead of "_itoa.h" and "_itowa.h".
29555 * stdio-common/vfprintf.: Likewise.
29556
d1af992d
L
295572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29558
29559 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29560 <bits/wordsize.h>.
29561 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29562 (__signbit): Likwise.
29563 (llrintf): Likwise.
29564 (llrint): Likwise.
29565
114883e0
L
295662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29569 __WORDSIZE != 64.
29570
c135cc1b
JM
295712012-03-20 Joseph Myers <joseph@codesourcery.com>
29572
29573 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29574 OVERFLOW_EXCEPTION_OK.
29575 * math/libm-test.inc ("Philosophy"): Update comment about
29576 exception testing.
29577 (OVERFLOW_EXCEPTION): Define.
29578 (OVERFLOW_EXCEPTION_OK): Likewise.
29579 (INVALID_EXCEPTION_OK): Renumber.
29580 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29581 (IGNORE_ZERO_INF_SIGN): Likewise.
29582 (test_exceptions): Handle FE_OVERFLOW.
29583 (exp10_test): Expect overflow exceptions.
29584 (exp2_test): Likewise.
29585 (expm1_test): Likewise.
29586 (nextafter_test): Likewise.
29587 (pow_test): Likewise.
29588 (scalbn_test): Likewise.
29589 (scalbln_test): Likewise.
29590
95443d88
L
295912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29592
29593 * sysdeps/x86_64/bits/atomic.h
29594 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29595 64bit integer.
29596 (atomic_exchange_acq): Likewise.
29597 (__arch_exchange_and_add_body): Likewise.
29598 (__arch_add_body): Likewise.
29599 (atomic_add_negative): Likewise.
29600 (atomic_add_zero): Likewise.
29601
490df6c4
L
296022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29603
c2722551 29604 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29605 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29606
5e52b189
L
296072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29608
29609 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29610 Check __x86_64__ instead of __WORDSIZE.
29611
a9879d4c
L
296122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29613
29614 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29615
5df98260
DM
296162012-03-19 David S. Miller <davem@davemloft.net>
29617
e1497744
DM
29618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29619
5df98260
DM
29620 * sysdeps/sparc/fpu/fenv_private.h: New file.
29621 * sysdeps/sparc/fpu/math_private.h: Use it.
29622 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29623 Remove.
29624 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29625 (libc_feholdexcept_setroundl): Remove.
29626 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29627 Remove.
29628 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29629 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29630
b4c35121
L
296312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29632
29633 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29634 int64_t instead of long int.
29635 (INSERT_WORDS64): Likwise.
29636
56965fd7
L
296372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29638
29639 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29640 _Unwind_GetCFA return to _Unwind_Ptr first.
29641
83d1aec8
JM
296422012-03-19 Joseph Myers <joseph@codesourcery.com>
29643
1897ad44
JM
29644 [BZ #13629]
29645 * math/s_clog.c: Include <float.h>.
29646 (__clog): Scale large or subnormal inputs.
29647 * math/s_clogf.c: Likewise.
29648 * math/s_clogl.c: Likewise.
29649 * math/s_clog10.c: Include <float.h>.
29650 (M_LOG10_2): Define.
29651 (__clog10): Scale large or subnormal inputs.
29652 * math/s_clog10f.c: Likewise.
29653 * math/s_clog10l.c: Likewise.
29654 * math/libm-test.inc (clog_test): Add more tests.
29655 (clog10_test): Likewise.
29656 * sysdeps/i386/fpu/libm-test-ulps: Update.
29657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29658
7726d6a9
JM
29659 [BZ #11451]
29660 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29661 x and y.
29662 * math/libm-test.inc (atan2_test): Add another test.
29663
83d1aec8
JM
29664 * Makerules (common-objdir-compile): Remove.
29665 * sysdeps/unix/Makefile (config-generated): Do not add
29666 $(unix-generated) to variable.
29667 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29668 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29669 Remove rule.
29670 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29671 Likewise.
29672 [generic bits/local_lim.h] (before-compile): Do not append to
29673 variable.
29674 [generic bits/local_lim.h] (common-generated): Likewise.
29675 [generic sys/param.h] (before-compile): Do not append to variable.
29676 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29677 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29678 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29679 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29680 include.
29681 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29682 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29683 [generic sys/param.h] ($(addprefix
29684 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29685 [generic sys/param.h] (common-generated): Do not append to
29686 variable.
29687 [generic sys/param.h] (sysdep_headers): Likewise.
29688 [generic bits/errno.h] (before-compile): Do not append to
29689 variable.
29690 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29691 rule.
29692 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29693 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29694 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29695 [generic bits/errno.h] (common-generated): Do not append to
29696 variable.
29697 [generic bits/ioctls.h] (before-compile): Do not append to
29698 variable.
29699 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29700 rule.
29701 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29702 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29703 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29704 rule.
29705 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29706 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29707 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29708 [generic bits/ioctls.h] (common-generated): Do not append to
29709 variable.
29710 [generic sys/syscall.h] (syscall.h): Remove variable.
29711 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29712 rule.
29713 [generic sys/syscall.h] (before-compile): Do not append to
29714 variable.
29715 [generic sys/syscall.h] (common-generated): Likewise.
29716 * sysdeps/unix/errnos-tmpl.c: Remove file.
29717 * sysdeps/unix/errnos.awk: Likewise.
29718 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29719 * sysdeps/unix/ioctls.awk: Likewise.
29720 * sysdeps/unix/mk-local_lim.c: Likewise.
29721 * sysdeps/unix/snarf-ioctls: Likewise.
29722
4851a949
RH
297232012-03-19 Richard Henderson <rth@twiddle.net>
29724
bd37f2ee
RH
29725 * sysdeps/i386/fpu/fenv_private.h: New file.
29726 * sysdeps/i386/fpu/math_private.h: Use it.
29727 (math_opt_barrier, math_force_eval): Remove.
29728 (libc_feholdexcept_setround_53bit): Remove.
29729 (libc_feupdateenv_53bit): Remove.
29730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29731 (math_opt_barrier, math_force_eval): Remove.
29732 (libc_feholdexcept): Remove.
29733 (libc_feholdexcept_setround): Remove.
29734 (libc_fetestexcept, libc_fesetenv): Remove.
29735 (libc_feupdateenv_test): Remove.
29736 (libc_feupdateenv, libc_feholdsetround): Remove.
29737 (libc_feresetround): Remove.
29738
d0adc922
RH
29739 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29740 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29741
0fe0f1f8
RH
29742 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29743 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29744 (libc_feupdateenv_testl): New.
29745 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29746 (libc_feupdateenv_testf): New.
29747 (libc_feupdateenv): Use libc_feupdateenv_test.
29748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29750
eb92c487
RH
29751 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29752 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29753 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29754 (libc_feresetround_noex): New.
29755 (libc_feresetround_noexf): New.
29756 (libc_feresetround_noexl): New.
29757 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29758 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29759 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29760 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29761 SET_RESTORE_ROUND.
29762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29764 (__cos): Likewise.
29765 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29767 SET_RESTORE_ROUND_NOEX.
29768 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29769 SET_RESTORE_ROUND_NOEXF.
29770 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29771 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29772 (libc_feholdsetroundf): New.
29773 (libc_feresetround, libc_feresetroundf): New.
29774
7d2e8012
RH
29775 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29776 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29777 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29778
b4dabbb4
RH
29779 * sysdeps/generic/math_private.h: Include <fenv.h>.
29780 (default_libc_feholdexcept): New.
29781 (default_libc_feholdexcept_setround): New.
29782 (default_libc_fesetenv, default_libc_feupdateenv): New.
29783 (libc_feholdexcept): Only define if undefined.
29784 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29785 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29786 (libc_feholdexcept_setroundl): Likewise.
29787 (libc_feholdexcept_setround_53bit): Likewise.
29788 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29789 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29790 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29791 (libc_feupdateenv_53bit): Likewise.
29792 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29793 (libc_feholdexcept): Convert from macro to inline function.
29794 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29795 (libc_fesetenv, libc_feupdateenv): Likewise.
29796
4851a949
RH
29797 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29798 not previously defined.
29799 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29800 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29801 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29802 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29803 * sysdeps/ieee754/flt-32/math_private.h: New file.
29804 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29805 math_private.h below SET_FLOAT_WORD.
29806 (__isnan, __isinf_ns, __finite): Remove.
29807 (__isnanf, __isinf_nsf, __finitef): Remove.
29808
e79d442e
AS
298092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29810
29811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29812
90b80344
DM
298132012-03-17 David S. Miller <davem@davemloft.net>
29814
29815 [BZ #6471]
29816 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29817 for 2.16.
29818
edc21804
DM
298192012-03-16 David S. Miller <davem@davemloft.net>
29820
77e927af
DM
29821 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29822 warnings.
29823
374976dd
DM
29824 [BZ #6471]
29825 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29826 properly.
29827 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29828 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29829 sysdep_routines when subdir is sysvipc.
29830 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29831 __getshmlba helper.
29832
edc21804
DM
29833 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29834
473c3ef3
L
298352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29836
29837 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29838 [__LP64__].
29839
eb0f39b6
L
298402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29841
29842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29843 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29844 (__lround): Renamed to ...
29845 (__llround): This. Replace long int with long long int.
29846 Define lround functions as aliases of llround functions.
29847 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29848
6b6cd74b
L
298492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29850
29851 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29852 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29853 adresses to uintptr_t. Replace "long int" and "unsigned long
29854 int" with "greg_t" on va_arg.
29855
f1a77b01
L
298562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29857
29858 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29859 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29860
29861 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29862 Move e_machine check before EI_CLASS check. Handle x32
29863 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29864 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29865 SKIP_EM_IA_64 and include
29866 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29867
29868 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29869 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29870 (add_system_dir): New macro.
29871
29872 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29873 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29874
11b90b9f
JM
298752012-03-16 Joseph Myers <joseph@codesourcery.com>
29876
c36e1d23
JM
29877 [BZ #2551]
29878 [BZ #2552]
29879 [BZ #2553]
29880 [BZ #2554]
29881 [BZ #2562]
29882 [BZ #2563]
29883 [BZ #2565]
29884 [BZ #2566]
29885 [BZ #2576]
29886 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29887 (y0): Likewise.
29888 * math/w_j0f.c (j0f): Likewise.
29889 (y0f): Likewise.
29890 * math/w_j0l.c (__j0l): Likewise.
29891 (__y0l): Likewise.
29892 * math/w_j1.c (j1): Likewise.
29893 (y1): Likewise.
29894 * math/w_j1f.c (j1f): Likewise.
29895 (y1f): Likewise.
29896 * math/w_j1l.c (__j1l): Likewise.
29897 (__y1l): Likewise.
29898 * math/w_jn.c (jn): Likewise.
29899 (yn): Likewise.
29900 * math/w_jnf.c (jnf): Likewise.
29901 (ynf): Likewise.
29902 * math/w_jnl.c (__jnl): Likewise.
29903 (__ynl): Likewise.
29904 * math/libm-test.inc (j0_test): Add more tests.
29905 (j1_test): Likewise.
29906 (jn_test): Likewise. Add trailing semicolon to existing test.
29907 (y0_test): Likewise.
29908 (y1_test): Likewise.
29909 * sysdeps/i386/fpu/libm-test-ulps: Update.
29910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29911
11b90b9f
JM
29912 [BZ #13851]
29913 [BZ #13854]
29914 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29915 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29916 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29918 (__tanl): Set errno for infinite argument.
29919 * sysdeps/i386/fpu/mptan.c: Remove.
29920 * sysdeps/i386/fpu/s_tan.S: Likewise.
29921 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29922 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29923 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29924 * math/libm-test.inc (tan_test): Add more tests and enable more
29925 tests for double and long double.
29926 * sysdeps/i386/fpu/libm-test-ulps: Update.
29927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29928
6a1bd2a1
JK
299292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29930
29931 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29932 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29933
10a803e0
RM
299342012-03-16 Roland McGrath <roland@hack.frob.com>
29935
29936 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29937 * configure.in: Use it for both main tree and add-ons.
29938 * configure: Regenerated.
29939
f196c7f7
L
299402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29941
29942 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29943
8848d99d
JM
299442012-03-16 Joseph Myers <joseph@codesourcery.com>
29945
96cbe7f4
JM
29946 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29947 in comment.
29948
8848d99d
JM
29949 [BZ #13851]
29950 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29951 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29955 infinite argument.
29956 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29958 != 0 for prec == 2.
29959 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29960 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29961 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29962 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29963 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29964 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29965 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29966 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29967 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29968 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29969 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29970 * math/libm-test.inc (cos_test): Add more tests and enable more
29971 tests for long double.
29972 (sin_test): Likewise.
29973 (sincos_test): Likewise.
29974 * sysdeps/i386/fpu/libm-test-ulps: Update.
29975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29976
dd7f4703
DM
299772012-03-16 David S. Miller <davem@davemloft.net>
29978
29979 * sysdeps/sparc/fpu/math_private.h: New file.
29980
006f1daa
DM
299812012-03-15 David S. Miller <davem@davemloft.net>
29982
c0c83bc8
DM
29983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29984 file.
e6a62e18 29985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29987 file.
e6a62e18
DM
29988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29994 sysdep routines.
29995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29996
88cb87d9
DM
29997 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29998 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29999
006f1daa 30000 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30002 sparc-ifunc.h
006f1daa 30003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30005 Likewise.
30006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30007 Likewise.
006f1daa
DM
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30012 Likewise.
006f1daa
DM
30013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30018 Likewise.
30019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30020 Likewise.
006f1daa
DM
30021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30045
11e0098e
AS
300462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30047
30048 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30049 scaling.
30050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30051
e85b09d0
AJ
300522012-03-15 Andreas Jaeger <aj@suse.de>
30053
30054 [BZ #13852]
30055 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30056 ieee754/flt-32 implementation for sin, cos and sincos.
30057 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30058 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30059 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30060 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30061 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30062 ieee754/flt-32 implementation for tan.
30063
30064 * math/libm-test.inc (cos_test): Enable some large input tests for
30065 float as well
30066 (sin_test): Likewise.
30067 (sincos_test): Likewise.
30068 (tan_test): Add tests for large input.
30069
30070 * sysdeps/i386/fpu/libm-test-ulps: Update.
30071
81c64153
AJ
300722012-03-15 Andreas Jaeger <aj@suse.de>
30073
30074 [BZ #13658]
30075 * math/libm-test.inc (cos_test): Add more test cases.
30076 (sin_test): Likewise.
30077 (sincos_test): Likewise.
30078
7bbfa5c6
AJ
300792012-03-15 Andreas Jaeger <aj@suse.de>
30080
30081 [BZ #13837]
30082 * math/libm-test.inc (cos_test): Add a test case for large input
30083 value.
30084 (sin_test): Likewise.
30085 (sincos_test): Likewise.
30086
300872012-03-15 Andreas Jaeger <aj@suse.de>,
30088 Joseph Myers <joseph@codesourcery.com>
30089
30090 [BZ #13658]
0671f479 30091 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30092 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30093 * sysdeps/i386/fpu/branred.c: Likewise.
30094 * sysdeps/i386/fpu/dosincos.c: Likewise.
30095 * sysdeps/i386/fpu/mpa.c: Likewise.
30096 * sysdeps/i386/fpu/s_cos.S: Likewise.
30097 * sysdeps/i386/fpu/s_sin.S: Likewise.
30098 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30099 * sysdeps/i386/fpu/sincos32.c: Likewise.
30100
30101 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30102 Define.
30103 (libc_feupdateenv_53bit): Define.
30104 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30105 Define.
30106 (libc_feupdateenv_53bit): Define.
30107
30108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30109 53 bit (without extend i386 double precision).
30110
30111 * math/libm-test.inc (sincos_test): Add tests for large input.
30112 (sin): Likewise.
30113 (cos): Likewise.
30114
30115 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30116
9cad04ea
AS
301172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30118
30119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30120
f7062b9a
DM
301212012-03-15 David S. Miller <davem@davemloft.net>
30122
30123 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30124 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30125 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30126 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30139 file.
f7062b9a 30140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30142 file.
f7062b9a 30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30145 file.
f7062b9a 30146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30148 file.
f7062b9a
DM
30149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30151 fmin/fmax sysdep routines.
30152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30153
7bd951ff
DM
301542012-03-14 David S. Miller <davem@davemloft.net>
30155
559398ab
DM
30156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30185 routines.
30186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30187 file.
559398ab 30188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30190 file.
559398ab 30191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30193 file.
559398ab 30194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30196 file.
559398ab 30197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30199 file.
559398ab 30200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30202 file.
30203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30204 file.
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30206 file.
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30208 file.
30209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30210 New file.
30211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30212 file.
30213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30214 file.
559398ab 30215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30217 file.
559398ab 30218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30220 file.
559398ab 30221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30223 file.
559398ab 30224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30226 VIS3 routines.
559398ab
DM
30227
30228 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30229 New file.
30230
5a1c1e32
DM
30231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30232
eae47a36
DM
30233 * sysdeps/sparc/configure.in: New file.
30234 * sysdeps/sparc/configure: Generate.
30235 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30236 * configure: Regenerate.
30237 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30238 * config.make.in (have-as-vis3): New.
30239 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30240 available use -Av9d instead of -Av9a.
30241 * sysdeps/sparc/sparc64/Makefile: Likewise.
30242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30244 New file.
30245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30246 file.
30247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30248 New file.
30249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30250 file.
eae47a36
DM
30251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30256
c0c83bc8
DM
30257 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30258 fzeros/fnegs to load 0x80000000 into a float register instead of
30259 using the stack.
7bd951ff
DM
30260 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30261
bd951ccb
JM
302622012-03-14 Joseph Myers <joseph@codesourcery.com>
30263
30264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30265 bits/syscall.h.
30266 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30267 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30268 ($(inst_includedir)/bits/syscall.h): Remove rule.
30269 ($(objpfx)bits/syscall.d): Include instead of
30270 $(objpfx)syscall-list.d.
30271 (generated): Change syscall-list.h and syscall-list.d to
30272 bits/syscall.h and bits/syscall.d.
30273
bb4e6db2
RM
302742012-03-14 Roland McGrath <roland@hack.frob.com>
30275
30276 [BZ #13846]
30277 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30278
aa4a2ae1
JM
302792012-03-14 Joseph Myers <joseph@codesourcery.com>
30280
e456826d
JM
30281 [BZ #13841]
30282 * math/s_csqrt.c: Include <float.h>.
30283 (__csqrt): Scale large or subnormal inputs.
30284 * math/s_csqrtf.c: Likewise.
30285 * math/s_csqrtl.c: Likewise.
30286 * math/libm-test.inc (csqrt_test): Add more tests.
30287 * sysdeps/i386/fpu/libm-test-ulps: Update.
30288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30289
aa4a2ae1
JM
30290 [BZ #13840]
30291 * math/libm-test.inc (hypot_test): Add more tests.
30292
7c10fd35
DM
302932012-03-13 David S. Miller <davem@davemloft.net>
30294
30295 [BZ #13840]
30296 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30297 double-precision for the calculation instead of scaling.
30298
f453b98b
JM
302992012-03-13 Joseph Myers <joseph@codesourcery.com>
30300
30301 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30302 manipulate bits before adding and subtracting TWO52[sx].
30303 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30304 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30305 Likewise.
30306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30307
09a3453f
DM
303082012-03-13 David S. Miller <davem@davemloft.net>
30309
8e59da90
DM
30310 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30311 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30313 rtld-global-offsets.h
30314 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30315
2a8ab7f2
DM
30316 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30317 large parameters.
30318
10f62770
DM
30319 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30320
5f0bdb18
DM
30321 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30322 'err' in the ifdef scope in which it is actually used.
30323
09a3453f
DM
30324 * nss/nss_db/db-init.c: Include string.h
30325
b4b2eb5e
DM
303262012-03-12 David S. Miller <davem@davemloft.net>
30327
98bb2f1c
DM
30328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30329 masking out of the most significant byte of random value used.
30330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30331 Fix coding style in previous change.
30332
b4b2eb5e
DM
30333 * sysdeps/unix/sysv/linux/kernel-features.h
30334 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30335 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30336 expression.
30337 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30338 later.
30339
6e226b09
DM
303402012-03-11 David S. Miller <davem@davemloft.net>
30341
a1bcbd40
DM
30342 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30343 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30345 for 'resultvar' otherwise things get truncated on 64-bit.
30346
cb9d6174
DM
30347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30348 Fix masking out of the most significant byte of random value used.
30349
6e226b09
DM
30350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30351
058c132d
AS
303522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30353
30354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30355
2d2cd515
DM
303562012-03-09 David S. Miller <davem@davemloft.net>
30357
30358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30359 variables with appropriate CPP guards.
30360 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30361 frame pointer, not the stack pointer. Correct layout comments. Fix test
30362 on resulting framesize and the management of the outregs buffer for pltexit.
30363 Preserve floating point return values across _dl_call_pltexit call.
30364 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30365 framesize and the management of the outregs buffer for pltexit.
30366 Preserve floating point return values across _dl_call_pltexit
30367 call.
30368 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30369 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30370 (print_exit): Fix format string for return register value.
30371
9a07f9d0
JM
303722012-03-10 Joseph Myers <joseph@codesourcery.com>
30373
30374 * sunrpc/Makefile (others): Add rpcgen.
30375 ($(objpfx)rpcgen): Remove special build rule and dependency on
30376 libc.
30377 * sunrpc/rpcgen.c: New file.
30378
547b5e30
PE
303792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30380
c524201a
PE
30381 [BZ #13673]
30382 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30383 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30384 * sysdeps/i386/crti.S: Likewise.
30385 * sysdeps/i386/crtn.S: Likewise.
30386 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30387 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30388 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30389 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30390 * sysdeps/sh/crti.S: Likewise.
30391 * sysdeps/sh/crtn.S: Likewise.
30392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30393
7b6235f2
PE
30394 [BZ #13673]
30395 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30396 with URL.
30397 * locale/programs/locfile-kw.gperf: Likewise.
30398 * locale/programs/charmap-kw.h: Regenerated.
30399 * locale/programs/locfile-kw.h: Likewise.
30400
547b5e30
PE
30401 [BZ #13673]
30402 * intl/plural.y: Replace FSF snail mail address with URL.
30403 * intl/plural.c: Regenerated.
30404
5f0a5dae
RH
304052012-03-09 Richard Henderson <rth@twiddle.net>
30406
30407 * include/math_private.h: Remove file.
30408 * math/math_private.h: Move file ...
30409 * sysdeps/generic/math_private.h: ... here.
30410
b8c03620
RH
30411 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30412 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30413 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30414
4e234f5d 30415 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30416 and <math_private.h>.
30417 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30418 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30419 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30420 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30421 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30425 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30429 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30431 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30432 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30433 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30435 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30436 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30439 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30442 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30443 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30447 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30449 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30450 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30453 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30454 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30455 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30457 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30458 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30459 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30460 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30461 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30462 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30463 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30464 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30466 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30467 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30468 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30469 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30470 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30471 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30472 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30473 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30474 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30475 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30476 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30478 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30481 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30482 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30483 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30484 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30485 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30486 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30491 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30497 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30499 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30504 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30505 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30508 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30510 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30511 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30512 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30514 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30516 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30517 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30518 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30519 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30520 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30521 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30522 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30523 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30524 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30529 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30530 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30531 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30532 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30533 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30534 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30535 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30536 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30537 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30538 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30540 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30541 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30542 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30543 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30544 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30545 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30546 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30547 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30548 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30549 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30550 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30551 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30552 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30553 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30554 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30555 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30556 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30557 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30558 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30559 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30560 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30561 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30562 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30563 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30564 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30565 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30566 * sysdeps/ieee754/k_standard.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30576 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30579 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30581 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30582 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30583 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30584 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30588 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30591 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30592 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30593 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30594 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30595 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30598 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30599 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30600 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30601 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30604 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30605 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30606 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30608 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30609 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30611 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30613 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30617 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30618 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30619 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30629 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30640 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30644 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30694 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30699 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30715 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30716 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30727 * sysdeps/ieee754/s_lib_version.c: Likewise.
30728 * sysdeps/ieee754/s_matherr.c: Likewise.
30729 * sysdeps/ieee754/s_signgam.c: Likewise.
30730 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30731 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30732 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30733 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30734 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30735 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30736 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30737 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30738 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30739 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30740 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30741 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30742 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30743 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30744 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30745 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30746 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30748 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30751
1991fa03
JM
307522012-03-09 Joseph Myers <joseph@codesourcery.com>
30753
30754 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30755 * sunrpc/rpc_main.c: Likewise.
30756 * sunrpc/rpc_svcout.c: Likewise.
30757
60d6f5a6
DM
307582012-03-09 David S. Miller <davem@davemloft.net>
30759
30760 * include/math_private.h: New file.
30761
4962050e
JM
307622012-03-09 Joseph Myers <joseph@codesourcery.com>
30763
02a6f887
JM
30764 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30765 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30766 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30767 from <bits/socket_type.h>.
30768 (enum __socket_type): Don't define here.
30769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30771 bits/socket_type.h.
30772
c6e013c1
JM
30773 [BZ #13566]
30774 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30775 checking __USE_GNU.
30776
4962050e
JM
30777 * Makerules ($(inst_includedir)/%.h): New rule.
30778 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30779 (install-others): Remove variable setting.
30780 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30781
38842f45
RH
307822012-03-08 Richard Henderson <rth@twiddle.net>
30783
67bb6da6
RH
30784 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30785 from macro to inline function; merge with the
30786 !__LIBC_INTERNAL_MATH_INLINES version.
30787 (__ieee754_sqrtf): Likewise.
30788
15194b4b
RH
30789 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30790 to inline function.
30791 (__rintf, __floor, __floorf): Likewise.
30792
64e21ede
RH
30793 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30794 macro to inline function.
30795 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30796
38842f45
RH
30797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30798 not <math/math_private.h>.
30799
c64bf5fe
DM
308002012-03-08 David S. Miller <davem@davemloft.net>
30801
30802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30803 copyright year.
30804 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30805
82d86f28
TS
308062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30807
30808 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30809 normalization.
30810 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30811 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30812
aea5d727
UD
308132012-03-08 Ulrich Drepper <drepper@gmail.com>
30814
30815 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30816 be defined individually, they must be defined as a block. Define
30817 S for printing a string instead of hidint the different by using a
30818 macro for adding the 'l'.
30819 * stdio-common/tst-fphex-wide.c: Adjust.
30820
70bca0a3
MP
308212012-03-07 Marek Polacek <polacek@redhat.com>
30822
30823 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30824
65b81130
MP
308252012-03-08 Marek Polacek <polacek@redhat.com>
30826
30827 [BZ #13806]
30828 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30829 * stdio-common/tst-fphex.c: Define a few macros to make the
30830 test reusable. Use them.
30831 * stdio-common/tst-fphex-wide.c: New file.
30832
07037eeb
JM
308332012-03-08 Joseph Myers <joseph@codesourcery.com>
30834
a7a93d50
JM
30835 [BZ #6911]
30836 * manual/macros.texi (gnusystems): New macro.
30837 (nongnusystems): Likewise.
30838 (gnulinuxhurdsystems): Likewise.
30839 (gnuhurdsystems): Likewise..
30840 (gnulinuxsystems): Likewise.
30841 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30842 variants of the GNU system, not "GNU system".
30843 * manual/conf.texi: Likewise.
30844 * manual/errno.texi: Likewise. Update example of errno macro
30845 expansion.
30846 * manual/filesys.texi: Likewise.
30847 (getumask): Document as specific to GNU/Hurd.
30848 * manual/install.texi: Likewise. Reword some references to
30849 GNU/Linux.
30850 * manual/intro.texi: Likewise.
30851 * manual/io.texi: Likewise.
30852 (File Name Portability): Detail which constraints are inapplicable
30853 to all GNU systems and which are only inapplicable to GNU/Hurd.
30854 * manual/job.texi: Likewise.
30855 * manual/llio.texi: Likewise.
30856 (O_NOCTTY): Document as present on GNU/Linux.
30857 * manual/maint.texi: Likewise.
30858 * manual/memory.texi: Likewise.
30859 * manual/pattern.texi: Likewise.
30860 * manual/pipe.texi: Likewise.
30861 * manual/process.texi: Likewise.
30862 * manual/resource.texi: Likewise.
30863 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30864 child on GNU/Hurd.
30865 * manual/setjmp.texi: Likewise.
30866 * manual/signal.texi: Likewise.
30867 * manual/startup.texi: Likewise.
30868 * manual/stdio.texi: Likewise.
30869 * manual/terminal.texi: Likewise.
30870 (ONLCR): Document as POSIX.
30871 (OXTABS): Document availability on GNU/Linux as XTABS.
30872 (ONOEOT): Document availability separately from other bits.
30873 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30874 * manual/time.texi: Likewise.
30875 * manual/users.texi: Likewise.
30876 * INSTALL: Regenerated.
30877 * sysdeps/gnu/errlist.c: Regenerated.
30878
07037eeb
JM
30879 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30880 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30881 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30882 puts.
30883 * configure: Regenerated.
30884
d1d3431a
JM
308852012-03-07 Joseph Myers <joseph@codesourcery.com>
30886
af6a1e37
JM
30887 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30888 default includes instead of AC_HEADER_CHECK.
30889 * sysdeps/i386/configure: Regenerated.
30890
d1d3431a
JM
30891 [BZ #10716]
30892 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30893 * math/s_cacoshf.c (__cacoshf): Likewise.
30894 * math/s_cacoshl.c (__cacoshl): Likewise.
30895 * math/s_casinh.c (__casinh): Set signs of result from argument.
30896 * math/s_casinhf.c (__casinhf): Likewise.
30897 * math/s_casinhl.c (__casinhl): Likewise.
30898 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30899 (casinh_test): Add more tests.
30900 * sysdeps/i386/fpu/libm-test-ulps: Update.
30901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30902
482ff4da
UD
309032012-03-07 Ulrich Drepper <drepper@gmail.com>
30904
872fda05
UD
30905 * po/zh_TW.po: Update from translation team.
30906
a4300c7a
UD
30907 * login/Makefile (distribute): Remove variable.
30908 * catgets/Makefile: Likewise.
30909 * mach/Makefile: Likewise.
30910 * malloc/Makefile: Likewise.
30911 * misc/Makefile: Likewise.
30912 * iconv/Makefile: Likewise.
30913 * nscd/Makefile: Likewise.
30914 * hurd/Makefile: Likewise.
30915 * manual/Makefile: Likewise.
30916 * locale/Makefile: Likewise.
30917 * intl/Makefile: Likewise.
30918 * conform/Makefile: Likewise.
30919 * nss/Makefile: Likewise.
30920 * time/Makefile: Likewise.
30921 * soft-fp/Makefile: Likewise.
30922 * dirent/Makefile: Likewise.
30923 * gmon/Makefile: Likewise.
30924 * po/Makefile: Likewise.
30925 * rt/Makefile: Likewise.
30926 * socket/Makefile: Likewise.
30927 * math/Makefile: Likewise.
30928 * signal/Makefile: Likewise.
30929 * debug/Makefile: Likewise.
30930 * elf/Makefile: Likewise.
30931 * timezone/Makefile: Likewise.
30932 * stdlib/Makefile: Likewise.
30933 * iconvdata/Makefile: Likewise.
30934 * sunrpc/Makefile: Likewise.
30935 * io/Makefile: Likewise.
30936 * argp/Makefile: Likewise.
30937 * inet/Makefile: Likewise.
30938 * hesiod/Makefile: Likewise.
30939 * grp/Makefile: Likewise.
30940 * csu/Makefile: Likewise.
30941 * wctype/Makefile: Likewise.
30942 * crypt/Makefile: Likewise.
30943 * libio/Makefile: Likewise.
30944 * string/Makefile: Likewise.
30945 * nis/Makefile: Likewise.
30946 * resolv/Makefile: Likewise.
30947 * stdio-common/Makefile: Likewise.
30948 * wcsmbs/Makefile: Likewise.
30949 * dlfcn/Makefile: Likewise.
30950 * posix/Makefile: Likewise.
30951
3b7c4e74 30952 [BZ #6959]
482ff4da
UD
30953 * timezone/Makefile: Don't install timezone files, just the programs
30954 and scripts.
30955
f72ed77d
UD
309562012-03-06 Ulrich Drepper <drepper@gmail.com>
30957
a000466f
UD
30958 * nss/databases.def: Add missing gshadow entry.
30959
f72ed77d
UD
30960 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30961
a53b7a4e
MP
309622012-03-06 Marek Polacek <polacek@redhat.com>
30963
30964 [BZ #13726]
30965 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30966 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30967 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30968 * stdio-common/tst-long-dbl-fphex.c: New file.
30969
e9258400
DM
309702012-03-06 David S. Miller <davem@davemloft.net>
30971
30972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30973 (set_obp_int): New function.
30974 (get_obp_int): New function.
30975 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30977 Avoid unused variable warnings on 'val' and use builtin_expect.
30978 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30979 __builtin_expect.
e9258400
DM
30980 (INLINE_CLONE_SYSCALL): Likewise.
30981
3bd2c723
DM
309822012-03-05 David S. Miller <davem@davemloft.net>
30983
30984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30985
bbb78d03
AS
309862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30987
884c5db4
AS
30988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30989
bbb78d03
AS
30990 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30991 only for |x| >= 40.
30992 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30993
1c9f702a 309942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30995
30996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30997 Replace gettimeofday with __vdso_gettimeofday.
30998
7be16f82
RM
30999 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31000 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31001 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31002
31003 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31004 time with __vdso_time.
31005
ed58a00f
JM
310062012-03-05 Joseph Myers <joseph@codesourcery.com>
31007
31008 * manual/lang.texi (size_t): Note types to which size_t may be
31009 equivalent with the GNU C Library, but do not describe when
31010 differences between them are significant.
31011
30ee4ced
AJ
310122012-03-05 Andreas Jaeger <aj@suse.de>
31013
31014 * sysdeps/i386/fpu/libm-test-ulps: Update.
31015
b7cd39e8
JM
310162012-03-05 Joseph Myers <joseph@codesourcery.com>
31017
31018 [BZ #3976]
31019 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31020 (__ieee754_pow): Save and restore rounding mode and use
31021 round-to-nearest for main computations.
31022 * math/libm-test.inc (pow_test_tonearest): New function.
31023 (pow_test_towardzero): Likewise.
31024 (pow_test_downward): Likewise.
31025 (pow_test_upward): Likewise.
31026 (main): Call the new functions.
31027 * sysdeps/i386/fpu/libm-test-ulps: Update.
31028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31029
31030 [BZ #3976]
31031 * math/libm-test.inc (cosh_test_tonearest): New function.
31032 (cosh_test_towardzero): Likewise.
31033 (cosh_test_downward): Likewise.
31034 (cosh_test_upward): Likewise.
31035 (sinh_test_tonearest): Likewise.
31036 (sinh_test_towardzero): Likewise.
31037 (sinh_test_downward): Likewise.
31038 (sinh_test_upward): Likewise.
31039 (main): Call the new functions.
31040 * sysdeps/i386/fpu/libm-test-ulps: Update.
31041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31042
6c6a98c9
TV
310432012-03-05 Tom de Vries <tom@codesourcery.com>
31044
31045 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31046 default stack guard is set in last bytes.
31047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31048
21bb2d2e 310492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31050
21bb2d2e 31051 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31052
21bb2d2e
AJ
31053 [BZ #13656]
31054 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31055 possibly allocate from heap instead of stack.
31056 * stdio-common/bug-vfprintf-nargs.c: New file.
31057 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31058
c6922934
AS
310592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31060
31061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31062
bc957d53
MP
310632012-03-03 Marek Polacek <polacek@redhat.com>
31064
31065 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31066 * math/math_private.h: Likewise.
31067 * stdlib/tst-strtod.c: Likewise.
31068 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31069 * sysdeps/x86_64/bits/atomic.h: Likewise.
31070
6358490d
DM
310712012-03-02 David S. Miller <davem@davemloft.net>
31072
31073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31077 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31078 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31079 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31080 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31081
01ae168d
RM
310822012-03-02 Roland McGrath <roland@hack.frob.com>
31083
d9a17c07
RM
31084 [BZ #13792]
31085 * manual/examples/README: New file, says the example source files
31086 can be used under GPL>=2.
31087 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31088 line containing just "*/".
31089 * manual/examples/add.c: Add copyright header (GPL>=2).
31090 * manual/examples/argp-ex1.c: Likewise.
31091 * manual/examples/argp-ex2.c: Likewise.
31092 * manual/examples/argp-ex3.c: Likewise.
31093 * manual/examples/argp-ex4.c: Likewise.
31094 * manual/examples/atexit.c: Likewise.
31095 * manual/examples/db.c: Likewise.
31096 * manual/examples/dir.c: Likewise.
31097 * manual/examples/dir2.c: Likewise.
31098 * manual/examples/execinfo.c: Likewise.
31099 * manual/examples/filecli.c: Likewise.
31100 * manual/examples/filesrv.c: Likewise.
31101 * manual/examples/fmtmsgexpl.c: Likewise.
31102 * manual/examples/genpass.c: Likewise.
31103 * manual/examples/inetcli.c: Likewise.
31104 * manual/examples/inetsrv.c: Likewise.
31105 * manual/examples/isockad.c: Likewise.
31106 * manual/examples/longopt.c: Likewise.
31107 * manual/examples/memopen.c: Likewise.
31108 * manual/examples/memstrm.c: Likewise.
31109 * manual/examples/mkfsock.c: Likewise.
31110 * manual/examples/mkisock.c: Likewise.
31111 * manual/examples/mygetpass.c: Likewise.
31112 * manual/examples/pipe.c: Likewise.
31113 * manual/examples/popen.c: Likewise.
31114 * manual/examples/rprintf.c: Likewise.
31115 * manual/examples/search.c: Likewise.
31116 * manual/examples/select.c: Likewise.
31117 * manual/examples/setjmp.c: Likewise.
31118 * manual/examples/sigh1.c: Likewise.
31119 * manual/examples/sigusr.c: Likewise.
31120 * manual/examples/stpcpy.c: Likewise.
31121 * manual/examples/strdupa.c: Likewise.
31122 * manual/examples/strftim.c: Likewise.
31123 * manual/examples/strncat.c: Likewise.
31124 * manual/examples/subopt.c: Likewise.
31125 * manual/examples/swapcontext.c: Likewise.
31126 * manual/examples/termios.c: Likewise.
31127 * manual/examples/testopt.c: Likewise.
31128 * manual/examples/testpass.c: Likewise.
31129 * manual/examples/timeval_subtract.c: Likewise.
31130
01ae168d
RM
31131 [BZ #13792]
31132 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31133 function to ...
31134 * manual/timeval_subtract.c.texi: ... here, new file.
31135
49efa33d
DM
311362012-03-02 David S. Miller <davem@davemloft.net>
31137
31138 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31139
28afd92d
JM
311402012-03-02 Joseph Myers <joseph@codesourcery.com>
31141
804360ed
JM
31142 [BZ #3976]
31143 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31144 (__sin): Save and restore rounding mode and use round-to-nearest
31145 for all computations.
31146 (__cos): Save and restore rounding mode and use round-to-nearest
31147 for all computations.
31148 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31149 <fenv.h>.
31150 (tan): Save and restore rounding mode and use round-to-nearest for
31151 all computations.
31152 * math/libm-test.inc (cos_test_tonearest): New function.
31153 (cos_test_towardzero): Likewise.
31154 (cos_test_downward): Likewise.
31155 (cos_test_upward): Likewise.
31156 (sin_test_tonearest): Likewise.
31157 (sin_test_towardzero): Likewise.
31158 (sin_test_downward): Likewise.
31159 (sin_test_upward): Likewise.
31160 (tan_test_tonearest): Likewise.
31161 (tan_test_towardzero): Likewise.
31162 (tan_test_downward): Likewise.
31163 (tan_test_upward): Likewise.
31164 (main): Call the new functions.
31165 * sysdeps/i386/fpu/libm-test-ulps: Update.
31166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31167
a6d06d7b
JM
31168 [BZ #10135]
31169 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31170 small n, then large n, before computing and testing k+n.
31171 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31172 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31173 Likewise.
31174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31175 Likewise.
31176 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31177 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31182 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31184 * math/libm-test.inc (scalbn_test): Add more tests.
31185 (scalbln_test): Likewise.
31186
07e12bb3
JM
31187 * manual/filesys.texi (mode_t): Describe constraints on size and
31188 signedness, not exact equivalence to a particular type.
31189 (ino_t): Likewise.
31190 (ino64_t): Likewise.
31191 (dev_t): Likewise.
31192 (nlink_t): Likewise.
31193 (blkcnt_t): Likewise.
31194 (blkcnt64_t): Likewise.
31195 * manual/llio.texi (off_t): Likewise.
31196
28afd92d
JM
31197 [BZ #3976]
31198 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31199 (__ieee754_exp): Save and restore rounding mode and use
31200 round-to-nearest for all computations.
31201 * math/libm-test.inc (exp_test_tonearest): New function.
31202 (exp_test_towardzero): Likewise.
31203 (exp_test_downward): Likewise.
31204 (exp_test_upward): Likewise.
31205 (main): Call the new functions.
31206 * sysdeps/i386/fpu/libm-test-ulps: Update.
31207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31208
b1eeb65d
CD
312092012-03-01 Chris Demetriou <cgd@google.com>
31210
31211 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31212 have predictable order.
31213
53362a4b
DM
312142012-03-01 David S. Miller <davem@davemloft.net>
31215
3c969083
DM
31216 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31217
759707de
DM
31218 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31219 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31220 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31221 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31222
dfdb8ff2
DM
31223 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31224 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31225 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31227 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31228 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31229 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31230 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31231 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31232
ead89f96
DM
31233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31234
7f66bd07
DM
31235 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31236 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31237 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31238
53362a4b
DM
31239 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31240 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31241 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31242 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31243 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31246 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31247 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31248 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31249 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31250 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31255 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31256 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31257 * sysdeps/sparc/elf/configure: Regenerated.
31258
7b1902cb
JM
312592012-03-01 Joseph Myers <joseph@codesourcery.com>
31260
bec039bc
JM
31261 * configure.in (AS, LD): Require binutils 2.20 or later.
31262 * configure: Regenerated.
31263 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31264 as required minimum version.
31265 * INSTALL: Regenerated.
31266
7b1902cb
JM
31267 [BZ #2541]
31268 [BZ #4108]
31269 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31270 before squaring exponent.
31271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31272 bottom long double and 27 bits of top long double before squaring
31273 exponent.
31274 * math/libm-test.inc (erfc_test): Add more tests.
31275 * sysdeps/i386/fpu/libm-test-ulps: Update.
31276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31278
f775c276
KT
312792012-03-01 Kai Tietz <ktietz@redhat.com>
31280
31281 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31282 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31283 containing bit-fields.
31284 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31285 * soft-fp/single.h (_FP_UNION_S): Likewise.
31286 * soft-fp/double.h (_FP_UNION_D): Likewise.
31287
5b8a4d4a
JM
312882012-02-29 Joseph Myers <joseph@codesourcery.com>
31289
0bab47b6
JM
31290 [BZ #13786]
31291 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31292 not include ../strcmp.S.
31293 [USE_AS_STRNCASECMP_L]: Likewise.
31294 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31295 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31296 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31297 (__strncasecmp_l_ia32): Define as alias to
31298 __strncasecmp_l_nonascii.
31299
0fcad3e2
JM
31300 [BZ #5794]
31301 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31302 * sysdeps/i386/fpu/libm-test-ulps: Update.
31303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31304
5b8a4d4a
JM
31305 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31307
8fdceb2e
JL
313082012-02-29 Jeff Law <law@redhat.com>
31309
31310 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31311 out of bounds read.
31312
1f393a11
MP
313132012-02-29 Marek Polacek <polacek@redhat.com>
31314
31315 [BZ #13706]
31316 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31317 * elf/Makefile: Add rules to run tst-unused-dep.out.
31318
8847f037
DM
313192012-02-28 David S. Miller <davem@davemloft.net>
31320
31321 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31322 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31327
169d7f11
JM
313282012-02-29 Joseph Myers <joseph@codesourcery.com>
31329
31330 * math/libm-test.inc (llround_test): Move one test from
31331 lround_test. Use TEST_f_L in moved test.
31332 (lround_test): Move misplaced test to llround_test. Add testcase
31333 from bug 2561.
31334
39adf059
UD
313352012-02-28 Ulrich Drepper <drepper@gmail.com>
31336
31337 * sysdeps/x86_64/fpu/e_expf.S: New file.
31338 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31339
71b5d1c5
SB
313402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31341
31342 [BZ #13637]
31343 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31344 of remain_len that may cause incomplete multi-byte character and
31345 false match.
31346 * posix/bug-regex33.c: New file.
31347 * posix/Makefile (tests): Add bug-regex33.
31348
1f77f049
JM
313492012-02-28 Joseph Myers <joseph@codesourcery.com>
31350
31351 * manual/macros.texi: New file.
31352 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31353 * manual/libc.texinfo: Include macros.texi.
31354 * manual/creatute.texi: Likewise.
31355 * manual/install.texi: Likewise.
31356 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31357 @glibcadj{} in references to the GNU C Library.
31358 * manual/charset.texi: Likewise.
31359 * manual/conf.texi: Likewise.
31360 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31361 when not using those macros.
31362 * manual/creature.texi: Likewise.
31363 * manual/crypt.texi: Likewise.
31364 * manual/errno.texi: Likewise.
31365 * manual/filesys.texi: Likewise.
31366 * manual/header.texi: Likewise.
31367 * manual/install.texi: Likewise.
31368 * manual/intro.texi: Likewise.
31369 * manual/io.texi: Likewise.
31370 * manual/job.texi: Likewise.
31371 * manual/lang.texi: Likewise.
31372 * manual/libc.texiinfo: Likewise.
31373 * manual/llio.texi: Likewise.
31374 * manual/locale.texi: Likewise.
31375 * manual/maint.texi: Likewise.
31376 * manual/math.texi: Likewise.
31377 * manual/memory.texi: Likewise.
31378 * manual/message.texi: Likewise.
31379 * manual/nss.texi: Likewise.
31380 * manual/pattern.texi: Likewise.
31381 * manual/process.texi: Likewise.
31382 * manual/resource.texi: Likewise.
31383 * manual/search.texi: Likewise.
31384 * manual/setjmp.texi: Likewise.
31385 * manual/signal.texi: Likewise.
31386 * manual/socket.texi: Likewise.
31387 * manual/startup.texi: Likewise.
31388 * manual/stdio.texi: Likewise.
31389 * manual/string.texi: Likewise.
31390 * manual/sysinfo.texi: Likewise.
31391 * manual/syslog.texi: Likewise.
31392 * manual/terminal.texi: Likewise.
31393 * manual/time.texi: Likewise.
31394 * manual/users.texi: Likewise.
31395 * INSTALL: Regenerated.
31396 * NOTES: Regenerated.
d40c5d54 31397 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31398
450bf206
AS
313992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31400
31401 * include/dirent.h: Include <dirstream.h> before
31402 <dirent/dirent.h>.
31403
741a235b
DM
314042012-02-28 David S. Miller <davem@davemloft.net>
31405
31406 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31407 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31408 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31409 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31410
d6b5aa58
DM
314112012-02-27 David S. Miller <davem@davemloft.net>
31412
1aff59a3
DM
31413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31415 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31416 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31417
d6b5aa58
DM
31418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31419 frame pointer instead of stack pointer relative arg slot.
31420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31421 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31422 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31423
433f48bf
CD
314242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31425
31426 [BZ #3992]
31427 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31428
d674b76d
DM
314292012-02-27 David S. Miller <davem@davemloft.net>
31430
31431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31435 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31436 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31437 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31438 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31439
0e7727f7
JM
314402012-02-27 Joseph Myers <joseph@codesourcery.com>
31441
31442 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31443 later. Allow versions 5-9.
43be4ca2 31444 * configure: Regenerated.
0e7727f7
JM
31445 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31446 required minimum version and 4.6 as recommended version. Do not
31447 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31448 * INSTALL: Regenerated.
0e7727f7 31449
a78bc654
DM
314502012-02-27 David S. Miller <davem@davemloft.net>
31451
428d5830
DM
31452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31458 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31460
a78bc654
DM
31461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31462 manipulate bits before adding and subtracting TWO112[sx].
31463 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31464
4579f81c
RM
314652012-02-27 Roland McGrath <roland@hack.frob.com>
31466
36c8acb4
RM
31467 [BZ #13775]
31468 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31469 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31470 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31471 being in POSIX, because they are in 1003.1-2008.
31472
84ad622b
RM
31473 * rt/tst-aio.c: Include <fcntl.h>.
31474 * rt/tst-aio7.c: Likewise.
31475 * rt/tst-aio64.c: Likewise.
31476
4579f81c
RM
31477 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31478
abd923db
JM
314792012-02-27 Joseph Myers <joseph@codesourcery.com>
31480
31481 * manual/install.texi (--with-headers): Describe headers as
31482 interface headers, not private headers.
31483 (Specific advice for GNU/Linux systems): Describe use of headers
31484 from "make headers_install", not private headers from older
31485 kernels.
43be4ca2 31486 * INSTALL: Regenerated.
abd923db
JM
31487 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31488 Change to 2.6.19.
31489 * sysdeps/unix/sysv/linux/configure: Regenerated.
31490
6664049b
JM
31491 * manual/llio.texi (fclean): Remove documentation.
31492
bb8b6697
JM
31493 * manual/Makefile (libc-texi-generated): New variable. Include
31494 version.texi.
31495 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31496 $(libc-texi-generated), not duplicated list of files.
31497 (version.texi, stamp-version): New rules.
31498 (realclean): Remove $(libc-texi-generated), not individual files
31499 from that list. Do not remove dir-add.texinfo.
31500 * manual/libc.texinfo: Comment out uses of edition numbers and
31501 references to printed manual. Remove last-updated dates.
31502 (EDITION): Comment out.
31503 (ISBN): Likewise.
31504 (VERSION, UPDATED): Remove.
31505 (version.texi): Include.
31506
12e5c3b9
AS
315072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31508
31509 * sysdeps/posix/spawni.c: Include <signal.h>.
31510 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31511 * sysdeps/pthread/aio_fsync.c: Likewise.
31512
4efeffc1 315132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31514
ba63ba08
UD
31515 * conform/Makefile (tests): Run only when not cross-compiling and
31516 when fast-check is not defined.
31517
d94a4670
UD
31518 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31519 * conform/data/limits.h-data: Fixes for POSIX2008.
31520 * conform/run-conformtest.sh: Run all tests.
31521 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31522 headers.
31523 * include/bits/dlfcn.h: Likewise.
31524 * include/langinfo.h: Likewise.
31525 * include/monetary.h: Likewise.
31526 * include/sys/poll.h: Likewise.
31527
31528 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31529 for __USE_GNU.
31530 * posix/spawn.h: Define __need_sigset_t.
31531 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31532 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31533 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31534 to get sigevent_t only.
31535 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31536 only for __USE_GNU.
31537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31538 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31539 process_vm_writev only for __USE_GNU.
31540 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31541
31542 * conform/Makefile: For now ignore errors from run-conformtest.
31543 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31544 POSIX to avoid namespace pollution. Don't prepend headers.
31545 * conform/data/aio.h-data: Fixes for POSIX testing.
31546 * conform/data/fcntl.h-data: Likewise.
31547 * conform/data/glob.h-data: Likewise.
31548 * conform/data/grp.h-data: Likewise.
31549 * conform/data/pthread.h-data: Likewise.
31550 * conform/data/pwd.h-data: Likewise.
31551 * conform/data/signal.h-data: Likewise.
31552 * conform/data/spawn.h-data: Likewise.
31553 * conform/data/stdio.h-data: Likewise.
31554 * conform/data/stdlib.h-data: Likewise.
31555 * conform/data/stropts.h-data: Likewise.
31556 * conform/data/sys/mman.h-data: Likewise.
31557 * conform/data/sys/stat.h-data: Likewise.
31558 * conform/data/sys/types.h-data: Likewise.
31559 * conform/data/sys/wait.h-data: Likewise.
31560 * conform/data/time.h-data: Likewise.
31561 * conform/data/unistd.h-data: Likewise.
31562 * conform/data/utime.h-data: Likewise.
31563
31564 * io/sys/stat.h: fchmod was always in POSIX.
31565 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31566 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31567 * rt/aio.h: Define __need_timespec before including <time.h>.
31568 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31569 struct. Add forward declaration of pthread_attr_t and use it in
31570 sigevent.
31571 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31572 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31573 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31574 always remove CLK_TCK definition.
31575
c20105c3
AS
315762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31577
31578 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31579
7a270350
UD
315802012-02-25 Ulrich Drepper <drepper@gmail.com>
31581
31341567
UD
31582 * conform/run-conformtest.sh: New file.
31583 * conform/Makefile: Run run-conformtest for tests.
31584 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31585 support.
31586
31587 * conform/data/uchar.h-data: New file.
31588 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31589 * conform/data/arpa/inet.h-data: Likewise.
31590 * conform/data/assert.h-data: Likewise.
31591 * conform/data/complex.h-data: Likewise.
31592 * conform/data/cpio.h-data: Likewise.
31593 * conform/data/ctype.h-data: Likewise.
31594 * conform/data/dirent.h-data: Likewise.
31595 * conform/data/dlfcn.h-data: Likewise.
31596 * conform/data/errno.h-data: Likewise.
31597 * conform/data/fcntl.h-data: Likewise.
31598 * conform/data/float.h-data: Likewise.
31599 * conform/data/fmtmsg.h-data: Likewise.
31600 * conform/data/fnmatch.h-data: Likewise.
31601 * conform/data/ftw.h-data: Likewise.
31602 * conform/data/glob.h-data: Likewise.
31603 * conform/data/grp.h-data: Likewise.
31604 * conform/data/iconv.h-data: Likewise.
31605 * conform/data/inttypes.h-data: Likewise.
31606 * conform/data/langinfo.h-data: Likewise.
31607 * conform/data/libgen.h-data: Likewise.
31608 * conform/data/limits.h-data: Likewise.
31609 * conform/data/locale.h-data: Likewise.
31610 * conform/data/math.h-data: Likewise.
31611 * conform/data/monetary.h-data: Likewise.
31612 * conform/data/mqueue.h-data: Likewise.
31613 * conform/data/ndbm.h-data: Likewise.
31614 * conform/data/net/if.h-data: Likewise.
31615 * conform/data/netdb.h-data: Likewise.
31616 * conform/data/netinet/in.h-data: Likewise.
31617 * conform/data/nl_types.h-data: Likewise.
31618 * conform/data/poll.h-data: Likewise.
31619 * conform/data/pthread.h-data: Likewise.
31620 * conform/data/pwd.h-data: Likewise.
31621 * conform/data/regex.h-data: Likewise.
31622 * conform/data/sched.h-data: Likewise.
31623 * conform/data/search.h-data: Likewise.
31624 * conform/data/semaphore.h-data: Likewise.
31625 * conform/data/setjmp.h-data: Likewise.
31626 * conform/data/signal.h-data: Likewise.
31627 * conform/data/spawn.h-data: Likewise.
31628 * conform/data/stdarg.h-data: Likewise.
31629 * conform/data/stdio.h-data: Likewise.
31630 * conform/data/stdlib.h-data: Likewise.
31631 * conform/data/string.h-data: Likewise.
31632 * conform/data/strings.h-data: Likewise.
31633 * conform/data/stropts.h-data: Likewise.
31634 * conform/data/sys/ipc.h-data: Likewise.
31635 * conform/data/sys/mman.h-data: Likewise.
31636 * conform/data/sys/msg.h-data: Likewise.
31637 * conform/data/sys/resource.h-data: Likewise.
31638 * conform/data/sys/select.h-data: Likewise.
31639 * conform/data/sys/sem.h-data: Likewise.
31640 * conform/data/sys/shm.h-data: Likewise.
31641 * conform/data/sys/socket.h-data: Likewise.
31642 * conform/data/sys/stat.h-data: Likewise.
31643 * conform/data/sys/statvfs.h-data: Likewise.
31644 * conform/data/sys/time.h-data: Likewise.
31645 * conform/data/sys/timeb.h-data: Likewise.
31646 * conform/data/sys/times.h-data: Likewise.
31647 * conform/data/sys/types.h-data: Likewise.
31648 * conform/data/sys/uio.h-data: Likewise.
31649 * conform/data/sys/un.h-data: Likewise.
31650 * conform/data/sys/utsname.h-data: Likewise.
31651 * conform/data/sys/wait.h-data: Likewise.
31652 * conform/data/syslog.h-data: Likewise.
31653 * conform/data/tar.h-data: Likewise.
31654 * conform/data/termios.h-data: Likewise.
31655 * conform/data/utime.h-data: Likewise.
31656 * conform/data/utmpx.h-data: Likewise.
31657 * conform/data/varargs.h-data: Likewise.
31658 * conform/data/wchar.h-data: Likewise.
31659 * conform/data/wctype.h-data: Likewise.
31660 * conform/data/wordexp.h-data: Likewise.
31661
31662 * include/stropts.h: New file.
31663 * include/uchar.h: New file.
31664 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31665 * include/assert.h: Likewise.
31666 * include/ctype.h: Likewise.
31667 * include/dirent.h: Likewise.
31668 * include/dlfcn.h: Likewise.
31669 * include/fcntl.h: Likewise.
31670 * include/fnmatch.h: Likewise.
31671 * include/glob.h: Likewise.
31672 * include/grp.h: Likewise.
31673 * include/libio.h: Likewise.
31674 * include/locale.h: Likewise.
31675 * include/math.h: Likewise.
31676 * include/net/if.h: Likewise.
31677 * include/netdb.h: Likewise.
31678 * include/netinet/in.h: Likewise.
31679 * include/pthread.h: Likewise.
31680 * include/pwd.h: Likewise.
31681 * include/regex.h: Likewise.
31682 * include/sched.h: Likewise.
31683 * include/search.h: Likewise.
31684 * include/setjmp.h: Likewise.
31685 * include/signal.h: Likewise.
31686 * include/stdio.h: Likewise.
31687 * include/stdlib.h: Likewise.
31688 * include/string.h: Likewise.
31689 * include/sys/cdefs.h: Likewise.
31690 * include/sys/mman.h: Likewise.
31691 * include/sys/msg.h: Likewise.
31692 * include/sys/resource.h: Likewise.
31693 * include/sys/select.h: Likewise.
31694 * include/sys/socket.h: Likewise.
31695 * include/sys/stat.h: Likewise.
31696 * include/sys/statvfs.h: Likewise.
31697 * include/sys/time.h: Likewise.
31698 * include/sys/times.h: Likewise.
31699 * include/sys/uio.h: Likewise.
31700 * include/sys/utsname.h: Likewise.
31701 * include/sys/wait.h: Likewise.
31702 * include/termios.h: Likewise.
31703 * include/time.h: Likewise.
31704 * include/ulimit.h: Likewise.
31705 * include/unistd.h: Likewise.
31706 * include/utime.h: Likewise.
31707 * include/wchar.h: Likewise.
31708 * include/wctype.h: Likewise.
31709 * include/wordexp.h: Likewise.
31710
31711 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31712
7a270350
UD
31713 * time/time.h: TIME_UTC must be a macro.
31714 Make timespec_get available for ISO C11 only as well.
31715
7724defc
UD
317162012-02-24 Ulrich Drepper <drepper@gmail.com>
31717
31718 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31719 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31720
6b1d1d46
JM
317212012-02-24 Joseph Myers <joseph@codesourcery.com>
31722
31723 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31724
0f8bbd69
JM
317252012-02-24 Joseph Myers <joseph@codesourcery.com>
31726
31727 * manual/texinfo.tex: Update to version 2012-01-19.16.
31728
66ab80bc
JM
317292012-02-24 Joseph Myers <joseph@codesourcery.com>
31730
31731 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31732
74981cc5
RM
317332012-02-24 Roland McGrath <roland@hack.frob.com>
31734
ee968201
RM
31735 [BZ #13738]
31736 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31737 * manual/fdl-1.3.texi: New file.
31738 * manual/fdl-1.1.texi: File removed.
31739
74981cc5
RM
31740 [BZ #13738]
31741 * manual/libc.texinfo (FDL_VERSION): New @set.
31742 Use it for mention of FDL in cover text.
31743 (Documentation License): Use it in @include file name.
31744
7bb764bc
JM
317452012-02-22 Joseph Myers <joseph@codesourcery.com>
31746 Roland McGrath <roland@hack.frob.com>
31747
31748 [BZ #5461]
31749 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31750 not LONG_LONG_MAX and LONG_LONG_MIN.
31751 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31752 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31753 name.
31754 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31755
6cbeae47
JM
317562012-02-22 Joseph Myers <joseph@codesourcery.com>
31757
31758 [BZ #2547]
31759 [BZ #11365]
31760 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31761 manipulate bits before adding and subtracting TWO23[sx].
31762 * math/libm-test.inc (nearbyint_test): Add more tests.
31763
fe45ce09
JM
317642012-02-22 Joseph Myers <joseph@codesourcery.com>
31765
31766 [BZ #2548]
31767 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31768 bits before adding and subtracting TWO23[sx].
31769 * math/libm-test.inc (rint_test): Add more tests.
31770 (rint_test_tonearest): Likewise.
31771 (rint_test_towardzero): Likewise.
31772 (rint_test_downward): Likewise.
31773 (rint_test_upward: Likewise.
31774
ff3b3d82
JM
317752012-02-22 Joseph Myers <joseph@codesourcery.com>
31776
31777 [BZ #10110]
31778 * include/stdc-predef.h: New file. Extracted from features.h.
31779 * include/features.h: Include stdc-predef.h.
31780 * Makefile (headers): Add stdc-predef.h.
31781 * CONFORMANCE (Compiler limitations): Update.
31782
ef0aab35
JM
317832012-02-22 Joseph Myers <joseph@codesourcery.com>
31784
31785 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31786
58639409
DM
317872012-02-21 David S. Miller <davem@davemloft.net>
31788
31789 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31791
c0e70b25
DM
317922012-02-20 David S. Miller <davem@davemloft.net>
31793
31794 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31795 using a normal save/restore sequence, rather than allocating a
31796 dummy stack frame just to store a frame pointer and restore.
31797 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31798
fb06851d
JM
317992012-02-21 Joseph Myers <joseph@codesourcery.com>
31800
31801 * manual/install.texi: Fix stray word in line-wrapped comment.
31802
7a8b71c3
DM
318032012-02-20 David S. Miller <davem@davemloft.net>
31804
d510c123
DM
31805 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31806 both binutils and gcc support GOTDATA.
31807
0722d7c2
DM
31808 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31809 "rd %pc" in the PIC register setup sequences.
31810
3d2b3019
DM
31811 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31812 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31813 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31814 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31815 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31820 (SYSCALL_ERROR_HANDLER): Likewise.
31821 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31822 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31824 (SYSCALL_ERROR_HANDLER): Likewise.
31825
c80098a9
DM
31826 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31827 (HAVE_GCC_GOTDATA): New.
31828 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31829 relocation support in both binutils and gcc.
31830 * sysdeps/sparc/elf/configure: Regenerate.
31831
3a2545a0
DM
31832 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31833 * sysdeps/sparc/sparc32/elf/configure: Delete.
31834 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31835 * sysdeps/sparc/sparc64/elf/configure: Delete.
31836 * sysdeps/sparc/elf/configure.in: New file.
31837 * sysdeps/sparc/elf/configure: Generate.
31838
7a8b71c3
DM
31839 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31840 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31841 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31842 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31843 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31844
f1e86fca
JM
318452012-02-21 Joseph Myers <joseph@codesourcery.com>
31846
31847 * manual/install.texi: Do not mention specific glibc version
31848 numbers.
31849 * manual/libc.texinfo (VERSION, UPDATED): Update.
31850 (@copying): Use @copyright{} and range of years.
31851
0e7dfaef
JM
318522012-02-21 Joseph Myers <joseph@codesourcery.com>
31853
31854 [BZ #13695]
31855 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31856 [crti.S not in sysdirs] (generated): Do not append.
31857 [crti.S not in sysdirs] (omit-deps): Likewise.
31858 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31859 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31860 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31861 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31862 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31863 Likewise.
31864 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31865 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31866 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31867 * csu/defs.awk: Remove file.
31868 * sysdeps/generic/initfini.c: Likewise.
31869 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31870 variable.
31871 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31872 Likewise.
31873
599af3ca
JM
318742012-02-20 Joseph Myers <joseph@codesourcery.com>
31875
31876 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31877 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31878 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31879 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31881 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31882 <bits/epoll.h>.
31883 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31884 (__EPOLL_PACKED): Define to empty if not defined by
31885 <bits/epoll.h>.
31886 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31888 bits/epoll.h.
31889
0e499750
JM
318902012-02-20 Joseph Myers <joseph@codesourcery.com>
31891
31892 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31893 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31894 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31895 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31896 <bits/timerfd.h>.
31897 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31899 bits/timerfd.h.
31900
5ad91f6e
JM
319012012-02-20 Joseph Myers <joseph@codesourcery.com>
31902
31903 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31904 in C locale.
31905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31906 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31909
06b99b02
AJ
319102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31911
31912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31913 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31914
7638c0fd
AS
319152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31916
31917 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31918 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31919 defined.
31920 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31921 Likewise.
31922 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31923 entry for 2.16.
31924
92221550
AJ
319252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31926
31927 * math/w_acos.c: Use non-signaling floating-point comparisons.
31928 * math/w_acosf.c: Likewise.
31929 * math/w_acosh.c: Likewise.
31930 * math/w_acoshf.c: Likewise.
31931 * math/w_acoshl.c: Likewise.
31932 * math/w_acosl.c: Likewise.
31933 * math/w_asin.c: Likewise.
31934 * math/w_asinf.c: Likewise.
31935 * math/w_asinl.c: Likewise.
31936 * math/w_atanh.c: Likewise.
31937 * math/w_atanhf.c: Likewise.
31938 * math/w_atanhl.c: Likewise.
31939 * math/w_exp2.c: Likewise.
31940 * math/w_exp2f.c: Likewise.
31941 * math/w_exp2l.c: Likewise.
31942 * math/w_j0.c: Likewise.
31943 * math/w_j0f.c: Likewise.
31944 * math/w_j0l.c: Likewise.
31945 * math/w_j1.c: Likewise.
31946 * math/w_j1f.c: Likewise.
31947 * math/w_j1l.c: Likewise.
31948 * math/w_jn.c: Likewise.
31949 * math/w_jnf.c: Likewise.
31950 * math/w_log.c: Likewise.
31951 * math/w_log10.c: Likewise.
31952 * math/w_log10f.c: Likewise.
31953 * math/w_log10l.c: Likewise.
31954 * math/w_log2.c: Likewise.
31955 * math/w_log2f.c: Likewise.
31956 * math/w_log2l.c: Likewise.
31957 * math/w_logf.c: Likewise.
31958 * math/w_logl.c: Likewise.
31959 * math/w_sqrt.c: Likewise.
31960 * math/w_sqrtf.c: Likewise.
31961 * math/w_sqrtl.c: Likewise.
31962 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31963 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31964 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31965 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31966 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31967
ebaf36eb
JM
319682012-02-19 Joseph Myers <joseph@codesourcery.com>
31969
31970 [BZ #9739]
31971 * manual/string.texi (strnlen): Use correct parameter name in
31972 equivalent expression.
31973
71c254a6
JM
319742012-02-19 Joseph Myers <joseph@codesourcery.com>
31975
31976 [BZ #11174]
31977 * manual/users.texi (seteuid): Consistently use neweuid for
31978 argument name.
31979
16d2c631
JM
319802012-02-19 Joseph Myers <joseph@codesourcery.com>
31981
31982 [BZ #13704]
31983 * manual/nss.texi (Services in the NSS configuration): Correct
31984 list of services in example configuration file.
31985
cd837b09
NB
319862012-02-19 Nick Bowler <nbowler@draconx.ca>
31987
31988 [BZ #11322]
31989 * manual/arith.texi: Remove statements about negative zero
31990 behaving identically to zero.
31991
02c4bbad
JM
319922012-02-18 Joseph Myers <joseph@codesourcery.com>
31993
31994 [BZ #5993]
31995 * manual/install.texi: Do not document upgrading from libc5.
31996
366842e7
JM
319972012-02-18 Joseph Myers <joseph@codesourcery.com>
31998
31999 [BZ #4596]
32000 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32001
dd54084d
DM
320022012-02-18 David S. Miller <davem@davemloft.net>
32003
32004 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32005 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32006 %o7 across the call.
32007 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32008 instead.
32009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32010 SETUP_PIC_REG_LEAF.
32011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32012 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32013 * sysdeps/sparc/crtn.S: Likewise.
32014
2bcc53a3
UD
320152012-02-17 Ulrich Drepper <drepper@gmail.com>
32016
32017 * aout/Makefile: Remove.
32018
09c093b5
RK
320192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32020
32021 [BZ #13058]
32022 * manual/examples/argp-ex1.c (main): Format definition in GNU
32023 style.
32024 * manual/examples/argp-ex2.c (main): Likewise.
32025 * manual/examples/argp-ex3.c (main): Likewise.
32026 * manual/examples/argp-ex4.c (main): Likewise.
32027 * manual/examples/longopt.c (main): Use new-style prototype
32028 definition.
32029 * manual/examples/strncat.c (main): Specify return type and use
32030 (void) for arguments.
32031 * manual/examples/subopt.c (main): Use char **argv argument.
32032
2ee633a2
JM
320332012-02-17 Joseph Myers <joseph@codesourcery.com>
32034
32035 [BZ #5077]
32036 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32037 rounding modes.
32038
0520adde
FB
320392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32040
32041 [BZ #6907]
32042 * manual/string.texi (strchr): Change when strchrnul is
32043 recommended.
32044
3f4081cd
DGM
320452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32046
32047 [BZ #174]
32048 * manual/locale.texi (setlocale): Document LOCPATH.
32049
d1b10e78
JM
320502012-02-17 Joseph Myers <joseph@codesourcery.com>
32051
32052 [BZ #10210]
32053 * manual/process.texi (execle): Move @dots{} before last argument.
32054
79c6869c
PB
320552012-02-17 Paul Bolle <pebolle@tiscali.nl>
32056
32057 [BZ #12047]
32058 * manual/charset.texi (Generic Charset Conversion): Fix typo
32059 (LC_TYPE -> LC_CTYPE).
32060
cc6e48bc
NB
320612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32062
32063 [BZ #5805]
32064 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32065 (scalbnf): Likewise.
32066 (scalbnl): Likewise.
32067 (scalbln): Likewise.
32068 (scalblnf): Likewise.
32069 (scalblnl): Likewise.
32070 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32071 (vwarnx): Likewise.
32072 (verr): Likewise.
32073 (verrx): Likewise.
32074 * manual/filesys.texi (telldir): Use braces around return type.
32075 * manual/llio.texi (mmap): Add space after comma.
32076 (mmap64): Likewise.
32077 * manual/math.texi (jn): Use @var{} on parameter names.
32078 (jnf): Likewise.
32079 (jnl): Likewise.
32080 (yn): Likewise.
32081 (ynf): Likewise.
32082 (ynl): Likewise.
32083 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32084 line.
32085 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32086 "...".
32087 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32088 (sched_get_priority_max): Likewise.
32089 * manual/signal.texi (sigvec): Add space after comma.
32090 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32091 names.
32092 (if_indextoname): Likewise.
32093 (if_freenameindex): Likewise.
32094 (sendto): Use ',' instead of '.' in prototype.
32095 * manual/startup.texi (syscall): Use @dots{} instead of literal
32096 "...".
32097 * manual/stdio.texi (__fpending): Separate initial words of
32098 paragraph from @deftypefun line.
32099 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32100 "...".
32101 (vsyslog): Use @var{} on parameter names.
32102 * manual/terminal.texi (stty): Use @var{} on parameter names.
32103 * manual/users.texi (getutmp): Use @var{} on parameter names.
32104 (getutmpx): Likewise.
32105
5b23062f
JM
321062012-02-17 Joseph Myers <joseph@codesourcery.com>
32107
32108 [BZ #6884]
32109 * manual/stdio.texi (fopen): Fix typos in description of
32110 ",ccs=STRING".
32111
8dee4833
AJ
321122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32113
32114 [BZ #4026]
32115 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32116 get clock_id definition.
32117
9078ce93
TS
321182012-02-17 Thomas Schwinge <thomas@schwinge.name>
32119
32120 [BZ #4822]
32121 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32122 (madvise): Cast every argument to void on its own.
32123
3835c55f
JM
321242012-02-17 Joseph Myers <joseph@codesourcery.com>
32125
32126 [BZ #9902]
32127 * manual/startup.texi (Exit Status): Fix typo.
32128
35c47e37
JM
321292012-02-17 Joseph Myers <joseph@codesourcery.com>
32130
32131 [BZ #10140]
32132 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32133 * manual/examples/argp-ex2.c: Likewise.
32134 * manual/examples/argp-ex3.c: Likewise.
32135
e3b69ca7
RH
321362012-02-16 Richard Henderson <rth@redhat.com>
32137
32138 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32139 * sysdeps/s390/s390-32/initfini.c: Remove.
32140 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32141 * sysdeps/s390/s390-64/initfini.c: Remove.
32142
df83af67
KK
321432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32144
32145 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32146 compiler output for sysdeps/generic/initfini.c.
32147 * sysdeps/sh/elf/initfini.c: Remove file.
32148
f63f3380
DM
321492012-02-16 David S. Miller <davem@davemloft.net>
32150
fb59b3a4
DM
32151 [BZ #11494]
32152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32153
f63f3380
DM
32154 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32155 * sysdeps/sparc/crti.S: New file.
32156 * sysdeps/sparc/crtn.S: New file.
32157 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32158 * sysdeps/sparc/sparc64/Makefile: Likewise.
32159
df6a4a4a
MF
321602012-02-15 Mike Frysinger <vapier@gentoo.org>
32161
6dd8f3dc 32162 [BZ #3335]
df6a4a4a
MF
32163 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32164
1cac7236
RM
321652012-02-15 Roland McGrath <roland@hack.frob.com>
32166
d2c736f8
RM
32167 [BZ #4822]
32168 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32169
1cac7236
RM
32170 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32171 (write, read, close): Likewise.
32172 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32173
8e475601
JM
321742012-02-15 Joseph Myers <joseph@codesourcery.com>
32175
32176 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32177 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32178 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32179 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32180 <bits/signalfd.h>.
32181 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32183 bits/signalfd.h.
32184
ed656b40
MP
321852012-02-14 Marek Polacek <polacek@redhat.com>
32186
32187 * sysdeps/x86_64/crti.S: New file.
32188 * sysdeps/x86_64/crtn.S: New file.
32189 * sysdeps/x86_64/elf/initfini.c: Remove file.
32190
2a979d3a
JM
321912012-02-13 Joseph Myers <joseph@codesourcery.com>
32192
32193 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32194 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32195 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32196 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32197 <bits/inotify.h>.
32198 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32200 bits/inotify.h.
32201
2a418ac3
JM
322022012-02-13 Joseph Myers <joseph@codesourcery.com>
32203
32204 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32205 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32206 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32207 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32208 <bits/eventfd.h>.
32209 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32211 bits/eventfd.h.
32212
fb779be7
TS
322132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32214
e19e83c5
RM
32215 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32216 __feraiseexcept instead of feraiseexcept.
7c35ffed 32217
fb779be7
TS
32218 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32219 nanosleep invocations.
32220 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32221 strings, and add error checking for a nanosleep invocations.
32222
59ba27a6
PE
322232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32224
32225 Replace FSF snail mail address with URLs, as per GNU coding standards.
32226 Most of the snail mail addresses were wrong anyway, and omitting
32227 them makes the source code easier to maintain. Almost all of the
32228 changes are to license notices and to locale LC_IDENTIFICATION
32229 addresses, except for this one:
32230 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32231 not its snail mail address.
32232
57b957eb
RH
322332012-02-09 Richard Henderson <rth@twiddle.net>
32234
af850b1c
RH
32235 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32236 of kernel-features.h.
32237
57b957eb
RH
32238 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32239
6b73181a
MP
322402012-02-08 Marek Polacek <polacek@redhat.com>
32241
32242 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32243 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32244 * sysdeps/gnu/_G_config.h: Likewise.
32245 * sysdeps/generic/_G_config.h: Likewise.
32246
26ecc33a
AS
322472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32248
6c6dbc63
AS
32249 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32250 tests.
32251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32252
e216c012
AS
32253 * sysdeps/powerpc/powerpc32/crti.S: New file.
32254 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32255 * sysdeps/powerpc/powerpc64/crti.S: New file.
32256 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32257
26ecc33a
AS
32258 * Makeconfig (have-initfini): Don't set.
32259 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32260 * configure.in (nopic_initfini): Don't substitute.
32261 * config.h.in (HAVE_INITFINI): Don't #undef.
32262 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32263 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32264
3add8e13
JM
322652012-02-08 Joseph Myers <joseph@codesourcery.com>
32266
32267 Support crti.S and crtn.S provided directly by architectures.
32268 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32269 [crti.S in sysdirs] (omit-deps): Likewise.
32270 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32271 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32272 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32273 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32274 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32275 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32276 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32277 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32278 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32279 compiler output for sysdeps/generic/initfini.c.
32280 * sysdeps/i386/elf/Makefile: Remove file.
32281 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32282
a22f12b4
MP
322832012-02-07 Marek Polacek <polacek@redhat.com>
32284
32285 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32286 * sysdeps/gnu/_G_config.h: Likewise.
32287 * sysdeps/mach/hurd/_G_config.h: Likewise.
32288
148cf100
MP
322892012-02-07 Marek Polacek <polacek@redhat.com>
32290
32291 * math/Makefile (tests): Add tst-CMPLX2.
32292 * math/tst-CMPLX2.c: New file.
32293
cfdc0dd7
AS
322942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32295
84ba42c4
AS
32296 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32297
cfdc0dd7
AS
32298 * math/libm-test.inc (jn_test): Add missing L suffix.
32299
622c86f4
MP
323002012-02-06 Marek Polacek <polacek@redhat.com>
32301
32302 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32303 * sysdeps/i386/fpu/e_powf.S: Likewise.
32304 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32305 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32306 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32307 * sysdeps/i386/fpu/e_pow.S: Likewise.
32308 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32309 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32310 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32311 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32312 * sysdeps/i386/fpu/e_log2.S: Likewise.
32313 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32314 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32315 * sysdeps/i386/fpu/e_powl.S: Likewise.
32316 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32317 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32318 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32319 * sysdeps/i386/fpu/e_logl.S: Likewise.
32320 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32321 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32322 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32323 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32324 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32326 * sysdeps/i386/fpu/e_log.S: Likewise.
32327 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32328 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32329 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32330 * sysdeps/i386/fpu/e_logf.S: Likewise.
32331 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32332 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32333 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32334 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32335 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32336 * sysdeps/i386/fpu/e_log10.S: Likewise.
32337 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32338 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32339 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32340 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32341 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32342 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32343 * sysdeps/i386/asm-syntax.h: Likewise.
32344 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32347 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32348 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32349 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32350 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32351 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32353 * sysdeps/powerpc/sysdep.h: Likewise.
32354 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32355 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32356
d4a54ac6
JM
323572012-02-06 Joseph Myers <joseph@codesourcery.com>
32358
32359 [BZ #411]
32360 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32361
314054ea
JM
323622012-02-06 Joseph Myers <joseph@codesourcery.com>
32363
32364 * sysdeps/i386/sysdep.h: Include <features.h>.
32365 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32366 version.
32367
d8e0ca50
JM
323682012-02-05 Joseph Myers <joseph@codesourcery.com>
32369
32370 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32371 Define.
32372 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32373 LOAD_PIC_REG_STR.
32374
b1da7dd9
JM
323752012-02-03 Joseph Myers <joseph@codesourcery.com>
32376
32377 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32378 (SETUP_PIC_REG): Use GET_PC_THUNK.
32379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32380 macro.
32381
9a1d9254
JM
323822012-02-03 Joseph Myers <joseph@codesourcery.com>
32383
32384 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32385 for non-PIC compilation.
32386 (SETUP_PIC_REG): Add .p2align directive.
32387 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32388 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32389 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32390 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32391 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32392 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32393 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32395 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32397 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32402 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32403 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32405 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32406 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32407 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32409 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32410 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32411 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32415 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32416 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32417 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32418 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32419 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32420 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32421 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32422 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32423 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32424 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32425 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32426 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32427 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32428
65dc3b75
JM
324292012-02-03 Joseph Myers <joseph@codesourcery.com>
32430
32431 * math/tst-CMPLX.c: Include <stdio.h>.
32432
d55bf177
JM
324332012-01-31 Joseph Myers <joseph@codesourcery.com>
32434
32435 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32436 float.
32437 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32438 * sysdeps/sparc/bits/mathdef.h: Likewise.
32439
69db4f8f
MP
324402012-01-31 Marek Polacek <polacek@redhat.com>
32441
32442 * libio/libio.h: Don't define _PARAMS.
32443 * locale/programs/config.h: Don't define PARAMS.
32444 * stdlib/strtol_l.c: Likewise.
32445 (__strtol_l): Remove PARAMS from the prototype.
32446
41b81892
UD
324472012-01-31 Ulrich Drepper <drepper@gmail.com>
32448
3b49edc0
UD
32449 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32450 names. Just use the correct names. Remove unnecessary wrapper
32451 functions.
32452 * malloc/arena.c: Likewise.
32453 * malloc/hooks.c: Likewise.
32454
41b81892
UD
32455 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32456 ARENA_TEST says not to. Simplify test for creation of a new arena.
32457 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32458
27a25b6e
UD
324592012-01-30 Ulrich Drepper <drepper@gmail.com>
32460
32461 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32462 into tail calls.
32463 (update_get_addr): New function.
32464 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32465 GET_ADDR_MODULE parameter.
32466
c8a89e7d
JM
324672012-01-30 Joseph Myers <joseph@codesourcery.com>
32468
32469 * crypt/cert.c: Remove __STDC__ conditionals.
32470 * crypt/crypt-entry.c: Likewise.
32471 * crypt/crypt_util.c: Likewise.
32472 * libio/filedoalloc.c: Likewise.
32473 * libio/fileops.c: Likewise.
32474 * libio/genops.c: Likewise.
32475 * libio/iofclose.c: Likewise.
32476 * libio/iofdopen.c: Likewise.
32477 * libio/iofopen.c: Likewise.
32478 * libio/iofopen64.c: Likewise.
32479 * libio/iogetdelim.c: Likewise.
32480 * libio/iopopen.c: Likewise.
32481 * libio/obprintf.c: Likewise.
32482 * libio/oldfileops.c: Likewise.
32483 * libio/oldiofclose.c: Likewise.
32484 * libio/oldiofdopen.c: Likewise.
32485 * libio/oldiofopen.c: Likewise.
32486 * libio/oldiopopen.c: Likewise.
32487 * libio/wfiledoalloc.c: Likewise.
32488 * libio/wgenops.c: Likewise.
32489 * locale/programs/xmalloc.c: Likewise.
32490 * misc/syslog.c: Likewise.
32491 * stdio-common/xbug.c: Likewise.
32492 * string/memchr.c: Likewise.
32493 * string/memcmp.c: Likewise.
32494 * string/memrchr.c: Likewise.
32495 * string/rawmemchr.c: Likewise.
32496 * sysdeps/posix/getcwd.c: Likewise.
32497 * time/strftime_l.c: Likewise.
32498
3b100462
JM
324992012-01-30 Joseph Myers <joseph@codesourcery.com>
32500
32501 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32502 * config.make.in (config-cflags-sse2avx): Define.
32503 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32504 Fix typo.
32505
607998af
CM
325062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32507
32508 * scripts/config.guess: Update from upstream config git repository.
32509 * scripts/config.sub: Likewise.
32510
3601428f
CM
325112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32512
3ac8b282
CM
32513 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32514 (EM_NUM): Update.
32515 (R_TILEPRO_*, R_TILEGX_*): New macros.
32516
e034841e
CM
32517 * scripts/firstversions.awk: Fix bug in version range handling.
32518
540d7568
CM
32519 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32520
3601428f
CM
32521 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32522
463de862
CM
32523 * include/sys/epoll.h: New file.
32524 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32525 libc_hidden_def.
32526
73139a76
UD
325272012-01-28 Ulrich Drepper <drepper@gmail.com>
32528
96bc5b45
UD
32529 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32530 Avoid unnecessary __WORDSIZE == 64 test.
32531 (fmaxf): Use VEX format if possible.
32532 (fmax): Likewise.
32533 (fminf): Likewise.
32534 (fmin): Likewise.
32535
56f6f6a2
UD
32536 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32537 * math/math_private.h: Remove libc_fegetround* and
32538 libc_fesetround*.
32539 * sysdeps/i386/configure.in: Check for -msse2avx.
32540 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32541 also if SSE2AVX is defined.
32542 Remove libc_fegetround* and libc_fesetround*.
32543 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32544 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32546 of HAS_YMM_USABLE.
32547 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32548 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32549 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32551 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32552
73139a76
UD
32553 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32554
d73f93a4
AZ
325552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32556
32557 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32558 size is not set.
32559 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32560
6ee65ed6
UD
325612012-01-27 Ulrich Drepper <drepper@gmail.com>
32562
32563 [BZ #13618]
32564 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32565 relocation.
32566 * Makeconfig (libm): Define.
32567 * elf/Makefile: Add rules to build and run tst-relsort1.
32568 * elf/tst-relsort1.c: New file.
32569 * elf/tst-relsort1mod1.c: New file.
32570 * elf/tst-relsort1mod2.c: New file.
32571
8db21882
JM
325722012-01-27 Joseph Myers <joseph@codesourcery.com>
32573
32574 * math/s_ldexp.c: Remove __STDC__ conditionals.
32575 * math/s_ldexpf.c: Likewise.
32576 * math/s_ldexpl.c: Likewise.
32577 * math/s_nextafter.c: Likewise.
32578 * math/s_nexttowardf.c: Likewise.
32579 * math/s_significand.c: Likewise.
32580 * math/s_significandf.c: Likewise.
32581 * math/s_significandl.c: Likewise.
32582 * math/w_jnl.c: Likewise.
32583 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32584 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32585 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32586 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32587 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32589 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32592 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32602 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32603 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32604 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32613 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32614 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32615 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32616 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32617 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32618 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32619 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32623 * sysdeps/ieee754/k_standard.c: Likewise.
32624 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32625 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32628 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32629 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32632 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32633 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32634 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32636 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32638 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32640 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32644 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32647 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32649 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32653 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32654 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32655 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32656 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32659 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32660 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32666 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32668 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32670 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32671 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32673 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32674 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32675 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32676 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32677 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32678 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32679 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32680 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32682 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32683 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32684 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32685 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32686 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32688 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32689 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32690 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32691 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32693 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32694 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32698 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32699 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32700 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32701 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32703 * sysdeps/ieee754/s_matherr.c: Likewise.
32704 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32705 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32708
965a54a4
JM
327092012-01-26 Joseph Myers <joseph@codesourcery.com>
32710
32711 * crypt/md5.h: Remove __STDC__ conditionals.
32712 * libio/libioP.h: Likewise.
32713 * locale/programs/config.h: Likewise.
32714 * sysdeps/generic/sysdep.h: Likewise.
32715 * sysdeps/i386/asm-syntax.h: Likewise.
32716 * sysdeps/s390/asm-syntax.h: Likewise.
32717 * sysdeps/unix/sysdep.h: Likewise.
32718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32720
7071ad79
JM
327212012-01-26 Joseph Myers <joseph@codesourcery.com>
32722
32723 * libio/libio.h: Remove __STDC__ conditionals.
32724 * malloc/obstack.h: Likewise.
32725 * math/complex.h: Likewise.
32726 * math/math.h: Likewise.
32727 * sysdeps/generic/_G_config.h: Likewise.
32728 * sysdeps/gnu/_G_config.h: Likewise.
32729 * sysdeps/mach/hurd/_G_config.h: Likewise.
32730 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32731 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32732 * sysdeps/sparc/bits/mathdef.h: Likewise.
32733
afc5ed09
UD
327342012-01-26 Ulrich Drepper <drepper@gmail.com>
32735
32736 [BZ #13583]
32737 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32738 Clean up HAS_* macros.
afc5ed09 32739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32740 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32741 possible.
32742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32743 HAS_AVX.
32744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32745 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32749
bdb6de1d
JM
327502012-01-25 Joseph Myers <joseph@codesourcery.com>
32751
32752 * elf/tst-unique3.cc (gets): Remove declaration.
32753 * elf/tst-unique3lib.cc (gets): Likewise.
32754 * elf/tst-unique3lib2.cc (gets): Likewise.
32755 * elf/tst-unique4.cc (gets): Likewise.
32756
b15549e6
UD
327572012-01-24 Ulrich Drepper <drepper@gmail.com>
32758
32759 * include/stdio.h: Add C++ protection. Add gets declarations and
32760 definitions.
32761 * debug/tst-chk1.c: Don't declare gets here.
32762 * stdio-common/tst-gets.c: Likewise.
32763
a037381f
JM
327642012-01-24 Joseph Myers <joseph@codesourcery.com>
32765
32766 * posix/glob: Remove directory.
32767
f1d4aa75
JM
327682012-01-24 Joseph Myers <joseph@codesourcery.com>
32769
32770 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32771
81c0c964
PT
327722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32773
32774 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32775 of the non-standard EPFNOSUPPORT.
32776
0ea698ae
ST
327772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32778
32779 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32780 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32781 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32782
d220b117
UD
327832012-01-21 Ulrich Drepper <drepper@gmail.com>
32784
32785 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32786
3e1aa84e
UD
327872012-01-20 Ulrich Drepper <drepper@gmail.com>
32788
32789 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32790 transient errors.
32791 * nscd/grpcache.c (cache_addgr): Likewise.
32792 * nscd/hstcache.c (cache_addhst): Likewise.
32793 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32794 * nscd/pwdcache.c (cache_addpw): Likewise.
32795 * nscd/servicescache.c (cache_addserv): Likewise.
32796
400aa020
UD
327972012-01-16 Ulrich Drepper <drepper@gmail.com>
32798
d77e7869
UD
32799 * malloc/malloc.c: Various cleanups.
32800 * malloc/hooks.c: Likewise.
32801
400aa020
UD
32802 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32803 * stdlib/bug-fmtmsg1.c: New file.
32804
32805 * stdlib/fmtmsg.c (init): Add missing unlock.
32806 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32807
e0a309cf
MP
328082012-01-12 Marek Polacek <polacek@redhat.com>
32809
32810 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32811 and _GNU_SOURCE.
32812
929d11c7
WS
328132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32814
32815 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32816 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32817 macro to ensure uniqueness of label name.
32818 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32819 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32820
41d0e869
UD
328212012-01-11 Ulrich Drepper <drepper@gmail.com>
32822
0cc5ed3b
UD
32823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32824
41d0e869
UD
32825 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32826 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32829
a47a831a
UD
328302012-01-10 Ulrich Drepper <drepper@gmail.com>
32831
daa891c0
UD
32832 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32833
32834 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32835 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32836 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32837
e58ef0f2
UD
32838 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32839
a47a831a 32840 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32841 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32844
32845 * math/bits/math-finite.h: Add ldexp support.
32846
a0bfc9c7
MP
328472012-01-10 Marek Polacek <polacek@redhat.com>
32848
32849 * locale/programs/localedef.h (show_archive_content): Add noreturn
32850 attribute.
32851
d6e97a1d
UD
328522012-01-09 Ulrich Drepper <drepper@gmail.com>
32853
32854 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32855
d5835c26
UD
328562012-01-08 Ulrich Drepper <drepper@gmail.com>
32857
e5f484c6
UD
32858 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32859
d5835c26
UD
32860 * io/Makefile (headers): Add bits/poll2.h.
32861
d1f741e9
WS
328622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32863
32864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32865 typo #include statement.
32866
ec09c1c4
UD
328672012-01-08 Ulrich Drepper <drepper@gmail.com>
32868
32869 * include/sys/cdefs.h: Define __attribute_alloc_size.
32870 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32871 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32872 * elf/pldd.c: Likewise.
32873 * iconv/iconv_charmap.c: Likewise.
32874 * iconv/iconvconfig.c: Likewise.
32875 * iconv/strtab.c: Likewise.
32876 * locale/programs/locale.c: Likewise.
32877 * locale/programs/localedef.h: Likewise.
32878 * locale/programs/simple-hash.c: Likewise.
32879 * nscd/nscd.h: Likewise.
32880 * nss/makedb.c: Likewise.
32881 * sysdeps/generic/ldconfig.h: Likewise.
32882 * locale/programs/localedef.c: Remove xmalloc prototype.
32883 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32884
20b38e03
PP
328852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32886
32887 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32888 appropriate.
32889
a0da5fe1
UD
328902012-01-08 Ulrich Drepper <drepper@gmail.com>
32891
1d5a644a 32892 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32893 * math/tst-CMPLX.c: New file.
1d5a644a 32894
8784a6db
UD
32895 * math/complex.h (CMPLXL): Fix typo.
32896
d9a216c0
UD
32897 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32898 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32899 GLIBC_2.16.
32900 * debug/tst-chk1.c: Add poll and ppoll tests.
32901 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32902 * include/sys/poll.h: Add hidden proto for ppoll.
32903 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32904 * sysdeps/mach/hurd/ppoll.c: Likewise.
32905 * io/ppoll.c: Likewise.
32906 * debug/poll_chk.c: New file.
32907 * debug/ppoll_chk.c: New file.
32908 * include/bits/poll2.h: New file.
32909 * io/bits/poll2.h: New file.
32910
ac097f5c
UD
32911 [BZ #1350]
32912 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32913
2119dcfa
UD
32914 * configure.in: static is always set to yes. Remove.
32915 * config.make.in: Don't set build-static.
32916 * Makeconfig: Remove use of build-static.
32917 * dlfcn/Makefile: Likewise.
32918 * elf/Makefile: Likewise.
32919 * math/Makefile: Likewise.
32920 * misc/Makefile: Likewise.
32921 * nptl/Makefile: Likewise.
32922 * sysdeps/mach/hurd/Makefile: Likewise.
32923
121766a9
UD
32924 * configure.in: PWD_P is not used anymore.
32925 * config.make.in: Remove PWD_P entry.
32926
51a1d39c 32927 * configure.in: Remove last remnants of RANLIB.
8720d066 32928 No need to check for signed size_t anymore.
215f4bdc
UD
32929 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32930 and IA-64.
3857022a 32931 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32932 * aclocal.m4: Likewise.
32933
d3ed7225
UD
32934 * wcsmbs/mbrtoc16.c: Implement using towc function.
32935 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32936 * wcsmbs/wcsmbsload.c: Likewise.
32937 * iconv/gconv_simple.c: Likewise.
32938 * iconv/gconv_int.h: Likewise.
32939 * iconv/gconv_builtin.h: Likewise.
32940 * iconv/iconv_prog.c: Remove CHAR16 handling.
32941
32942 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32943
32944 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32945
a0da5fe1
UD
32946 * configure.in: Remove --with-elf and --enable-bounded options.
32947 Dont set base_machine for ia64. More non-ELF conditions removed.
32948 Remove testing and setting of leading underscore information.
32949 * config.make.in (build-bounded): Set to no.
32950 * config.h.in: Remove NO_UNDERSCORES entry.
32951 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32952 them.
32953 * csu/start.c: Remove !NO_UNDERSCORE code.
32954 * locale/localeinfo.h: Likewise.
32955 * sysdeps/generic/machine-gmon.h: Likewise.
32956 * sysdeps/generic/sysdep.h: Likewise.
32957 * sysdeps/i386/sysdep.h: Likewise.
32958 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32959 * sysdeps/mach/sysdep.h: Likewise.
32960 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32962 * sysdeps/sh/sysdep.h: Likewise.
32963 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32964 * sysdeps/unix/i386/sysdep.S: Likewise.
32965 * sysdeps/unix/sparc/start.c: Likewise.
32966 * sysdeps/unix/sparc/sysdep.S: Likewise.
32967 * sysdeps/unix/sparc/sysdep.h: Likewise.
32968 * sysdeps/unix/start.c: Likewise.
32969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32970 * sysdeps/x86_64/sysdep.h: Likewise.
32971
df78418a
UD
329722012-01-07 Ulrich Drepper <drepper@gmail.com>
32973
a784e502
UD
32974 [BZ #13553]
32975 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32976 for non-gcc.
32977 * argp/argp-fmtstream.h: Use const instead __const.
32978 * argp/argp.h: Likewise.
32979 * assert/assert.h: Likewise.
32980 * bits/fenv.h: Likewise.
32981 * bits/sched.h: Likewise.
32982 * bits/sigset.h: Likewise.
32983 * bits/sigthread.h: Likewise.
32984 * catgets/nl_types.h: Likewise.
32985 * conform/data/pthread.h-data: Likewise.
32986 * crypt/crypt-private.h: Likewise.
32987 * crypt/crypt.h: Likewise.
32988 * crypt/crypt_util.c: Likewise.
32989 * ctype/ctype.h: Likewise.
32990 * debug/execinfo.h: Likewise.
32991 * debug/mbsnrtowcs_chk.c: Likewise.
32992 * debug/mbsrtowcs_chk.c: Likewise.
32993 * debug/wcsnrtombs_chk.c: Likewise.
32994 * debug/wcsrtombs_chk.c: Likewise.
32995 * debug/wcstombs_chk.c: Likewise.
32996 * dirent/dirent.h: Likewise.
32997 * dlfcn/dlfcn.h: Likewise.
32998 * elf/neededtest4.c: Likewise.
32999 * grp/grp.h: Likewise.
33000 * gshadow/gshadow.h: Likewise.
33001 * iconv/gconv.h: Likewise.
33002 * iconv/gconv_int.h: Likewise.
33003 * iconv/gconv_simple.c: Likewise.
33004 * iconv/iconv.h: Likewise.
33005 * iconv/loop.c: Likewise.
33006 * iconv/skeleton.c: Likewise.
33007 * include/aio.h: Likewise.
33008 * include/aliases.h: Likewise.
33009 * include/argz.h: Likewise.
33010 * include/arpa/inet.h: Likewise.
33011 * include/assert.h: Likewise.
33012 * include/dirent.h: Likewise.
33013 * include/dlfcn.h: Likewise.
33014 * include/execinfo.h: Likewise.
33015 * include/fcntl.h: Likewise.
33016 * include/fenv.h: Likewise.
33017 * include/glob.h: Likewise.
33018 * include/grp.h: Likewise.
33019 * include/libintl.h: Likewise.
33020 * include/mntent.h: Likewise.
33021 * include/netdb.h: Likewise.
33022 * include/pwd.h: Likewise.
33023 * include/rpc/netdb.h: Likewise.
33024 * include/sched.h: Likewise.
33025 * include/search.h: Likewise.
33026 * include/shadow.h: Likewise.
33027 * include/signal.h: Likewise.
33028 * include/stdio.h: Likewise.
33029 * include/stdlib.h: Likewise.
33030 * include/string.h: Likewise.
33031 * include/sys/socket.h: Likewise.
33032 * include/sys/stat.h: Likewise.
33033 * include/sys/statfs.h: Likewise.
33034 * include/sys/statvfs.h: Likewise.
33035 * include/sys/syslog.h: Likewise.
33036 * include/sys/time.h: Likewise.
33037 * include/sys/uio.h: Likewise.
33038 * include/time.h: Likewise.
33039 * include/unistd.h: Likewise.
33040 * include/utmp.h: Likewise.
33041 * include/wchar.h: Likewise.
33042 * include/wctype.h: Likewise.
33043 * inet/aliases.h: Likewise.
33044 * inet/arpa/inet.h: Likewise.
33045 * inet/netinet/ether.h: Likewise.
33046 * inet/netinet/in.h: Likewise.
33047 * intl/libintl.h: Likewise.
33048 * io/bits/fcntl2.h: Likewise.
33049 * io/fcntl.h: Likewise.
33050 * io/ftw.h: Likewise.
33051 * io/sys/poll.h: Likewise.
33052 * io/sys/stat.h: Likewise.
33053 * io/sys/statfs.h: Likewise.
33054 * io/sys/statvfs.h: Likewise.
33055 * io/utime.h: Likewise.
33056 * libio/bits/stdio.h: Likewise.
33057 * libio/bits/stdio2.h: Likewise.
33058 * libio/libio.h: Likewise.
33059 * libio/libioP.h: Likewise.
33060 * libio/stdio.h: Likewise.
33061 * locale/lc-ctype.c: Likewise.
33062 * locale/locale.h: Likewise.
33063 * login/utmp.h: Likewise.
33064 * malloc/arena.c: Likewise.
33065 * malloc/malloc.c: Likewise.
33066 * malloc/malloc.h: Likewise.
33067 * malloc/mcheck.c: Likewise.
33068 * malloc/mtrace.c: Likewise.
33069 * math/bits/mathcalls.h: Likewise.
33070 * math/fenv.h: Likewise.
33071 * math/math_private.h: Likewise.
33072 * misc/bits/error.h: Likewise.
33073 * misc/bits/syslog.h: Likewise.
33074 * misc/err.h: Likewise.
33075 * misc/error.h: Likewise.
33076 * misc/fstab.h: Likewise.
33077 * misc/mntent.h: Likewise.
33078 * misc/regexp.h: Likewise.
33079 * misc/search.h: Likewise.
33080 * misc/sgtty.h: Likewise.
33081 * misc/sys/mman.h: Likewise.
33082 * misc/sys/syslog.h: Likewise.
33083 * misc/sys/uio.h: Likewise.
33084 * misc/sys/xattr.h: Likewise.
33085 * misc/ttyent.h: Likewise.
33086 * nis/rpcsvc/ypclnt.h: Likewise.
33087 * nss/nss.h: Likewise.
33088 * posix/bits/unistd.h: Likewise.
33089 * posix/fnmatch.h: Likewise.
33090 * posix/glob.h: Likewise.
33091 * posix/sched.h: Likewise.
33092 * posix/spawn.h: Likewise.
33093 * posix/sys/wait.h: Likewise.
33094 * posix/unistd.h: Likewise.
33095 * posix/wordexp.h: Likewise.
33096 * pwd/pwd.h: Likewise.
33097 * resolv/netdb.h: Likewise.
33098 * resource/sys/resource.h: Likewise.
33099 * rt/aio.h: Likewise.
33100 * rt/bits/mqueue2.h: Likewise.
33101 * rt/mqueue.h: Likewise.
33102 * shadow/shadow.h: Likewise.
33103 * signal/signal.h: Likewise.
33104 * socket/send.c: Likewise.
33105 * socket/sendto.c: Likewise.
33106 * socket/sys/socket.h: Likewise.
33107 * stdio-common/printf.h: Likewise.
33108 * stdlib/bits/stdlib.h: Likewise.
33109 * stdlib/fmtmsg.h: Likewise.
33110 * stdlib/monetary.h: Likewise.
33111 * stdlib/stdlib.h: Likewise.
33112 * stdlib/ucontext.h: Likewise.
33113 * streams/stropts.h: Likewise.
33114 * string/argz.h: Likewise.
33115 * string/bits/string2.h: Likewise.
33116 * string/string.h: Likewise.
33117 * string/strings.h: Likewise.
33118 * sunrpc/rpc/auth.h: Likewise.
33119 * sunrpc/rpc/auth_des.h: Likewise.
33120 * sunrpc/rpc/clnt.h: Likewise.
33121 * sunrpc/rpc/netdb.h: Likewise.
33122 * sunrpc/rpc/pmap_clnt.h: Likewise.
33123 * sunrpc/rpc/xdr.h: Likewise.
33124 * sysdeps/generic/inttypes.h: Likewise.
33125 * sysdeps/generic/net/if.h: Likewise.
33126 * sysdeps/generic/sys/swap.h: Likewise.
33127 * sysdeps/gnu/net/if.h: Likewise.
33128 * sysdeps/gnu/utmpx.h: Likewise.
33129 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33130 * sysdeps/i386/i486/bits/string.h: Likewise.
33131 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33132 * sysdeps/s390/bits/string.h: Likewise.
33133 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33134 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33135 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33136 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33137 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33138 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33139 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33140 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33141 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33142 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33143 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33144 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33145 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33146 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33147 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33148 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33149 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33151 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33153 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33154 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33155 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33156 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33157 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33158 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33159 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33160 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33161 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33163 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33164 * sysvipc/sys/ipc.h: Likewise.
33165 * sysvipc/sys/msg.h: Likewise.
33166 * sysvipc/sys/sem.h: Likewise.
33167 * sysvipc/sys/shm.h: Likewise.
33168 * termios/termios.h: Likewise.
33169 * time/sys/time.h: Likewise.
33170 * time/time.h: Likewise.
33171 * wcsmbs/bits/wchar2.h: Likewise.
33172 * wcsmbs/uchar.h: Likewise.
33173 * wcsmbs/wchar.h: Likewise.
33174 * wctype/wctype.h: Likewise.
33175
0269750c
UD
33176 [BZ #13551]
33177 * Makeconfig: Remove all but ELF support including AIX support.
33178 * Makerules: Likewise.
33179 * config.h.in: Likewise.
33180 * config.make.in: Likewise.
33181 * configure: Likewise.
33182 * configure.in: Likewise.
33183 * csu/Makefile: Likewise.
33184 * csu/version.c: Likewise.
33185 * debug/Makefile: Likewise.
33186 * dlfcn/Makefile: Likewise.
33187 * elf/Makefile: Likewise.
33188 * extra-lib.mk: Likewise.
33189 * iconv/Makefile: Likewise.
33190 * include/libc-symbols.h: Likewise.
33191 * include/shlib-compat.h: Likewise.
33192 * resolv/Makefile: Likewise.
33193 * resolv/res_libc.c: Likewise.
33194 * rt/Makefile: Likewise.
33195 * sysdeps/i386/asm-syntax.h: Likewise.
33196 * sysdeps/i386/sysdep.h: Likewise.
33197 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33198 * sysdeps/mach/sysdep.h: Likewise.
33199 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33200 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33201 * sysdeps/s390/asm-syntax.h: Likewise.
33202 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33203 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33204 * sysdeps/sh/sysdep.h: Likewise.
33205 * sysdeps/unix/sparc/sysdep.h: Likewise.
33206 * sysdeps/wordsize-32/divdi3.c: Likewise.
33207 * sysdeps/x86_64/sysdep.h: Likewise.
33208
00bbd29b
UD
33209 * argp/Versions: Remove _argp_unlock_xxx.
33210
33211 [BZ #13559]
33212 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33213 * abilist/libBrokenLocale.abilist: Likewise.
33214 * abilist/libanl.abilist: Likewise.
33215 * abilist/libc.abilist: Likewise.
33216 * abilist/libcrypt.abilist: Likewise.
33217 * abilist/libdl.abilist: Likewise.
33218 * abilist/libm.abilist: Likewise.
33219 * abilist/libnsl.abilist: Likewise.
33220 * abilist/libpthread.abilist: Likewise.
33221 * abilist/libresolv.abilist: Likewise.
33222 * abilist/librt.abilist: Likewise.
33223 * abilist/libthread_db.abilist: Likewise.
33224 * abilist/libutil.abilist: Likewise.
33225 * abilist/libnss_db.abilist: New file.
33226
33227 * scripts/abilist.awk: Add support for indirect functions.
33228
a2693a0e
UD
33229 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33230
3f05895f
UD
33231 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33232
ecb6fb48
UD
33233 * shlib-versions: Remove entries for ports architectures.
33234
664f8cb9
UD
33235 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33236 files in ports.
33237 * elf/stackguard-macros.h: Remove support for IA-64.
33238 * elf/tst-auditmod1.c: Likewise.
33239 * sysdeps/generic/ldsodefs.h: Likewise.
33240
7ae81d88
UD
33241 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33242 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33243 configure files.
33244
bdeba135
UD
33245 [BZ #13552]
33246 * configure.in: Remove --enable-omitfp support.
33247 * FAQ.in: Adjust.
33248 * config.make.in: Likewise.
33249 * Makeconfig: Likewise.
33250 * manual/install.texi: Likewise.
33251
d75a0a62
UD
33252 In case anyone cares, the IA-64 architecture could move to ports.
33253 * sysdeps/ia64/*: Removed.
33254 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33255 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33256
dcc9756b
UD
33257 [BZ #13555]
33258 * configure.in: Remove entries for unsupported architectures.
33259
d3761ebc 33260 [BZ #13533]
9954432e
UD
33261 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33262 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33263 routines.
33264 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33265 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33266 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33267 fall back to using wcrtomb.
33268 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33269 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33270 renaming.
33271 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33272 * wcsmbs/tst-c16c32-1.c: New file.
33273
33274 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33275 local variable.
33276
c3a87236
UD
33277 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33278
28926a1b
UD
33279 * elf/tst-unique3.cc: Add explicit declaration of gets.
33280 * elf/tst-unique3lib.cc: Likewise.
33281 * elf/tst-unique3lib2.cc: Likewise.
33282 * elf/tst-unique4.cc: Likewise.
33283
df78418a
UD
33284 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33285
8ecd6b2a
JM
332862012-01-06 Joseph Myers <joseph@codesourcery.com>
33287
33288 [BZ #13566]
33289 * assert/assert.h (static_assert): Don't define for C++.
33290 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33291 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33292
9f115170
UD
332932012-01-03 Ulrich Drepper <drepper@gmail.com>
33294
5e0d0300
UD
33295 * iconv/loop.c (single loop): Fix assertion in storing of
33296 remaining bytes.
33297
9f115170
UD
33298 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33299
81fb02b0
UD
333002012-01-01 Ulrich Drepper <drepper@gmail.com>
33301
33302 * posix/getconf.c: Update copyright year.
33303 * nss/getent.c: Likewise.
a316c1f6 33304 * nss/makedb.c: Likewise.
81fb02b0
UD
33305 * iconv/iconvconfig.c: Likewise.
33306 * iconv/iconv_prog.c: Likewise.
33307 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33308 * elf/pldd.c: Likewise.
33309 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33310 * catgets/gencat.c: Likewise.
33311 * csu/version.c: Likewise.
33312 * elf/ldd.bash.in: Likewise.
33313 * elf/sprof.c (print_version): Likewise.
33314 * locale/programs/locale.c: Likewise.
33315 * locale/programs/localedef.c: Likewise.
a316c1f6 33316 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33317 * nscd/nscd.c (print_version): Likewise.
33318 * debug/xtrace.sh: Likewise.
33319 * malloc/memusage.sh: Likewise.
33320 * malloc/mtrace.pl: Likewise.
33321 * debug/catchsegv.sh: Likewise.
33322
2ba92745
JJ
333232011-12-30 Jakub Jelinek <jakub@redhat.com>
33324
33325 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33326 pure attribute.
33327
dadebdae
UD
333282011-12-24 Ulrich Drepper <drepper@gmail.com>
33329
d3761ebc 33330 [BZ #13533]
db6af3eb
UD
33331 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33332 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33333 transformations.
33334 * iconv/gconv_int.h: Likewise.
33335 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33336 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33337 from libc for GLIBC_2.16.
33338 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33339 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33340 * wcsmbs/uchar.h: Really define mbstate_t.
33341 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33342 * wcsmbs/c16rtomb.c: New file.
33343 * wcsmbs/mbrtoc16.c: New file.
33344 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33345 for C/POSIX locale.
33346 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33347 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33348
dadebdae
UD
33349 * wcsmbs/wchar.h: Add missing __restrict.
33350
67371b56
UD
333512011-12-23 Ulrich Drepper <drepper@gmail.com>
33352
74033a25
UD
33353 [BZ #13532]
33354 * time/Makefile (routines): Add timespec_get.
33355 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33356 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33357 timespec for ISO C11.
33358 * time/timespec_get.c: New file.
33359 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33360 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33361
380d7e87
UD
33362 [BZ #13531]
33363 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33364 * stdlib/stdlib.h: Declare aligned_alloc.
33365 * Versions.def: Add GLIBC_2.16 for libc.
33366 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33367
4e9e7a35
UD
33368 [BZ 13527]
33369 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33370 ISO C11.
33371
380d7e87 33372 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33373 code.
33374
03a71829
UD
33375 [BZ #13528]
33376 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33377
839e283e
UD
33378 [BZ #13529]
33379 * assert/assert.h (static_assert): Define.
33380
ce5294e2 33381 * version.h: Update for 2.16 development version.
90fa7312 33382
8d44e150 33383 [BZ #13526]
d7809905
UD
33384 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33385 _ISOC11_SOURCE.
33386
c0da14cd
UD
33387 * version.h (RELEASE): Bump for 2.15 release.
33388 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33389
530a3249
MP
33390 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33391 Patch by Marek Polacek <mpolacek@redhat.com>.
33392
67371b56
UD
33393 * bits/byteswap.h: Protect long long constants with __extension__.
33394 * sysdeps/i386/bits/byteswap.h: Likewise.
33395 * sysdeps/ia64/bits/byteswap.h: Likewise.
33396 * sysdeps/s390/bits/byteswap.h: Likewise.
33397 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33398
15db4de1
LD
333992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33400
33401 [BZ #13540]
bbe315ea
LD
33402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33403 destination buffer.
15db4de1
LD
33404 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33405
2b2596b1
MP
334062011-12-23 Marek Polacek <polacek@redhat.com>
33407
33408 * elf/dl-addr.c (determine_info): Add inline keyword.
33409 * elf/tst-auditmod4b.c (check_avx): Likewise.
33410 * elf/tst-auditmod6b.c (check_avx): Likewise.
33411 * elf/tst-auditmod6c.c (check_avx): Likewise.
33412 * elf/tst-auditmod7b.c (check_avx): Likewise.
33413
70c6c246
UD
334142011-12-23 Ulrich Drepper <drepper@gmail.com>
33415
33416 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33417 !__SSE_MATH__.
33418
c044cf14
LD
334192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33420
15db4de1 33421 [BZ #13540]
c044cf14
LD
33422 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33423 processing for last bytes.
33424
6b13d9d9
BH
334252011-08-06 Bruno Haible <bruno@clisp.org>
33426
d455f537
BH
33427 [BZ #13061]
33428 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33429 U+0385, not to U+1FEE.
33430
6b13d9d9
BH
33431 [BZ #13062]
33432 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33433 entry for U+00A5 U+0301.
33434
db910efd
UD
334352011-12-22 Ulrich Drepper <drepper@gmail.com>
33436
27deeafc
UD
33437 [BZ #13166]
33438 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33439 buffer for the output is too small.
33440
aed9d171
UD
33441 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33442 optimization.
33443
db910efd
UD
33444 [BZ #13185]
33445 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33446 SSE flags if possible.
33447
2bd779ae
LD
334482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33449
e7f9dac3 33450 [BZ #13540]
2bd779ae
LD
33451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33452 processing for last bytes.
33453
154bfc16
JM
334542011-12-22 Joseph Myers <joseph@codesourcery.com>
33455
33456 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33457 (syscall-list-default-options, syscall-list-default-condition)
33458 (syscall-list-includes): Define.
33459 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33460 list of ABIs and options and #if conditions for each ABI. Do not
33461 handle common syscalls between ABIs specially.
33462 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33463 Remove.
33464 (syscall-list-variants, syscall-list-32bit-options)
33465 (syscall-list-32bit-condition, syscall-list-64bit-options)
33466 (syscall-list-64bit-condition): Define.
33467 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33468 (syscall-list-variants, syscall-list-32bit-options)
33469 (syscall-list-32bit-condition, syscall-list-64bit-options)
33470 (syscall-list-64bit-condition): Define.
33471 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33472 Remove.
33473 (syscall-list-variants, syscall-list-32bit-options)
33474 (syscall-list-32bit-condition, syscall-list-64bit-options)
33475 (syscall-list-64bit-condition): Define.
33476 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33477 Remove.
33478 (syscall-list-variants, syscall-list-32bit-options)
33479 (syscall-list-32bit-condition, syscall-list-64bit-options)
33480 (syscall-list-64bit-condition): Define.
33481
21eaf3a5
UD
334822011-12-22 Ulrich Drepper <drepper@gmail.com>
33483
16c6f992
UD
33484 * locale/iso-639.def: Add brx entry.
33485
41043168
UD
33486 [BZ #13328]
33487 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33488 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33489
21eaf3a5
UD
33490 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33491 __feraiseexcept_renamed.
33492
e3a851a2
UD
334932011-12-21 Ulrich Drepper <drepper@gmail.com>
33494
4920765e
UD
33495 [BZ #13538]
33496 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33497 EPOLLET with unsigned values.
33498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33500
e3a851a2
UD
33501 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33502 to large cancellation.
33503 * math/s_cacoshf.c: Likewise.
33504 * math/s_cacoshl.c: Likewise.
33505
b27e24b8
RK
335062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33507
33508 [BZ #13305]
aebefeee 33509 [BZ #12786]
b27e24b8
RK
33510 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33511 * math/s_cacoshf.c: Likewise.
33512 * math/s_cacoshl.c: Likewise.
33513
ee190f67
UD
335142011-12-21 Ulrich Drepper <drepper@gmail.com>
33515
33516 [BZ #13439]
33517 * iconv/gconv.h: Define __GCONV_SWAP.
33518 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33519 * iconvdata/utf-16.c: Likewise.
33520 * iconvdata/utf-32.c: Likewise.
33521
707f25df
AS
335222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33523
33524 [BZ #13524]
33525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33526 numerator after shifting it by one limb.
33527
d2daaa1e
RÁE
335282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33529
33530 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33531 under [__USE_EXTERN_INLINES].
33532
a4647e72
UD
335332011-12-17 Ulrich Drepper <drepper@gmail.com>
33534
33535 [BZ #13446]
33536 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33537
f0b264f1
AZ
335382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33539
33540 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33541 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33542 optimized code.
33543 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33544 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33545 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33546 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33547 for strncasecmp/strncasecmp_l compilation.
33548 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33549 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33550
8ef4f244
MP
335512011-12-08 Marek Polacek <mpolacek@redhat.com>
33552
33553 [BZ #13484]
33554 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33555 of __asm__.
33556
97ac2654
UD
335572011-12-17 Ulrich Drepper <drepper@gmail.com>
33558
33559 [BZ #13506]
33560 * time/tzfile.c (__tzfile_read): Check values from file header.
33561
91d2a845
WS
335622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33563
33564 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33565 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33566 * powerpc/powerpc32/dl-start.S: Likewise.
33567 * powerpc/powerpc32/elf/start.S: Likewise.
33568 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33569 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33570 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33571 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33572 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33573 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33574 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33575 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33576 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33577 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33578 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33579 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33580 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33581 * powerpc/powerpc32/memset.S: Likewise.
33582 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33583 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33584 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33585 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33586 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33587 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33588 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33589 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33590 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33591 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33592 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33593 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33594 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33595
a1267ba1
AZ
335962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33597
33598 * math/libm-test.inc: Added more nearbyint tests.
33599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33603
ad8ac1bd
RL
336042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33605
33606 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33607 FD_CLOEXEC.
33608
1d3e4b61
UD
336092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33610
33611 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33612 Add wcscpy-ssse3 wcscpy-c.
33613 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33614 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33615 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33616 * sysdeps/x86_64/wcschr.S: New file.
33617 * sysdeps/x86_64/wcsrchr.S: New file.
33618 * string/test-strcmp.c: Remove checking of wcscmp function for
33619 wrong alignments.
33620 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33621 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33622 wcsrchr-sse2 wcsrchr-c.
33623 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33624 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33625 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33626 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33627 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33628 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33629 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33630 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33631 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33632 * wcsmbc/wcschr.c (WCSCHR): New macro.
33633
5b330a2d
UD
336342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33635
33636 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33637 * wcsmbs/test-wcsrchr.c: New file.
33638 * string/test-strrchr.c: Add wcsrchr support.
33639 (WIDE): New macro.
33640 * wcsmbs/test-wcscpy.c: New file.
33641 * string/test-strcpy.c: Add wcscpy support.
33642 (WIDE): New macro.
26428b7c 33643
f039c043
UD
336442011-12-10 Ulrich Drepper <drepper@gmail.com>
33645
33646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33647 the inner loop.
33648
850fb039
AS
336492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33650
33651 [BZ #13472]
33652 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33653
4efbd5cb
UD
336542011-12-04 Ulrich Drepper <drepper@gmail.com>
33655
52ff5dd0 33656 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33657 Minor optimizations.
52ff5dd0 33658
4efbd5cb
UD
33659 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33660 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33661 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33662
8a426e12
UD
336632011-12-03 Ulrich Drepper <drepper@gmail.com>
33664
aff2453d
UD
33665 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33666 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33667 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33668 for gcc to avoid warnings.
33669 * inet/Makefile (tests): Add tst-checks.
33670 * inet/tst-checks.c: New file.
33671
33672 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33673 warning.
33674
33675 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33676 __wmemcmp_sse2.
33677
33678 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33679 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33680
8a426e12
UD
33681 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33682
9bea3473
UD
336832011-12-02 Ulrich Drepper <drepper@gmail.com>
33684
3a965496
UD
33685 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33686 problem.
33687
9bea3473
UD
33688 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33689
f101631b
UD
336902011-11-29 Joseph Myers <joseph@codesourcery.com>
33691
33692 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33693 conditional on GCC version.
33694 (__arch_compare_and_exchange_val_8_acq)
33695 (__arch_compare_and_exchange_val_16_acq)
33696 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33697 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33698 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33699
a98275aa
UD
337002011-12-02 Joseph Myers <joseph@codesourcery.com>
33701
33702 * sysdeps/sh/backtrace.c: New file.
33703
d4cc29a2
AS
337042011-12-02 Andreas Schwab <schwab@redhat.com>
33705
33706 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33707 parenthesis.
33708
6257af2d
AS
337092011-12-01 Andreas Schwab <schwab@redhat.com>
33710
33711 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33712 falling back to utime.
33713
b5f44c1a
AS
337142011-11-30 Andreas Schwab <schwab@redhat.com>
33715
33716 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33717 expectations for float.
33718
f3a6cc0a
AS
337192011-11-29 Andreas Schwab <schwab@redhat.com>
33720
33721 * locale/weight.h (findidx): Add parameter len.
33722 * locale/weightwc.h (findidx): Likewise.
33723 * posix/fnmatch_loop.c (FCT): Adjust caller.
33724 * posix/regcomp.c (build_equiv_class): Likewise.
33725 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33726 * posix/regexec.c (check_node_accept_bytes): Likewise.
33727 * string/strcoll_l.c (STRCOLL): Likewise.
33728 * string/strxfrm_l.c (STRXFRM): Likewise.
33729
9d65ea3a
UD
337302011-11-17 Ulrich Drepper <drepper@gmail.com>
33731
33732 * Makefile.in: Remove CVSOPT handling.
33733 * configure.in: Remove use of AC_REVISION.
33734 * iconvdata/Makefile (distribute): No need to filter out CVS.
33735 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33736 handling.
33737
5583a086
AS
337382011-11-16 Andreas Schwab <schwab@redhat.com>
33739
33740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33741 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33742 [USE_AS_STRNCASECMP_L]: Likewise.
33743 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33744 NO_TLS_DIRECT_SEG_REFS.
33745 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33746 Fix argument offsets for non-PIC.
33747 [USE_AS_STRNCASECMP_L]: Likewise.
33748 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33749 NO_TLS_DIRECT_SEG_REFS.
33750
d62a8200
UD
337512011-11-15 Ulrich Drepper <drepper@gmail.com>
33752
9d65ea3a 33753 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33754 O_CLOEXEC.
33755 * locale/loadlocale.c (_nl_load_locale): Likewise.
33756
09f93bd3
AS
337572011-11-15 Andreas Schwab <schwab@redhat.com>
33758
446514f9
AS
33759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33760 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33761 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33762 (SYSCALL_GETTIME): Set errno on error.
33763
09f93bd3
AS
33764 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33765 count references to noai6ai_cached.
33766
312be3f9
UD
337672011-11-15 Ulrich Drepper <drepper@gmail.com>
33768
33769 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33770
33771 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33772 FD_CLOEXEC for /proc/self/maps.
33773
33774 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33775 FD_CLOEXEC for /proc/meminfo.
33776
33777 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33778 gai.conf.
33779
33780 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33781 FD_CLOEXEC for given file.
33782
33783 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33784
33785 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33786 FD_CLOEXEC for /etc/hosts.
33787 (_gethtent): Likewise.
33788
33789 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33790
33791 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33792 cancellation and set FD_CLOEXEC for /etc/netgroup.
33793
33794 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33795 reading /etc/publickey.
33796
33797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33798 allow cancellation when reading /etc/group.
33799
33800 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33801 cancellation.
33802 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33803
33804 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33805 when using data file.
33806
33807 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33808
33809 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33810 (write_nis_obj): Use "c" and "e" in fopen.
33811
33812 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33813
33814 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33815
33816 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33817
33818 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33819
33820 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33821 locale.alias.
33822
33823 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33824
33825 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33826
33827 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33828
33829 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33830 file parsing and set FD_CLOEXEC.
33831
82af0fa8
UD
338322011-11-14 Ulrich Drepper <drepper@gmail.com>
33833
33834 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33835
a5fb313c
AS
338362011-11-14 Andreas Schwab <schwab@redhat.com>
33837
33838 * malloc/arena.c (arena_get2): Don't call reused_arena when
33839 _int_new_arena failed.
33840
6abf3465
UD
338412011-11-14 Ulrich Drepper <drepper@gmail.com>
33842
33843 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33844 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33845 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33846 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33847 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33849 to compile strcasecmp and strncasecmp.
33850 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33851 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33852
33853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33854
76e3966e
UD
338552011-11-13 Ulrich Drepper <drepper@gmail.com>
33856
33857 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33858 locale-defines.sym to gen-as-const-headers.
33859 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33860 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33862 to compile strcasecmp and strncasecmp.
33863 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33864 strcasecmp_l and strncasecmp_l.
33865 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33866 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33867 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33868 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33869 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33870 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33871 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33872 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33873 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33874 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33875 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33876
ab26144e
UD
338772011-11-12 Ulrich Drepper <drepper@gmail.com>
33878
7edb22ef
UD
33879 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33880 result of SYSDEP_GETTIME_CPU to retval.
33881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33882 parameter list to macro. Remove trailing semicolon. Adjust users.
33883
9694fc44
UD
33884 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33885 variable.
33886
8ad89ef8
UD
33887 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33888 mantissa words.
33889 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33890
0c822ef9
UD
33891 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33892 from unused variable.
33893
874e0564
UD
33894 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33895 DWARF definitions.
33896 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33897 for assembling.
33898
3a2edc79
UD
33899 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33900 over namespaces.
33901
f3c2577f
UD
33902 * sunrpc/rpc_prot.c (rejected): Fix case value.
33903
294ce126
UD
33904 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33905 unsigned long long int to avoid warnings in shift.
33906
5e2b63c6
UD
33907 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33908 of use of trans.
33909 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33910 variable tmp.
33911
e7f4b08e
UD
33912 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33913 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33914 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33915
ab26144e
UD
33916 * nis/nis_table.c (nis_list): Use variable of correct type for
33917 result of __follow_path call.
33918
8a6d5255
AZ
339192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33920
33921 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33922 of math functions ceil, trunc, floor, round, and sqrt, when
33923 avaliable on the platform.
33924 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33925 name clash.
33926 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33927 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33928 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33929
aaddc98c
MP
339302011-10-30 Marek Polacek <mpolacek@redhat.com>
33931
33932 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33934
95b7042b
RM
339352011-11-11 Roland McGrath <roland@hack.frob.com>
33936
33937 * include/unistd.h: Fix __readlink return type.
33938 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33939
57769839
UD
339402011-11-11 Ulrich Drepper <drepper@gmail.com>
33941
33942 * stdlib/ucontext.h: Undo last change for makecontext.
33943
edc5984d
AS
339442011-11-11 Andreas Schwab <schwab@redhat.com>
33945
98591e58
AS
33946 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33947
edc5984d
AS
33948 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33949 * setjmp/setjmp.h: Mark functions as non-leaf.
33950 * setjmp/bits/setjmp2.h: Likewise.
33951 * stdlib/ucontext.h: Likewise.
33952
77cdc054
AS
339532011-11-10 Andreas Schwab <schwab@redhat.com>
33954
33955 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33956 (reused_arena): Don't check arena limit.
33957 (arena_get2): Atomically check arena limit.
33958
fe72eebd
UD
339592011-11-08 Ulrich Drepper <drepper@gmail.com>
33960
5f078c32
UD
33961 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33962 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33963
fe72eebd
UD
33964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33965 instructions.
33966
ae1bc2fa
AS
339672011-11-07 Andreas Schwab <schwab@redhat.com>
33968
7583a88d
AS
33969 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33970 handler when locking.
33971
ae1bc2fa
AS
33972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33973 Fix size of allocated buffer.
33974
10fb0bfa
AS
339752011-11-04 Andreas Schwab <schwab@redhat.com>
33976
998832a4
AS
33977 [BZ #10103]
33978 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33979 declarations for long double functions.
33980 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33981
10fb0bfa
AS
33982 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33983
3d7ba52b
AS
339842011-11-03 Andreas Schwab <schwab@redhat.com>
33985
a9ae54a1
AS
33986 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33987 installed.
33988
3d7ba52b
AS
33989 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33990 is disabled.
33991
bc8db248
ST
339922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33993
33994 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33995
45b96dd6
AS
339962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33997
647776f6
AS
33998 * include/alloca.h (stackinfo_alloca_round): Define.
33999 (extend_alloca): Use it.
34000 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34001 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34002 here.
34003
d91a8b93
AS
34004 * scripts/check-local-headers.sh: Ignore libaudit.h.
34005
45b96dd6
AS
34006 * nscd/Makefile (extra-objs): Make recursively expanded.
34007
432d41ce
UD
340082011-11-01 Ulrich Drepper <drepper@gmail.com>
34009
34372fc6
UD
34010 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34011 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34012
fadb59f8
UD
34013 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34014 * posix/tst-rfc3484-2.c: Likewise.
34015 * posix/tst-rfc3484-3.c: Likewise.
34016
78239589
UD
34017 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34018 process_vm_writev.
34019 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34020 process_vm_writev.
34021 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34022 process_vm_writev from libc using GLIBC_2.15 version.
34023
432d41ce
UD
34024 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34025
02f9c6cf
PP
340262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34027
34028 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34029 stack usage.
34030
3a2c0242
UD
340312011-10-31 Ulrich Drepper <drepper@gmail.com>
34032
f4ec4833
UD
34033 [BZ #13367]
34034 * nss/getent.c (initgroups_keys): Show error message in case no group
34035 names are given.
34036
3a2c0242
UD
34037 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34038 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34039 __bump_nl_timestamp.
34040 * nscd/connections (nscd_init): When host database is served open
34041 netlink socket and request notification about configuration changes.
34042 (main_loop_poll): Track netlink file descriptor and bump timestamp
34043 in case data becomes available.
34044 (main_loop_epoll): Likewise.
34045 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34046 (database_pers_head): Add extra_data fileds.
34047 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34048 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34049 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34050 Adjust caller.
34051 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34052 in6ai data, call __free_in6ai.
34053 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34054 Add -DHAVE_NETLINK.
34055 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34056 interface information. Reuse previous data if netlink timestamp
34057 is not changed.
34058 (__bump_nl_timestamp): New function.
34059 (__free_in6ai): New function.
34060
636064eb
UD
340612011-10-30 Ulrich Drepper <drepper@gmail.com>
34062
34063 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34064 close_not_cancel_no_status here.
34065 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34066
9beb2334
UD
340672011-10-29 Ulrich Drepper <drepper@gmail.com>
34068
6ef76f3b
UD
34069 [BZ #13276]
34070 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34071 return value.
34072
0ffc4f3e 34073 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34074 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34075 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34076
cb95113e
UD
340772011-07-03 Andreas Jaeger <aj@suse.de>
34078
34079 [BZ #10709]
34080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34081 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34082 * math/libm-test.inc (sin_test): Add test case.
34083
a1b560ff
UD
340842011-10-29 Ulrich Drepper <drepper@gmail.com>
34085
c9aaface
UD
34086 [BZ #13337]
34087 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34088 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34089
d272e7f1
UD
34090 * elf/chroot_canon.c (chroot_canon): Cleanups.
34091
1bc33071
UD
34092 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34093
1760874d
TJ
34094 [BZ #13335]
34095 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34096 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34097
51d91b18
UD
34098 * string/test-strchr.c: Make usable for strchrnul testing.
34099 * string/test-strchrnul.c: New file.
34100 * string/Makefile (strop-tests): Add strchrnul.
34101
a1b560ff 34102 * po/it.po: Update from translation team.
b611fb81 34103 * po/es.po: Likewise.
a1b560ff 34104
a5b81e1f
UD
341052011-10-28 Ulrich Drepper <drepper@gmail.com>
34106
fd52bc6d
UD
34107 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34108 the three constants needed as parameters. Drop the others.
34109 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34110 __m128i_strloadu_tolower.
52e4b9eb
UD
34111 Create and initialize variable zero and use it in all the places
34112 where _mm_setzero_si128 was used.
fd52bc6d 34113
a5b81e1f
UD
34114 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34115 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34116 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34117 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34118 anymore.
34119 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34120 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34121 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34122 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34123 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34124 __mpranred, __mptan.
34125 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34126 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34127 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34128 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34129 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34130 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34132 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34133 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34134
b4343346
AS
341352011-10-28 Andreas Schwab <schwab@redhat.com>
34136
0c92d8a8
AS
34137 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34138 redefine if SHARED.
34139 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34140
b4343346
AS
34141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34142 wide char related routines to wcsmbs subdir.
34143
3871f58f
AS
341442011-10-27 Andreas Schwab <schwab@redhat.com>
34145
34146 [BZ #13344]
34147 * misc/sys/cdefs.h (__THROWNL): Define.
34148 * posix/unistd.h: Use __THREADNL instead of __THREAD
34149 for memory synchronization functions.
34150
94d44d9f
RM
341512011-10-26 Roland McGrath <roland@hack.frob.com>
34152
21b64b15 34153 [BZ #13349]
94d44d9f
RM
34154 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34155 doesn't exist.
34156 * manual/stdio.texi (Obstack Streams): Node removed.
34157
f6ce9294
AS
341582011-10-26 Andreas Schwab <schwab@redhat.com>
34159
80479147
AS
34160 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34161 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34162 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34163
f6ce9294
AS
34164 * math/math_private.h (math_force_eval): Allow non-addressable
34165 arguments.
34166 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34167
618280a1
UD
341682011-10-25 Ulrich Drepper <drepper@gmail.com>
34169
e0016b11
UD
34170 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34171 file is not needed.
34172
34173 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34180 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34181 Add AVX variants.
34182 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34183 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34184 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34185 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34186 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34187 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34188 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34189 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34190 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34191 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34192 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34193 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34194 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34195 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34196 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34197 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34198 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34199 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34200 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34201
34202 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34203 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34204
618280a1
UD
34205 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34206 place. Use VEX encoding when compiling for AVX.
34207
37822576
AS
342082011-10-25 Andreas Schwab <schwab@redhat.com>
34209
1f1e1947
AS
34210 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34211 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34212
37822576
AS
34213 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34214
31ea014d
UD
342152011-10-25 Ulrich Drepper <drepper@gmail.com>
34216
d7826aa1 34217 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34218 useless if() expression.
d7826aa1
UD
34219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34220 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34221 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34223 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34224 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34227 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34229 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34231 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34232 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34233 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34236 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34237 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34238
31ea014d
UD
34239 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34240
16437fec
AS
342412011-10-25 Andreas Schwab <schwab@redhat.com>
34242
34243 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34244 condition.
34245 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34246
31d3cc00
UD
342472011-10-25 Ulrich Drepper <drepper@gmail.com>
34248
34249 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34250 .text section. Avoid duplicate constants.
34251 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34253 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34259 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34260 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34261 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34262 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34263 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34264 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34266 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34267 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34271 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34272 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34273 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34274 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34275 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34276 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34277 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34278 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34279 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34280 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34281 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34282 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34284 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34285 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34286 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34287 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34288 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34289 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34290 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34293 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34294 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34295 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34296
58985aa9
UD
342972011-10-24 Ulrich Drepper <drepper@gmail.com>
34298
202c9deb
UD
34299 * sysdeps/x86_64/dla.h: Move to ...
34300 * sysdeps/x86_64/fpu/dla.h: ...here.
34301 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34302 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34303
af968f62
UD
34304 * config.make.in: Add have-mfma4 entry.
34305 * configure.in: Substitute libc_cv_cc_fma4.
34306 * math/Makefile (dbl-only-routines): Add sincostab.
34307 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34308 Use __sincostab not sincos.
34309 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34310 name is a macro.
34311 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34315 using __copysign.
34316 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34317 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34318 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34319 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34320 and __inv.
34321 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34322 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34323 __copysign.
34324 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34325 define aliases when function name is a macro.
34326 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34327 sysdeps/ieee754/dbl-64/sincos.tbl.
34328 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34329 fma4-enabled routines.
34330 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34331 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34332 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34333 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34334 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34335 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34339 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34340 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34341 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34342 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34343 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34345 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34346 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34347 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34348 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34349 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34350 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34351 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34353 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34355 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34357 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34358 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34359 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34360
58985aa9
UD
34361 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34362 rename.
34363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34371
a201fbcf
AS
343722011-10-24 Andreas Schwab <schwab@redhat.com>
34373
34374 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34375
fc2ee42a
LD
343762011-10-23 Ulrich Drepper <drepper@gmail.com>
34377
bb3129bd
UD
34378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34379
0275fff8
UD
34380 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34381 prediction.
34382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34383
2fa2ae85
UD
34384 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34385 Remove unused variable magic_bits.
34386 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34387
fc2ee42a
LD
34388 * string/strnlen.c: Define and use STRNLEN macro.
34389 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34390 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34392 * wcsmbs/wcslen.c: Define and use WCSLEN.
34393 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34394 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34395 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34396 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34397 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34398 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34399 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34400
ce7dd29f
LD
344012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34402
34403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34404 strnlen-sse2-no-bsf.
34405 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34407 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34408 Add strnlen support.
34409 (USE_AS_STRNLEN): New macro.
34410 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34411 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34412 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34413 * sysdeps/x86_64/wcslen.S: New file.
34414
979c70a3
MZ
344152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34416
34417 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34418 XMM-moves are used for copying on small sizes.
34419
2d09f82f
LD
344202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34421
34422 * wcsmbs/Makefile (strop-tests): Add wcschr.
34423 * wcsmbs/test-wcschr.c: New file.
34424 * string/test-strchr.c: Update.
34425 Add wcschr support.
34426 (WIDE): New macro.
34427
619fccca
LD
344282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34429
2d09f82f 34430 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34431 * wcsmbs/test-wcslen.c: New file.
34432 * string/test-strlen.c: Update.
34433 Add wcslen support.
34434 (WIDE): New macro.
34435
09f699ea
UD
344362011-10-23 Ulrich Drepper <drepper@gmail.com>
34437
34438 * po/it.po: Update from translation team.
34439
95584d3b
LD
344402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34441
34442 * sysdeps/x86_64/wcscmp.S: Update.
34443 Fix wrong comparison semantics.
34444 wcscmp shall use signed comparison not unsigned.
34445 Don't use substraction to avoid overflow bug.
34446 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34447 * wcsmbc/wcscmp.c: Likewise.
34448 * string/test-strcmp.c: Likewise.
34449 Add new tests to check cases with negative values.
34450
c8b3296b
UD
344512011-10-23 Ulrich Drepper <drepper@gmail.com>
34452
34453 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34454 * sysdeps/x86_64/dla.h: ...here. New file.
34455 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34460 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34464
246ad57a
AS
344652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34466
34467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34468 __ynl_finite aliases.
34469
a1a87169
UD
344702011-10-22 Ulrich Drepper <drepper@gmail.com>
34471
0d355eb7
UD
34472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34473
a1a87169
UD
34474 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34475 define DLA_FMA.
34476 [DLA_FMA] (EMULV): Use DLA_FMA.
34477 [DLA_FMA] (MUL12): Use EMULV.
34478 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34479 that are not needed.
34480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34487
ee2aafe0
AS
344882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34489
34490 * math/s_nan.c: Undef __nan.
34491 * math/s_nanf.c: Undef __nanf.
34492 * math/s_nanl.c: Undef __nanl.
34493 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34494 "math_private.h".
34495
bc62c2fb
UD
344962011-10-22 Ulrich Drepper <drepper@gmail.com>
34497
77425c63
UD
34498 * math/s_catan.c: Add branch predictions.
34499 * math/s_catanf.c: Likewise.
34500 * math/s_catanh.c: Likewise.
34501 * math/s_catanhf.c: Likewise.
34502 * math/s_catanhl.c: Likewise.
34503 * math/s_catanl.c: Likewise.
34504 * math/s_cexp.c: Likewise.
34505 * math/s_cexpf.c: Likewise.
34506 * math/s_cexpl.c: Likewise.
34507 * math/s_clog.c: Likewise.
34508 * math/s_clog10.c: Likewise.
34509 * math/s_clog10f.c: Likewise.
34510 * math/s_clog10l.c: Likewise.
34511 * math/s_clogf.c: Likewise.
34512 * math/s_clogl.c: Likewise.
34513 * math/s_csqrt.c: Likewise.
34514 * math/s_csqrtf.c: Likewise.
34515 * math/s_csqrtl.c: Likewise.
34516 * math/s_ctanf.c: Likewise.
34517 * math/s_ctanh.c: Likewise.
34518 * math/s_ctanhf.c: Likewise.
34519 * math/s_ctanhl.c: Likewise.
34520 * math/s_ctanl.c: Likewise.
34521
bc62c2fb
UD
34522 * math/math_private.h: Define __nan, __nanf, __nanl.
34523 * math/s_cacosh.c: Include <math_private.h>.
34524 * math/s_cacoshl.c: Likewise.
34525 * math/s_casinh.c: Likewise.
34526 * math/s_casinhf.c: Likewise.
34527 * math/s_casinhl.c: Likewise.
34528 * math/s_ccos.c: Rely entire on ccosh.
34529 * math/s_ccosf.c: Rely entire on ccoshf.
34530 * math/s_ccosl.c: Rely entirely on ccoshl.
34531 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34532 Remove tests for FE_INVALID.
34533 * math/s_ccoshf.c: Likewise.
34534 * math/s_ccoshl.c: Likewise.
34535 * math/s_csin.c: Likewise.
34536 * math/s_csinf.c: Likewise.
34537 * math/s_csinh.c Likewise.
34538 * math/s_csinhf.c: Likewise.
34539 * math/s_csinhl.c: Likewise.
34540 * math/s_csinl.c: Likewise.
34541 * math/s_ctan.c: Likewise.
34542 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34543 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34544 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34545
8ec250a4
UD
345462011-10-21 Ulrich Drepper <drepper@gmail.com>
34547
c196fed8
UD
34548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34549 compilation problems.
34550
8ec250a4
UD
34551 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34552 __builtin_expect.
34553
8d4f46c6
UD
345542011-10-20 Ulrich Drepper <drepper@gmail.com>
34555
ed72b654
UD
34556 * sysdeps/i386/configure.in: Test for -mfma4 option.
34557 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34558 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34559 COMMON_CPUID_INDEX_80000001.
34560 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34561 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34562 use it if FMA3 is not supported.
34563 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34564
8d4f46c6
UD
34565 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34566 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34567
d45c60c2
AS
345682011-10-20 Andreas Schwab <schwab@redhat.com>
34569
34570 [BZ #12892]
34571 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34572 it would create a cycle with a link time dependency.
34573
d9a4d2ab
UD
345742011-10-19 Ulrich Drepper <drepper@gmail.com>
34575
855d1560
UD
34576 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34577 instruction.
34578 * string/Makefile (strop-tests): Add rawmemchr.
34579 * string/test-rawmemchr.c: New file.
34580
d9a4d2ab
UD
34581 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34583 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34584 when compiling str{,n}casecmp and when AVX is available. Hook up
34585 new optimized code in initializers.
34586
8f3b1ffe
AS
345872011-10-19 Andreas Schwab <schwab@redhat.com>
34588
34589 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34590 __feraiseexcept instead of feraiseexcept.
34591
d38f1dba
UD
345922011-10-18 Ulrich Drepper <drepper@gmail.com>
34593
d9a8d0ab
UD
34594 * math/math_private.h: Define defaults for libc_fetestexcept and
34595 libc_feupdateenv.
34596 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34597 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34598 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34599 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34600 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34601 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34602 libc_fetestexcept and libc_feupdateenv.
34603
4855e3dd
UD
34604 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34605 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34606 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34607 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34608 libc_feholdexcept_setround.
34609
581d30e3
UD
34610 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34611 Add s_nearbyint-c and s_nearbyintf-c.
34612 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34613 nearbyintf inlines.
34614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34615 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34617 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34618
d38f1dba
UD
34619 * math/math_private.h: Define defaults for libc_fegetround,
34620 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34621 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34622 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34624 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34625 standard functions.
34626 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34627 Remove comments and hacks for old compiler versions.
34628 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34629 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34630 libc_feholdexceptl.
34631
caa6c9d8
AS
346322011-10-18 Andreas Schwab <schwab@redhat.com>
34633
34634 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34635 (__feraiseexcept_renamed): Add __NTH.
34636 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34637 namespace violations.
34638
97c066e6
UD
346392011-10-17 Ulrich Drepper <drepper@gmail.com>
34640
99ce7b04
UD
34641 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34642
1004d182
UD
34643 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34644
228a984d
UD
34645 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34646 recently added interfaces.
34647 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34648
c8553a6a
UD
34649 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34650 about macro parameter expansion.
34651
ed22dcf6
UD
34652 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34653 __NO_MATH_INLINES is defined. Cleanups.
34654
34655 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34656 and __floorf is target has SSE4.1.
34657 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34658 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34659 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34660 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34661
b171c137
UD
34662 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34663 name.
34664 (floorf): Likewise.
34665
97c066e6
UD
34666 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34667
629f62ef
AS
346682011-10-17 Andreas Schwab <schwab@redhat.com>
34669
49a43d80
AS
34670 * misc/sys/cdefs.h: Fix last change.
34671
629f62ef
AS
34672 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34673 database lookup.
34674
e453f6cd
UD
346752011-10-16 Ulrich Drepper <drepper@gmail.com>
34676
aa78043a
UD
34677 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34678
ad0f5cad
UD
34679 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34681 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34682 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34684 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34687 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34688 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34689 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34690 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34691 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34692 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34693 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34694 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34695 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34696 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34697 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34698 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34699 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34700 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34701
34702 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34703 ceil, ceilf, floor, floorf.
34704
34705 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34706 Perform IRELATIVE relocations last.
34707
e453f6cd
UD
34708 * elf/do-rel.h: Add another parameter nrelative, replacing the
34709 local variable with the same name. Change name of the function
34710 to end in Rel or Rela (uppercase).
34711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34712 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34713 elf_dynamic_do_##reloc function.
34714
fd5bdc09
UD
347152011-10-15 Ulrich Drepper <drepper@gmail.com>
34716
79b195b5
UD
34717 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34718 is sufficient, at least on modern CPUs.
34719
d4a28569
UD
34720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34721
b61099b5
UD
34722 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34723 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34724
bcf01e6d
UD
34725 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34726 __expl_finite.
34727 * math/bits/math-finite.h: Add entries for exp.
34728 * math/e_expl.c: Add __*_finite alias.
34729 * sysdeps/i386/fpu/e_exp.S: Likewise.
34730 * sysdeps/i386/fpu/e_expf.S: Likewise.
34731 * sysdeps/i386/fpu/e_expl.c: Likewise.
34732 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34733 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34734 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34736 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34737 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34738 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34739
ba1a0d59
UD
34740 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34741 is sufficient, at least on modern CPUs.
34742
fd5bdc09
UD
34743 * ctype/ctype-info.c (__ctype_init): Define.
34744 * include/ctype.h (__ctype_init): Declare.
34745 (__ctype_b_loc): The variable is always initialized.
34746 (__ctype_toupper_loc): Likewise.
34747 (__ctype_tolower_loc): Likewise.
34748 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34749 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34750
7872cfb0
AS
347512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34752
b468825a
AS
34753 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34754
7872cfb0
AS
34755 * configure.in: Also look in $cxxmachine/include for C++ system
34756 headers.
34757
be13f7bf
LD
347582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34759
34760 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34761 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34762 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34763 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34765 (USE_AS_WMEMCMP): New macro.
34766 Fixing indents.
34767 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34768 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34769 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34770 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34772 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34773 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34774 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34775 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34776 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34777 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34778 (USE_AS_WMEMCMP): New macro.
34779 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34780 * sysdeps/string/test-memcmp.c: Update.
34781 Fix simple_wmemcmp.
34782 Add new tests.
34783 * wcsmbs/wmemcmp.c: Update.
34784 (WMEMCMP): New macro.
34785 Fix overflow bug.
34786
556a2007
AJ
347872011-10-12 Andreas Jaeger <aj@suse.de>
34788
34789 [BZ #13268]
34790 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34791
538faaa7
UD
347922011-10-15 Ulrich Drepper <drepper@gmail.com>
34793
ab6737ff
UD
34794 * libio/iofwide.c (do_length): Avoid warning.
34795
538faaa7
UD
34796 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34797
396a21b1
UD
347982011-10-14 Ulrich Drepper <drepper@gmail.com>
34799
cdf2901f
UD
34800 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34801
38ad40ce
UD
34802 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34803 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34804 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34805 * sysdeps/i386/i686/fpu/e_log.S: New file.
34806 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34807 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34808
396a21b1
UD
34809 * ctype/ctype.h: Add support for inlined isXXX functions when
34810 compiling C++ code.
34811
6b1f68c9
AS
348122011-10-14 Andreas Schwab <schwab@redhat.com>
34813
349290c0
AS
34814 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34815
6b1f68c9
AS
34816 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34817
f2282d42
RM
348182011-10-13 Roland McGrath <roland@hack.frob.com>
34819
34820 [BZ #13291]
34821 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34822
5298ffa8
AS
348232011-10-13 Andreas Schwab <schwab@redhat.com>
34824
714fad23
AS
34825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34826 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34827 feraiseexcept.
34828
81dcc7fb
AS
34829 * sysdeps/x86_64/memrchr.S: Check for zero size.
34830
5298ffa8
AS
34831 * string/stratcliff.c: Add memrchr tests.
34832
951fbcec
LD
348332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34834
34835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34836 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34837 rawmemchr-sse2 rawmemchr-sse2-bsf.
34838 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34839 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34840 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34841 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34842 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34843 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34844 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34845 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34847 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34848 * string/memrchr.c (MEMRCHR): New macro.
34849
0ac5ae23
UD
348502011-10-12 Ulrich Drepper <drepper@gmail.com>
34851
34852 Add integration with gcc's -ffinite-math-only and optimize wrapper
34853 functions in libm.
34854 * Versions.def: Define GLIBC_2.15 version for libm.
34855 * math/Makefile (headers): Add bits/math-finite.h.
34856 * math/bits/math-finite.h: New file.
34857 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34858 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34859 * math/e_acoshl.c: Add __*_finite alias.
34860 * math/e_acosl.c: Likewise.
34861 * math/e_asinl.c: Likewise.
34862 * math/e_atan2l.c: Likewise.
34863 * math/e_atanhl.c: Likewise.
34864 * math/e_coshl.c: Likewise.
34865 * math/e_exp10.c: Likewise.
34866 * math/e_exp10f.c: Likewise.
34867 * math/e_exp10l.c: Likewise.
34868 * math/e_exp2l.c: Likewise.
34869 * math/e_fmodl.c: Likewise.
34870 * math/e_gammal_r.c: Likewise.
34871 * math/e_hypotl.c: Likewise.
34872 * math/e_j0l.c: Likewise.
34873 * math/e_j1l.c: Likewise.
34874 * math/e_jnl.c: Likewise.
34875 * math/e_lgammal_r.c: Likewise.
34876 * math/e_log10l.c: Likewise.
34877 * math/e_log2l.c: Likewise.
34878 * math/e_logl.c: Likewise.
34879 * math/e_powl.c: Likewise.
34880 * math/e_sinhl.c: Likewise.
34881 * math/e_sqrtl.c: Likewise.
34882 * math/e_scalb.c: Completely rewritten and optimized.
34883 * math/e_scalbf.c: Likewise.
34884 * math/e_scalbl.c: Likewise.
34885 * math/w_acos.c: Likewise.
34886 * math/w_acosf.c: Likewise.
34887 * math/w_acosl.c: Likewise.
34888 * math/w_acosh.c: Likewise.
34889 * math/w_acoshf.c: Likewise.
34890 * math/w_acoshl.c: Likewise.
34891 * math/w_asin.c: Likewise.
34892 * math/w_asinf.c: Likewise.
34893 * math/w_asinl.c: Likewise.
34894 * math/w_atan2.c: Likewise.
34895 * math/w_atan2f.c: Likewise.
34896 * math/w_atan2l.c: Likewise.
34897 * math/w_atanh.c: Likewise.
34898 * math/w_atanhf.c: Likewise.
34899 * math/w_atanhl.c: Likewise.
34900 * math/w_exp10.c: Likewise.
34901 * math/w_exp10f.c: Likewise.
34902 * math/w_exp10l.c: Likewise.
34903 * math/w_fmod.c: Likewise.
34904 * math/w_fmodf.c: Likewise.
34905 * math/w_fmodl.c: Likewise.
34906 * math/w_j0.c: Likewise.
34907 * math/w_j0f.c: Likewise.
34908 * math/w_j0l.c: Likewise.
34909 * math/w_j1.c: Likewise.
34910 * math/w_j1f.c: Likewise.
34911 * math/w_j1l.c: Likewise.
34912 * math/w_jn.c: Likewise.
34913 * math/w_jnf.c: Likewise.
34914 * math/w_log.c: Likewise.
34915 * math/w_logf.c: Likewise.
34916 * math/w_logl.c: Likewise.
34917 * math/w_log10.c: Likewise.
34918 * math/w_log10f.c: Likewise.
34919 * math/w_log10l.c: Likewise.
34920 * math/w_log2.c: Likewise.
34921 * math/w_log2f.c: Likewise.
34922 * math/w_log2l.c: Likewise.
34923 * math/w_pow.c: Likewise.
34924 * math/w_powf.c: Likewise.
34925 * math/w_powl.c: Likewise.
34926 * math/w_remainder.c: Likewise.
34927 * math/w_remainderf.c: Likewise.
34928 * math/w_remainderl.c: Likewise.
34929 * math/w_scalb.c: Likewise.
34930 * math/w_scalbf.c: Likewise.
34931 * math/w_scalbl.c: Likewise.
34932 * math/w_sqrt.c: Likewise.
34933 * math/w_sqrtf.c: Likewise.
34934 * math/w_sqrtl.c: Likewise.
34935 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34936 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34937 used.
34938 * math/math_private.h: Declare __kernel_standard_f.
34939 * math/w_cosh.c: Remove cruft and optimize a bit.
34940 * math/w_coshf.c: Likewise.
34941 * math/w_coshl.c: Likewise.
34942 * math/w_exp2.c: Likewise.
34943 * math/w_exp2f.c: Likewise.
34944 * math/w_exp2l.c: Likewise.
34945 * math/w_hypot.c: Likewise.
34946 * math/w_hypotf.c: Likewise.
34947 * math/w_hypotl.c: Likewise.
34948 * math/w_lgamma.c: Likewise.
34949 * math/w_lgamma_r.c: Likewise.
34950 * math/w_lgammaf.c: Likewise.
34951 * math/w_lgammaf_r.c: Likewise.
34952 * math/w_lgammal.c: Likewise.
34953 * math/w_lgammal_r.c: Likewise.
34954 * math/w_sinh.c: Likewise.
34955 * math/w_sinhf.c: Likewise.
34956 * math/w_sinhl.c: Likewise.
34957 * math/w_tgamma.c: Likewise.
34958 * math/w_tgammaf.c: Likewise.
34959 * math/w_tgammal.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34961 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34962 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34963 Minor optimizations. Pretty printing. Remove cruft.
34964 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34966 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34967 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34968 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34969 * sysdeps/i386/fpu/e_asin.S: Likewise.
34970 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34971 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34972 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34973 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34975 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34976 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34977 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34978 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34979 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34980 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34981 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34982 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34983 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34984 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34985 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34986 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34987 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34988 * sysdeps/i386/fpu/e_log.S: Likewise.
34989 * sysdeps/i386/fpu/e_log10.S: Likewise.
34990 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34991 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34992 * sysdeps/i386/fpu/e_log2.S: Likewise.
34993 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34994 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34995 * sysdeps/i386/fpu/e_logf.S: Likewise.
34996 * sysdeps/i386/fpu/e_logl.S: Likewise.
34997 * sysdeps/i386/fpu/e_pow.S: Likewise.
34998 * sysdeps/i386/fpu/e_powf.S: Likewise.
34999 * sysdeps/i386/fpu/e_powl.S: Likewise.
35000 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35001 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35002 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35003 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35004 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35005 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35006 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35007 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35008 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35012 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35014 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35015 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35016 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35020 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35026 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35030 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35031 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35032 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35033 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35034 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35035 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35036 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35037 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35038 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35039 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35040 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35041 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35042 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35043 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35044 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35045 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35046 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35047 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35048 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35049 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35050 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35089 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35094 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35097 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35100 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35101 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35102 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35103 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35104 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35105 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35106 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35107 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35108 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35109 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35110 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35111 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35112 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35113 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35114 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35115 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35117 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35118 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35119 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35120 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35121 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35122 (__isnanf): Likewise.
35123 (__isinf_ns): Likewise.
35124 (__isinf_nsf): Likewise.
35125 (__finite): Likewise.
35126 (__finitef): Likewise.
35127 (__ieee754_sqrt): Define as macro.
35128 (__ieee754_sqrtf): Define as macro.
35129 (__ieee754_sqrtl): Define as macro.
35130 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35131 inlined copy.
35132 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35133 __FINITE_MATH_ONLY__ consistent.
35134 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35135
12cc2fcd
AS
351362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35137
a843a204
AS
35138 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35139 of rawmemchr.
35140
12cc2fcd
AS
35141 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35142
c853acd5
UD
351432011-10-09 Ulrich Drepper <drepper@gmail.com>
35144
35145 * po/ja.po: Update from translation team.
35146
c658d255
RM
351472011-10-08 Roland McGrath <roland@hack.frob.com>
35148
110946e4
RM
35149 * locale/programs/locarchive.c (prepare_address_space): New function.
35150 (create_archive, enlarge_archive, open_archive): Use it.
35151
50604220
RM
35152 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35153 inside [SHARED], where it is used.
35154
c658d255
RM
35155 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35156
35157 * nss/getent.c (netgroup_keys): Remove unused variable.
35158 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35159
6a621eb7
UD
351602011-10-08 Ulrich Drepper <drepper@gmail.com>
35161
7edb55ce
UD
35162 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35163 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35166 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35167 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35168 * math/Makefile (libm-calls): Add s_isinf_ns.
35169 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35170 * math/multc3.c: Likewise.
35171 * math/s_casin.c: Likewise.
35172 * math/s_casinf.c: Likewise.
35173 * math/s_casinl.c: Likewise.
35174 * math/s_ccos.c: Likewise.
35175 * math/s_ccosf.c: Likewise.
35176 * math/s_ccosl.c: Likewise.
35177 * math/s_ctan.c: Likewise.
35178 * math/s_ctanf.c: Likewise.
35179 * math/s_ctanh.c: Likewise.
35180 * math/s_ctanhf.c: Likewise.
35181 * math/s_ctanhl.c: Likewise.
35182 * math/s_ctanl.c: Likewise.
35183 * math/w_fmod.c: Likewise.
35184 * math/w_fmodf.c: Likewise.
35185 * math/w_fmodl.c: Likewise.
35186 * math/w_remainder.c: Likewise.
35187 * math/w_remainderf.c: Likewise.
35188 * math/w_remainderl.c: Likewise.
35189 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35190 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35191 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35193 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35194 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35195 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35196 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35197
187da0ae
UD
35198 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35199 of the number.
35200 * stdio-common/printf_fphex.c: Likewise.
35201 * stdio-common/printf_size.c: Likewise.
35202
9277c064
UD
35203 * math/e_exp10.c: Include math_private.h using <...> not "...".
35204 * math/e_exp10f.c: Likewise.
35205 * math/e_exp10l.c: Likewise.
35206 * math/e_exp2l.c: Likewise.
35207 * math/e_j0l.c: Likewise.
35208 * math/e_j1l.c: Likewise.
35209 * math/e_jnl.c: Likewise.
35210 * math/e_lgammal_r.c: Likewise.
35211 * math/e_rem_pio2l.c: Likewise.
35212 * math/e_scalb.c: Likewise.
35213 * math/e_scalbf.c: Likewise.
35214 * math/e_scalbl.c: Likewise.
35215 * math/k_cosl.c: Likewise.
35216 * math/k_sinl.c: Likewise.
35217 * math/k_tanl.c: Likewise.
35218 * math/s_cacoshf.c: Likewise.
35219 * math/s_catan.c: Likewise.
35220 * math/s_catanf.c: Likewise.
35221 * math/s_catanh.c: Likewise.
35222 * math/s_catanhf.c: Likewise.
35223 * math/s_catanhl.c: Likewise.
35224 * math/s_catanl.c: Likewise.
35225 * math/s_ccosh.c: Likewise.
35226 * math/s_ccoshf.c: Likewise.
35227 * math/s_ccoshl.c: Likewise.
35228 * math/s_cexp.c: Likewise.
35229 * math/s_cexpf.c: Likewise.
35230 * math/s_cexpl.c: Likewise.
35231 * math/s_clog.c: Likewise.
35232 * math/s_clog10.c: Likewise.
35233 * math/s_clog10f.c: Likewise.
35234 * math/s_clog10l.c: Likewise.
35235 * math/s_clogf.c: Likewise.
35236 * math/s_clogl.c: Likewise.
35237 * math/s_csin.c: Likewise.
35238 * math/s_csinf.c: Likewise.
35239 * math/s_csinh.c: Likewise.
35240 * math/s_csinhf.c: Likewise.
35241 * math/s_csinhl.c: Likewise.
35242 * math/s_csinl.c: Likewise.
35243 * math/s_csqrt.c: Likewise.
35244 * math/s_csqrtf.c: Likewise.
35245 * math/s_csqrtl.c: Likewise.
35246 * math/s_ctan.c: Likewise.
35247 * math/s_ctanf.c: Likewise.
35248 * math/s_ctanh.c: Likewise.
35249 * math/s_ctanhf.c: Likewise.
35250 * math/s_ctanhl.c: Likewise.
35251 * math/s_ctanl.c: Likewise.
35252 * math/s_ldexp.c: Likewise.
35253 * math/s_ldexpf.c: Likewise.
35254 * math/s_ldexpl.c: Likewise.
35255 * math/s_significand.c: Likewise.
35256 * math/s_significandf.c: Likewise.
35257 * math/s_significandl.c: Likewise.
35258 * math/w_acos.c: Likewise.
35259 * math/w_acosf.c: Likewise.
35260 * math/w_acosh.c: Likewise.
35261 * math/w_acoshf.c: Likewise.
35262 * math/w_acoshl.c: Likewise.
35263 * math/w_acosl.c: Likewise.
35264 * math/w_asin.c: Likewise.
35265 * math/w_asinf.c: Likewise.
35266 * math/w_asinl.c: Likewise.
35267 * math/w_atan2.c: Likewise.
35268 * math/w_atan2f.c: Likewise.
35269 * math/w_atan2l.c: Likewise.
35270 * math/w_atanh.c: Likewise.
35271 * math/w_atanhf.c: Likewise.
35272 * math/w_atanhl.c: Likewise.
35273 * math/w_cosh.c: Likewise.
35274 * math/w_coshf.c: Likewise.
35275 * math/w_coshl.c: Likewise.
35276 * math/w_dremf.c: Likewise.
35277 * math/w_exp10.c: Likewise.
35278 * math/w_exp10f.c: Likewise.
35279 * math/w_exp10l.c: Likewise.
35280 * math/w_exp2.c: Likewise.
35281 * math/w_exp2f.c: Likewise.
35282 * math/w_fmod.c: Likewise.
35283 * math/w_fmodf.c: Likewise.
35284 * math/w_fmodl.c: Likewise.
35285 * math/w_hypot.c: Likewise.
35286 * math/w_hypotf.c: Likewise.
35287 * math/w_hypotl.c: Likewise.
35288 * math/w_j0.c: Likewise.
35289 * math/w_j0f.c: Likewise.
35290 * math/w_j0l.c: Likewise.
35291 * math/w_j1.c: Likewise.
35292 * math/w_j1f.c: Likewise.
35293 * math/w_j1l.c: Likewise.
35294 * math/w_jn.c: Likewise.
35295 * math/w_jnf.c: Likewise.
35296 * math/w_jnl.c: Likewise.
35297 * math/w_lgamma.c: Likewise.
35298 * math/w_lgamma_r.c: Likewise.
35299 * math/w_lgammaf.c: Likewise.
35300 * math/w_lgammaf_r.c: Likewise.
35301 * math/w_lgammal.c: Likewise.
35302 * math/w_lgammal_r.c: Likewise.
35303 * math/w_log.c: Likewise.
35304 * math/w_log10.c: Likewise.
35305 * math/w_log10f.c: Likewise.
35306 * math/w_log10l.c: Likewise.
35307 * math/w_log2.c: Likewise.
35308 * math/w_log2f.c: Likewise.
35309 * math/w_log2l.c: Likewise.
35310 * math/w_logf.c: Likewise.
35311 * math/w_logl.c: Likewise.
35312 * math/w_pow.c: Likewise.
35313 * math/w_powf.c: Likewise.
35314 * math/w_powl.c: Likewise.
35315 * math/w_remainder.c: Likewise.
35316 * math/w_remainderf.c: Likewise.
35317 * math/w_remainderl.c: Likewise.
35318 * math/w_scalb.c: Likewise.
35319 * math/w_scalbf.c: Likewise.
35320 * math/w_scalbl.c: Likewise.
35321 * math/w_sinh.c: Likewise.
35322 * math/w_sinhf.c: Likewise.
35323 * math/w_sinhl.c: Likewise.
35324 * math/w_sqrt.c: Likewise.
35325 * math/w_sqrtf.c: Likewise.
35326 * math/w_sqrtl.c: Likewise.
35327 * math/w_tgamma.c: Likewise.
35328 * math/w_tgammaf.c: Likewise.
35329 * math/w_tgammal.c: Likewise.
35330
6a621eb7
UD
35331 * po/ja.po: Update from translation team.
35332
bf582445
AJ
353332011-09-29 Andreas Jaeger <aj@suse.de>
35334
f9efbf3a
AJ
35335 [BZ #13179]
35336 * sunrpc/netname.c (netname2host): Fix logic.
35337
bf582445
AJ
35338 [BZ #6779]
35339 [BZ #6783]
35340 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35341 correctly.
35342 * math/w_remainder.c (__remainder): Likewise.
35343 * math/w_remainderf.c (__remainderf): Likewise.
35344 * math/libm-test.inc (remainder_test): Add test cases.
35345
48693bea
AK
353462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35347
35348 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35349 sdiv_qrnnd.
35350
42622229
LD
353512011-10-07 Ulrich Drepper <drepper@gmail.com>
35352
35353 * string/test-memcmp.c: Avoid unncessary #defines.
35354 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35355
093ecf92
LD
353562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35357
35358 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35359 Use new sse2 version for core i3 - i7 as it's faster
35360 than sse42 version.
35361 (bit_Prefer_PMINUB_for_stringop): New.
35362 * sysdeps/x86_64/rawmemchr.S: Update.
35363 Replace with faster SSE2 version.
35364 * sysdeps/x86_64/memrchr.S: New file.
35365 * sysdeps/x86_64/memchr.S: Update.
35366 Replace with faster SSE2 version.
35367
fde56e5c
MP
353682011-09-12 Marek Polacek <mpolacek@redhat.com>
35369
35370 * elf/dl-load.c (lose): Add cast to avoid warning.
35371
21fd49a9
UD
353722011-10-07 Ulrich Drepper <drepper@gmail.com>
35373
5a06e643
UD
35374 * po/ca.po: Update from translation team.
35375
684ae515
UD
35376 * inet/getnetgrent_r.c: Hook up nscd.
35377 * nscd/Makefile (routines): Add nscd_netgroup.
35378 (nscd-modules): Add netgroupcache.
35379 (CFLAGS-netgroupcache.c): Define.
35380 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35381 (cache_search): Add const to second parameter.
35382 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35383 INNETGR.
35384 (dbs): Add netgrdb entry.
35385 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35386 (verify_persistent_db): Handle netgrdb.
35387 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35388 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35389 GETFDNETGR.
35390 (netgroup_response_header): Define.
35391 (innetgroup_response_header): Define.
35392 (datahead): Add netgroup_response_header and innetgroup_response_header
35393 elements.
35394 * nscd/nscd.conf: Add entries for netgroup cache.
35395 * nscd/nscd.h (dbtype): Add netgrdb.
35396 (_PATH_NSCD_NETGROUP_DB): Define.
35397 (netgroup_iov_disabled): Declare.
35398 (xmalloc, xcalloc, xrealloc): Move declarations here.
35399 (cache_search): Adjust prototype.
35400 Add netgroup-related prototypes.
35401 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35402 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35403 (__nscd_innetgr): Declare.
35404 * nscd/selinux.c (perms): Use access_vector_t as element type and
35405 add netgroup-related initializers.
35406 * nscd/netgroupcache.c: New file.
35407 * nscd/nscd_netgroup.c: New file.
35408 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35409 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35410 For four parameters use innetgr.
35411 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35412 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35413 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35414 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35415
21fd49a9
UD
35416 * nscd/connections.c (register_traced_file): Don't register file
35417 for disabled databases.
35418
054c0457
UD
354192011-10-06 Ulrich Drepper <drepper@gmail.com>
35420
32b63198
UD
35421 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35422
054c0457
UD
35423 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35424 from tree and freeing node.
35425
64031225
JO
354262011-09-25 Jiri Olsa <jolsa@redhat.com>
35427
35428 * nss/nsswitch.c (__nss_database_lookup): Handle
35429 nss_parse_service_list out of memory case.
35430
0490345c
JO
354312011-09-15 Jiri Olsa <jolsa@redhat.com>
35432
35433 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35434 out of memory case.
35435
3a62d00d
AS
354362011-10-04 Andreas Schwab <schwab@redhat.com>
35437
35438 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35439 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35440 pass it down.
35441 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35442 elf_machine_rela, elf_machine_lazy_rel.
35443 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35444 (ELF_DYNAMIC_DO_REL): Likewise.
35445 (ELF_DYNAMIC_DO_RELA): Likewise.
35446 (ELF_DYNAMIC_RELOCATE): Likewise.
35447 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35448 to ELF_DYNAMIC_DO_REL.
35449 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35450 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35451 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35452 elf_machine_rela.
35453 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35454 skip_ifunc, don't call ifunc function if non-zero.
35455 (elf_machine_rela): Likewise.
35456 (elf_machine_lazy_rel): Likewise.
35457 (elf_machine_lazy_rela): Likewise.
35458 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35459 (elf_machine_lazy_rel): Likewise.
35460 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35461 Likewise.
35462 (elf_machine_lazy_rel): Likewise.
35463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35464 Likewise.
35465 (elf_machine_lazy_rel): Likewise.
35466 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35467 (elf_machine_lazy_rel): Likewise.
35468 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35469 (elf_machine_lazy_rel): Likewise.
35470 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35471 (elf_machine_lazy_rel): Likewise.
35472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35473 (elf_machine_lazy_rel): Likewise.
35474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35475 (elf_machine_lazy_rel): Likewise.
35476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35477 (elf_machine_lazy_rel): Likewise.
35478
68577918
UD
354792011-09-28 Ulrich Drepper <drepper@gmail.com>
35480
35481 * nss/nss_files/files-init.c (_nss_files_init): Use static
35482 initialization for all the *_traced_file variables.
35483
68822d74
AS
354842011-09-28 Andreas Schwab <schwab@redhat.com>
35485
35486 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35487
2056100b
RM
354882011-09-27 Roland McGrath <roland@hack.frob.com>
35489
35490 [BZ #13226]
35491 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35492
32c76b63
AS
354932011-09-27 Andreas Schwab <schwab@redhat.com>
35494
35495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35496 Reread the line before reparsing it.
35497
bf972c9d
AS
354982011-09-26 Andreas Schwab <schwab@redhat.com>
35499
35500 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35501
e057a1b5
JM
355022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35503 Maxim Kuvyrkov <maxim@codesourcery.com>
35504 Joseph Myers <joseph@codesourcery.com>
35505
35506 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35507 if needed for __stack_chk_guard.
35508
bc7e1c36
RM
355092011-09-19 Roland McGrath <roland@hack.frob.com>
35510
ecb1482f
RM
35511 * sysdeps/posix/spawni.c (script_execute): Always define it.
35512 It will be optimized away if unused.
35513 (maybe_script_execute): New function.
35514 (__spawni): Call it.
35515
bc7e1c36
RM
35516 * Makerules: Don't include tls.make.
35517 (config-tls): Always set to thread.
35518 * tls.make.c: File removed.
35519
1c3b002b
MF
355202011-09-19 Mike Frysinger <vapier@gentoo.org>
35521
35522 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35523 * config.make.in (CPPFLAGS-config): New substituted variable.
35524
2840865d
UD
355252011-09-15 Ulrich Drepper <drepper@gmail.com>
35526
88738eb6
UD
35527 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35528
cbf645a6 35529 [BZ #13192]
2840865d
UD
35530 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35531 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35532
b402e91a
RM
355332011-09-15 Roland McGrath <roland@hack.frob.com>
35534
35535 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35536 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35538 (CALL_FAIL): Likewise.
35539 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35540 (CALL_FAIL): Macro removed.
35541 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35542
4c1a1f71
UD
355432011-09-15 Ulrich Drepper <drepper@gmail.com>
35544
35545 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35546 for __FINITE_MATH_ONLY__ == 1.
35547
edc121be
AS
355482011-09-15 Andreas Schwab <schwab@redhat.com>
35549
35550 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35551 __ieee754_sqrt instead of sqrt.
35552 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35553 __ieee754_sqrtf instead of sqrtf.
35554 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35555 __floorf instead of floorf.
35556 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35557 __floorf, __truncf instead of floorf, truncf.
35558
cd205654
UD
355592011-09-14 Ulrich Drepper <drepper@gmail.com>
35560
ee4d0315
UD
35561 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35562
cd205654
UD
35563 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35564 __extern_always_inline.
35565 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35566 32-bit.
35567
48b67d71
AS
355682011-09-14 Andreas Schwab <schwab@redhat.com>
35569
35570 * elf/rtld.c (dl_main): Also relocate in dependency order when
35571 doing symbol dependency testing.
35572
1ae12c75
AS
355732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35574
35575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35576 Always define `refsym'.
35577
995a80df
AS
355782011-09-13 Andreas Schwab <schwab@redhat.com>
35579
e529793b
AS
35580 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35581 (__FD_ELT): Renamed from __FDELT.
35582 * misc/bits/select2.h (__FD_ELT): Likewise.
35583 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35584 __FD_MASK instead of __FDELT, __FDMASK.
35585 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35586 Likewise.
35587 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35588 Likewise.
35589
52d4fef8
AS
35590 * elf/Makefile (gen-ldd): Fix pattern.
35591
995a80df
AS
35592 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35593 (init_tls): Likewise.
35594
8682f8b0
UD
355952011-09-12 Ulrich Drepper <drepper@gmail.com>
35596
35597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35598
de82006d
AS
355992011-09-12 Andreas Schwab <schwab@redhat.com>
35600
a7c8e6a1
AS
35601 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35602 `struct cmsghdr *' instead of `void *'.
35603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35604 Likewise.
35605
0f31fe77
AS
356062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35607
35608 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35609 if non-absolute.
35610 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35611 ldd_rewrite_script.
0f31fe77 35612
32b4c839
UD
356132011-09-11 Ulrich Drepper <drepper@gmail.com>
35614
83cd1420
UD
35615 * configure.in: Remove --with-tls option.
35616 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35617 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35618 out in case it is missing.
35619 * sysdeps/ia64/elf/configure.in: Likewise.
35620 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35621 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35622 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35623 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35624 * sysdeps/sh/elf/configure.in: Likewise.
35625 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35626 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35627 * sysdeps/x86_64/elf/configure.in: Likewise.
35628 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35629 * sysdeps/mach/hurd/tls.h: Likewise.
35630
633f745d
UD
35631 [BZ #13067]
35632 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35633
f318beb8
UD
35634 [BZ #13090]
35635 * configure.in: Fix use of AC_INIT.
35636
32b4c839
UD
35637 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35638
3ce1f295
UD
356392011-09-10 Ulrich Drepper <drepper@gmail.com>
35640
bb016596
UD
35641 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35642 __set_errno.
8e58439c
UD
35643 * malloc/hooks.c: Likewise.
35644
aebae053 35645 [BZ #11929]
02d46fc4
UD
35646 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35647 variables statically.
35648 (narenas): Initialize.
35649 (list_lock): Initialize.
bb016596
UD
35650 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35651 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35652 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35653 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35654 Add initializers to main_arena and mp_.
35655 (malloc_state): Remove pagesize member. Change all users to use
35656 GLRO(dl_pagesize).
35657
35658 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35659 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35660 is always initialized.
35661
22a89187
UD
35662 * malloc/malloc.c: Removed unused configurations and dead code.
35663 * malloc/arena.c: Likewise.
35664 * malloc/hooks.c: Likewise.
02d46fc4 35665 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35666
d063d164
UD
35667 * include/tls.h: Removed. USE___THREAD must always be defined.
35668 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35669 * elf/dl-libc.c: Likewise.
35670 * elf/dl-tsd.c: Likewise.
35671 * include/errno.h: Likewise.
35672 * include/netdb.h: Likewise.
35673 * include/resolv.h: Likewise.
35674 * inet/herrno-loc.c: Likewise.
35675 * inet/herrno.c: Likewise.
35676 * malloc/arena.c: Likewise.
35677 * malloc/hooks.c: Likewise.
35678 * malloc/malloc.c: Likewise.
35679 * resolv/res-state.c: Likewise.
35680 * resolv/res_libc.c: Likewise.
35681 * sysdeps/i386/dl-machine.h: Likewise.
35682 * sysdeps/ia64/dl-machine.h: Likewise.
35683 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35684 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35685 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35686 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35687 * sysdeps/sh/dl-machine.h: Likewise.
35688 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35689 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35690 * sysdeps/unix/i386/sysdep.S: Likewise.
35691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35692 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35697 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35701 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35702 * sysdeps/x86_64/dl-machine.h: Likewise.
35703 * tls.make.c: Likewise.
35704
3ce1f295
UD
35705 * configure.in: Remove --with-__thread option. Make tests for
35706 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35707 tls_model attribute fail if no support is available. Remove
35708 USE_IN_LIBIO.
35709 * Makeconfig: Adjust for dropped configure option. All features are
35710 now mandatory.
35711 * Makerules: Likewise.
35712 * Versions.def: Likewise.
35713 * argp/argp-fmtstream.c: Likewise.
35714 * argp/argp-fmtstream.h: Likewise.
35715 * argp/argp-help.c: Likewise.
35716 * assert/assert.c: Likewise.
35717 * config.h.in: Likewise.
35718 * config.make.in: Likewise.
35719 * configure: Likewise.
35720 * configure.in: Likewise.
35721 * csu/Versions: Likewise.
35722 * csu/init.c: Likewise.
35723 * elf/tst-audit2.c: Likewise.
35724 * elf/tst-tls10.c: Likewise.
35725 * elf/tst-tls10.h: Likewise.
35726 * elf/tst-tls11.c: Likewise.
35727 * elf/tst-tls12.c: Likewise.
35728 * elf/tst-tls14.c: Likewise.
35729 * elf/tst-tlsmod11.c: Likewise.
35730 * elf/tst-tlsmod12.c: Likewise.
35731 * elf/tst-tlsmod13.c: Likewise.
35732 * elf/tst-tlsmod13a.c: Likewise.
35733 * elf/tst-tlsmod14a.c: Likewise.
35734 * elf/tst-tlsmod15b.c: Likewise.
35735 * elf/tst-tlsmod16a.c: Likewise.
35736 * elf/tst-tlsmod16b.c: Likewise.
35737 * elf/tst-tlsmod7.c: Likewise.
35738 * elf/tst-tlsmod8.c: Likewise.
35739 * elf/tst-tlsmod9.c: Likewise.
35740 * gmon/gmon.c: Likewise.
35741 * grp/fgetgrent_r.c: Likewise.
35742 * grp/putgrent.c: Likewise.
35743 * hurd/fopenport.c: Likewise.
35744 * include/libc-symbols.h: Likewise.
35745 * include/tls.h: Likewise.
35746 * intl/gettextP.h: Likewise.
35747 * intl/loadinfo.h: Likewise.
35748 * locale/global-locale.c: Likewise.
35749 * locale/localeinfo.h: Likewise.
35750 * mach/devstream.c: Likewise.
35751 * malloc/arena.c: Likewise.
35752 * malloc/set-freeres.c: Likewise.
35753 * misc/err.c: Likewise.
35754 * misc/getttyent.c: Likewise.
35755 * misc/mntent_r.c: Likewise.
35756 * posix/getopt.c: Likewise.
35757 * posix/wordexp.c: Likewise.
35758 * pwd/fgetpwent_r.c: Likewise.
35759 * resolv/Versions: Likewise.
35760 * resolv/res_hconf.c: Likewise.
35761 * shadow/fgetspent_r.c: Likewise.
35762 * shadow/putspent.c: Likewise.
35763 * stdio-common/printf_fphex.c: Likewise.
35764 * stdio-common/tmpfile.c: Likewise.
35765 * stdlib/abort.c: Likewise.
35766 * stdlib/fmtmsg.c: Likewise.
35767 * sunrpc/auth_unix.c: Likewise.
35768 * sunrpc/clnt_perr.c: Likewise.
35769 * sunrpc/clnt_tcp.c: Likewise.
35770 * sunrpc/clnt_udp.c: Likewise.
35771 * sunrpc/clnt_unix.c: Likewise.
35772 * sunrpc/openchild.c: Likewise.
35773 * sunrpc/svc_simple.c: Likewise.
35774 * sunrpc/svc_tcp.c: Likewise.
35775 * sunrpc/svc_udp.c: Likewise.
35776 * sunrpc/svc_unix.c: Likewise.
35777 * sunrpc/xdr.c: Likewise.
35778 * sunrpc/xdr_array.c: Likewise.
35779 * sunrpc/xdr_rec.c: Likewise.
35780 * sunrpc/xdr_ref.c: Likewise.
35781 * sunrpc/xdr_stdio.c: Likewise.
35782
1248c1c4
PB
357832011-09-09 Ulrich Drepper <drepper@gmail.com>
35784
35785 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35786
357872011-07-03 Andreas Jaeger <aj@suse.de>
35788
35789 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35790 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35791 regenerate with gen-libm-tests.pl.
35792
357932010-05-12 Petr Baudis <pasky@suse.cz>
35794
35795 [BZ #11589]
35796 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35797 around j0() zero points by switching to j1().
35798 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35802
f22e1074
UD
358032011-09-09 Ulrich Drepper <drepper@gmail.com>
35804
f19009c1
UD
35805 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35806 instead of 0.
35807 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35808 instead of 0.
f19009c1
UD
35809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35810 Patch in part by Pavel Roskin <proski@gnu.org>.
35811
3f8cc204
UD
35812 [BZ #13138]
35813 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35814 realloc.
35815 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35816 Free memory block if necessary.
35817
f22e1074
UD
35818 [BZ #12847]
35819 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35820 be NULL. Don't lock in this case.
35821
0a2349f9
RM
358222011-09-09 Roland McGrath <roland@hack.frob.com>
35823
35824 * elf/elf.h (ELFOSABI_GNU): New macro.
35825 (ELFOSABI_LINUX): Define to that.
35826
f3cdd467
DZ
358272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35828
35829 * string/strncat.c (strncat): Undef the symbol in case it has been
35830 defined in bits/string.h.
35831
74718d13
UD
358322011-09-09 Ulrich Drepper <drepper@gmail.com>
35833
633e9e0f
UD
35834 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35835
0a2349f9 35836 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35837 link map.
35838
f9924780
AJ
358392011-08-17 Andreas Jaeger <aj@suse.de>
35840
35841 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35842
7f5517aa
PP
358432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35844 Ian Lance Taylor <iant@google.com>
35845
35846 * math/libm-test.inc (lround_test): New testcase.
35847 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35848
762011fe
UD
358492011-09-08 Ulrich Drepper <drepper@gmail.com>
35850
92963737
UD
35851 * Makefile: Remove support for automatic cvs check-ins.
35852 * Makerules: Likewise.
35853 * config.make.in: Likewise.
35854 * configure.in: Likewise.
35855 * intl/Makefile: Likewise.
35856 * locale/Makefile: Likewise.
35857 * po/Makefile: Likewise.
35858 * posix/Makefile: Likewise.
35859 * sysdeps/gnu/Makefile: Likewise.
35860 * sysdeps/mach/hurd/Makefile: Likewise.
35861 * sysdeps/sparc/sparc32/Makefile: Likewise.
35862
b0727fd8
JS
35863 [BZ #13118]
35864 * posix/Makefile (bug-regex32-ENV): Define.
35865 Patch by John Stanley <jpsinthemix@verizon.net>.
35866
a0f33f99
UD
35867 * misc/Makefile (headers): Add bits/select2.h.
35868 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35869 * misc/bits/select2.h: New file.
35870 * include/bits/select2.h: New file.
35871 * debug/Makefile (routines): Add fdelt_chk.
35872 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35873 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35874 FD_ISSET.
35875 * debug/fdelt_chk.c: New file.
35876
762011fe
UD
35877 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35878 * wcsmbs/test-wmemcmp.c: Likewise.
35879 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35880 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35881
358822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35883
35884 * string/Makefile (strop-tests): Add memcmp.
35885 * string/test-wmemcmp.c: New file.
35886 * string/test-memcmp.c: Add wmemcmp support.
35887
7f513ec8
RM
358882011-09-08 Roland McGrath <roland@hack.frob.com>
35889
0442afb4
RM
35890 [BZ #13153]
35891 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35892 2011-07-19 change.
35893
7f513ec8
RM
35894 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35895 garbage value in a __mach_port_mod_refs call in the cases of the
35896 task-self and thread-self ports.
35897
a12b2239
ST
358982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35899
35900 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35901
610f9ab4
AS
359022011-09-08 Andreas Schwab <schwab@redhat.com>
35903
7f513ec8 35904 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35905
48882a1a
LD
359062011-09-07 Ulrich Drepper <drepper@gmail.com>
35907
b49865be
UD
35908 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35909
fdc86bc9
UD
35910 * elf/dl-libc.c (dlerror_run): Pass back error code from
35911 dl_catch_error.
35912
c966526a
UD
35913 [BZ #13123]
35914 * elf/dl-load.c (lose): Free l_origin if it is valid.
35915
48882a1a
LD
35916 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35917 names.
35918 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35923 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35924
77a2a8b4
AZ
359252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35926
35927 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35928 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35929 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35930 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35931 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35932 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35933 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35934 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35935 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35936 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35937
24f579d8
AM
359382011-08-15 Alan Modra <amodra@gmail.com>
35939
35940 [BZ #13092]
35941 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35942 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35943 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35944 ppc_mcount to static-only-routines.
35945 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35946 __mcount_internal.
35947 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35948 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35949
3d4837df
UD
359502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35951
35952 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35953 for finite and infinity parameters.
35954
22700377
WS
359552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35956
35957 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35958 and add nop instructions for throughput optimization.
35959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35960
5025581e
WS
359612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35962
35963 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35964 aligned copy for power7 with vector-scalar instructions.
35965 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35966
08a300c9
L
359672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35968
35969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35970 AVX check.
35971
59178ef9
AS
359722011-09-07 Andreas Schwab <schwab@redhat.com>
35973
35974 [BZ #13144]
35975 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35976 last change.
35977
e38ba7ab
UD
359782011-09-07 Ulrich Drepper <drepper@gmail.com>
35979
35980 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35981 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35982 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35983 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35984 clock_gettime.
35985
d53a73ac
UD
359862011-09-06 Ulrich Drepper <drepper@gmail.com>
35987
fc8bffcc
UD
35988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35989 Forgot to demangle the pointer.
35990
ceaa0c5d
UD
35991 * sysdeps/i386/sysdep.h: Define atom_text_section.
35992 * sysdeps/x86_64/sysdep.h: Likewise.
35993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35994 section with atom_text_section.
35995 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35996 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35997 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35999 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36000
a77d3c17
UD
36001 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36002 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36003 already be defined. Change to take two parameters and don't assign
36004 result to variable. Adjust all users.
36005 Define INTERNAL_GETTIME if not already defined.
36006 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36007 call.
36008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36009 HAVE_CLOCK_GETTIME_VSYSCALL.
36010 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36011
d53a73ac
UD
36012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36013 gettimeofday vsyscall, just use time.
36014
a8f84144
AS
360152011-09-06 Andreas Schwab <schwab@redhat.com>
36016
36017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36018 <errno.h>.
36019
ef606249
UD
360202011-09-06 Ulrich Drepper <drepper@gmail.com>
36021
36022 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36023 syscall on x86-64.
36024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36025 syscall.
36026 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36028 syscall if possible.
36029
6585cb60
UD
360302011-09-05 Ulrich Drepper <drepper@gmail.com>
36031
36032 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36033 e_ident. Don't pass to find_mapsXX.
36034 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36035
a5f524e4
LD
360362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36037
36038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36039 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36040 * sysdeps/x86_64/multiarch/strchr.S: Update.
36041 Check bit_slow_BSF bit.
36042 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36043 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36044 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36045
554881ef
UD
360462011-09-05 Ulrich Drepper <drepper@gmail.com>
36047
d96de963
UD
36048 [BZ #13134]
36049 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36050 before glibc 2.15.
36051 (tryshell): Define.
36052 (__spawni): Change last parameter to be flag. Test
36053 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36054 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36055 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36056 * posix/spawni.c: Likewise.
36057 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36058 * posix/spawnp.c: Likewise. Change normal version to use
36059 SPAWN_XFLAGS_USE_PATH.
36060 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36061 SPAWN_XFLAGS_TRY_SHELL.
36062
d48e5868
UD
36063 [BZ #13150]
36064 * posix/glob.h: Remove gcc 1.x support.
36065
554881ef
UD
36066 [BZ #13068]
36067 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36068
693fb948
LD
360692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36070
36071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36072 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36073 strrchr-sse2-bsf
36074 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36075 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36076 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36077 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36078 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36080
1b48c537
UD
360812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36082
49d42c37
UD
36083 * sysdeps/x86_64/wcscmp.S: New file.
36084
1b48c537
UD
36085 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36086 wcscmp-c wcscmp-sse2
36087 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36088 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36089 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36090 * wcsmbs/wcscmp.c: Allow renaming.
36091
15c95c5d
DM
360922011-09-05 David S. Miller <davem@davemloft.net>
36093
36094 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36095 stack slot, rather than the struct return pointer slot.
36096 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36097 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36099 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36100
2f0ad8f3
UD
361012011-09-05 Ulrich Drepper <drepper@gmail.com>
36102
d88ae418
UD
36103 * po/ja.po: Update from translation team.
36104
2f0ad8f3
UD
36105 [BZ #13144]
36106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36107 kernel in 64-bit binaries.
36108
5f4318d1
DM
361092011-09-01 David S. Miller <davem@davemloft.net>
36110
36111 * elf/elf.h (HWCAP_SPARC_*): Move to..
36112 * sysdeps/sparc/sysdep.h: this new file and add new values.
36113 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36114 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36115 _DL_HWCAP_COUNT to 24.
36116 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36117 entries.
36118 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36119 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36120 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36122 instead of magic constants.
36123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36124
3ba57516
DM
361252011-08-31 David S. Miller <davem@davemloft.net>
36126
36127 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36129 Reimplement to do errno handling inline.
36130 (SYSCALL_ERROR_HANDLER): New macro.
36131 (__SYSCALL_STRING): Do not do errno handling in asm.
36132 (__CLONE_SYSCALL_STRING): Delete.
36133 (__INTERNAL_SYSCALL_STRING): Delete.
36134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36135 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36136 (PSEUDO): Reimplement to do errno handling inline.
36137 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36138 (SYSCALL_ERROR_HANDLER): New macro.
36139 (__SYSCALL_STRING): Do not do errno handling in asm.
36140 (__CLONE_SYSCALL_STRING): Delete.
36141 (__INTERNAL_SYSCALL_STRING): Delete.
36142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36143 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36144 i386.
36145 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36146 (inline_syscall*): Add 'err' argument.
36147 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36148 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36149 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36150 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36151
36152 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36153 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36154
2bc17433
AS
361552011-08-30 Andreas Schwab <schwab@redhat.com>
36156
36157 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36158
fbeb5f4d
JO
361592011-08-29 Jiri Olsa <jolsa@redhat.com>
36160
36161 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36162 directive.
36163
ad69cc26
DM
361642011-08-24 David S. Miller <davem@davemloft.net>
36165
36166 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36167
39dd69df
AS
361682011-08-24 Andreas Schwab <schwab@redhat.com>
36169
36170 * elf/Makefile: Add rules to build and run unload8 test.
36171 * elf/unload8.c: New file.
36172 * elf/unload8mod1.c: New file.
36173 * elf/unload8mod1x.c: New file.
36174 * elf/unload8mod2.c: New file.
36175 * elf/unload8mod3.c: New file.
36176
36177 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36178 it wasn't used.
36179
2c0b250a
DM
361802011-08-23 David S. Miller <davem@davemloft.net>
36181
36182 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36183 subtract stack bias.
36184 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36185 %sp not %fp in calculations.
36186 (_JMPBUF_UNWINDS_ADJ): Likewise.
36187
22044b48
DM
36188 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36189 (aio_suspend): Call it to force an exception region around the
36190 AIO_MISC_WAIT() invocation.
36191
2cae4995
AS
361922011-08-23 Andreas Schwab <schwab@redhat.com>
36193
36194 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36195 backslash.
36196
873a772e
AJ
361972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36198
36199 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36200 protection macro.
36201 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36202 and <dl-machine.h>.
36203 (Elf64_FuncDesc): Remove.
36204
25ad0df1
DM
362052011-08-22 David S. Miller <davem@davemloft.net>
36206
36207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36208 sigaltstack check, add missing cfi directives.
36209 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36210 missing cfi directives, and sigaltstack handling.
36211
e888bcbe
AS
362122011-08-16 Andreas Schwab <schwab@redhat.com>
36213
36214 [BZ #11724]
36215 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36216 object is seen twice.
36217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36218
36219 * elf/Makefile (distribute): Add tst-initorder2.c.
36220 (tests): Add tst-initorder2.
36221 (modules-names): Add tst-initorder2a tst-initorder2b
36222 tst-initorder2c tst-initorder2d. Add rules to build them.
36223 ($(objpfx)tst-initorder2.out): New rule.
36224 * elf/tst-initorder2.c: New file.
36225 * elf/tst-initorder2.exp: New file.
36226
87162f46
AS
362272011-08-22 Andreas Schwab <schwab@redhat.com>
36228
70538b7f
AS
36229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36230
f55ffe58
AS
36231 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36232 dependencies back to end of function.
36233
87162f46
AS
36234 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36235 $(elfobjdir)/ld.so.
36236
91b392a4
UD
362372011-08-21 Ulrich Drepper <drepper@gmail.com>
36238
36239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36240 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36242 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36243 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36244 of __vdso_gettimeofday.
36245 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36246 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36247 attribute_hidden.
36248 (_libc_vdso_platform_setup): Remove initialization of
36249 __vdso_gettimeofday and __vdso_time.
36250
5c43483f
UD
362512011-08-20 Ulrich Drepper <drepper@gmail.com>
36252
775a77e7
UD
36253 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36254 and fgetc_unlocked.
36255 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36256 getc_unlocked.
89f447ed 36257
49c74ba9
UD
36258 * elf/dl-open.c (add_to_global): Report additions to the global scope
36259 for LD_DEBUG=scopes.
36260 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36261 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36262
5c43483f
UD
36263 [BZ #13114]
36264 * stdio-common/Makefile (tests): Add bug24.
36265 * stdio-common/bug24.c: New file.
36266
a101b025
AJ
362672011-08-19 Andreas Jaeger <aj@suse.de>
36268
36269 [BZ #13114]
36270 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36271 non-existant file when using close-on-exec mode.
36272
c88f1766
UD
362732011-08-20 Ulrich Drepper <drepper@gmail.com>
36274
0276a718
UD
36275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36276 the very first instruction.
36277
c88f1766
UD
36278 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36279 the CFI state in the end.
36280 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36281 inclusion of dl-trampoline.h.
36282 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36283
51ccffa0
AS
362842011-08-19 Andreas Schwab <schwab@redhat.com>
36285
94d7165f
AS
36286 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36287 expectations for long double.
36288
51ccffa0
AS
36289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36290 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36291
fd708658 362922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36293
36294 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36295 artificual limit depends upon the system page size.
36296
44f0a71e
UD
362972011-08-17 Ulrich Drepper <drepper@gmail.com>
36298
36299 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36300 * resolv/Makefile: Define CFLAGS-libresolv.
36301
8de79a24
AS
363022011-08-17 Andreas Schwab <schwab@redhat.com>
36303
36304 * nss/makedb.c (compute_tables): Make variables used in nested
36305 function static.
36306
27724598
UD
363072011-08-17 Ulrich Drepper <drepper@gmail.com>
36308
c5305d88
UD
36309 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36310 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36311 if buffer was too small.
36312
27724598
UD
36313 * elf/pldd.c (main): Attach to all threads in the process.
36314 Rewrite /proc handling to use *at functions.
36315
076fe015
UD
363162011-08-16 Ulrich Drepper <drepper@gmail.com>
36317
174baab3
UD
36318 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36319 specifies first scope to show.
36320 (dl_open_worker): Update callers. Move printing scope of new
36321 object to before the relocation.
44f0a71e 36322 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36323 * sysdeps/generic/ldsodefs.h: Update declaration.
36324
076fe015
UD
36325 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36326 string for the scope number.
36327
a60df2c3
UD
363282011-08-14 Ulrich Drepper <drepper@gmail.com>
36329
36330 * nscd/servicescache.c (cache_addserv): Make sure written is always
36331 initialized.
36332
5e4287d1
RM
363332011-08-14 Roland McGrath <roland@hack.frob.com>
36334
85ae0589
RM
36335 * sysdeps/i386/i486/bits/atomic.h
36336 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36337 statement expression, so as to suppress "set but not used" warning.
36338 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36339
69f63097
RM
36340 * string/strncat.c (STRNCAT): Use prototype definition.
36341
675456ef
RM
36342 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36343 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36344 -Iprograms here.
36345 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36346 (localedef-modules): Add localedef.
36347 (locale-modules): Add locale.
36348
5e4287d1
RM
36349 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36350 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36351 to avoid a warning.
36352
9c96ff23
DM
363532011-08-14 David S. Miller <davem@davemloft.net>
36354
36355 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36356 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36357
f9ddf089
UD
363582011-08-13 Ulrich Drepper <drepper@gmail.com>
36359
44f0a71e 36360 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36361 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36362 * elf/rtld.c (dl_main): Set l_name of vDSO.
36363 Call _dl_show_scope when DL_DEBUG_SCOPES.
36364 (process_dl_debug): Recognize scopes flag and also set it for all.
36365 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36366 Declare _dl_show_scope.
36367
1dc27704
UD
36368 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36369 (do_dlopen): Pass caller_dlopen to dl_open.
36370 (__libc_dlopen_mode): Initialize caller_dlopen.
36371
f9ddf089
UD
36372 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36373 of libc. Make tolower call locale-independent. Optimize a bit by
36374 using isdigit instead of isalnum.
36375 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36376
9ac533d3
UD
363772011-08-12 Ulrich Drepper <drepper@gmail.com>
36378
36379 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36380 was a dependency or dynamically loaded.
36381
89edf2e9
UD
363822011-08-11 Ulrich Drepper <drepper@gmail.com>
36383
8e999d29
UD
36384 * intl/l10nflist.c: Allow architecture-specific pop function.
36385 * sysdeps/x86_64/l10nflist.c: New file.
36386
89edf2e9
UD
36387 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36388 classification.
36389
14d96785
AS
363902011-08-10 Andreas Schwab <schwab@redhat.com>
36391
36392 * include/dirent.h: Add libc_hidden_proto for scandirat and
36393 scandirat64. Don't declare __scandirat64.
36394 * dirent/scandirat.c: Add libc_hidden_def.
36395 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36396 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36397
6761ac04
DM
363982011-08-10 David S. Miller <davem@davemloft.net>
36399
36400 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36401 enum.
36402 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36403 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36405
c55fbd1e
UD
364062011-08-09 Ulrich Drepper <drepper@gmail.com>
36407
36408 * Versions.def [libc]: Add GLIBC_2.15.
36409 * dirent/Makefile (routines): Add scandirat and scandirat64.
36410 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36411 GLIBC_2.15.
36412 * dirent/dirent.h: Declare scandirat and scandirat64.
36413 * dirent/scandirat.c: New file.
36414 * dirent/scandirat64.c: New file.
36415 * sysdeps/wordsize-64/scandirat.c: New file.
36416 * sysdeps/wordsize-64/scandirat64.c: New file.
36417 * dirent/opendir.c: Define opendirat.
36418 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36419 using scandirat.
36420 * dirent/scandir64.c: Adjust for scandir.c change.
36421 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36422 __scandirat64, and __scandir_cancel_handler.
36423 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36424 additional parameter and use openat instead of open (outside of ld.so).
36425 Add new __opendir as wrapper around __opendirat.
36426 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36427 here without requiring old scandirat implementation.
36428
879165f2
UD
364292011-08-08 Ulrich Drepper <drepper@gmail.com>
36430
36431 * dirent/scandir.c (cancel_handler): Renamed to
36432 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36433 defined. Adjust users.
36434 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36435 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36436
cb7e923b
UD
364372011-08-04 Ulrich Drepper <drepper@gmail.com>
36438
16292edd
UD
36439 * string/test-string.h (IMPL): Use __STRING to expand name and then
36440 stringify it.
36441
cb7e923b
UD
36442 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36443 of cleanups.
36444
cff82933
LD
364452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36446
36447 * string/Makefile: Update.
36448 (strop-tests): Append strncat.
36449 * string/test-wcscmp.c: New file.
36450 New comprehensive test for wcscmp.
36451 * string/test-strcmp.c: Update.
36452 (WIDE): New define.
36453
9be9bfcc
AS
364542011-07-22 Andreas Schwab <schwab@redhat.com>
36455
36456 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36457 line.
36458
2e96f1c7
AS
364592011-07-26 Andreas Schwab <schwab@redhat.com>
36460
36461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36462 encoding to ACE if AI_IDN.
36463
85188888
JJ
364642011-08-01 Jakub Jelinek <jakub@redhat.com>
36465
36466 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36467 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36468
5fa16e9b
LD
364692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36470
36471 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36472 Fix overflow bug in strncat.
36473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36474
36475 * string/test-strncat.c: Update.
36476 Add new tests for checking overflow bugs.
36477
364782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36479
36480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36481 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36482 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36483 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36485 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36486 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36487 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36488 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36489
36490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36491 (USE_AS_STRCAT): Define.
36492 Add strcat and strncat support.
36493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36494
8c1a459f
AS
364952011-07-25 Andreas Schwab <schwab@redhat.com>
36496
36497 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36498 __n bigger than INT_MAX+1.
36499 (__strncmp_g): Likewise.
36500
bba33c28
UD
365012011-07-23 Ulrich Drepper <drepper@gmail.com>
36502
798be72d
UD
36503 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36504 * libio/stido.h: Likewise.
36505
8accd4dc
UD
36506 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36507 (AF_NFC): Define.
36508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36509 (AF_NFC): Define.
36510
cbff0d96
UD
36511 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36512 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36514 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36516
9191c04a
UD
36517 [BZ #13021]
36518 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36519 installed.
36520
bba33c28
UD
36521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36522 typo.
36523 (_dl_x86_64_save_sse): Likewise.
36524
90f139dd
UD
365252011-07-22 Ulrich Drepper <drepper@gmail.com>
36526
1aae088a
UD
36527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36528 OSXSAVE.
36529 (_dl_x86_64_save_sse): Likewise.
36530
8e2045f5
UD
36531 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36532
90f139dd
UD
36533 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36534
1d002f25
AS
365352011-07-21 Andreas Schwab <schwab@redhat.com>
36536
36537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36538 change.
36539 (_dl_x86_64_save_sse): Use correct AVX check.
36540
21137f89
UD
365412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36542
36543 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36544 bug in strncpy/strncat.
36545 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36546
a65c0b7a
UD
365472011-07-21 Ulrich Drepper <drepper@gmail.com>
36548
36549 * string/tester.c (test_strcat): Add tests for different alignments
36550 of source and destination.
36551 (test_strncat): Likewise.
36552
6986b98a
UD
365532011-07-20 Ulrich Drepper <drepper@gmail.com>
36554
90bb2039
UD
36555 [BZ #12852]
36556 * posix/glob.c (glob): Check passed in values before using them in
36557 expressions to avoid some overflows.
36558 (glob_in_dir): Likewise.
36559
5644ef54
UD
36560 [BZ #13007]
36561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36562 check for AVX enablement so that we don't crash with old kernels and
36563 new hardware.
36564 * elf/tst-audit4.c: Add same checks here.
36565 * elf/tst-audit6.c: Likewise.
36566
36567 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36568
bfc9dc9b
AS
365692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36570
36571 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36572
702e64bb
UD
365732011-07-20 Ulrich Drepper <drepper@gmail.com>
36574
36575 * po/cs.po: Update from translation team.
36576 * po/bg.po: Likewise.
36577
295e904f
MP
365782011-07-12 Marek Polacek <mpolacek@redhat.com>
36579
36580 * misc/sys/cdefs.h: Add support for const attribute.
36581 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36582 to gnu_dev_{major,minor,makedev} functions.
36583
3ff94596
MP
365842011-07-20 Marek Polacek <mpolacek@redhat.com>
36585
36586 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36587
28b59fca
AS
365882011-07-20 Andreas Schwab <schwab@redhat.com>
36589
36590 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36591 strlen results.
36592
19df733e
AK
365932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36594
36595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36596 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36597 register in order to avoid conflicts with the soft frame pointer
36598 being held in r11 when necessary.
36599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36600 (INTERNAL_VSYSCALL_NCS): Likewise.
36601
c8835729
MP
366022011-07-14 Marek Polacek <mpolacek@redhat.com>
36603
36604 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36605 * elf/dl-fini.c (_dl_fini): Adjust caller.
36606 * elf/dl-close.c (_dl_close_worker): Likewise.
36607 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36608
b902330c
MP
366092011-07-15 Marek Polacek <mpolacek@redhat.com>
36610
8991e135
MP
36611 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36612 "aux_cache->nlibs < 0".
36613
b902330c
MP
36614 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36615 in the reload-count case.
36616
99710781
LD
366172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36618
36619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36620 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36621 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36622 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36623 * sysdeps/x86_64/multiarch/strcat.S: New file.
36624 * sysdeps/x86_64/multiarch/strncat.S: New file.
36625 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36626 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36627 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36628 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36630 (USE_AS_STRCAT): Define.
36631 Add strcat and strncat support.
36632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36634 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36635 * string/strncat.c: Update.
36636 (USE_AS_STRNCAT): Define.
36637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36638 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36639 and i7.
36640 * sysdeps/x86_64/multiarch/init-arch.h
36641 (bit_Prefer_PMINUB_for_stringop): New.
36642 (index_Prefer_PMINUB_for_stringop): Likewise.
36643 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36644 bit_Prefer_PMINUB_for_stringop.
36645
7dc6bd90
UD
366462011-07-19 Ulrich Drepper <drepper@gmail.com>
36647
36648 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36649 buffer64.
36650 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36651 of casting of buffer.
36652 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36653 buffer32 and buffer64.
36654 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36655 writes instead of casting of buffer.
36656 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36657 buffer32.
36658 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36659 casting of buffer.
36660
e0e72284
AS
366612011-07-19 Andreas Schwab <schwab@redhat.com>
36662
36663 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36664
feb1eb0b
UD
366652011-07-19 Ulrich Drepper <drepper@gmail.com>
36666
36667 * nscd/nscd.c (termination_handler): Don't do anything for a database
36668 if it has not yet been initialized.
36669
298711ff
UD
366702011-07-18 Ulrich Drepper <drepper@gmail.com>
36671
36672 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36673
366742011-07-15 Marek Polacek <mpolacek@redhat.com>
36675
36676 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36677
f9d68389
UD
366782011-07-18 Ulrich Drepper <drepper@gmail.com>
36679
36680 * po/nl.po: Update from translation team.
36681 * po/sv.po: Likewise.
36682
db290cf5
RM
366832011-07-16 Roland McGrath <roland@hack.frob.com>
36684
36685 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36686 now disallowed by GCC.
5c550700 36687
fd5e21c7
RM
36688 * configure.in (use-default-link): Default to yes if a test -shared
36689 link meets our qualifications.
36690 * configure: Regenerated.
36691
5c550700
RM
36692 * config.make.in (output-format): New variable.
36693 * configure.in: Check for ld --print-output-format support.
36694 * configure: Regenerated.
36695 * Makerules ($(common-objpfx)format.lds)
36696 [$(output-format) != unknown]: Just use $(output-format),
36697 instead of the linker-script munging.
36698
9fa2c032
RM
366992011-07-14 Roland McGrath <roland@hack.frob.com>
36700
a6928d51
RM
36701 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36702 of $(common-objpfx)shlib.lds.
36703 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36704
661607b3
RM
36705 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36706 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36707
9fa2c032
RM
36708 * configure.in (-z relro check): Adjust test code to add a large
36709 writable data section after it.
36710 * configure: Regenerated.
36711
defe9061
RM
367122011-07-11 Roland McGrath <roland@hack.frob.com>
36713
36714 * configure.in (-z relro check): Fix test code to make the variable
36715 truly const.
36716 * configure: Regenerated.
36717
319b9ad4
UD
367182011-07-11 Ulrich Drepper <drepper@gmail.com>
36719
36720 * nscd/nscd.h (struct traced_file): Define.
36721 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36722 elements. Add traced_files.
36723 (inotify_fd): Declare.
36724 (register_traced_file): Declare.
36725 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36726 (inotify_fd): Export.
36727 (resolv_conf_descr): Remove.
36728 (nscd_init): Move inotify descriptor creation to main.
36729 Don't register files for notification here.
36730 (register_traced_file): New function.
36731 (invalidate_cache): Don't use reset_res to determine whether to call
36732 res_init, go through the list of registered files.
36733 (main_loop_poll): The inotify descriptors are now stored in the
36734 structures for the traced files.
36735 (main_loop_epoll): Likewise
36736 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36737 to __nss_disable_nscd.
36738 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36739 for a database anymore. Check the records for all the registered
36740 files instead.
36741 * nss/Makefile (libnss_files-routines): Add files-init.
36742 (libnss_db-routines): Add db-init.
36743 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36744 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36745 * nss/nss_db/db-init.c: New file.
36746 * nss/nss_files/files-init.c: New file.
36747 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36748 __nss_lookup_function.
36749 (__nss_lookup_function): Call nss_load_library.
36750 (nss_load_all_libraries): New function.
36751 (__nss_disable_nscd): Take parameter with callback function for files
36752 to register. Set is_nscd. Load all the DSOs for the NSS modules
36753 used for the cached services.
36754 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36755 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36756 options for features to all the files in nscd.
36757
36758 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36759
23bee3e8
RM
367602011-07-10 Roland McGrath <roland@hack.frob.com>
36761
36762 * csu/elf-init.c (__libc_csu_init): Comment typo.
36763
46a5b7f0
UD
367642011-07-09 Ulrich Drepper <drepper@gmail.com>
36765
36766 * po/pl.po: Update from translation team.
36767 * po/ja.po: Likewise.
36768 * po/ru.po: Likewise.
36769 * po/ko.po: Likewise.
36770 * po/fr.po: Likewise.
36771
d30cf5bb
RM
367722011-07-09 Roland McGrath <roland@hack.frob.com>
36773
113ddea4
RM
36774 * configure.in (.ctors/.dtors header and trailer check):
36775 Use an empirical test on a built program.
36776 * configure: Regenerated.
36777
574920b4
RM
36778 * configure.in (-z relro check): Use an empirical test on a built DSO.
36779 Detect, but do not require, on ia64.
36780 * configure: Regenerated.
36781
d30cf5bb
RM
36782 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36783 Update tests that use readelf to use $READELF instead.
36784 * configure: Regenerated.
36785
8538fdb3
UD
367862011-07-08 Ulrich Drepper <drepper@gmail.com>
36787
36788 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36789 if the result is not used.
36790
04d08991
AJ
367912011-07-05 Andreas Jaeger <aj@suse.de>
36792
36793 [BZ#9696]
36794 * stdlib/tst-strtod.c: Add testcase.
36795
de283087
AD
367962011-07-07 Ulrich Drepper <drepper@gmail.com>
36797
4e5f31c8 36798 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36799 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36800 The latter has a higher limit. Take additional parameter to pass to
36801 the new function.
36802 (__pathconf): Pass file to __statfs_link_max.
36803 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36804 __statfs_link_max.
36805 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36806 __statfs_link_max.
36807
de283087
AD
36808 [BZ #12868]
36809 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36811 Handle Lustre.
36812 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36813 (__statfs_filesize_max): Likewise.
36814 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36815
c75fa153
AJ
368162011-07-05 Andreas Jaeger <aj@suse.de>
36817
36818 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36819
1a544854
UD
368202011-07-06 Marek Polacek <mpolacek@redhat.com>
36821
36822 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36823 `status' variable.
36824 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36825 Likewise.
36826
6f0eec67
UD
368272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36828
36829 * Makefile (strop-tests): Add strncat.
36830 * string/test-strncat.c: New file.
36831
aae30307
UD
368322011-06-30 Marek Polacek <mpolacek@redhat.com>
36833
36834 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36835
c0cfb5eb
UD
368362011-06-21 Andreas Jaeger <aj@suse.de>
36837
36838 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36839 Copy rule from iconvdata/Makefile.
36840
01636b21
UD
368412011-07-06 Ulrich Drepper <drepper@gmail.com>
36842
36843 [BZ #12922]
36844 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36845 but no long options are defined, just return 'W'.
36846
9895c8bc
UD
368472011-06-22 Marek Polacek <mpolacek@redhat.com>
36848
36849 [BZ #9696]
36850 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36851
5d4cf042
UD
368522011-07-06 Ulrich Drepper <drepper@gmail.com>
36853
36854 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36855 netgroups to read.
960e5535 36856 (innetgr): Likewise.
5d4cf042 36857
751eb97e
RM
368582011-07-05 Roland McGrath <roland@hack.frob.com>
36859
36860 * config.make.in (install_root): Default to $(DESTDIR).
36861
f15f1e45
UD
368622011-07-05 Ulrich Drepper <drepper@gmail.com>
36863
36864 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36865
4e34ac6a
RM
368662011-07-02 Roland McGrath <roland@hack.frob.com>
36867
5e9b6af4
RM
36868 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36869
84f9ea0f
RM
36870 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36871 containing directory rather than embedding absolute directory names.
36872
ea5ee9f7
RM
36873 * scripts/check-local-headers.sh: Rewritten using awk.
36874 Match by word, not by line. Print error messages for matches.
36875 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36876
1b74661a
RM
36877 * Makerules [shlib-lds-flags empty]:
36878 ($(common-objpfx)libc_pic.opts): New target.
36879 ($(common-objpfx)libc_pic.os.clean): New target.
36880 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36881
36882 * config.make.in (OBJCOPY): New variable.
36883 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36884 * configure: Regenerated.
36885
f781ef40
RM
36886 * config.make.in (use-default-link): New variable.
36887 * configure.in (use_default_link): Grok --with-default-link to set it.
36888 * configure: Regenerated.
36889 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36890 (shlib-lds, shlib-lds-flags): Define to empty.
36891
2d4fa81e
RM
36892 * Makerules (shlib-lds): New variable.
36893 (shlib-lds-flags): New variable.
36894 (build-shlib, build-moduile, build-module-asneeded): Use it.
36895 ($(common-objpfx)libc.so): Use $(shlib-lds).
36896 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36897 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36898
31fffa6b
RM
36899 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36900 DT_FLAGS/DT_FLAGS_1 with zero flags.
36901
4e34ac6a
RM
36902 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36903 linker script munging.
36904
fcfc776b
UD
369052011-07-02 Ulrich Drepper <drepper@gmail.com>
36906
36907 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36908 as 128-bit value.
36909 * crypt/sha512.c (sha512_process_block): Perform total addition using
36910 128-bit if possible.
36911 (__sha512_finish_ctx): Likewise.
36912 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36913 as 64-bit value.
36914 * crypt/sha256.c (SWAP64): Define.
36915 (sha256_process_block): Perform total addition using 64-bit if
36916 possible.
36917 (__sha256_finish_ctx): Likewise.
36918
99231d9a
UD
369192011-07-01 Ulrich Drepper <drepper@gmail.com>
36920
36921 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36923 * nscd/hstcache.c (cache_addhst): Likewise.
36924 * nscd/grpcache.c (cache_addgr): Likewise.
36925 * nscd/aicache.c (addhstaiX): Likewise
36926 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36927
445b4a53
TK
369282011-07-01 Thorsten Kukuk <kukuk@suse.de>
36929
36930 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36932 * nscd/hstcache.c (cache_addhst): Likewise.
36933 * nscd/grpcache.c (cache_addgr): Likewise.
36934 * nscd/aicache.c (addhstaiX): Likewise
36935
6d4d8e8e
AS
369362011-07-01 Andreas Schwab <schwab@redhat.com>
36937
36938 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36939 domain only when needed.
36940
89f654c5
AS
369412011-06-30 Andreas Schwab <schwab@redhat.com>
36942
36943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36944 is always restored.
36945
cf3b23ff
UD
369462011-06-29 Ulrich Drepper <drepper@gmail.com>
36947
36948 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36949 are re-adding the entry.
36950 * nscd/servicescache.c (cache_addserv): Likewise.
36951
751626f9
AJ
369522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36953
36954 * sysdeps/generic/dl-irel.h: fix protection against multiple
36955 inclusions.
36956 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36957
9113ea1f
UD
369582011-06-28 Ulrich Drepper <drepper@gmail.com>
36959
5c0b8d90
UD
36960 [BZ #12935]
36961 * malloc/memusage.sh: Fix quoting in message.
36962 * debug/xtrace.sh: Likewise.
36963
9113ea1f
UD
36964 * configure.in: Remove support for --experimental-malloc option, make
36965 it the default.
36966 * config.make.in: Likewise.
36967 * malloc/Makefile: Likewise.
36968
a4172181
AS
369692011-06-27 Andreas Schwab <schwab@redhat.com>
36970
36971 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36972 two-byte characters.
36973
78a7eee7
RM
369742011-06-27 Roland McGrath <roland@hack.frob.com>
36975
62bede13
RM
36976 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36977 AC_CACHE_CHECK invocation.
36978 * configure: Regenerated.
36979
78a7eee7
RM
36980 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36981
5ce33a62
UD
369822011-06-27 Ulrich Drepper <drepper@gmail.com>
36983
034807a9
UD
36984 [BZ #12350]
36985 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36986 bit from old_res_options.
36987
4902da17
UD
36988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36989
5ce33a62
UD
36990 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36991 value type for setfct.
36992
c2344f56
L
369932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36994
36995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36996 __gettimeofday instead of gettimeofday.
36997
68468076
UD
369982011-06-26 Ulrich Drepper <drepper@gmail.com>
36999
37000 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37001
acb0d739
L
370022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37003
37004 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37005
37006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37007 info.
37008
8912479f
L
370092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37010
37011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37012 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37013 strcpy-sse2-unaligned strncpy-sse2-unaligned
37014 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37015 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37016 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37017 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37018 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37019 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37021 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37022 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37023 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37024 (STRCPY): Support SSE2 and SSSE3 versions.
37025
d5495a11
UD
370262011-06-24 Ulrich Drepper <drepper@gmail.com>
37027
37028 [BZ #12874]
37029 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37030 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37031 kernels which artificially limit size of requests.
37032
0b1cbaae
L
370332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37034
37035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37036 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37037 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37038 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37039 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37040 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37041 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37042 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37045 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37046 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37047 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37048 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37049 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37051 Enable unaligned load optimization for Intel Core i3, i5 and i7
37052 processors.
37053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37054 Define.
37055 (index_Fast_Unaligned_Load): Define.
37056 (HAS_FAST_UNALIGNED_LOAD): Define.
37057
07f494a0
MP
370582011-06-23 Marek Polacek <mpolacek@redhat.com>
37059
37060 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37061
fa3fc0fe
UD
370622011-06-22 Ulrich Drepper <drepper@gmail.com>
37063
37064 [BZ #12907]
37065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37066 until it is clear that the information is realy needed.
37067 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37068
e12df166
AS
370692011-06-22 Andreas Schwab <schwab@redhat.com>
37070
37071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37072
852eb34d
UD
370732011-06-22 Ulrich Drepper <drepper@gmail.com>
37074
84e2a551
UD
37075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37076 /sys/devices/system/cpu/online if it is usable.
37077
852eb34d
UD
37078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37079 reading the information from the /proc filesystem to once a second.
37080
6e502e19
UD
370812011-06-21 Andreas Jaeger <aj@suse.de>
37082
37083 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37084 NULL after inclusion of kernel headers.
37085
75d39ff2
UD
370862011-06-21 Ulrich Drepper <drepper@gmail.com>
37087
51f9aa6a
UD
37088 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37089 calls to internal_setent.
37090
c0244a9d
UD
37091 [BZ #12885]
37092 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37093 addresses using gethostbyname4_r ignore IPv4 addresses.
37094
c5e3c2ae
UD
37095 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37096 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37097
75d39ff2
UD
37098 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37099
42675c6f
DM
371002011-06-20 David S. Miller <davem@davemloft.net>
37101
37102 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37103 inclusions.
37104 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37105
37106 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37107 (elf_irel): Use it.
37108 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37109 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37110 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37111 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37112 * sysdeps/x86_64/dl-irel.h: Likewise.
37113
37114 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37115 * elf/dl-sym.c: Likewise.
37116
57912a71
UD
371172011-06-15 Ulrich Drepper <drepper@gmail.com>
37118
37119 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37120 need to dereference resplen2.
37121
ee22793d
AS
371222011-06-14 Andreas Schwab <schwab@redhat.com>
37123
37124 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37125
a9e836b0
UD
371262011-06-15 Ulrich Drepper <drepper@gmail.com>
37127
77fb9117
UD
37128 * Makeconfig: Define vardbdir and inst_vardbdir.
37129 * nss/Makefile: Add rules to install db-Makefile.
37130
40c1b22c
UD
37131 * nss/nss_db/db-XXX.c: Cleanup.
37132
9f2da732
UD
37133 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37134 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37135 GLIBC_PRIVATE.
37136 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37137 * nss/makedb.c: Implement -g option to specify that value strings
37138 are generated and should not be added to table iterated over for
37139 get*ent calls.
37140 * nss/nss_db/db-initgroups.c: New file.
37141
82e9a1f7
UD
37142 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37143 interface.
37144
c41af17e
UD
37145 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37146 (internal_getgrouplist): Adjust to name change.
37147 Update use_initgroups_entry if this is not the first call.
37148 * nss/databases.def: Add initgroups entry.
37149
a9e836b0
UD
37150 * nss/makedb.c (compute_tables): Check result of multiple hash table
37151 sizes to minimize maximum chain length.
37152
2666d441
UD
371532011-06-14 Ulrich Drepper <drepper@gmail.com>
37154
37155 * Versions.def: Add entry for libnss_db.
37156 * shlib-versions: Likewise.
37157 * nss/Makefile: Add rules to build libnss_db.
37158 * nss/Versions: Add libnss_db information. Organize libnss_files
37159 entries better.
37160 * nss/db-Makefile: Add gshadow support. Change rules for the new
37161 makedb progra. Some minor improvements to generate smaller files.
37162 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37163 here from...
37164 * nss/makedb.c: ...here.
37165 Improve database format to be smaller and require less memory at
37166 runtime.
37167 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37168 db anymore.
37169 * nss/nss_db/db-netgrp.c: Likewise.
37170 * nss/nss_db/db-open.c: Likewise.
37171 * nss/nss_files/flies-XXX.x: Adjust comments.
37172 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37173 * nss/nss_files/files-grp.c: Likewise.
37174 * nss/nss_files/files-hosts.c: Likewise.
37175 * nss/nss_files/files-network.c: Likewise.
37176 * nss/nss_files/files-proto.c: Likewise.
37177 * nss/nss_files/files-pwd.c: Likewise.
37178 * nss/nss_files/files-rpc.c: Likewise.
37179 * nss/nss_files/files-service.c: Likewise.
37180 * nss/nss_files/files-sgrp.c: Likewise.
37181 * nss/nss_files/files-spwd.c: Likewise.
37182 * nss/nss_db/db-alias.c: Removed.
37183 * nss/nss_db/dummy-db.h: Removed.
37184
9ee76b5a
UD
371852011-06-02 Ulrich Drepper <drepper@gmail.com>
37186
37187 * nss/makedb.c: Rewritten to not use database library.
37188 * nss/Makefile: Update to build new makedb program.
37189
c71ca1f8
AJ
371902011-06-14 Andreas Jaeger <aj@suse.de>
37191
37192 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37193 memset declaration.
37194
3154bfb8
UD
371952011-06-10 Andreas Schwab <schwab@redhat.com>
37196
37197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37198 tmpbuf.
37199
b350afab
RM
372002011-06-10 Roland McGrath <roland@hack.frob.com>
37201
decd4e50
RM
37202 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37203 * elf/Makefile ($(objpfx)ld.so): Likewise.
37204
5615eaf2
RM
37205 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37206 Don't list ld.so twice in dependencies.
37207
37208 * posix/bug-regex31.c: Include <stdlib.h>.
37209
37210 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37211
37212 * nis/nss_compat/compat-spwd.c
37213 (getspent_next_nss_netgr): Remove unused variable.
37214 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37215
37216 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37217 nonmembers" output to use the right array.
37218
37219 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37220
37221 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37222
37223 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37224 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37225 * catgets/gencat.c (read_input_file): Likewise.
37226 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37227
37228 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37229 variable definition inside #if's controlling its use.
37230
37231 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37232
37233 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37234
37235 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37236
37237 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37238 unreachable code.
37239
37240 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37241
b68e08db
RM
37242 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37243 * configure: Regenerated.
37244
b350afab
RM
37245 * Makerules: Revert last change.
37246 * elf/Makefile: Likewise.
37247
28368601
RM
372482011-06-09 Roland McGrath <roland@hack.frob.com>
37249
37250 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37251 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37252 (reloc-link): Likewise.
37253
11988f8f
UD
372542011-06-09 Ulrich Drepper <drepper@gmail.com>
37255
37256 * elf/Makefile: Add rules to build pldd.
37257 * elf/pldd.c: New file.
37258 * elf/pldd-xx.c: New file.
37259
e80fab37
UD
372602011-06-07 Ulrich Drepper <drepper@gmail.com>
37261
37262 * version.h: Update for 2.15 development version.
37263
9b849836
DM
372642011-06-07 David S. Miller <davem@davemloft.net>
37265
37266 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37267 ifuncs.
37268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37269 elf_machine_lazy_rel): Likewise.
37270 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37271 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37272 elf_machine_lazy_rel): Likewise.
37273 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37274 dl_hwcap via passed in argument.
37275 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37276 Likewise.
37277
5a31b283
AK
372782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37279
37280 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37281
069e52f8
RM
372822011-06-06 Roland McGrath <roland@hack.frob.com>
37283
37284 [BZ #12849]
37285 * manual/fdl-1.1.texi: New file, verbatim from:
37286 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37287 * manual/lgpl-2.1.texi: New file, verbatim from:
37288 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37289 * manual/Makefile (licenses): New variable, list those new file names.
37290 (texis): Use it.
37291 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37292
37293 * manual/fdl.texi: File removed.
37294 * manual/lesser.texi: File removed.
37295 * manual/libc.texinfo (Copying, Documentation License):
37296 Use new @include file names, put @appendix directive before @include.
37297
f16846a5
JJ
372982011-06-04 Jakub Jelinek <jakub@redhat.com>
37299
37300 [BZ #12841]
37301 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37302 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37303 (mq_open): Add __NTH.
37304
3d29045b
L
373052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37306
37307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37308 Assume Intel Core i3/i5/i7 processor if AVX is available.
37309
8c297311
UD
373102011-05-31 Ulrich Drepper <drepper@gmail.com>
37311
37312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37313 typo.
37314
c8fc0c91
UD
373152011-05-31 Andreas Schwab <schwab@redhat.com>
37316
37317 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37318 memory. Use alloca_account. Fix memory leak when retrying.
37319
5b27a807
UD
373202011-05-31 Ulrich Drepper <drepper@gmail.com>
37321
356f8bc6
UD
37322 * version.h (RELEASE): Bump for 2.14 release.
37323 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37324
5b27a807
UD
37325 * config.make.in (RANLIB): Remove entry.
37326
01f16ab0
UD
373272011-05-30 Ulrich Drepper <drepper@gmail.com>
37328
41fce8bd
UD
37329 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37330 (libc.pot): Work around missing support for .ksh extension in xgettext.
37331
4769ae77
UD
37332 [BZ #12684]
37333 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37334 if both request failed.
37335 (send_dg): In case of server errors clear resplen or *resplen2.
37336
6b1e7d19
UD
37337 [BZ #12454]
37338 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37339 when there are multiple maps.
37340 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37341 (_dl_fini): Remove test here.
37342
01f16ab0
UD
37343 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37344
b1ebd700
UD
373452011-05-29 Ulrich Drepper <drepper@gmail.com>
37346
7ae22829
UD
37347 [BZ #12350]
37348 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37349 bit from old_res_options.
37350 (gaih_inet): Likewise.
37351
553149f6 37352 [BZ #11099]
18a84741 37353 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37354 as signed.
37355
652ffab1
UD
37356 * resolv/res_init.c (res_setoptions): Make the code more compact.
37357
16985fd0
UD
37358 [BZ #11558]
37359 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37360 set RES_USEVC.
37361
0464f746
UD
37362 [BZ #11634]
37363 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37364
7d17596c
UD
37365 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37366
cf6bbbd7
UD
37367 [BZ #11781]
37368 * malloc/malloc.h: Declare malloc hook variables as volatile.
37369
13f1ab36
UD
37370 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37371 in last patch.
37372
b1ebd700
UD
37373 [BZ #11799]
37374 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37375 raise in the comment.
80e2212d
UD
37376 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37377 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37378 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37379
ce67228d
UD
373802011-05-28 Ulrich Drepper <drepper@gmail.com>
37381
8887a920
UD
37382 [BZ #12811]
37383 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37384 grow the buffers more if it already has to be sufficient.
37385 (build_wcs_upper_buffer): Likewise.
37386 * posix/regexec.c (check_matching): Likewise.
37387 (clean_state_log_if_needed): Likewise.
37388 (extend_buffers): Don't enlarge buffers beyond size of the input
37389 buffer.
37390 Patches mostly by Emil Wojak <emil@wojak.eu>.
37391 * posix/bug-regex32.c: New file.
37392 * posix/Makefile (tests): Add bug-regex32.
37393
4f031072
UD
37394 * locale/findlocale.c (_nl_find_locale): Return right away if
37395 _nl_explode_name failed.
37396 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37397
d0478f0c
UD
37398 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37399
de81b246
UD
37400 * debug/xtrace.sh: Unify messages.
37401 * malloc/memusage.sh: Likewise.
37402
c738465a
UD
37403 [BZ #12813]
37404 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37405 time symbol from vDSO. Substitute with vsyscall if not available.
37406 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37407 __vdso_time.
37408
f1f929d7
UD
37409 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37410 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37411 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37412 Add sendmmsg and internal_sendmmsg.
37413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37414 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37416
ce67228d
UD
37417 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37418 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37420
e57420c6
UD
374212011-05-27 Ulrich Drepper <drepper@gmail.com>
37422
a8509ca5
UD
37423 [BZ #12813]
37424 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37425 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37426 available.
37427 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37428 __vdso_getcpu.
37429
e57420c6
UD
37430 [BZ #12814]
37431 * iconvdata/Makefile (tests): Add bug-iconv9.
37432 * iconvdata/bug-iconv9.c: New file.
37433
4d07db15
AS
374342011-05-27 Andreas Schwab <schwab@redhat.com>
37435
37436 [BZ #12814]
37437 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37438
ea486f69
JJ
374392011-05-25 Jakub Jelinek <jakub@redhat.com>
37440
37441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37442 (struct user_regs_struct): Change intcs field back to cs.
37443
6f038433
UD
374442011-05-25 Ulrich Drepper <drepper@gmail.com>
37445
37446 * po/ja.po: Update from translation team.
37447
67f86a25
UD
374482011-05-23 Ulrich Drepper <drepper@gmail.com>
37449
37450 [BZ #12795]
37451 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37452 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37453
def7fbd6
AS
374542011-05-20 Andreas Schwab <schwab@redhat.com>
37455
37456 * stdlib/longlong.h: Update from GCC.
37457
f50ef8f1
AS
374582011-05-23 Andreas Schwab <schwab@redhat.com>
37459
37460 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37461 parameter name.
37462 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37463 Add parameter name.
37464 (__sysconf): Pass it down.
37465
de7ce8f1
UD
374662011-05-22 Ulrich Drepper <drepper@gmail.com>
37467
f2962a71
UD
37468 [BZ #12671]
37469 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37470 some situations.
37471 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37472 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37473 add in in __libc_use_alloca calls. Adjust callers.
37474 (glob): Use malloc in some situations.
37475
de7ce8f1
UD
37476 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37477 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37478 pltexit.
37479
aec84f53
UD
374802011-05-21 Ulrich Drepper <drepper@gmail.com>
37481
05bb4a68
UD
37482 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37483 and CLOCK_BOOTTIME_ALARM.
37484
7ea72f99
UD
37485 [BZ #12782]
37486 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37487 is returned.
37488
7e4afad5
UD
37489 * string/_strerror.c (__strerror_r): Print negative errors as signed
37490 numbers.
37491
8e211fec
UD
37492 [BZ #12777]
37493 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37494 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37495 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37496
f7d82dc9
UD
37497 * configure.in: Fix typo in redirection and correct removal of test
37498 files in two cases.
37499
cc9e536d
UD
37500 [BZ #12788]
37501 * locale/setlocale.c (new_composite_name): Fix test to check for
37502 identical name of all categories.
37503
aec84f53
UD
37504 [BZ #12792]
37505 * libio/filedoalloc.c (local_isatty): New function.
37506 (_IO_file_doallocate): Use local_isatty.
37507 * stdio-common/perror.c (perror): In case a new stream is used
37508 forward the stream error.
37509 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37510 error flag.
37511
78e64fdc
RT
375122011-05-20 Ulrich Drepper <drepper@gmail.com>
37513
34a9094f
UD
37514 [BZ #11869]
37515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37516 alloca.
37517 * include/alloca.h (extend_alloca_account): Define.
37518
78e64fdc
RT
37519 [BZ #11857]
37520 * posix/regex.h: Fix comments with documentation of user-accessible
37521 fields after compilation and describe correct free'ing of pattern
37522 after re_compile_pattern.
37523 Patch by Reuben Thomas <rrt@sc3d.org>.
37524
457bddfc
RA
375252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37526
37527 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37528 and -mno-altivec to prevent the compiler from using Altivec and/or
37529 VSX instructions when the corresponding registers are not available.
37530
a4527b51
AS
375312011-05-19 Andreas Schwab <schwab@redhat.com>
37532
37533 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37534
ed690b2f
UD
375352011-05-19 Ulrich Drepper <drepper@gmail.com>
37536
37537 * libio/freopen.c (freopen): Use __dup2, not dup2.
37538 * libio/freopen64.c (freopen64): Likewise.
37539
8db73634
L
375402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37541
37542 [BZ #12775]
37543 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37544 * math/Makefile (tests): Add test-powl.
37545 (CFLAGS-test-powl.c): Define.
37546 * math/test-powl.c: New file.
37547
0a197a9d
L
375482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37549
37550 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37551
ee30c380
UD
375522011-05-17 Ulrich Drepper <drepper@gmail.com>
37553
37554 [BZ #11837]
37555 * iconvdata/gb18030.c: Update to GB18020-2005.
37556
6ce75379
UD
375572011-05-16 Ulrich Drepper <drepper@gmail.com>
37558
a4b89fd8
AR
37559 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37560 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37561 Patch by Aharon Robbins <arnold@skeeve.com>.
37562
ea389b12
UD
37563 [BZ #11892]
37564 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37565 on the stack.
37566
68a3f91f
UD
37567 [BZ #11895]
37568 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37569 through underflows.
37570
15cc7dd1
UD
37571 [BZ #12766]
37572 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37573 point to strings before performing equality test for error_one_per_line
37574 mode.
37575
f3799213
UD
37576 [BZ #11697]
37577 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37578
d79a9c94
UD
37579 [BZ #11820]
37580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37581 (struct user_fpregs_struct): Avoid __uint*_t types.
37582
56e5eb46
UD
37583 [BZ #6420]
37584 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37585 symbol info. Use it instead of calling _dl_addr locally.
37586 (lock_and_info): New function.
37587 (tr_freehook): Call lock_and_info and pass symbol info as additional
37588 parameter to tr_where.
37589 (tr_mallochook): Likewise.
37590 (tr_reallochook): Likewise.
37591 (tr_memalignhook): Likewise.
37592
6ce75379
UD
37593 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37594 used and couldn't be at all thread-safe.
37595
f8a3b5bf
UD
375962011-05-15 Ulrich Drepper <drepper@gmail.com>
37597
94b7cc37
UD
37598 * libio/freopen.c (freopen): Don't close old file descriptor
37599 before the new one is opened. Instead dup the new file descriptor
37600 to the old one after the new stream is created.
37601 * libio/freopen64.c (freopen64): Likewise.
37602 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37603 * libio/fileops.c (_IO_new_file_close_it): Handle new
37604 _IO_FLAGS2_NOCLOSE flag.
37605 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37606 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37607 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37608 _IO_FLAGS2_NOCLOSE flag.
37609 * include/unistd.h: Add hidden_proto for dup3.
37610 Define __have_dup3.
37611 * io/dup3.c: Define hidden symbol.
37612 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37613
bd25564e
UD
37614 [BZ #7101]
37615 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37616 when an incomplete long option is used.
37617 * posix/tst-getopt_long1.c: New file.
37618 * posix/Makefile (tests): Add tst-getopt_long1.
37619
c84cfef4
UD
37620 [BZ #10138]
37621 * scripts/config.guess: Update from autoconf-2.68.
37622 * scripts/config.sub: Likewise.
37623
3b85df27
UD
37624 [BZ #10157]
37625 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37626 tests into ...
37627 (has_cpuclock): ...this. New function.
37628 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37629 macro here based on has_cpuclock code.
37630
15a856b1
UD
37631 [BZ #10149]
37632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37633 First byte (not low byte) is now always NUL.
37634 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37635
05f399e6
UD
37636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37637 Use non-cancelable interfaces.
37638
10a52685 37639 [BZ #9809]
94ecc67d
UD
37640 * locale/iso-639.def: Add entry for Sorani.
37641
f8a3b5bf
UD
37642 [BZ #11901]
37643 * include/stdlib.h: Move include protection to the right place.
37644 Define abort_msg_s. Declare __abort_msg with it.
37645 * stdlib/abort.c (__abort_msg): Adjust type.
37646 * assert/assert.c (__assert_fail_base): New function. Majority
37647 of code from __assert_fail. Allocate memory for __abort_msg with
37648 mmap.
37649 (__assert_fail): Now call __assert_fail_base.
37650 * assert/assert-perr.c: Remove bulk of implementation. Use
37651 __assert_fail_base.
37652 * include/assert.hL Declare __assert_fail_base.
37653 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37654 mmap.
37655 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37656
1af4e298
UD
376572011-05-14 Ulrich Drepper <drepper@gmail.com>
37658
f8a3b5bf 37659 [BZ #11952]
d26dfc60
MG
37660 [BZ #12453]
37661 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37662 until all modules are registered in the DTV.
37663 * elf/Makefile: Add rules to build and run tst-tls19.
37664 * elf/tst-tls19.c: New file.
37665 * elf/tst-tls19mod1.c: New file.
37666 * elf/tst-tls19mod2.c: New file.
37667 * elf/tst-tls19mod3.c: New file.
37668 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37669
2fc54d6f
UD
37670 [BZ #12083]
37671 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37672 correctly.
37673
98d76b46
UD
37674 [BZ #12601]
37675 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37676 two-byte sequence errors.
37677 * iconvdata/Makefile (tests): Add bug-iconv8.
37678 * iconvdata/bug-iconv8.c: New file.
37679
da3c19ef
UD
37680 [BZ #12626]
37681 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37682 buf2 definition.
37683
ca408c15
UD
37684 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37685
d6f67f7d
UD
37686 [BZ #12432]
37687 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37688 (dummy_getcfa): New function.
37689 (init): Get _Unwind_GetCFA address, use dummy if not found.
37690 (backtrace_helper): In recursion check, also check whether CFA changes.
37691 (__backtrace): Completely initialize arg.
37692
1af4e298 37693 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37694 storing incomplete byte sequence in state object. Avoid testing for
37695 guaranteed too small input if we know there is enough data available.
1af4e298 37696
da62f81b
AS
376972011-05-11 Andreas Schwab <schwab@redhat.com>
37698
37699 * Makeconfig (+link-pie): Indent.
37700 * Rules (binaries-pie): Define if $(have-fpie) and
37701 $(build-shared).
37702 (binaries-shared): Also filter out $(binaries-pie).
37703 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37704 * nscd/Makefile (others-pie): Add nscd.
37705 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37706 ($(objpfx)nscd): Remove command override.
37707 * login/Makefile (others-pie): Add pt_chown.
37708 ($(objpfx)pt_chown): Remove command override.
37709 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37710 remove command overrides.
37711
fcabc0f8
UD
377122011-05-13 Ulrich Drepper <drepper@gmail.com>
37713
20030ae6
UD
37714 * libio/tst_putwc.c: Fix error messages.
37715
fcabc0f8
UD
37716 [BZ #12724]
37717 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37718 currently writing and seek to current position when not.
37719 * libio/Makefile (tests): Add bug-fclose1.
37720 * libio/bug-fclose1.c: New file.
37721
320a5dc0
PB
377222011-05-12 Ulrich Drepper <drepper@gmail.com>
37723
37724 [BZ #12511]
37725 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37726 don't set DF_1_NODELETE here.
37727 (do_lookup_x): When entering new entry test for copy relocation
37728 and if necessary set DF_1_NODELETE flag.
37729 * elf/tst-unique4.cc: New file.
37730 * elf/tst-unique4.h: New file.
37731 * elf/tst-unique4lib.cc: New file.
37732 * elf/Makefile: Add rules to build and run tst-unique4.
37733 Patch by Piotr Bury <pbury@goahead.com>.
37734
22836f52
UD
377352011-05-11 Ulrich Drepper <drepper@gmail.com>
37736
f574184a
UD
37737 [BZ #12052]
37738 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37739
e1fb097f
UD
37740 [BZ #12625]
37741 * misc/mntent_r.c (addmntent): Flush the stream after the output
37742
22836f52
UD
37743 [BZ #12393]
37744 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37745 (is_trusted_path_normalize): Skip initial colon. Append slash
37746 to empty buffer. Duplicate is_trusted_path code but allow
37747 constructed patch to be prefix.
37748 (is_dst): Allow $ORIGIN followed by /.
37749 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37750 Correct testing of result of is_trusted_path_normalize
37751 (decompose_rpath): Fix warning.
37752
7b3b0b2a
UD
377532011-05-10 Ulrich Drepper <drepper@gmail.com>
37754
37755 [BZ #11257]
37756 * grp/initgroups.c (internal_getgrouplist): When we found the service
37757 list through the initgroups entry in nsswitch.conf do not always
37758 continue on a successful lookup. Don't always use the
eac80ce2 37759 __nss_group_database value if it is set.
7b3b0b2a
UD
37760 * nss/nsswitch.conf (initgroups): Change action for successful db
37761 lookup to continue for compatibility.
37762
2a81eaa5
UD
377632011-05-09 Ulrich Drepper <drepper@gmail.com>
37764
be97a69e
UD
37765 [BZ #11532]
37766 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37767 and CP774 modules.
37768 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37769 and CP774 modules.
37770 * iconvdata/tst-tables.sh: Likewise.
37771 * iconvdata/cp770.c: New file.
37772 * iconvdata/cp771.c: New file.
37773 * iconvdata/cp772.c: New file.
37774 * iconvdata/cp773.c: New file.
37775 * iconvdata/cp774.c: New file.
37776 * iconvdata/testdata/CP770: New file.
37777 * iconvdata/testdata/CP770..UTF8: New file.
37778 * iconvdata/testdata/CP771: New file.
37779 * iconvdata/testdata/CP771..UTF8: New file.
37780 * iconvdata/testdata/CP772: New file.
37781 * iconvdata/testdata/CP772..UTF8: New file.
37782 * iconvdata/testdata/CP773: New file.
37783 * iconvdata/testdata/CP773..UTF8: New file.
37784 * iconvdata/testdata/CP774: New file.
37785 * iconvdata/testdata/CP774..UTF8: New file.
37786
37787 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37788 END CHARMAP line.
37789 * iconvdata/gen-8bit-gap.sh: Likewise.
37790 * iconvdata/gen-8bit.sh: Likewise.
37791
c1e9e399
UD
37792 * locale/iso-639.def: Add ary entry.
37793
24c55fb3 37794 [BZ #11258]
96b4b1b0
UD
37795 * locale/C-translit.h.in: Add U20A1 transliteration.
37796
bdc2f971
KB
37797 [BZ #12178]
37798 * locale/iso-639.def: Add wae entry.
37799 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37800
2952b117
UD
37801 [BZ #12545]
37802 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37803 for n.
37804
2a81eaa5
UD
37805 [BZ #12711]
37806 * locale/C-translit.h.in: Add entry for U20B9.
37807 Patch by pravin.d.s@gmail.com.
37808
28377d1b
UD
378092011-05-08 Ulrich Drepper <drepper@gmail.com>
37810
7fb90fb8
UD
37811 [BZ #12713]
37812 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37813 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37814 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37815 in rtld. Use *stat64.
7fb90fb8 37816 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37817 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37818 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37819 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37820 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37821 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37822 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37823 __fstatat64 macros.
7fb90fb8
UD
37824 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37825 * dirent/rewinddir.c: Add libc_hidden_def.
37826 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37827 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37828
28377d1b
UD
37829 * include/dirent.h (__alloc_dir): Add flags parameter.
37830 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37831 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37832 __alloc_dir.
37833 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37834 from fdopendir if O_CLOEXEC is already set.
37835
66bdbaa4
AM
378362011-03-15 Alan Modra <amodra@gmail.com>
37837
37838 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37839 l_tls_firstbyte_offset non-zero. Save padding offset in
37840 l_tls_firstbyte_offset for later use.
37841 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37842 freeing static tls block.
37843
95721191
JN
378442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37845
37846 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37847 where #ifdef was intended. The intent is to prevent ARG_MAX from
37848 being defined by the kernel headers.
37849
f87dfb1f
UD
378502011-05-07 Ulrich Drepper <drepper@gmail.com>
37851
37852 [BZ #12734]
37853 * resolv/resolv.h: Define RES_NOTLDQUERY.
37854 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37855 no-tld-query and set RES_NOTLDQUERY.
37856 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37857 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37858 modern BIND to search name as TLD unless forbidden.
37859
47c3cd7a
UD
378602011-05-07 Petr Baudis <pasky@suse.cz>
37861 Ulrich Drepper <drepper@gmail.com>
37862
37863 [BZ #12393]
37864 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37865 (is_trusted_path): ...to here.
c1e9ea35 37866 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37867 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37868 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37869
8a35c912
PP
378702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37871
37872 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37873 __BEGIN/__END_DECLS.
37874
acd41f47
UD
378752011-05-06 Ulrich Drepper <drepper@gmail.com>
37876
37877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37878 NSS_STATUS_NOTFOUND if no record was found.
37879
597df647
AS
378802011-05-05 Andreas Schwab <schwab@redhat.com>
37881
37882 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37883 (headers-not-in-tirpc): Remove rpc/netdb.h
37884 * resolv/netdb.h: Revert last change.
37885
b9af1301
PP
378862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37887
37888 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37889 circular dependency between libgcc.a and libc.a.
37890
4e34d5f5
AS
378912011-05-05 Andreas Schwab <schwab@redhat.com>
37892
37893 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37894 * nis/Makefile: Don't install rpcsvc/*.
37895 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37896 instead of <rpc/types.h>.
37897 (MAXHOSTNAMELEN): Define.
37898
00ee369c
AS
378992011-05-03 Andreas Schwab <schwab@redhat.com>
37900
37901 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37902
0b592a30
MB
379032011-04-28 Maciej Babinski <mbabinski@google.com>
37904
37905 [BZ #12714]
37906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37907 gethostbyname4_r when IPv6 results are possible.
37908
6e04cbbe
UD
379092011-05-02 Ulrich Drepper <drepper@gmail.com>
37910
37911 [BZ #12723]
37912 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37913 _PC_PIPE_BUF handling.
37914
e4ecafe0
BH
379152011-04-30 Bruno Haible <bruno@clisp.org>
37916
37917 [BZ #12717]
37918 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37919 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37920 to 'int'.
37921 * inet/getnameinfo.c (getnameinfo): Likewise.
37922
125ee683
UD
379232011-04-29 Ulrich Drepper <drepper@gmail.com>
37924
37925 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37926 to groups setting in database lookup.
37927 * nss/nsswitch.conf: Add initgroups entry.
37928
b722481a
EB
379292011-04-22 Ulrich Drepper <drepper@gmail.com>
37930
37931 [BZ #12685]
37932 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37933 mode string.
37934 Patch by Eric Blake <eblake@redhat.com>.
37935
4df46dbd
L
379362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37937
37938 * sunrpc/Makefile (need-export-routines): Add svc_run.
37939 (routines): Remove svc_run.
37940 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37941 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37942 * sunrpc/svc_run.c (svc_run): Likewise.
37943 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37944
e84142d2
UD
379452011-04-21 Ulrich Drepper <drepper@gmail.com>
37946
37947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37948 problem in reallocation in last patch.
37949
877175d8
UD
379502011-04-20 Ulrich Drepper <drepper@gmail.com>
37951
37952 * sunrpc/Makefile: Move inclusion of Rules.
37953
ab8eed78
UD
379542011-04-19 Ulrich Drepper <drepper@gmail.com>
37955
37956 * nss/nss_files/files-initgroups.c: New file.
37957 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37958 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37959 _nss_files_initgroups_dyn.
37960
e3d8f584
RS
379612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37962
37963 * elf/elf.h (R_ARM_IRELATIVE): Define.
37964
af190f45
UD
379652011-04-19 Ulrich Drepper <drepper@gmail.com>
37966
37967 * po/ru.po: Update from translation team.
37968
53cf59ef
UD
379692011-04-17 Ulrich Drepper <drepper@gmail.com>
37970
37971 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37972 dependencies.
37973
4c559bcd
MF
379742011-02-06 Mike Frysinger <vapier@gentoo.org>
37975
37976 [BZ #12653]
37977 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37978 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37979 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37982
4420675c
AS
379832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37984
37985 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37986 differing bytes.
37987 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37990
75ea32ab
UD
379912011-04-17 Ulrich Drepper <drepper@gmail.com>
37992
37993 [BZ #12420]
37994 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37995 storing it.
37996 * stdlib/bug-getcontext.c: New file.
37997 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37998
27390476
AK
379992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38000
38001 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38002 instructions into .machine "z9-109".
38003 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38004 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38005
10442705
AK
380062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38007
38008 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38009 between environment variables and auxiliary vector.
38010
7b57bfe5
UD
380112011-04-16 Ulrich Drepper <drepper@gmail.com>
38012
38013 * Makefile: Add rules to build linkobj/libc.so.
38014 * include/libc-symbols.h: Define libc_hidden_nolink.
38015 * include/rpc/auth.h: Mark functions which are to be hidden.
38016 * include/rpc/auth_des.h: Likewise.
38017 * include/rpc/auth_unix.h: Likewise.
38018 * include/rpc/clnt.h: Likewise.
38019 * include/rpc/des_crypt.h: Likewise.
38020 * include/rpc/key_prot.h: Likewise.
38021 * include/rpc/pmap_clnt.h: Likewise.
38022 * include/rpc/pmap_prot.h: Likewise.
38023 * include/rpc/pmap_rmt.h: Likewise.
38024 * include/rpc/rpc_msg.h: Likewise.
38025 * include/rpc/svc.h: Likewise.
38026 * include/rpc/svc_auth.h: Likewise.
38027 * include/rpc/xdr.h: Likewise.
38028 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38029 * nss/Makefile: Likewise.
38030 * sunrpc/Makefile: Don't install headers. Build library with normal
38031 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38032 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38033 for the compat linking library. Remove use of INTDEF/INTUSE.
38034 * sunrpc/auth_none.c: Likewise.
38035 * sunrpc/auth_unix.c: Likewise.
38036 * sunrpc/authdes_prot.c: Likewise.
38037 * sunrpc/authuxprot.c: Likewise.
38038 * sunrpc/clnt_gen.c: Likewise.
38039 * sunrpc/clnt_perr.c: Likewise.
38040 * sunrpc/clnt_raw.c: Likewise.
38041 * sunrpc/clnt_simp.c: Likewise.
38042 * sunrpc/clnt_tcp.c: Likewise.
38043 * sunrpc/clnt_udp.c: Likewise.
38044 * sunrpc/clnt_unix.c: Likewise.
38045 * sunrpc/des_crypt.c: Likewise.
38046 * sunrpc/des_soft.c: Likewise.
38047 * sunrpc/get_myaddr.c: Likewise.
38048 * sunrpc/key_call.c: Likewise.
38049 * sunrpc/key_prot.c: Likewise.
38050 * sunrpc/netname.c: Likewise.
38051 * sunrpc/pm_getmaps.c: Likewise.
38052 * sunrpc/pm_getport.c: Likewise.
38053 * sunrpc/pmap_clnt.c: Likewise.
38054 * sunrpc/pmap_prot.c: Likewise.
38055 * sunrpc/pmap_prot2.c: Likewise.
38056 * sunrpc/pmap_rmt.c: Likewise.
38057 * sunrpc/publickey.c: Likewise.
38058 * sunrpc/rpc_cmsg.c: Likewise.
38059 * sunrpc/rpc_common.c: Likewise.
38060 * sunrpc/rpc_dtable.c: Likewise.
38061 * sunrpc/rpc_prot.c: Likewise.
38062 * sunrpc/rpc_thread.c: Likewise.
38063 * sunrpc/rtime.c: Likewise.
38064 * sunrpc/svc.c: Likewise.
38065 * sunrpc/svc_auth.c: Likewise.
38066 * sunrpc/svc_authux.c: Likewise.
38067 * sunrpc/svc_raw.c: Likewise.
38068 * sunrpc/svc_run.c: Likewise.
38069 * sunrpc/svc_simple.c: Likewise.
38070 * sunrpc/svc_tcp.c: Likewise.
38071 * sunrpc/svc_udp.c: Likewise.
38072 * sunrpc/svc_unix.c: Likewise.
38073 * sunrpc/svcauth_des.c: Likewise.
38074 * sunrpc/xcrypt.c: Likewise.
38075 * sunrpc/xdr.c: Likewise.
38076 * sunrpc/xdr_array.c: Likewise.
38077 * sunrpc/xdr_float.c: Likewise.
38078 * sunrpc/xdr_intXX_t.c: Likewise.
38079 * sunrpc/xdr_mem.c: Likewise.
38080 * sunrpc/xdr_rec.c: Likewise.
38081 * sunrpc/xdr_ref.c: Likewise.
38082 * sunrpc/xdr_sizeof.c: Likewise.
38083 * sunrpc/xdr_stdio.c: Likewise.
38084
e6c61494
UD
380852011-04-10 Ulrich Drepper <drepper@gmail.com>
38086
38087 [BZ #12650]
38088 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38089 * sysdeps/ia64/dl-tls.h: Likewise.
38090 * sysdeps/powerpc/dl-tls.h: Likewise.
38091 * sysdeps/s390/dl-tls.h: Likewise.
38092 * sysdeps/sh/dl-tls.h: Likewise.
38093 * sysdeps/sparc/dl-tls.h: Likewise.
38094 * sysdeps/x86_64/dl-tls.h: Likewise.
38095 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38096
34fe483e
AS
380972011-03-14 Andreas Schwab <schwab@redhat.com>
38098
38099 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38100 rpath element also skip the following colon.
38101 (expand_dynamic_string_token): Add is_path parameter and pass
38102 down to DL_DST_REQUIRED and _dl_dst_substitute.
38103 (decompose_rpath): Call expand_dynamic_string_token with
38104 non-zero is_path. Ignore empty rpaths.
38105 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38106 with zero is_path.
38107
f12a32e6
AS
381082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38109
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38111 Make cancelable.
38112
38a7d692
UD
381132011-04-09 Ulrich Drepper <drepper@gmail.com>
38114
38115 [BZ #12655]
38116 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38117 Patch by Filipe David Manana <fdmanana@apache.org>.
38118
e451d22b
AS
381192011-04-07 Andreas Schwab <schwab@redhat.com>
38120
38121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38122 Maintain aligned stack.
38123 (CHECK_RSP): Remove unused macro.
38124
dedc7c7b
UD
381252011-04-03 Ulrich Drepper <drepper@gmail.com>
38126
38127 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38128 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38129
94521213
UD
381302011-04-02 Ulrich Drepper <drepper@gmail.com>
38131
38132 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38133
8cb700c0 38134 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38135
0354e355
L
381362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38137
38138 [BZ #12518]
38139 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38140 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38141 * sysdeps/x86_64/memmove.c: New file.
38142 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38143 (memcpy): Renamed to ...
38144 (__new_memcpy): This.
38145 (memcpy): Provide GLIBC_2_14 memcpy.
38146 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38147 (memcpy): Provide GLIBC_2_2_5 memcpy.
38148
8593482f
UD
381492011-04-01 Ulrich Drepper <drepper@gmail.com>
38150
38151 [BZ #12631]
38152 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38153
81a5726b
AS
381542011-03-30 Andreas Schwab <schwab@redhat.com>
38155
38156 * misc/syncfs.c: New file.
38157 * misc/Makefile (routines): Add syncfs.
38158 * posix/unistd.h: Declare syncfs.
38159 * sysdeps/unix/syscalls.list: Add syncfs.
38160
00e5419f
AS
381612011-04-01 Andreas Schwab <schwab@redhat.com>
38162
38163 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38164 open_by_handle_at.
38165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38168 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38170 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38172
748876bf
UD
381732011-04-01 Ulrich Drepper <drepper@gmail.com>
38174
658e451d
UD
38175 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38177 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38182
748876bf
UD
38183 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38184 sync_file_range.c with -fexceptions.
38185 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38186 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38187 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38188 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38189 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38190 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38192 sync_file_range as cancellation point
38193 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38194 now a wrapper around __call_sync_file_range with cancellation handling.
38195 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38196 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38197 function name to __call_sync_file_range.
38198 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38199 Add call_sync_file_range.
748876bf 38200
6e63d5e1
AS
382012011-04-01 Andreas Schwab <schwab@redhat.com>
38202
38203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38204 bits/timex.h.
6e63d5e1 38205
46998f74
UD
382062011-04-01 Ulrich Drepper <drepper@gmail.com>
38207
4c1423ed
UD
38208 * iconv/iconv.h: Fix typo in comment.
38209 * io/fcntl.h: Likewise.
38210 * libio/stdio.h: Likewise.
38211 * posix/spawn.h: Likewise.
38212 * posix/unistd.h: Likewise.
38213 * stdlib/stdlib.h: Likewise.
38214 * time/time.h: Likewise.
38215 * wcsmbs/wchar.h: Likewise.
38216
158648c0
UD
38217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38218 open_by_handle): Add.
38219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38220 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38221 Augment a few comments.
38222 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38227 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38228 open_by_handle.
38229
46998f74
UD
38230 * io/fcntl.h (AT_EMPTY_PATH): Define.
38231
83fe108b
UD
382322011-03-30 Ulrich Drepper <drepper@gmail.com>
38233
38234 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38235 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38236 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38237 to...
38238 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38239 * Versions.def: Add GLIBC_2.14.
38240 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38241 Export.
83fe108b 38242
bb242059
UD
382432011-03-22 Ulrich Drepper <drepper@gmail.com>
38244
38245 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38246 round counter.
38247 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38248
c97a1282
L
382492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38250
38251 [BZ #12597]
38252 * string/test-strncmp.c (do_page_test): New function.
38253 (check2): Likewise.
38254 (test_main): Call check2.
38255 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38256
2a115601
UD
382572011-03-20 Ulrich Drepper <drepper@gmail.com>
38258
38259 [BZ #12587]
38260 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38261 Handle cache information in CPU leaf 4.
38262 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38263
8126d904
UD
382642011-03-18 Ulrich Drepper <drepper@gmail.com>
38265
042c49c6 38266 [BZ #12583]
8126d904
UD
38267 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38268 character representation.
38269 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38270
ccfe366e
RA
382712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38272
38273 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38274 END(__isnan) to END(__isnanf) to match function entry point/label
38275 EALIGN(__isnanf,...).
38276
c6e13027
JJ
382772011-03-10 Jakub Jelinek <jakub@redhat.com>
38278
38279 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38280
33f85a3f
UD
382812011-03-10 Ulrich Drepper <drepper@gmail.com>
38282
028478fa
UD
38283 [BZ #12510]
38284 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38285 copy from the symbol referenced in the relocation to initialize the
38286 used variable.
38287 Patch by Piotr Bury <pbury@goahead.com>.
38288 * elf/Makefile: Add rules to build and tst-unique3.
38289 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38290 * elf/tst-unique3.cc: New file.
38291 * elf/tst-unique3.h: New file.
38292 * elf/tst-unique3lib.cc: New file.
38293 * elf/tst-unique3lib2.cc: New file.
38294
33f85a3f
UD
38295 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38296
03592fc7
MF
382972011-03-10 Mike Frysinger <vapier@gentoo.org>
38298
38299 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38300 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38301 to _start.
03592fc7 38302
6a5ee102
UD
383032011-03-06 Ulrich Drepper <drepper@gmail.com>
38304
38305 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38306 to-be-loaded object along a path to loader is ld.so.
38307
7e4ba49c
HJ
383082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38309 Ulrich Drepper <drepper@gmail.com>
38310
38311 * sysdeps/x86_64/memset.S: After aligning destination, code
38312 branches to different locations depending on the value of
38313 misalignment, when multiarch is enabled. Fix this.
38314
383152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38316
38317 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38318 Set _x86_64_preferred_memory_instruction for AMD processsors.
38319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38320 Set bit_Prefer_SSE_for_memop for AMD processors.
38321
13a804de
UD
383222011-03-04 Ulrich Drepper <drepper@gmail.com>
38323
38324 * libio/fmemopen.c (fmemopen): Optimize a bit.
38325
9d25c392
AS
383262011-03-03 Andreas Schwab <schwab@redhat.com>
38327
38328 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38329
a5543c6a
RM
383302011-03-03 Roland McGrath <roland@redhat.com>
38331
38332 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38333
012d35f7
DM
383342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38335
7e4ba49c 38336 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38337 __bzero_ultra1 instead of __memset_ultra1.
38338
4bff6e01
AS
383392011-02-23 Andreas Schwab <schwab@redhat.com>
38340 Ulrich Drepper <drepper@gmail.com>
38341
38342 [BZ #12509]
38343 * include/link.h (struct link_map): Add l_orig_initfini.
38344 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38345 returning unsuccessfully.
38346 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38347 close of a file loaded at startup, restore the original l_initfini
38348 list.
38349 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38350 list, store the pointer.
38351 * elf/Makefile ($(objpfx)noload-mem): New rule.
38352 (noload-ENV): Define.
38353 (tests): Add $(objpfx)noload-mem.
38354 * elf/noload.c: Include <memcheck.h>.
38355 (main): Call mtrace. Close all opened handles.
38356
f2092faf
AS
383572011-02-17 Andreas Schwab <schwab@redhat.com>
38358
38359 [BZ #12454]
38360 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38361 dependencies are missing.
38362
6c8a2e88
ST
383632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38364
f2092faf 38365 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38366 Hurd needs munmap.
38367 * sysdeps/mach/hurd/ifreq.h: New file.
38368
84a42118
PB
383692011-01-27 Petr Baudis <pasky@suse.cz>
38370 Ulrich Drepper <drepper@gmail.com>
38371
071f805e 38372 [BZ 12445]#
84a42118
PB
38373 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38374 to extend_alloca().
38375 * stdio-common/bug23.c: New file.
38376 * stdio-common/Makefile (tests): Add bug23.
38377
e23fe25b
AS
383782010-09-28 Andreas Schwab <schwab@redhat.com>
38379 Ulrich Drepper <drepper@gmail.com>
38380
38381 [BZ #12489]
38382 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38383 before performing relro protection. At old place add assertion
38384 to make sure nothing changed.
38385
d3f02e10
NS
383862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38387 Glauber de Oliveira Costa <glommer@gmail.com>
38388
38389 * elf/elf.h: Add new ARM TLS relocs.
38390
d55fd7a5
RA
383912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38392
38393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38394 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38395 cast from r3.
38396 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38397 'tests' variable.
38398 * sysdeps/wordsize-64/tst-writev.c: New file.
38399
2206397e
RA
384002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38401
38402 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38403 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38404 insns in _dl_start to prevent a TOC reference before relocs are
38405 resolved.
38406
e9433893
UD
384072011-02-15 Ulrich Drepper <drepper@gmail.com>
38408
38409 [BZ #12469]
38410 * Makeconfig: Remove RANLIB definition.
38411 * Makerules: Don't use RANLIB.
38412 * aclocal.m4: Remove ranlib test.
38413 * configure.in: No need to check for ranlib.
38414 * elf/rtld-Rules: Don't use RANLIB.
38415
f75286c6
ST
384162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38417
8e31c82d
ST
38418 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38419 protection macro.
38420 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38421 inclusion protection macro.
38422
f75286c6
ST
38423 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38424 SIGRTMIN and SIGRTMAX and print information in that case only when
38425 SIGRTMIN is defined.
38426
c1d0e639
JJ
384272011-02-11 Jakub Jelinek <jakub@redhat.com>
38428
38429 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38430 arginfo fn returning -1.
38431
38432 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38433 and thousands string is zero terminated.
38434
edf9294e
AS
384352011-02-03 Andreas Schwab <schwab@redhat.com>
38436
38437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38438 sysdeps/unix/sysv/linux/bits/socket.h.
38439
2b7e92df
ST
384402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38441
edf9294e
AS
38442 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38443 (__CPU_COUNT): Remove old macros.
38444 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38445 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38446 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38447 (__sched_cpualloc, __sched_cpufree): Add declarations.
38448
a4c7ea7b
UD
384492011-02-05 Ulrich Drepper <drepper@gmail.com>
38450
38451 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38452 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38453 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38454 (readdhstai): Return value of addhstaiX call.
38455 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38456 (addgrbyX): Return value returned by cache_addgr.
38457 (readdgrbyname): Return value returned by addgrbyX.
38458 (readdgrbygid): Likewise.
38459 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38460 (addpwbyX): Return value returned by cache_addpw.
38461 (readdpwbyname): Return value returned by addhstbyX.
38462 (readdpwbyuid): Likewise.
38463 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38464 (addservbyX): Return value returned by cache_addserv.
38465 (readdservbyname): Return value returned by addservbyX:
38466 (readdservbyport): Likewise.
38467 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38468 (addhstbyX): Return value returned by cache_addhst.
38469 (readdhstbyname): Return value returned by addhstbyX.
38470 (readdhstbyaddr): Likewise.
38471 (readdhstbynamev6): Likewise.
38472 (readdhstbyaddrv6): Likewise.
38473 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38474 (readdinitgroups): Return value returned by addinitgroupsX.
38475 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38476 (prune_cache): Keep track of timeout value of re-added entries.
38477 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38478 * nscd/nscd.h: Adjust prototypes of readd* functions.
38479
a0bf67cc
RM
384802011-02-04 Roland McGrath <roland@redhat.com>
38481
38482 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38483 (nis_stats): Likewise.
38484 * nis/nis_modify.c (nis_modify): Likewise.
38485 * nis/nis_remove.c (nis_remove): Likewise.
38486 * nis/nis_add.c (nis_add): Likewise.
38487
38488 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38489
38490 * posix/fnmatch_loop.c: Add some consts.
38491
38492 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38493
435b95eb
L
384942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38495
38496 [BZ #12460]
38497 * config.make.in (config-cflags-novzeroupper): Define.
38498 * configure.in: Substitute libc_cv_cc_novzeroupper.
38499 * elf/Makefile (AVX-CFLAGS): Define.
38500 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38501 (CFLAGS-tst-auditmod4a.c): Likewise.
38502 (CFLAGS-tst-auditmod4b.c): Likewise.
38503 (CFLAGS-tst-auditmod6b.c): Likewise.
38504 (CFLAGS-tst-auditmod6c.c): Likewise.
38505 (CFLAGS-tst-auditmod7b.c): Likewise.
38506 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38507
8517b15e
UD
385082011-02-02 Ulrich Drepper <drepper@gmail.com>
38509
38510 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38511 function to the callback.
38512 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38513
10a656fe
AS
385142011-02-02 Andreas Schwab <schwab@redhat.com>
38515
38516 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38517 of errno.
38518
968dad0a
UD
385192011-01-19 Ulrich Drepper <drepper@gmail.com>
38520
9f94d2ea 38521 [BZ #11724]
968dad0a
UD
38522 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38523 of constructors.
38524 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38525 of destructors.
38526 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38527
38528 [BZ #11724]
38529 * elf/Makefile: Add rules to build and run new test.
38530 * elf/tst-initorder.c: New file.
38531 * elf/tst-initorder.exp: New file.
38532 * elf/tst-initordera1.c: New file.
38533 * elf/tst-initordera2.c: New file.
38534 * elf/tst-initordera3.c: New file.
38535 * elf/tst-initordera4.c: New file.
38536 * elf/tst-initorderb1.c: New file.
38537 * elf/tst-initorderb2.c: New file.
38538 * elf/tst-order-a1.c: New file.
38539 * elf/tst-order-a2.c: New file.
38540 * elf/tst-order-a3.c: New file.
38541 * elf/tst-order-a4.c: New file.
38542 * elf/tst-order-b1.c: New file.
38543 * elf/tst-order-b2.c: New file.
38544 * elf/tst-order-main.c: New file.
38545 New test case by George Gensure <werkt0@gmail.com>.
38546
86e92359
UD
385472010-10-01 Andreas Schwab <schwab@redhat.com>
38548
38549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38550 decoding ACE if AI_CANONIDN.
38551
5d5732b0
UD
385522011-01-18 Ulrich Drepper <drepper@gmail.com>
38553
38554 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38555
a77e8cbc
UD
385562011-01-17 Ulrich Drepper <drepper@gmail.com>
38557
6392473f
UD
38558 * version.h (RELEASE): Bump for 2.13 release.
38559 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38560
620a0529
UD
38561 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38562
18ba70a5
UD
38563 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38564 MADV_NOHUGEPAGE.
32465c3e
UD
38565 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38566 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38567 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38568 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38569 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38571
c0dafcf1
UD
38572 * posix/getconf.c: Update copyright year.
38573 * catgets/gencat.c: Likewise.
38574 * csu/version.c: Likewise.
38575 * debug/catchsegv.sh: Likewise.
38576 * debug/xtrace.sh: Likewise.
38577 * elf/ldconfig.c: Likewise.
38578 * elf/ldd.bash.in: Likewise.
38579 * elf/sprof.c (print_version): Likewise.
38580 * iconv/iconv_prog.c: Likewise.
38581 * iconv/iconvconfig.c: Likewise.
38582 * locale/programs/locale.c: Likewise.
38583 * locale/programs/localedef.c: Likewise.
38584 * malloc/memusage.sh: Likewise.
38585 * malloc/mtrace.pl: Likewise.
38586 * nscd/nscd.c (print_version): Likewise.
38587 * nss/getent.c: Likewise.
38588
a77e8cbc
UD
38589 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38590 PF_CAIF, and PF_ALG.
38591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38592
77e8bddf
AS
385932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38594
1f20b93a
AS
38595 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38596 (modules-names): Use them.
38597 (ifunc-test-modules, ifunc-pie-tests): Define.
38598 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38599 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38600 (test-extras): Likewise.
38601 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38602 $(compile-command.c).
38603 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38604 (all-built-dso): Define.
38605 (check-textrel.out, check-execstack.out): Depend on it.
38606
77e8bddf
AS
38607 * configure.in: Don't override --enable-multi-arch.
38608
bc425b33
UD
386092011-01-15 Ulrich Drepper <drepper@gmail.com>
38610
38611 [BZ #6812]
38612 * nscd/hstcache.c (tryagain): Define.
38613 (cache_addhst): Return tryagain not notfound for temporary errors.
38614 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38615 failed.
38616
794c3ad3
UD
386172011-01-14 Ulrich Drepper <drepper@gmail.com>
38618
70181fdd
UD
38619 [BZ #10563]
38620 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38621 to make the syscall.
38622 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38623
794c3ad3
UD
38624 [BZ #12378]
38625 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38626 and fall back to matching as normal character if the string ends before
38627 the matching ']' is found. This is what POSIX requires.
38628 * posix/testfnm.c: Adjust test result.
38629 * posix/globtest.sh: Adjust test result. Add new test.
38630 * posix/tst-fnmatch.input: Likewise.
38631 * posix/tst-fnmatch2.c: Add new test.
38632
68dc9497
AS
386332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38634
38635 * elf/Makefile (check-execstack): Revert last change. Depend on
38636 check-execstack.h.
38637 (check-execstack.h): New target.
38638 (generated): Add check-execstack.h.
38639 * elf/check-execstack.c: Include "check-execstack.h".
38640 (main): Revert last change.
38641 (handle_file): Return zero if GNU_STACK is absent and
38642 DEFAULT_STACK_PERMS doesn't include PF_X.
38643
451f001b
UD
386442011-01-13 Ulrich Drepper <drepper@gmail.com>
38645
cfa28e56
UD
38646 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38647 in child fails because the descriptor is already closed.
8cf8ce17
UD
38648 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38649 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38650 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38651
1086d70d
UD
38652 [BZ #12397]
38653 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38654 syscall.
38655
451f001b
UD
38656 [BZ #10484]
38657 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38658 temporary buffer used to handle multi lookups locally.
a85b5cb4 38659 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38660
08769175
UD
386612011-01-12 Ulrich Drepper <drepper@gmail.com>
38662
38663 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38664 loader is ld.so.
38665
5e49c52e
UD
386662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38667
38668 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38669 alignment for SSE2.
38670
60522a5f
UD
386712011-01-12 Ulrich Drepper <drepper@gmail.com>
38672
38673 [BZ #12394]
38674 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38675 characters. When rounding increased number of integer digits recompute
38676 number of groups.
38677 * stdio-common/tst-grouping.c: New file.
38678 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38679
f257bbd7
UD
386802011-01-09 Ulrich Drepper <drepper@gmail.com>
38681
38682 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38683 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38684
38685 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38686 void.
38687 * bits/select.h: Likewise.
38688
fa9c15cb
UD
386892011-01-08 Ulrich Drepper <drepper@gmail.com>
38690
38691 * po/ja.po: Update from translation team.
38692
16c2895f
DM
386932011-01-04 David S. Miller <davem@sunset.davemloft.net>
38694
38695 [BZ #11155]
38696 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38697 implementation just like for lxstat, fxstatat, et al.
38698
2543fef2
JM
386992010-12-27 Jim Meyering <meyering@redhat.com>
38700
38701 [BZ #12348]
38702 * posix/regexec.c (build_trtable): Return failure indication upon
38703 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38704
98727dbe
UD
387052010-12-25 Ulrich Drepper <drepper@gmail.com>
38706
5bd6dc5c
UD
38707 [BZ #12201]
38708 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38709 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38710 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38711 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38712
97983464
UD
38713 [BZ #12207]
38714 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38715
98727dbe
UD
38716 [BZ #12204]
38717 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38718 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38719
4a531bb0
L
387202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38721
38722 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38723 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38724 script has SORT_BY_INIT_PRIORITY.
38725 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38726 NO_CTORS_DTORS_SECTIONS is defined.
38727 * elf/soinit.c: Likewise.
38728 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38729 NO_CTORS_DTORS_SECTIONS is defined.
38730 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38731 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38732 * sysdeps/sh/init-first.c: Likewise.
38733 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38734
07eb4b71
UD
387352010-12-24 Ulrich Drepper <drepper@gmail.com>
38736
38737 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38738 always use the slow path.
38739
30950a5f
RA
387402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38741
38742 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38743 similar rule which adds the sysdep directories to the header search in
38744 order to pick up the correct platform stackinfo.h.
38745 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38746 perform test if it is, otherwise return successfully without testing.
38747 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38748 DEFAULT_STACK_PERMS define in stackinfo.h.
38749 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38750 defined in stackinfo.h.
38751 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38752 DEFAULT_STACK_PERMS defined in stackinfo.h.
38753 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38754 * sysdeps/ia64/stackinfo.h: Likewise.
38755 * sysdeps/s390/stackinfo.h: Likewise.
38756 * sysdeps/sh/stackinfo.h: Likewise.
38757 * sysdeps/sparc/stackinfo.h: Likewise.
38758 * sysdeps/x86_64/stackinfo.h: Likewise.
38759 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38760 PF_X for powerpc64. Retain PF_X for powerpc32.
38761
db753e2c
UD
387622010-12-19 Ulrich Drepper <drepper@gmail.com>
38763
14b697f7
UD
38764 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38765 accurately.
db753e2c
UD
38766 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38767 GETDENTS_64BIT_ALIGNED.
38768
28300719
UD
387692010-12-14 Ulrich Drepper <dreper@gmail.com>
38770
14b697f7 38771 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38772
4f197237
AS
387732010-12-10 Andreas Schwab <schwab@redhat.com>
38774
dbb0472f
AS
38775 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38776 _GNU_SOURCE.
38777
4f197237
AS
38778 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38779 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38780 Remove __restrict.
38781 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38782 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38783
fb88ac72
UD
387842010-12-09 Ulrich Drepper <drepper@gmail.com>
38785
38786 [BZ #11655]
38787 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38788 are initialized.
38789
42acbb92
JJ
387902010-12-09 Jakub Jelinek <jakub@redhat.com>
38791
38792 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38793
c038d98d
UD
387942010-12-03 Ulrich Drepper <drepper@gmail.com>
38795
38796 * po/it.po: Update from translation team.
38797
3a4a2499
L
387982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38799
38800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38801 unused codes.
38802
1e24cf6e
UD
388032010-11-30 Ulrich Drepper <drepper@gmail.com>
38804
38805 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38806
a7690819
AS
388072010-11-24 Andreas Schwab <schwab@redhat.com>
38808
38809 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38810 specially.
38811 (gaih_getanswer_slice): Likewise.
38812
3bf8d1b1
JJ
388132010-10-20 Jakub Jelinek <jakub@redhat.com>
38814
38815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38816
6db52fbb
PB
388172010-05-31 Petr Baudis <pasky@suse.cz>
38818
38819 [BZ #11149]
38820 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38821 silently even in the chroot mode.
38822
eaca7569
UD
388232010-11-22 Ulrich Drepper <drepper@gmail.com>
38824
38825 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38826 last patch a bit. Pretty printing
38827
3056dcdb
UD
388282010-05-31 Petr Baudis <pasky@suse.cz>
38829
38830 [BZ #10085]
38831 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38832 initialization of skip_initgroups_dyn.
38833
cf7c9078
UD
388342010-11-19 Ulrich Drepper <drepper@gmail.com>
38835
38836 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38837 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38838
a1fb5e3e
UD
388392010-11-16 Ulrich Drepper <drepper@gmail.com>
38840
38841 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38842
3540d66b
AS
388432010-11-11 Andreas Schwab <schwab@redhat.com>
38844
38845 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38846 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38847 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38848 ($(objpfx)tst-fnmatch-mem): New rule.
38849 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38850 * posix/tst-fnmatch.c (main): Call mtrace.
38851
13b69574
L
388522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38853
38854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38855 Support Intel processor model 6 and model 0x2c.
38856
da93d214
LM
388572010-11-10 Luis Machado <luisgpm@br.ibm.com>
38858
38859 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38860 signed comparison.
38861
8ca52c6e
L
388622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38863
38864 [BZ #12205]
38865 * string/test-strncasecmp.c (check_result): New function.
38866 (do_one_test): Use it.
38867 (check1): New function.
38868 (test_main): Use it.
38869 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38870 Support strcasecmp and strncasecmp.
38871
69da074d
UD
388722010-11-08 Ulrich Drepper <drepper@gmail.com>
38873
38874 [BZ #12194]
38875 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38876 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38877
ff02d528
L
388782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38879
38880 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38881 IFUNC support.
38882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38883 memset-x86-64.
38884 * sysdeps/x86_64/multiarch/bzero.S: New file.
38885 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38886 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38887 * sysdeps/x86_64/multiarch/memset.S: New file.
38888 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38890 Set bit_Prefer_SSE_for_memop for Intel processors.
38891 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38892 Define.
38893 (index_Prefer_SSE_for_memop): Define.
38894 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38895
344d0b54
LM
388962010-11-04 Luis Machado <luisgpm@br.ibm.com>
38897
38898 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38900
c0dde15b
UD
389012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38902
38903 [BZ #12191]
38904 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38905 (__x86_64_raw_data_cache_size_half): Likewise.
38906 (__x86_64_raw_shared_cache_size): Likewise.
38907 (__x86_64_raw_shared_cache_size_half): Likewise.
38908
38909 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38910 (__x86_64_raw_data_cache_size_half): Likewise.
38911 (__x86_64_raw_shared_cache_size): Likewise.
38912 (__x86_64_raw_shared_cache_size_half): Likewise.
38913 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38914 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38915 and __x86_64_raw_shared_cache_size_half. Round
38916 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38917 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38918 to multiple of 256 bytes.
38919
0e516e0e
MS
389202010-11-03 Ulrich Drepper <drepper@gmail.com>
38921
38922 [BZ #12167]
38923 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38924 of inacessible symlinks. Verify result of symlink before returning it.
38925 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38926 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38927
0e012e87
ER
389282010-10-28 Erich Ritz <erichritz@gmail.com>
38929
38930 * math/math.h (isinf): Fix typo in comment.
38931
de0ff7bc
UD
389322010-11-01 Ulrich Drepper <drepper@gmail.com>
38933
38934 * po/da.po: Update from translation team.
38935
fa41c84d
UD
389362010-10-26 Ulrich Drepper <drepper@gmail.com>
38937
38938 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38939 is added to the list.
38940
f0967738
AK
389412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38942 Ulrich Drepper <drepper@gmail.com>
38943
38944 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38945 the global list here. Move code to...
38946 (_dl_add_to_namespace_list): ...here. New function.
38947 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38948 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38949 * elf/dl-load.c (lose): Don't remove the element from the list.
38950 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38951 (_dl_map_object): Likewise.
38952
389532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38954
38955 [BZ #12159]
38956 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38957 into all bytes of SSE register.
38958 Patch by Richard Li <richardpku@gmail.com>.
38959
f0967738 389602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38961
38962 [BZ #12140]
38963 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38964 perturbing.
38965
d0b9e94f
MB
389662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38967
38968 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38969 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38970 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38971 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38973 submachine.
38974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38975
8e9f92e9
AS
389762010-10-22 Andreas Schwab <schwab@redhat.com>
38977
38978 * include/dlfcn.h (__RTLD_SECURE): Define.
38979 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38980 mode & __RTLD_SECURE instead.
38981 (open_path): Rename preloaded parameter to secure.
38982 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38983 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38984 * elf/dl-deps.c (openaux): Likewise.
38985 * elf/rtld.c (struct map_args): Remove is_preloaded.
38986 (map_doit): Don't use it.
38987 (dl_main): Likewise.
38988 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38989 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38990
bc96fbda
AS
389912010-09-09 Andreas Schwab <schwab@redhat.com>
38992
38993 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38994 (sysd-rules-targets): Remove duplicates.
38995 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38996 rtld-%.$o dependency.
38997
22cd1c9b
AS
389982010-10-18 Andreas Schwab <schwab@redhat.com>
38999
39000 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39001 _dl_map_object do it.
39002
18edac48
UD
390032010-10-19 Ulrich Drepper <drepper@gmail.com>
39004
39005 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39006 fast fma builtins, define the macros in the C99 standard.
39007 (FP_FAST_FMAF): Likewise.
39008 (FP_FAST_FMAL): Likewise.
39009 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39010
39011 * bits/mathdef.h: Update copyright year.
39012 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39013
d2050124
MM
390142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39015
39016 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39017 builtins, define the macros in the C99 standard.
39018 (FP_FAST_FMAF): Likewise.
39019 (FP_FAST_FMAL): Likewise.
39020 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39021 multiply/add.
39022 (FP_FAST_FMAF): Likewise.
39023
475facd1
JJ
390242010-10-15 Jakub Jelinek <jakub@redhat.com>
39025
39026 [BZ #3268]
39027 * math/libm-test.inc (fma_test): Some new testcases.
39028 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39030 y and infinite z. Do multiplication by C already in long double.
39031 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39033 y and infinite z. Do bitwise or of inexact bit into u.d.
39034 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39035 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39036 * sysdeps/i386/fpu/s_fma.S: Removed.
39037 * sysdeps/i386/fpu/s_fmal.S: Removed.
39038
7c08a05c
JJ
390392010-10-16 Jakub Jelinek <jakub@redhat.com>
39040
39041 [BZ #3268]
39042 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39044 computation is not scheduled after fetestexcept. Fix value
39045 of minimum denormal long double.
39046
f3f7372d
JJ
390472010-10-14 Jakub Jelinek <jakub@redhat.com>
39048
39049 [BZ #3268]
39050 * math/libm-test.inc (fma_test): Add some more tests.
39051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39052 correctly.
39053
14d43591
AS
390542010-10-15 Andreas Schwab <schwab@redhat.com>
39055
39056 * scripts/data/localplt-s390-linux-gnu.data: New file.
39057 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39058
5e908464
JJ
390592010-10-13 Jakub Jelinek <jakub@redhat.com>
39060
39061 [BZ #3268]
39062 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39063 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39064 instead of dbl-64.
39065 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39066 inlines.
39067 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39069 if one of x and y is very large and the other is subnormal.
39070 * sysdeps/s390/fpu/s_fmaf.c: New file.
39071 * sysdeps/s390/fpu/s_fma.c: New file.
39072 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39073 * sysdeps/powerpc/fpu/s_fma.S: New file.
39074 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39075 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39076 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39077
390782010-10-12 Jakub Jelinek <jakub@redhat.com>
39079
39080 [BZ #3268]
39081 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39082 fma tests.
39083 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39084 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39085 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39086 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39087 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39088 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39089 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39090
b833d51f
UD
390912010-10-12 Ulrich Drepper <drepper@redhat.com>
39092
39093 [BZ #12078]
39094 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39095 * posix/bug-regex31.input: Add test case.
39096
1751705d
UD
390972010-10-11 Ulrich Drepper <drepper@gmail.com>
39098
e9b9cbf5
UD
39099 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39100 * posix/bug-regex31.input: New file.
39101
39102 [BZ #12078]
39103 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39104 (parse_sub_exp): Fix last change, use postorder.
39105
ef06edbe
UD
39106 * posix/bug-regex31.c: New file.
39107 * posix/Makefile: Add rules to build and run bug-regex31.
39108
a129c80d
UD
39109 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39110
39111 [BZ #12078]
39112 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39113
b76b818e
UD
39114 [BZ #12108]
39115 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39116 to have entries in sys_siglist.
39117
1751705d
UD
39118 [BZ #12093]
39119 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39120 be NULL.
39121
9ff8d36f
JJ
391222010-10-07 Jakub Jelinek <jakub@redhat.com>
39123
39124 [BZ #3268]
39125 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39126 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39127 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39128 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39129 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39130 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39131 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39132 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39133 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39134 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39135 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39136 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39137 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39138 * math/ftestexcept.c (fetestexcept): Likewise.
39139 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39140 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39141 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39142 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39143 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39144 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39145 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39146
af325969
UD
391472010-10-11 Ulrich Drepper <drepper@gmail.com>
39148
c579b202 39149 [BZ #12107]
af325969
UD
39150 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39151 newline.
39152
67a67b95
UD
391532010-10-06 Ulrich Drepper <drepper@gmail.com>
39154
39155 * string/bug-strstr1.c: New file.
39156 * string/Makefile: Add rules to build and run bug-strstr1.
39157
5fb308bc
EB
391582010-10-05 Eric Blake <eblake@redhat.com>
39159
39160 [BZ #12092]
39161 * string/str-two-way.h (two_way_long_needle): Always clear memory
39162 when skipping input due to the shift table.
39163
45db99c7
UD
391642010-10-03 Ulrich Drepper <drepper@gmail.com>
39165
3b111893
UD
39166 [BZ #12005]
39167 * malloc/mcheck.c: Handle large requests.
39168
45db99c7
UD
39169 [BZ #12077]
39170 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39171 for strncmp and strncasecmp.
39172 * string/stratcliff.c: Add tests for strcmp and strncmp.
39173 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39174
cf7a1eb8
NI
391752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39176
39177 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39178 __set_fpscr.
39179
6484ba5e
AJ
391802010-09-30 Andreas Jaeger <aj@suse.de>
39181
39182 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39183 (CGROUP_SUPER_MAGIC): Define.
39184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39185 Handle btrfs and cgroup file systems.
39186 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39187 Likewise.
39188
91c42559
LM
391892010-09-27 Luis Machado <luisgpm@br.ibm.com>
39190
39191 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39192 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39193
87a97932
AK
391942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39195
39196 [BZ #12067]
39197 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39198 trying to locate the ELF header.
39199
c21cc9bc
AS
392002010-09-27 Andreas Schwab <schwab@redhat.com>
39201
39202 [BZ #11611]
39203 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39204 Mask out sign-bit copies when constructing f_fsid.
39205
315970f6
PB
392062010-09-24 Petr Baudis <pasky@suse.cz>
39207
39208 * debug/stack_chk_fail_local.c: Add missing licence exception.
39209 * debug/warning-nop.c: Likewise.
39210
1ac7a2c7
JM
392112010-09-15 Joseph Myers <joseph@codesourcery.com>
39212
39213 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39214 implementing getdents64 using getdents syscall, set d_type if
39215 __ASSUME_GETDENTS32_D_TYPE.
39216
56801c50
AS
392172010-09-16 Andreas Schwab <schwab@redhat.com>
39218
39219 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39220 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39221
dda51327
UD
392222010-09-21 Ulrich Drepper <drepper@redhat.com>
39223
39224 [BZ #12037]
39225 * posix/unistd.h: Undo change of feature selection for ftruncate from
39226 2010-01-11.
39227
8ffcee4a
UD
392282010-09-20 Ulrich Drepper <drepper@redhat.com>
39229
a545ecd9 39230 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39231 detection.
39232
e24f0a8b
AS
392332010-09-20 Andreas Schwab <schwab@redhat.com>
39234
39235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39236 fanotify_mark.
39237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39238
7291c56f
AS
392392010-09-14 Andreas Schwab <schwab@redhat.com>
39240
39241 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39242 variables after CHECK_SP call.
39243 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39244
bc5fb037
AS
392452010-09-13 Andreas Schwab <schwab@redhat.com>
39246 Ulrich Drepper <drepper@redhat.com>
39247
39248 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39249 re-relocationg ld.so.
39250 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39251 _dl_init_paths call.
39252 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39253 here anymore.
39254
e66e7419
UD
392552010-09-14 Ulrich Drepper <drepper@redhat.com>
39256
39257 * resolv/res_init.c (__res_vinit): Count the default server we added.
39258
c044aa75
CLT
392592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39260 Ulrich Drepper <drepper@redhat.com>
39261
39262 [BZ #11968]
39263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39264 (____longjmp_chk): Use %ebx for saving value across system call.
39265 Add unwind info.
39266
32cf4069
AS
392672010-09-06 Andreas Schwab <schwab@redhat.com>
39268
39269 * manual/Makefile: Don't mix pattern rules with normal rules.
39270
817328ee
AS
392712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39272
39273 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39274 operation.
39275 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39276 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39277 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39278 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39280 Likewise.
39281
29fddf61
UD
392822010-09-04 Ulrich Drepper <drepper@redhat.com>
39283
39284 [BZ #11979]
39285 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39286 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39287
0959ffc9
UD
392882010-09-02 Ulrich Drepper <drepper@redhat.com>
39289
39290 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39291 * sysdeps/x86_64/addmul_1.S: Likewise.
39292 * sysdeps/x86_64/lshift.S: Likewise.
39293 * sysdeps/x86_64/mul_1.S: Likewise.
39294 * sysdeps/x86_64/rshift.S: Likewise.
39295 * sysdeps/x86_64/sub_n.S: Likewise.
39296 * sysdeps/x86_64/submul_1.S: Likewise.
39297
ece29840
ST
392982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39299
0959ffc9
UD
39300 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39301 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39302 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39303 * bits/sched.h [__need_schedparam]
ece29840 39304 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39305 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39306 (__defined_schedparam): Define to 1.
ece29840
ST
39307 (__sched_param): New structure, identical to sched_param.
39308 (__need_schedparam): Undefine.
39309
e53a31fe
MF
393102010-08-31 Mike Frysinger <vapier@gentoo.org>
39311
fdc0c10d
MF
39312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39313 (epoll_create1): Declare.
39314
e53a31fe
MF
39315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39316
a726d796
AS
393172010-08-31 Andreas Schwab <schwab@redhat.com>
39318
39319 [BZ #7066]
39320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39321 shifting retval into place.
39322
2f3e3dc7
UD
393232010-09-01 Ulrich Drepper <drepper@redhat.com>
39324
f2933da9
UD
39325 * nis/rpcsvc/nis.h: Update copyright notice.
39326 * nis/rpcsvc/nis.x: Likewise.
39327 * nis/rpcsvc/nis_callback.h: Likewise.
39328 * nis/rpcsvc/nis_callback.x: Likewise.
39329 * nis/rpcsvc/nis_object.x: Likewise.
39330 * nis/rpcsvc/nis_tags.h: Likewise.
39331 * nis/rpcsvc/yp.h: Likewise.
39332 * nis/rpcsvc/yp.x: Likewise.
39333 * nis/rpcsvc/ypupd.h: Likewise.
39334 * nis/yp_xdr.c: Likewise.
39335 * nis/ypupdate_xdr.c: Likewise.
39336
2f3e3dc7
UD
39337 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39338 mainly the body of pmap_getport. Add parameters to specify timeouts.
39339 (pmap_getport): Use __libc_rpc_getport.
39340 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39341 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39342 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39343
f3dcc2f9
AS
393442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39345
39346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39347 fanotify_mark.
39348
6d34eb5b
RM
393492010-08-27 Roland McGrath <roland@redhat.com>
39350
39351 * sysdeps/i386/i686/multiarch/Makefile
39352 (CFLAGS-varshift.c): New variable.
39353
9ea3de11
UD
393542010-08-27 Ulrich Drepper <drepper@redhat.com>
39355
c96d23fc
UD
39356 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39357 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39358
9ea3de11
UD
39359 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39360
39361 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39362
623aac7f
L
393632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39364
39365 * sysdeps/x86_64/strlen.S: Unroll the loop.
39366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39367 strlen-sse2 strlen-sse2-bsf.
39368 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39369 __strlen_no_bsf if bit_Slow_BSF is set.
39370 (__strlen_sse42): Removed.
39371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39372 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39373
8b2b7715
RM
393742010-08-25 Roland McGrath <roland@redhat.com>
39375
39376 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39377 * sysdeps/x86_64/multiarch/varshift.c: New file.
39378 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39379 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39380 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39381 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39382
e73015f2
L
393832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39384
39385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39386 strlen-sse2 strlen-sse2-bsf.
39387 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39388 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39389 (__strlen_sse2): Removed.
39390 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39393 bit_Slow_BSF for Atom.
39394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39395 (index_Slow_BSF): Define.
39396 (HAS_SLOW_BSF): Define.
39397
df24a73e
UD
393982010-08-25 Ulrich Drepper <drepper@redhat.com>
39399
39400 [BZ #10851]
39401 * resolv/res_init.c (__res_vinit): When no server address at all
39402 is given default to loopback.
39403
f2ac4868
RM
394042010-08-24 Roland McGrath <roland@redhat.com>
39405
09055553
RM
39406 * configure.in: Remove config-name.h generation.
39407 * configure: Regenerated.
39408 * config-name.in: File removed.
39409 * scripts/config-uname.sh: New file.
39410 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39411 ($(objdir)config-name.h): New target.
39412
f2ac4868
RM
39413 * sunrpc/rpc_parse.h: Avoid nested comment.
39414
73f27d5e
RH
394152010-08-24 Richard Henderson <rth@redhat.com>
39416 Ulrich Drepper <drepper@redhat.com>
39417 H.J. Lu <hongjiu.lu@intel.com>
39418
39419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39421 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39422 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39423 _mm_alignr_epi8 with _mm_loadu_si128.
39424 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39425 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39426 (__m128i_shift_right): Removed.
39427 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39428 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39429 * sysdeps/x86_64/multiarch/varshift.h: New file.
39430 * sysdeps/x86_64/multiarch/varshift.S: New file.
39431
84b9230c
MF
394322010-08-21 Mike Frysinger <vapier@gentoo.org>
39433
39434 * configure.in: Move assembler checks to before sysdep dir checking.
39435
9bbd0ddc
PB
394362010-08-20 Petr Baudis <pasky@suse.cz>
39437
39438 * LICENSES: Sync the sunrpc license.
39439
9da4bb31
UD
394402010-08-19 Ulrich Drepper <drepper@redhat.com>
39441
a7ab6ec8
UD
39442 * sunrpc/auth_des.c: Update copyright notice once again.
39443 * sunrpc/auth_none.c: Likewise.
39444 * sunrpc/auth_unix.c: Likewise.
39445 * sunrpc/authdes_prot.c: Likewise.
39446 * sunrpc/authuxprot.c: Likewise.
39447 * sunrpc/bindrsvprt.c: Likewise.
39448 * sunrpc/clnt_gen.c: Likewise.
39449 * sunrpc/clnt_perr.c: Likewise.
39450 * sunrpc/clnt_raw.c: Likewise.
39451 * sunrpc/clnt_simp.c: Likewise.
39452 * sunrpc/clnt_tcp.c: Likewise.
39453 * sunrpc/clnt_udp.c: Likewise.
39454 * sunrpc/clnt_unix.c: Likewise.
39455 * sunrpc/des_crypt.c: Likewise.
39456 * sunrpc/des_soft.c: Likewise.
39457 * sunrpc/get_myaddr.c: Likewise.
39458 * sunrpc/getrpcport.c: Likewise.
39459 * sunrpc/key_call.c: Likewise.
39460 * sunrpc/key_prot.c: Likewise.
39461 * sunrpc/openchild.c: Likewise.
39462 * sunrpc/pm_getmaps.c: Likewise.
39463 * sunrpc/pm_getport.c: Likewise.
39464 * sunrpc/pmap_clnt.c: Likewise.
39465 * sunrpc/pmap_prot.c: Likewise.
39466 * sunrpc/pmap_prot2.c: Likewise.
39467 * sunrpc/pmap_rmt.c: Likewise.
39468 * sunrpc/rpc/auth.h: Likewise.
39469 * sunrpc/rpc/auth_unix.h: Likewise.
39470 * sunrpc/rpc/clnt.h: Likewise.
39471 * sunrpc/rpc/des_crypt.h: Likewise.
39472 * sunrpc/rpc/key_prot.h: Likewise.
39473 * sunrpc/rpc/netdb.h: Likewise.
39474 * sunrpc/rpc/pmap_clnt.h: Likewise.
39475 * sunrpc/rpc/pmap_prot.h: Likewise.
39476 * sunrpc/rpc/pmap_rmt.h: Likewise.
39477 * sunrpc/rpc/rpc.h: Likewise.
39478 * sunrpc/rpc/rpc_des.h: Likewise.
39479 * sunrpc/rpc/rpc_msg.h: Likewise.
39480 * sunrpc/rpc/svc.h: Likewise.
39481 * sunrpc/rpc/svc_auth.h: Likewise.
39482 * sunrpc/rpc/types.h: Likewise.
39483 * sunrpc/rpc/xdr.h: Likewise.
39484 * sunrpc/rpc_clntout.c: Likewise.
39485 * sunrpc/rpc_cmsg.c: Likewise.
39486 * sunrpc/rpc_common.c: Likewise.
39487 * sunrpc/rpc_cout.c: Likewise.
39488 * sunrpc/rpc_dtable.c: Likewise.
39489 * sunrpc/rpc_hout.c: Likewise.
39490 * sunrpc/rpc_main.c: Likewise.
39491 * sunrpc/rpc_parse.c: Likewise.
39492 * sunrpc/rpc_parse.h: Likewise.
39493 * sunrpc/rpc_prot.c: Likewise.
39494 * sunrpc/rpc_sample.c: Likewise.
39495 * sunrpc/rpc_scan.c: Likewise.
39496 * sunrpc/rpc_scan.h: Likewise.
39497 * sunrpc/rpc_svcout.c: Likewise.
39498 * sunrpc/rpc_tblout.c: Likewise.
39499 * sunrpc/rpc_util.c: Likewise.
39500 * sunrpc/rpc_util.h: Likewise.
39501 * sunrpc/rpcinfo.c: Likewise.
39502 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39503 * sunrpc/rpcsvc/key_prot.x: Likewise.
39504 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39505 * sunrpc/rpcsvc/mount.x: Likewise.
39506 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39507 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39508 * sunrpc/rpcsvc/rex.x: Likewise.
39509 * sunrpc/rpcsvc/rstat.x: Likewise.
39510 * sunrpc/rpcsvc/rusers.x: Likewise.
39511 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39512 * sunrpc/rpcsvc/spray.x: Likewise.
39513 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39514 * sunrpc/rtime.c: Likewise.
39515 * sunrpc/svc.c: Likewise.
39516 * sunrpc/svc_auth.c: Likewise.
39517 * sunrpc/svc_authux.c: Likewise.
39518 * sunrpc/svc_raw.c: Likewise.
39519 * sunrpc/svc_run.c: Likewise.
39520 * sunrpc/svc_simple.c: Likewise.
39521 * sunrpc/svc_tcp.c: Likewise.
39522 * sunrpc/svc_udp.c: Likewise.
39523 * sunrpc/svc_unix.c: Likewise.
39524 * sunrpc/svcauth_des.c: Likewise.
39525 * sunrpc/xcrypt.c: Likewise.
39526 * sunrpc/xdr.c: Likewise.
39527 * sunrpc/xdr_array.c: Likewise.
39528 * sunrpc/xdr_float.c: Likewise.
39529 * sunrpc/xdr_mem.c: Likewise.
39530 * sunrpc/xdr_rec.c: Likewise.
39531 * sunrpc/xdr_ref.c: Likewise.
39532 * sunrpc/xdr_sizeof.c: Likewise.
39533 * sunrpc/xdr_stdio.c: Likewise.
39534
9da4bb31
UD
39535 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39536 handling.
39537
bdaa77bc
AS
395382010-08-19 Andreas Schwab <schwab@redhat.com>
39539
39540 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39541
fe2f79db
LM
395422010-08-19 Luis Machado <luisgpm@br.ibm.com>
39543
39544 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39545 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39546 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39547 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39548 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39549 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39550 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39551 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39552 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39553 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39554 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39555 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39556 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39557 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39558
b9b42ee0
AB
395592010-07-26 Anton Blanchard <anton@samba.org>
39560
39561 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39562 * malloc/arena.c (heap_trim): Likewise.
39563
1c06ba31
UD
395642010-08-16 Ulrich Drepper <drepper@redhat.com>
39565
39566 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39567 here. Not...
39568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39569 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39570
f8392f40
L
395712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39572
39573 * sysdeps/i386/elf/Makefile: New file.
39574
3162f12e
AS
395752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39576
39577 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39578 from fanotify_init.
39579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39581
28c90b2c
UD
395822010-08-15 Ulrich Drepper <drepper@redhat.com>
39583
39584 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39585 of strncasecmp_l.
1feccb6c 39586 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39587
ca6bb004
UD
395882010-08-14 Ulrich Drepper <drepper@redhat.com>
39589
e9f82e0d
UD
39590 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39591 strncase_l-nonascii.
39592 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39593 Add strncase_l-ssse3.
39594 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39595 * sysdeps/x86_64/strcmp.S: Likewise.
39596 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39597 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39598 * sysdeps/x86_64/strncase.S: New file.
39599 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39600 * sysdeps/x86_64/strncase_l.S: New file.
39601 * string/Makefile (strop-tests): Add strncasecmp.
39602 * string/test-strncasecmp.c: New file.
39603
39604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39605 warning.
39606
ca6bb004
UD
39607 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39608 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39609
052fa7b3
AS
396102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39611
39612 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39613
962dba78
UD
396142010-08-12 Ulrich Drepper <drepper@redhat.com>
39615
39616 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39617 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39619
bebff237
AM
396202010-05-01 Alan Modra <amodra@gmail.com>
39621
39622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39623 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39624 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39625 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39626 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39627 tidying. Don't tail-call __sigjmp_save for static lib.
39628 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39629 save location.
39630 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39631 (CALL_MCOUNT): Add eh info, and nop after bl.
39632 (TAIL_CALL_SYSCALL_ERROR): New macro.
39633 (PSEUDO_RET): Use it.
39634 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39635 Correct save location of integer regs and cr.
39636 (_dl_profile_resolve): Correct cr save location. Delete nops
39637 after bl when SHARED. Reduce cfi size a little by better
39638 placement of cfi directives.
39639 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39640 make a stack frame. Instead use parm save area as a temp.
39641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39642 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39644 Don't make a stack frame for parent, use parm save area.
39645 Increase child stack frame to 112 bytes. Don't save unused reg,
39646 and adjust reg usage. Set up cfi on error recovery and
39647 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39649 (__makecontext): Add dummy nop after jump to exit.
39650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39651 Use correct parm save area and cr save, reduce stack frame.
39652 Correct cfi for possible PSEUDO_RET frame setup.
39653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39654 Branch to local label emitted by PSEUDO_RET rather than
39655 __syscall_error.
39656
02637374
AS
396572010-08-12 Andreas Schwab <schwab@redhat.com>
39658
39659 [BZ #11904]
39660 * locale/programs/locale.c (print_assignment): New function.
39661 (show_locale_vars): Use it.
39662
c3e2f19b
UD
396632010-08-11 Ulrich Drepper <drepper@redhat.com>
39664
3cdaa6ad
UD
39665 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39666 field.
39667 (struct statfs64): Likewise.
39668 (_STATFS_F_FLAGS): Define.
39669 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39670 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39671 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39672 (ST_VALID): Define locally.
39673 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39674 __statvfs_getflags, use the provided value.
39675 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39676 __ASSUME_STATFS_F_FLAGS.
39677
754f7da3
UD
39678 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39679
10b3bedc
UD
39680 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39681 Add sys/fanotify.h.
39682 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39683 fanotify_mask for GLIBC_2.13.
39684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39685 fanotify_init and fanotify_mark.
39686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39687 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39688
c08fb0d7
UD
39689 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39690 Add prlimit.
39691 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39692 prlimit64 for GLIBC_2.13.
39693 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39694 prlimit64.
39695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39696 syscall.
39697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39698 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39699 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39700 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39702 add prlimit alias.
39703 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39704
15bac72b
UD
39705 [BZ #11903]
39706 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39707 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39708
c3e2f19b
UD
39709 * nss/Makefile: Add rules to build and run tst-nss-test1.
39710 * shlib-versions: Add entry for libnss_test1.
39711 * nss/nss_test1.c: New file.
39712 * nss/tst-nss-test1.c: New file.
39713
39714 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39715 (__nss_configure_lookup): Set appropriate entry in
39716 __nss_configure_lookup to true.
39717 * nss/nsswitch.h: Define enum with indeces of databases in
39718 databases and __nss_database_custom arrays. Declare
39719 __nss_database_custom.
39720 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39721 to avoid using nscd when custom rules are installed.
39722 * nss/getXXbyYY_r.c: Likewise.
39723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39724
39725 * nss/nss_files/files-parse.c: Whitespace fixes.
39726
f15ce4d8
UD
397272010-08-09 Ulrich Drepper <drepper@redhat.com>
39728
39729 [BZ #11883]
39730 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39731 * posix/fnmatch_loop.c: Likewise.
39732
d22e4cc9
AK
397332010-07-17 Andi Kleen <ak@linux.intel.com>
39734
39735 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39736 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39737 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39738 * Versions.def [GLIBC_2.13]: Add.
39739
805bc17d
UD
397402010-08-06 Ulrich Drepper <drepper@redhat.com>
39741
39742 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39743 Also fail if tpwd after pwuid call is NULL.
39744
5a42321d
ST
397452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39746
39747 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39748 when converting to ms.
39749
fd3ebeda
ST
397502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39751
39752 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39753 EOPNOTSUPP errors with ENOTTY.
39754 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39755 EOPNOTSUPP errors with ENOTTY.
39756
73507d3a
UD
397572010-07-31 Ulrich Drepper <drepper@redhat.com>
39758
39759 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39760 Add strcasecmp_l-ssse3.
39761 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39762 strcasecmp.
39763 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39764 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39765 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39766
fe36dd02
UD
397672010-07-30 Ulrich Drepper <drepper@redhat.com>
39768
66f6765a
UD
39769 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39770
42e08a54
UD
39771 * string/Makefile (strop-tests): Add strcasecmp.
39772 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39773 strcasecmp_l-nonascii.
39774 (gen-as-const-headers): Add locale-defines.sym.
39775 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39776 * sysdeps/x86_64/strcasecmp.S: New file.
39777 * sysdeps/x86_64/strcasecmp_l.S: New file.
39778 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39779 * sysdeps/x86_64/locale-defines.sym: New file.
39780 * string/test-strcasecmp.c: New file.
39781
fe36dd02
UD
39782 * string/test-strcasestr.c: Test both ends of the range of characters.
39783 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39784
48cbc0d6
RM
397852010-07-29 Roland McGrath <roland@redhat.com>
39786
76e6d6bc 39787 [BZ #11856]
48cbc0d6
RM
39788 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39789
880113d9
UD
397902010-07-27 Ulrich Drepper <drepper@redhat.com>
39791
39792 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39793 for ld.so.
39794
deb9cabb
AS
397952010-07-27 Andreas Schwab <schwab@redhat.com>
39796
39797 * manual/memory.texi (Malloc Tunable Parameters): Document
39798 M_PERTURB.
39799
1c7570ff
RM
398002010-07-26 Roland McGrath <roland@redhat.com>
39801
39802 [BZ #11840]
39803 * configure.in (-fgnu89-inline check): Set and substitute
39804 gnu89_inline, not libc_cv_gnu89_inline.
39805 * configure: Regenerated.
39806 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39807
24fb0f88
UD
398082010-07-26 Ulrich Drepper <drepper@redhat.com>
39809
39810 * string/test-strnlen.c: New file.
39811 * string/Makefile (strop-tests): Add strnlen.
39812 * string/tester.c (test_strnlen): Add a few more test cases.
39813 * string/tst-strlen.c: Better error reporting.
39814
39815 * sysdeps/x86_64/strnlen.S: New file.
39816
8e96b93a
UD
398172010-07-24 Ulrich Drepper <drepper@redhat.com>
39818
39819 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39820 lower-latency instructions.
39821
dbc676d4
UD
398222010-07-23 Ulrich Drepper <drepper@redhat.com>
39823
39824 * string/test-strcasestr.c: New file.
39825 * string/test-strstr.c: New file.
39826 * string/Makefile (strop-tests): Add strstr and strcasestr.
39827 * string/str-two-way.h: Don't undefine MAX.
39828 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39829
f6a31e0e
AS
398302010-07-21 Andreas Schwab <schwab@redhat.com>
39831
39832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39833 strcasestr-nonascii.
39834 (CFLAGS-strcasestr-nonascii.c): Define.
39835 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39837 Remove unused attribute.
39838
5dbc3b6c
RM
398392010-07-20 Roland McGrath <roland@redhat.com>
39840
39841 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39842 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39843 ld.so.cache was broken. With it, there is no way to disable dsocaps
39844 like LD_HWCAP_MASK can disable hwcaps.
39845
23d101d8
EPM
398462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39847
39848 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39849
cc9f2e47
UD
398502010-07-16 Ulrich Drepper <drepper@redhat.com>
39851
39852 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39853 call in strcasestr.
39854 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39855 __strcasestr_sse42_nonascii.
39856 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39857 strcasestr-nonascii.c.
39858 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39859
77c1b069
LM
398602010-06-15 Luis Machado <luisgpm@br.ibm.com>
39861
39862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39863 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39865 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39866
440566c3
UD
398672010-07-09 Ulrich Drepper <drepper@redhat.com>
39868
39869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39870 fcntl.
39871
5be9d05d
AS
398722010-07-06 Andreas Schwab <schwab@redhat.com>
39873
c30b7ee2 39874 [BZ #11577]
5be9d05d
AS
39875 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39876 dl_signal_cerror.
39877
8a492a67
UD
398782010-07-06 Ulrich Drepper <drepper@redhat.com>
39879
39880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39881 _PC_PIPE_BUF using F_GETPIPE_SZ.
39882
713df3d5
RM
398832010-07-05 Roland McGrath <roland@redhat.com>
39884
39885 * manual/arith.texi (Rounding Functions): Fix rint description
39886 implicit in round description.
39887
702e8f14
UD
398882010-07-02 Ulrich Drepper <drepper@redhat.com>
39889
39890 * elf/Makefile: Fix linking for a few tests to make recent linker
39891 happy.
39892
52ed8be9
AS
398932010-06-30 Andreas Schwab <schwab@redhat.com>
39894
39895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39896 $(common-objpfx)libc_nonshared.a.
39897
f47c9a11
LM
398982010-06-21 Luis Machado <luisgpm@br.ibm.com>
39899
39900 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39901 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39902 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39903 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39904 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39905 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39906 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39907 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39922 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39923 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39924 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39925 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39926 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39927 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39928 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39929 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39930 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39931 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39932 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39933 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39948
6fb8cbcb
L
399492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39950
39951 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39952 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39953 * string/memmove.c (memmove): Renamed to ...
39954 (MEMMOVE): ...this. Default to memmove.
39955 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39956 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39957 (END_CHK): Define.
39958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39959 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39960 mempcpy-ssse3-back memmove-ssse3-back.
39961 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39962 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39964 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39965 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39966 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39967 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39968 * sysdeps/x86_64/multiarch/memmove.c: New file.
39969 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39970 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39971 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39972 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39973 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39975 Define.
39976 (index_Fast_Copy_Backward): Define.
39977 (HAS_ARCH_FEATURE): Define.
39978 (HAS_FAST_REP_STRING): Define.
39979 (HAS_FAST_COPY_BACKWARD): Define.
39980
4e733bac 399812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39982
39983 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39984 Restore proper fallback handling.
39985
63c4ed22
UD
399862010-06-19 Ulrich Drepper <drepper@redhat.com>
39987
ac2b484c
UD
39988 [BZ #11701]
39989 * posix/group_member.c (__group_member): Correct checking loop.
39990
63c4ed22
UD
39991 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39992 OOM in getpwuid_r correctly. Return error number when the caller
39993 should return, otherwise -1.
39994 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39995 call returning > 0 value.
39996 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39997
765ade4b
AS
399982010-06-07 Andreas Schwab <schwab@redhat.com>
39999
40000 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40001 libc_nonshared.a from targets in modules-names.
40002
80da2e09
KS
400032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40004
40005 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40006 requires it.
40007
158db122
LM
400082010-06-10 Luis Machado <luisgpm@br.ibm.com>
40009
40010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40014
caa78cf8
AS
400152010-06-02 Andreas Schwab <schwab@redhat.com>
40016
40017 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40018
b2ef2c01
UD
400192010-06-14 Ulrich Drepper <drepper@redhat.com>
40020
40021 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40022 and F_GETPIPE_SZ.
40023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40028 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40029
fbd643b6
RM
400302010-06-14 Roland McGrath <roland@redhat.com>
40031
40032 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40033
f32f2869
JJ
400342010-06-07 Jakub Jelinek <jakub@redhat.com>
40035
40036 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40037 __REDIRECT followed by __THROW.
40038 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40039 * posix/getopt.h (getopt): Likewise.
40040
2a50c078
EPM
400412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40042
40043 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40044 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40045 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40046 in AT_FLAGS.
40047 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40048 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40049
eb5ad2eb
LM
400502010-05-28 Luis Machado <luisgpm@br.ibm.com>
40051
40052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40053
3c88fe1e
L
400542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40055
40056 [BZ #11640]
40057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40058 Properly check family and model.
40059
d2f73151
TY
400602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40061
40062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40063
ebd2e13d
LM
400642010-05-24 Luis Machado <luisgpm@br.ibm.com>
40065
40066 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40067
b32b8b45
UD
400682010-05-21 Ulrich Drepper <drepper@redhat.com>
40069
40070 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40071 symbol reference.
40072
9acbe24d
AS
400732010-05-19 Andreas Schwab <schwab@redhat.com>
40074
40075 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40076 symbol reference.
40077
f0ccf6ea
AS
400782010-05-21 Andreas Schwab <schwab@redhat.com>
40079
3d04ff3a
AS
40080 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40081 and internal_recvmmsg.
40082 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40083 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40085 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40086
f0ccf6ea
AS
40087 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40088 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40089 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40090
5b08ac57
AS
400912010-05-20 Andreas Schwab <schwab@redhat.com>
40092
40093 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40094
4828935d
LM
400952010-05-17 Luis Machado <luisgpm@br.ibm.com>
40096
40097 POWER7 optimizations.
40098 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40099 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40100
373d545e
UD
401012010-05-19 Ulrich Drepper <drepper@redhat.com>
40102
40103 * version.h: Update for 2.13 development version.
40104
21a2b1ae
AS
401052010-05-12 Andrew Stubbs <ams@codesourcery.com>
40106
40107 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40108 exceptions. Return 0.
40109
3f7dcb2b
RM
401102010-05-07 Roland McGrath <roland@redhat.com>
40111
40112 * elf/ldconfig.c (main): Add a const.
40113
5f24d53a 401142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40115
a160f8d8
UD
40116 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40117 (args_options): Add no-idn option.
40118 (ahosts_keys_int): Add idn_flags to ai_flags.
40119 (parse_option): Handle 'i' option to clear idn_flags.
40120
5f24d53a
UD
40121 * malloc/malloc.c (_int_free): Possible race in the most recently
40122 added check. Only act on the data if no current modification
40123 happened.
265bb1ce
UD
40124
40125See ChangeLog.17 for earlier changes.