1 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * math/auto-libm-test-in: New test inputs.
5 * math/auto-libm-test-out: Regenerate.
6 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13 * scripts/evaluate-test.sh: Take new argument indicating whether
15 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16 indicating whether failure is expected.
17 * conform/Makefile (test-xfail-run-conformtest): New variable.
18 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20 * posix/Makefile (test-xfail-annexc): New variable.
21 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25 * argp/Makefile: Include Makeconfig immediately after defining
27 * assert/Makefile: Likewise.
28 * benchtests/Makefile: Likewise.
29 * catgets/Makefile: Likewise.
30 * conform/Makefile: Likewise.
31 * crypt/Makefile: Likewise.
32 * csu/Makefile: Likewise.
34 * ctype/Makefile: Include Makeconfig immediately after defining
36 * debug/Makefile: Likewise.
37 * dirent/Makefile: Likewise.
38 * dlfcn/Makefile: Likewise.
39 * gmon/Makefile: Likewise.
40 * gnulib/Makefile: Likewise.
41 * grp/Makefile: Likewise.
42 * gshadow/Makefile: Likewise.
43 * hesiod/Makefile: Likewise.
44 * hurd/Makefile: Likewise.
46 * iconvdata/Makefile: Include Makeconfig immediately after
48 * inet/Makefile: Likewise.
49 * intl/Makefile: Likewise.
50 * io/Makefile: Likewise.
51 * libio/Makefile: Likewise.
53 * locale/Makefile: Include Makeconfig immediately after defining
55 * login/Makefile: Likewise.
56 * mach/Makefile: Likewise.
58 * malloc/Makefile: Include Makeconfig immediately after defining
61 * manual/Makefile: Include Makeconfig immediately after defining
63 * math/Makefile: Likewise.
64 * misc/Makefile: Likewise.
65 * nis/Makefile: Likewise.
66 * nss/Makefile: Likewise.
67 * po/Makefile: Likewise.
69 * posix/Makefile: Include Makeconfig immediately after defining
71 * pwd/Makefile: Likewise.
72 * resolv/Makefile: Likewise.
73 * resource/Makefile: Likewise.
74 * rt/Makefile: Likewise.
75 * setjmp/Makefile: Likewise.
76 * shadow/Makefile: Likewise.
77 * signal/Makefile: Likewise.
78 * socket/Makefile: Likewise.
79 * soft-fp/Makefile: Likewise.
80 * stdio-common/Makefile: Likewise.
81 * stdlib/Makefile: Likewise.
82 * streams/Makefile: Likewise.
83 * string/Makefile: Likewise.
84 * sunrpc/Makefile: Likewise.
86 * sysvipc/Makefile: Include Makeconfig immediately after defining
88 * termios/Makefile: Likewise.
89 * time/Makefile: Likewise.
90 * timezone/Makefile: Likewise.
92 * wcsmbs/Makefile: Include Makeconfig immediately after defining
94 * wctype/Makefile: Likewise.
96 2014-02-26 Steve Ellcey <sellcey@mips.com>
98 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
99 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
100 (libc_feholdexcept_setround_mips): Ditto.
101 (libc_feholdsetround): New.
102 (libc_feholdsetroundf): New.
103 (libc_feholdsetroundl): New.
104 (libc_feupdateenv_test_mips): New.
105 (libc_feupdateenv_test): New.
106 (libc_feupdateenv_testf): New.
107 (libc_feupdateenv_testl): New.
108 (libc_feresetround): New.
109 (libc_feresetroundf): New.
110 (libc_feresetroundl): New.
111 (libc_fetestexcept_mips): New.
112 (libc_fetestexcept): New.
113 (libc_fetestexceptf): New.
114 (libc_fetestexceptl): New.
116 (libc_feholdexcept_setround_mips_ctx): New.
117 (libc_feholdexcept_setround_ctx): New.
118 (libc_feholdexcept_setroundf_ctx): New.
119 (libc_feholdexcept_setroundl_ctx): New.
120 (libc_fesetenv_mips_ctx): New.
121 (libc_fesetenv_ctx): New.
122 (libc_fesetenv_ctxf): New.
123 (libc_fesetenv_ctxl): New.
124 (libc_feupdateenv_mips_ctx): New.
125 (libc_feupdateenv_ctx): New.
126 (libc_feupdateenvf_ctx): New.
127 (libc_feupdateenvl_ctx): New.
128 (libc_feholdsetround_mips_ctx): New.
129 (libc_feholdsetround_ctx): New.
130 (libc_feholdsetroundf_ctx): New.
131 (libc_feholdsetroundl_ctx): New.
132 (libc_feresetround_mips_ctx): New.
133 (libc_feresetround_ctx): New.
134 (libc_feresetroundf_ctx): New.
135 (libc_feresetroundl_ctx): New.
137 2014-02-26 Carlos O'Donell <carlos@redhat.com>
139 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
141 * manual/ipc.texi: New file.
142 * manual/Makefile (chapters): Add ipc.
143 * manual/job.texi: Add "Inter-Process Communication" to next.
144 * manual/process.texi: Add "Inter-Process Communication" to prev.
146 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
150 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
152 * malloc/malloc.c (__libc_calloc): Simplify implementation.
154 * manual/arith.texi: Fix spaces after sentences.
155 * manual/charset.texi: Likewise.
156 * manual/errno.texi: Likewise.
157 * manual/install.texi: Likewise.
158 * manual/llio.texi: Likewise.
159 * manual/locale.texi: Likewise.
160 * manual/maint.texi: Likewise.
161 * manual/math.texi: Likewise.
162 * manual/memory.texi: Likewise.
163 * manual/message.texi: Likewise.
164 * manual/probes.texi: Likewise.
165 * manual/resource.texi: Likewise.
166 * manual/signal.texi: Likewise.
167 * manual/socket.texi: Likewise.
168 * manual/stdio.texi: Likewise.
169 * manual/string.texi: Likewise.
170 * manual/time.texi: Likewise.
171 * manual/users.texi: Likewise.
173 2014-02-25 Carlos O'Donell <carlos@redhat.com>
176 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
177 _DEFAULT_SOURCE is defined.
179 2014-02-25 Ulrich Drepper <drepper@gmail.com>
180 Carlos O'Donell <carlos@redhat.com>
183 * elf/dl-tls.c (_dl_count_modids): New function.
184 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
185 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
186 audit library and increment generation counter.
187 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
188 * elf/tst-audit9.c: New file.
189 * elf/tst-auditmod9a.c: New file.
190 * elf/tst-auditmod9b.c: New file.
191 * elf/Makefile: Add rules to build and run tst-audit9.
193 2014-02-25 Florian Weimer <fweimer@redhat.com>
196 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
198 2014-02-25 Will Newton <will.newton@linaro.org>
200 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
201 (__longjmp): Restore sp and lr before restoring callee
202 saved registers. Add longjmp and longjmp_target
203 SystemTap probe point.
204 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
205 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
206 Define to zero to match jmpbuf layout.
207 * sysdeps/arm/setjmp.S: Include stap-probe.h.
208 (__sigsetjmp): Save sp and lr before saving callee
209 saved registers. Add setjmp SystemTap probe point.
211 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
215 2014-02-24 Andreas Schwab <schwab@suse.de>
218 * elf/pldd.c (wait_for_ptrace_stop): New function.
219 (main): Call it after attaching.
221 2014-02-22 Roland McGrath <roland@hack.frob.com>
223 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
224 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
225 Versions files is now verboten.
226 * hurd/Versions (libc: GLIBC_2.0):
227 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
228 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
229 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
230 * mach/Versions: Likewise.
232 * csu/Versions: Remove unused %include.
233 * resolv/Versions: Likewise.
235 2014-02-21 Joseph Myers <joseph@codesourcery.com>
237 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
238 ($(objpfx)check-local-headers.out): Likewise.
239 ($(objpfx)begin-end-check.out): Likewise.
240 * Makerules (check-abi-%.out): Likewise.
241 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
242 ($(objpfx)test2.cat): Likewise.
243 ($(objpfx)de/libc.cat): Likewise.
244 ($(objpfx)test-gencat.out): Likewise.
245 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
246 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
247 ($(objpfx)noload-mem): Likewise.
248 ($(objpfx)tst-pathopt.out): Likewise.
249 ($(objpfx)tst-rtld-load-self.out): Likewise.
250 ($(objpfx)tst-array1-cmp.out): Likewise.
251 ($(objpfx)tst-array1-static-cmp.out): Likewise.
252 ($(objpfx)tst-array2-cmp.out): Likewise.
253 ($(objpfx)tst-array3-cmp.out): Likewise.
254 ($(objpfx)tst-array4-cmp.out): Likewise.
255 ($(objpfx)tst-array5-cmp.out): Likewise.
256 ($(objpfx)tst-array5-static-cmp.out): Likewise.
257 ($(objpfx)check-textrel.out): Likewise.
258 ($(objpfx)check-execstack.out): Likewise.
259 ($(objpfx)check-localplt.out): Likewise.
260 ($(objpfx)order2-cmp.out): Likewise.
261 ($(objpfx)tst-leaks1-mem): Likewise.
262 ($(objpfx)tst-leaks1-static-mem): Likewise.
263 ($(objpfx)tst-initorder-cmp.out): Likewise.
264 ($(objpfx)tst-initorder2-cmp.out): Likewise.
265 ($(objpfx)tst-unused-dep.out): Likewise.
266 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
267 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
268 * iconv/Makefile (test-iconvconfig): Likewise.
269 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
270 ($(objpfx)iconv-test.out): Likewise.
271 ($(objpfx)tst-tables.out): Likewise.
272 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
273 ($(objpfx)tst-gettext.out): Likewise.
274 ($(objpfx)tst-translit.out): Likewise.
275 ($(objpfx)tst-gettext2.out): Likewise.
276 ($(objpfx)tst-gettext4.out): Likewise.
277 ($(objpfx)tst-gettext6.out): Likewise.
278 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
279 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
280 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
281 ($(objpfx)tst-fopenloc-mem.out): Likewise.
282 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
283 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
284 * posix/Makefile ($(objpfx)globtest.out): Likewise.
285 ($(objpfx)wordexp-tst.out): Likewise.
286 ($(objpfx)annexc.out): Likewise.
287 ($(objpfx)tst-fnmatch-mem): Likewise.
288 ($(objpfx)bug-regex2-mem): Likewise.
289 ($(objpfx)bug-regex14-mem): Likewise.
290 ($(objpfx)bug-regex21-mem): Likewise.
291 ($(objpfx)bug-regex31-mem): Likewise.
292 ($(objpfx)tst-vfork3-mem): Likewise.
293 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
294 ($(objpfx)tst-pcre-mem): Likewise.
295 ($(objpfx)tst-boost-mem): Likewise.
296 ($(objpfx)tst-getconf.out): Likewise.
297 ($(objpfx)bug-ga2-mem): Likewise.
298 ($(objpfx)bug-glob2-mem): Likewise.
299 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
300 ($(objpfx)mtrace-tst-leaks2): Likewise.
301 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
302 ($(objpfx)tst-printf.out): Likewise.
303 ($(objpfx)tst-setvbuf1.out): Likewise.
304 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
305 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
306 ($(objpfx)tst-fmtmsg.out): Likewise.
307 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
308 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
310 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
311 * bits/sigaction.h [__USE_MISC]: Likewise.
312 * bits/waitstatus.h: Update #endif comments.
313 * ctype/ctype.h: Likewise.
314 * dirent/dirent.h: Likewise.
315 [__USE_MISC]: Remove redundant conditionals.
316 * grp/grp.h: Update #endif comments.
317 [__USE_GNU]: Remove redundant conditionals.
318 [__USE_MISC]: Likewise.
319 * inet/netinet/in.h [__USE_GNU]: Likewise.
320 * io/sys/stat.h [__USE_MISC]: Likewise.
321 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
322 * libio/bits/stdio.h: Update #endif comments.
323 [__USE_MISC]: Remove redundant conditionals.
324 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
325 * libio/stdio.h: Update #endif comments.
326 [__USE_MISC]: Remove redundant conditionals.
327 * math/bits/math-finite.h [__USE_MISC]: Likewise.
328 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
329 * math/math.h: Update #else and #endif comments.
330 [__USE_MISC]: Remove redundant conditionals.
331 * misc/sys/uio.h: Update #endif comments.
332 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
333 * posix/glob.h [__USE_MISC]: Likewise.
334 * posix/sys/types.h: Update #endif comments.
335 [__USE_MISC]: Remove redundant conditionals.
336 * posix/sys/wait.h: Update #endif comments.
337 [__USE_MISC]: Remove redundant conditionals.
338 * posix/unistd.h: Update #endif comments.
339 [__USE_MISC]: Remove redundant conditionals.
340 * pwd/pwd.h [__USE_GNU]: Likewise.
341 [__USE_MISC]: Likewise.
342 * resolv/netdb.h [__USE_GNU]: Likewise.
343 * signal/signal.h: Update #endif comments.
344 [__USE_MISC]: Remove redundant conditionals.
345 * stdlib/stdlib.h: Update #else and #endif comments.
346 [__USE_MISC]: Remove redundant conditionals.
347 [__USE_GNU]: Likewise.
348 * string/bits/string2.h [__USE_MISC]: Likewise.
349 * string/string.h: Update #endif comments.
350 [__USE_MISC]: Remove redundant conditionals.
351 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
353 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
354 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
355 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
357 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
361 [__USE_MISC]: Remove redundant conditionals.
362 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
363 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
364 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
365 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
366 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
368 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
369 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
371 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
374 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
376 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
377 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
379 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
381 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
382 * sysdeps/x86/bits/string.h: Update #endif comments.
383 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
385 * time/sys/time.h: Update #endif comments.
386 * time/time.h: Likewise.
387 [__USE_MISC]: Remove redundant conditionals.
389 2014-02-21 Yury Gribov <y.gribov@samsung.com>
392 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
394 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
396 * Versions.def (librt): Add GLIBC_2.17.
398 2014-02-21 Adam Conrad <adconrad@0c3.net>
400 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
401 synonym for _SYS_AUXV_H to allow direct inclusion.
402 * sysdeps/sparc/bits/hwcap.h: Likewise.
403 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
404 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
405 * sysdeps/sparc/sysdep.h: Likewise.
407 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
409 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
411 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
413 * benchtests/bench-strrchr.c: Print length instead of position.
415 2014-02-20 Joseph Myers <joseph@codesourcery.com>
418 * sysdeps/unix/sysv/linux/kernel-features.h
419 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
420 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
421 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
422 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
424 [__i386__ || __powerpc__ || __sh__ || __sparc__]
425 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
426 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
427 (__ASSUME_SENDMMSG): Define instead of using previous
428 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
429 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
430 (__ASSUME_SENDMMSG_SYSCALL): Define.
431 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
432 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
434 * sysdeps/unix/sysv/linux/arm/kernel-features.h
435 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
437 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
438 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
440 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
441 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
442 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
443 [__ASSUME_SENDMMSG]: Change conditionals to
444 [__ASSUME_SENDMMSG_SOCKETCALL].
445 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
446 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
448 * sysdeps/unix/sysv/linux/mips/kernel-features.h
449 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
451 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
452 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
453 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
454 [!__ASSUME_SENDMMSG]: Change conditional to
455 [!__ASSUME_SENDMMSG_SOCKETCALL].
456 * sysdeps/unix/sysv/linux/tile/kernel-features.h
457 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
461 * sysdeps/unix/sysv/linux/kernel-features.h
462 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
463 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
464 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
465 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
466 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
467 [__i386__ || __sparc__]
468 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
469 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
470 (__ASSUME_RECVMMSG): Define instead of using previous
471 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
473 (__ASSUME_RECVMMSG_SYSCALL): Define.
474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
477 * sysdeps/unix/sysv/linux/arm/kernel-features.h
478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
480 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
481 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
483 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
484 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
485 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
486 [__ASSUME_RECVMMSG]: Change condition to
487 [__ASSUME_RECVMMSG_SOCKETCALL].
488 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
489 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
491 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
492 * sysdeps/unix/sysv/linux/mips/kernel-features.h
493 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
495 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
496 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
497 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
498 [!__ASSUME_RECVMMSG]: Change condition to
499 [!__ASSUME_RECVMMSG_SOCKETCALL].
500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
501 (__ASSUME_RECVMMSG_SYSCALL): Define.
504 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
505 __powerpc__ || __s390__ || __sh__ || __sparc__]
506 (__ASSUME_SOCKETCALL): Define.
507 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
508 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
509 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
510 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
511 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
512 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
513 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
514 (__ASSUME_ACCEPT4): Define instead of using previous
515 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
516 __powerpc__ || __sparc__ || __s390__)] condition.
517 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
518 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
519 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
520 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
521 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
522 [!__ASSUME_ACCEPT4]: Change condition to
523 [!__ASSUME_ACCEPT4_SOCKETCALL].
524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
525 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
526 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
528 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
529 __ASSUME_ACCEPT4_SYSCALL.
530 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
531 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
532 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
533 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
534 __ASSUME_ACCEPT4_SYSCALL.
535 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
536 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
537 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
538 [__ASSUME_ACCEPT4]: Change condition to
539 [__ASSUME_ACCEPT4_SOCKETCALL].
540 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
541 (__ASSUME_SOCKETCALL): Define.
542 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
544 (__ASSUME_SOCKETCALL): Define.
545 (__ASSUME_ACCEPT4): Remove.
546 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
549 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
551 * sysdeps/unix/sysv/linux/tile/kernel-features.h
552 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
554 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
556 (HWCAP_ARM_LPAE): Likewise.
557 (HWCAP_ARM_EVTSTRM): Likewise.
558 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
559 Add vpfd32, lpae and evtstrm.
560 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
563 2014-02-19 Joseph Myers <joseph@codesourcery.com>
565 * math/auto-libm-test-in: Add tests of clog10.
566 * math/auto-libm-test-out: Regenerated.
567 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
568 * sysdeps/i386/fpu/libm-test-ulps: Update.
569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
571 2014-02-18 Andreas Schwab <schwab@suse.de>
574 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
575 Store non-zero if the second buffer was newly allocated.
577 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
578 to send_vc and send_dg.
579 (res_nsend): Pass NULL for ansp2_malloced.
580 * resolv/res_query.c (__libc_res_nquery): Add parameter
581 answerp2_malloced and pass it down to __libc_res_nsend.
582 (res_nquery): Pass additional NULL to __libc_res_nquery.
583 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
584 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
585 second answer buffer if answerp2_malloced was set.
586 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
587 (__libc_res_nquerydomain): Add parameter
588 answerp2_malloced and pass it down to __libc_res_nquery.
589 (res_nquerydomain): Pass additional NULL to
590 __libc_res_nquerydomain.
591 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
592 additional NULL to __libc_res_nsend and __libc_res_nquery.
593 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
594 additional NULL to __libc_res_nsearch.
595 (_nss_dns_gethostbyname4_r): Revert last change. Use new
596 parameter of __libc_res_nsearch to check for separately allocated
598 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
600 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
601 additional NULL to __libc_res_nquery.
602 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
604 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
605 * include/resolv.h: Update prototypes of __libc_res_nquery,
606 __libc_res_nsearch, __libc_res_nsend.
608 2014-02-18 Joseph Myers <joseph@codesourcery.com>
610 * math/auto-libm-test-in: Add tests of fma.
611 * math/auto-libm-test-out: Regenerated.
612 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
613 (fma_towardzero_test_data): Likewise.
614 (fma_downward_test_data): Likewise.
615 (fma_upward_test_data): Likewise.
616 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
618 (rounding_modes): Add values for new field.
619 (func_calc_method): Add value mpfr_fff_f.
620 (func_calc_desc): Add mpfr_fff_f union field.
621 (test_function): Add field exact_args.
622 (FUNC): Add macro argument EXACT_ARGS.
623 (FUNC_mpfr_f_f): Update call to FUNC.
624 (FUNC_mpfr_f_f): Likewise.
625 (FUNC_mpfr_ff_f): Likewise.
626 (FUNC_mpfr_if_f): Likewise.
627 (FUNC_mpc_c_f): Likewise.
628 (FUNC_mpc_c_c): Likewise.
629 (test_functions): Add fma. Update calls to FUNC.
630 (handle_input_arg): Add argument exact_args.
631 (add_test): Update call to handle_input_arg.
632 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
633 (output_for_one_input_case): Update call to calc_generic_results.
634 Recalculate exact zero results in each rounding mode.
636 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
637 non-negative before setting low bit.
638 * math/auto-libm-test-in: Mark one asin test possibly having
640 * math/auto-libm-test-out: Regenerated.
641 * sysdeps/i386/fpu/libm-test-ulps: Update.
642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
644 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
646 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
647 * sysdeps/unix/sysv/linux/microblaze: Move directory from
648 ports/sysdeps/unix/sysv/linux/microblaze.
649 * README: Add missing listing for microblaze*-*-linux-gnu.
651 2014-02-16 Mike Frysinger <vapier@gentoo.org>
653 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
654 * sysdeps/unix/sysv/linux/ia64: Move directory from
655 ports/sysdeps/unix/sysv/linux/ia64.
656 * README: Update listing for ia64-*-linux-gnu.
658 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
659 Joseph Myers <joseph@codesourcery.com>
661 * Makeconfig (test-name): New variable.
662 (evaluate-test): Likewise.
663 * Makerules (do-test-clean): Remove .test-result files.
664 (common-mostlyclean): Likewise.
665 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
666 * scripts/evaluate-test.sh: New file.
668 2014-02-14 Joseph Myers <joseph@codesourcery.com>
670 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
671 separate $(objpfx)tst-fopenloc-cmp.out and
672 $(objpfx)tst-fopenloc-mem.out targets.
673 (tests): Update dependencies.
674 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
675 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
676 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
677 (tst-rxspencer-no-utf8-ARGS): New variable.
678 (tst-rxspencer-no-utf8-ENV): Likewise.
679 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
680 instead of $(objpfx)tst-rxspencer-mem.
681 ($(objpfx)tst-rxspencer-mem): Change target to
682 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
683 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
684 * posix/tst-rxspencer-no-utf8.c: New file.
686 * elf/Makefile ($(objpfx)order.out): Remove rule.
687 [$(run-built-tests) = yes] (tests): Depend on
688 $(objpfx)order-cmp.out.
689 ($(objpfx)order-cmp.out): New rule.
690 [$(run-built-tests) = yes] (tests): Depend on
691 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
692 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
693 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
694 $(objpfx)tst-array5-static-cmp.out.
695 ($(objpfx)tst-array1.out): Remove rule.
696 ($(objpfx)tst-array1-cmp.out): New rule.
697 ($(objpfx)tst-array1-static.out): Remove rule.
698 ($(objpfx)tst-array1-static-cmp.out): New rule.
699 ($(objpfx)tst-array2.out): Remove rule.
700 ($(objpfx)tst-array2-cmp.out): New rule.
701 ($(objpfx)tst-array3.out): Remove rule.
702 ($(objpfx)tst-array3-cmp.out): New rule.
703 ($(objpfx)tst-array4.out): Remove rule.
704 ($(objpfx)tst-array4-cmp.out): New rule.
705 ($(objpfx)tst-array5.out): Remove rule.
706 ($(objpfx)tst-array5-cmp.out): New rule.
707 ($(objpfx)tst-array5-static.out): Remove rule.
708 ($(objpfx)tst-array5-static-cmp.out): New rule.
709 [$(run-built-tests) = yes] (tests): Depend on
710 $(objpfx)order2-cmp.out.
711 ($(objpfx)order2.out): Remove rule.
712 ($(objpfx)order2-cmp.out): New rule.
713 ($(objpfx)tst-initorder.out): Remove rule.
714 [$(run-built-tests) = yes] (tests): Depend on
715 $(objpfx)tst-initorder-cmp.out.
716 ($(objpfx)tst-initorder-cmp.out): New rule.
717 ($(objpfx)tst-initorder2.out): Remove rule.
718 [$(run-built-tests) = yes] (tests): Depend on
719 $(objpfx)tst-initorder2-cmp.out.
720 ($(objpfx)tst-initorder2-cmp.out): New rule.
721 [$(run-built-tests) = yes] (tests): Depend on
722 $(objpfx)tst-unused-dep-cmp.out.
723 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
724 ($(objpfx)tst-unused-dep-cmp.out): New rule.
725 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
726 on $(objpfx)tst-setvbuf1-cmp.out.
727 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
728 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
729 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
730 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
731 ($(objpfx)tst-svc.out): Remove rule.
732 ($(objpfx)tst-svc-cmp.out): New rule.
734 2014-02-13 Joseph Myers <joseph@codesourcery.com>
736 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
737 * ctype/ctype.h [__USE_MISC]: Likewise.
738 * dirent/dirent.h [__USE_MISC]: Likewise.
739 * grp/grp.h [__USE_MISC]: Likewise.
740 * io/fcntl.h [__USE_MISC]: Likewise.
741 * io/sys/stat.h [__USE_MISC]: Likewise.
742 * libio/stdio.h [__USE_MISC]: Likewise.
743 * posix/unistd.h [__USE_MISC]: Likewise.
744 * pwd/pwd.h [__USE_MISC]: Likewise.
745 * stdlib.h [__USE_MISC]: Likewise.
746 * string/bits/string2.h [__USE_MISC]: Likewise.
747 * string/string.h [__USE_MISC]: Likewise.
748 * time/time.h [__USE_MISC]: Likewise.
750 2014-02-13 Andreas Schwab <schwab@suse.de>
753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
754 second answer buffer if it was separately allocated.
756 2014-02-12 Joseph Myers <joseph@codesourcery.com>
758 * sysdeps/mips/math-tests.h: Include <features.h>.
759 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
760 (ROUNDING_TESTS_long_double): Do not define.
761 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
762 (EXCEPTION_TESTS_long_double): Likewise.
763 * sysdeps/mips/mips64/libm-test-ulps: Update.
765 * include/features.h (__USE_BSD): Remove macro definitions.
766 (__USE_SVID): Likewise.
767 (_BSD_SOURCE): Likewise.
768 (_SVID_SOURCE): Likewise.
769 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
770 from definition of _DEFAULT_SOURCE.
771 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
773 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
774 * bits/mman.h [__USE_BSD]: Likewise.
775 * bits/termios.h [__USE_BSD]: Likewise.
776 * bits/waitstatus.h [__USE_BSD]: Likewise.
777 * ctype/ctype.h [__USE_SVID]: Likewise.
778 * dirent/dirent.h [__USE_BSD]: Likewise.
779 * grp/grp.h [__USE_SVID]: Likewise.
780 [__USE_BSD]: Likewise.
781 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
782 * io/fcntl.h [__USE_BSD]: Likewise.
783 * io/ftw.h [__USE_BSD]: Likewise.
784 * io/sys/stat.h [__USE_BSD]: Likewise.
785 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
786 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
787 * libio/stdio.h [__USE_SVID]: Likewise.
788 [__USE_BSD]: Likewise.
789 * math/math.h [__USE_SVID]: Likewise.
790 [__USE_BSD]: Likewise.
791 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
792 * misc/bits/syslog.h [__USE_BSD]: Likewise.
793 * misc/search.h [__USE_SVID]: Likewise.
794 * misc/sys/mman.h [__USE_BSD]: Likewise.
795 * misc/sys/syslog.h [__USE_BSD]: Likewise.
796 * misc/sys/uio.h [__USE_BSD]: Likewise.
797 * posix/bits/unistd.h [__USE_BSD]: Likewise.
798 * posix/glob.h [__USE_BSD]: Likewise.
799 * posix/regex.h [__USE_BSD]: Likewise.
800 * posix/sys/types.h [__USE_BSD]: Likewise.
801 [__USE_SVID]: Likewise.
802 * posix/sys/utsname.h [__USE_SVID]: Likewise.
803 * posix/sys/wait.h [__USE_BSD]: Likewise.
804 [__USE_SVID]: Likewise.
805 * posix/unistd.h [__USE_BSD]: Likewise.
806 [__USE_SVID]: Likewise.
807 * pwd/pwd.h [__USE_SVID]: Likewise.
808 * resolv/netdb.h [__USE_BSD]: Likewise.
809 * setjmp/setjmp.h [__USE_BSD]: Likewise.
810 * signal/signal.h [__USE_BSD]: Likewise.
811 [__USE_SVID]: Likewise.
812 * socket/sys/socket.h [__USE_BSD]: Likewise.
813 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
814 * stdlib/stdlib.h [__USE_BSD]: Likewise.
815 [__USE_SVID]: Likewise.
816 * string/bits/string2.h [__USE_BSD]: Likewise.
817 [__USE_SVID]: Likewise.
818 * string/bits/string3.h [__USE_BSD]: Likewise.
819 * string/endian.h [__USE_BSD]: Likewise.
820 * string/string.h [__USE_SVID]: Likewise.
821 [__USE_BSD]: Likewise.
822 * string/strings.h [__USE_BSD]: Likewise.
823 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
824 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
825 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
826 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
827 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
828 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
832 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
833 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
835 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
836 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
838 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
840 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
841 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
844 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
846 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
847 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
848 * termios/termios.h [__USE_BSD]: Likewise.
849 * time/sys/time.h [__USE_BSD]: Likewise.
850 * time/time.h [__USE_BSD]: Likewise.
851 [__USE_SVID]: Likewise.
853 * Makefile (subdir_targets): Remove subdir_lint.out.
855 * stdio-common/Makefile (do-tst-unbputc): Remove target.
856 (do-tst-printf): Likewise.
857 (tests): Depend directly on $(objpfx)tst-unbputc.out and
858 $(objpfx)tst-printf.out.
860 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
862 * Makerules (check-abi-%): Change target to
863 $(objpfx)check-abi-%.out.
864 (check-abi target): Update dependencies.
865 (check-abi-pattern variable): Redirect output of diff to $@.
866 (check-abi variable): Likewise.
867 * elf/Makefile (check-abi): Update dependencies.
869 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
871 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
872 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
874 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
875 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
876 value has largest subnormal exponent.
877 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
878 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
879 * sysdeps/aarch64/soft-fp/sfp-machine.h
880 (_FP_TININESS_AFTER_ROUNDING): New macro.
881 * sysdeps/alpha/soft-fp/sfp-machine.h
882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
883 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
885 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
886 (_FP_TININESS_AFTER_ROUNDING): Likewise.
887 * sysdeps/mips/soft-fp/sfp-machine.h
888 (_FP_TININESS_AFTER_ROUNDING): Likewise.
889 * sysdeps/powerpc/soft-fp/sfp-machine.h
890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
891 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
893 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
894 (_FP_TININESS_AFTER_ROUNDING): Likewise.
895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
897 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
900 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
903 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
906 2014-02-12 Richard Henderson <rth@redhat.com>
908 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
909 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
910 * sysdeps/unix/sysv/linux/alpha: Move directory from
911 ports/sysdeps/unix/sysv/linux/alpha.
912 * README: Update listing for alpha-*-linux-gnu.
914 2014-02-11 Joseph Myers <joseph@codesourcery.com>
916 * include/features.h: Update comment documenting feature test
918 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
920 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
921 (_SVID_SOURCE): Likewise.
922 (_DEFAULT_SOURCE): Update description of default features.
923 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
925 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
927 * manual/math.texi (Mathematical Constants): Likewise.
928 * manual/signal.texi (Interrupted Primitives): Likewise.
929 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
930 * math/test-matherr.c (_SVID_SOURCE): Do not define.
931 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
932 Don't refer to _SVID_SOURCE in warning text.
934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
936 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
938 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
939 * sysdeps/mips/dl-lookup.c: Remove.
940 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
942 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
945 * math/auto-libm-test-in: Add testcase for expl.
946 * math/auto-libm-test-out: Regenerate.
947 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
948 calculation of unsafe.
949 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
951 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
953 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
954 * sysdeps/unix/sysv/linux/aarch64: Move directory from
955 ports/sysdeps/unix/sysv/linux/aarch64.
956 * README: Update listing for aarch64*-*-linux-gnu.
958 2014-02-11 Will Newton <will.newton@linaro.org>
960 * manual/probes.texi (Mathematical Function Probes): Use
961 "triggered" instead of "hit".
963 2014-02-11 Will Newton <will.newton@linaro.org>
965 * manual/probes.texi (Internal Probes): Add documentation
966 of setjmp, longjmp and longjmp_target probes.
968 2014-02-11 Will Newton <will.newton@linaro.org>
970 * include/stap-probe.h: Add comment about probe argument
973 2014-02-11 Will Newton <will.newton@linaro.org>
975 * malloc/mtrace.c (attribute_hidden): Remove unused macro
976 definition. (tr_where, tr_freehook, tr_mallochook,
977 tr_reallochook, tr_memalignhook): Use ANSI protoype.
979 2014-02-11 David S. Miller <davem@davemloft.net>
981 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
982 processing int_tests.
984 2014-02-10 Joseph Myers <joseph@codesourcery.com>
986 * sysdeps/mips: Move directory from ports/sysdeps/mips.
987 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
988 * sysdeps/unix/sysv/linux/mips: Move directory from
989 ports/sysdeps/unix/sysv/linux/mips.
990 * README: Update listing for mips-*-linux-gnu and
993 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
995 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
996 * sysdeps/unix/sysv/linux/m68k: Move directory from
997 ports/sysdeps/unix/sysv/linux/m68k.
998 * README: Update listing for m68k-*-linux-gnu.
1000 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1002 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1003 * sysdeps/unix/sysv/linux/generic: Move directory from
1004 ports/sysdeps/unix/sysv/linux/generic.
1005 * sysdeps/unix/sysv/linux/tile: Move directory from
1006 ports/sysdeps/unix/sysv/linux/tile.
1007 * README: Update listing for tile*-*-linux-gnu.
1009 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1011 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1012 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1013 * catgets/open_catalog.c (__open_catalog): Likewise.
1014 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1015 * debug/confstr_chk.c: Likewise.
1016 * debug/fread_chk.c (__fread_chk): Likewise.
1017 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1018 * debug/getgroups_chk.c: Likewise.
1019 * debug/mbsnrtowcs_chk.c: Likewise.
1020 * debug/mbsrtowcs_chk.c: Likewise.
1021 * debug/mbstowcs_chk.c: Likewise.
1022 * debug/memcpy_chk.c: Likewise.
1023 * debug/memmove_chk.c: Likewise.
1024 * debug/mempcpy_chk.c: Likewise.
1025 * debug/memset_chk.c: Likewise.
1026 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1027 * debug/strcat_chk.c (__strcat_chk): Likewise.
1028 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1029 * debug/strncat_chk.c (__strncat_chk): Likewise.
1030 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1031 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1032 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1033 * debug/wcpncpy_chk.c: Likewise.
1034 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1035 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1036 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1037 * debug/wcsncpy_chk.c: Likewise.
1038 * debug/wcsnrtombs_chk.c: Likewise.
1039 * debug/wcsrtombs_chk.c: Likewise.
1040 * debug/wcstombs_chk.c: Likewise.
1041 * debug/wmemcpy_chk.c: Likewise.
1042 * debug/wmemmove_chk.c: Likewise.
1043 * debug/wmempcpy_chk.c: Likewise.
1044 * debug/wmemset_chk.c: Likewise.
1045 * dirent/scandirat.c (SCANDIRAT): Likewise.
1046 * dlfcn/dladdr1.c (dladdr1): Likewise.
1047 * dlfcn/dladdr.c (dladdr): Likewise.
1048 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1049 * dlfcn/dlerror.c (__dlerror): Likewise.
1050 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1051 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1052 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1053 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1054 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1055 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1056 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1057 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1059 * elf/dl-conflict.c: Likewise.
1060 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1061 * elf/dl-dst.h: Likewise.
1062 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1063 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1065 * elf/dl-init.c (call_init, _dl_init): Likewise.
1066 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1067 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1068 _dl_map_object_from_fd, open_verify, open_path,
1069 _dl_map_object): Likewise.
1070 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1072 * elf/dl-minimal.c (__libc_memalign): Likewise.
1073 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1074 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1075 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1076 * elf/dl-sym.c (do_sym): Likewise.
1077 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1078 _dl_tls_get_addr_soft): Likewise.
1079 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1080 * elf/dl-writev.h (_dl_writev): Likewise.
1081 * elf/ldconfig.c (search_dir): Likewise.
1082 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1084 * elf/setup-vdso.h (setup_vdso): Likewise.
1085 * grp/compat-initgroups.c (compat_call): Likewise.
1086 * grp/fgetgrent.c (fgetgrent): Likewise.
1087 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1088 * grp/putgrent.c (putgrent): Likewise.
1089 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1091 * hurd/hurdinit.c: Likewise.
1092 * iconvdata/8bit-gap.c (struct): Likewise.
1093 * iconvdata/ansi_x3.110.c : Likewise.
1094 * iconvdata/big5.c : Likewise.
1095 * iconvdata/big5hkscs.c : Likewise.
1096 * iconvdata/cp1255.c: Likewise.
1097 * iconvdata/cp1258.c : Likewise.
1098 * iconvdata/cp932.c : Likewise.
1099 * iconvdata/euc-cn.c: Likewise.
1100 * iconvdata/euc-jisx0213.c : Likewise.
1101 * iconvdata/euc-jp.c: Likewise.
1102 * iconvdata/euc-jp-ms.c : Likewise.
1103 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1104 * iconvdata/gb18030.c : Likewise.
1105 * iconvdata/gbbig5.c (const): Likewise.
1106 * iconvdata/gbgbk.c: Likewise.
1107 * iconvdata/gbk.c : Likewise.
1108 * iconvdata/ibm1364.c : Likewise.
1109 * iconvdata/ibm930.c : Likewise.
1110 * iconvdata/ibm932.c: Likewise.
1111 * iconvdata/ibm933.c : Likewise.
1112 * iconvdata/ibm935.c : Likewise.
1113 * iconvdata/ibm937.c : Likewise.
1114 * iconvdata/ibm939.c : Likewise.
1115 * iconvdata/ibm943.c: Likewise.
1116 * iconvdata/iso_11548-1.c: Likewise.
1117 * iconvdata/iso-2022-cn.c : Likewise.
1118 * iconvdata/iso-2022-cn-ext.c : Likewise.
1119 * iconvdata/iso-2022-jp-3.c: Likewise.
1120 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1121 * iconvdata/iso-2022-kr.c : Likewise.
1122 * iconvdata/iso646.c (gconv_end): Likewise.
1123 * iconvdata/iso_6937-2.c : Likewise.
1124 * iconvdata/iso_6937.c : Likewise.
1125 * iconvdata/iso8859-1.c: Likewise.
1126 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1127 * iconvdata/shift_jisx0213.c : Likewise.
1128 * iconvdata/sjis.c : Likewise.
1129 * iconvdata/t.61.c : Likewise.
1130 * iconvdata/tcvn5712-1.c : Likewise.
1131 * iconvdata/tscii.c: Likewise.
1132 * iconvdata/uhc.c : Likewise.
1133 * iconvdata/unicode.c (gconv_end): Likewise.
1134 * iconvdata/utf-16.c (gconv_end): Likewise.
1135 * iconvdata/utf-32.c (gconv_end): Likewise.
1136 * iconvdata/utf-7.c (base64): Likewise.
1137 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1138 * iconv/gconv_close.c (__gconv_close): Likewise.
1139 * iconv/gconv_open.c (__gconv_open): Likewise.
1140 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1141 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1142 internal_ucs4le_loop_single, ucs4le_internal_loop,
1143 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1144 * iconv/iconv.c (iconv): Likewise.
1145 * iconv/iconv_close.c: Likewise.
1146 * iconv/loop.c (SINGLE): Likewise.
1147 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1148 * include/atomic.h: Likewise.
1149 * inet/inet6_option.c (option_alloc): Likewise.
1150 * intl/bindtextdom.c (set_binding_values): Likewise.
1151 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1152 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1153 * intl/localealias.c (read_alias_file): Likewise.
1154 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1155 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1156 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1157 * libio/fmemopen.c (fmemopen): Likewise.
1158 * libio/iofgets.c (_IO_fgets): Likewise.
1159 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1160 * libio/iofgetws.c (fgetws): Likewise.
1161 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1162 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1163 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1164 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1165 * locale/findlocale.c (_nl_find_locale): Likewise.
1166 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1167 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1169 * locale/setlocale.c (setlocale): Likewise.
1170 * login/programs/pt_chown.c (main): Likewise.
1171 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1172 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1173 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1174 mmap, mmap64, mremap, munmap): Likewise.
1175 * math/e_exp2l.c: Likewise.
1176 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1177 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1178 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1179 * math/s_catan.c (__catan): Likewise.
1180 * math/s_catanf.c (__catanf): Likewise.
1181 * math/s_catanh.c (__catanh): Likewise.
1182 * math/s_catanhf.c (__catanhf): Likewise.
1183 * math/s_catanhl.c (__catanhl): Likewise.
1184 * math/s_catanl.c (__catanl): Likewise.
1185 * math/s_ccosh.c (__ccosh): Likewise.
1186 * math/s_ccoshf.c (__ccoshf): Likewise.
1187 * math/s_ccoshl.c (__ccoshl): Likewise.
1188 * math/s_cexp.c (__cexp): Likewise.
1189 * math/s_cexpf.c (__cexpf): Likewise.
1190 * math/s_cexpl.c (__cexpl): Likewise.
1191 * math/s_clog10.c (__clog10): Likewise.
1192 * math/s_clog10f.c (__clog10f): Likewise.
1193 * math/s_clog10l.c (__clog10l): Likewise.
1194 * math/s_clog.c (__clog): Likewise.
1195 * math/s_clogf.c (__clogf): Likewise.
1196 * math/s_clogl.c (__clogl): Likewise.
1197 * math/s_csin.c (__csin): Likewise.
1198 * math/s_csinf.c (__csinf): Likewise.
1199 * math/s_csinh.c (__csinh): Likewise.
1200 * math/s_csinhf.c (__csinhf): Likewise.
1201 * math/s_csinhl.c (__csinhl): Likewise.
1202 * math/s_csinl.c (__csinl): Likewise.
1203 * math/s_csqrt.c (__csqrt): Likewise.
1204 * math/s_csqrtf.c (__csqrtf): Likewise.
1205 * math/s_csqrtl.c (__csqrtl): Likewise.
1206 * math/s_ctan.c (__ctan): Likewise.
1207 * math/s_ctanf.c (__ctanf): Likewise.
1208 * math/s_ctanh.c (__ctanh): Likewise.
1209 * math/s_ctanhf.c (__ctanhf): Likewise.
1210 * math/s_ctanhl.c (__ctanhl): Likewise.
1211 * math/s_ctanl.c (__ctanl): Likewise.
1212 * math/w_pow.c: Likewise.
1213 * math/w_powf.c: Likewise.
1214 * math/w_powl.c: Likewise.
1215 * math/w_scalb.c (sysv_scalb): Likewise.
1216 * math/w_scalbf.c (sysv_scalbf): Likewise.
1217 * math/w_scalbl.c (sysv_scalbl): Likewise.
1218 * misc/error.c (error_tail): Likewise.
1219 * misc/pselect.c (__pselect): Likewise.
1220 * nis/nis_callback.c (__nis_create_callback): Likewise.
1221 * nis/nis_call.c (__nisfind_server): Likewise.
1222 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1223 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1224 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1225 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1226 * nis/nis_lookup.c (nis_lookup): Likewise.
1227 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1228 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1229 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1230 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1231 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1232 internal_getgrgid_r): Likewise.
1233 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1235 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1236 internal_getpwuid_r): Likewise.
1237 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1238 internal_getspnam_r): Likewise.
1239 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1240 _nss_nis_getaliasbyname_r): Likewise.
1241 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1242 _nss_nis_getntohost_r): Likewise.
1243 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1244 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1246 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1247 internal_nis_gethostent_r, internal_gethostbyname2_r,
1248 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1249 _nss_nis_gethostbyname4_r): Likewise.
1250 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1251 initgroups_netid): Likewise.
1252 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1253 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1254 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1255 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1256 _nss_nis_getprotobynumber_r): Likewise.
1257 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1258 _nss_nis_getsecretkey): Likewise.
1259 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1260 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1262 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1263 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1264 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1265 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1266 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1267 _nss_nis_getspnam_r): Likewise.
1268 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1270 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1271 _nss_nisplus_getntohost_r): Likewise.
1272 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1273 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1274 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1275 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1276 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1278 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1279 _nss_nisplus_getnetbyaddr_r): Likewise.
1280 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1281 _nss_nisplus_getprotobynumber_r): Likewise.
1282 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1283 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1284 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1286 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1287 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1288 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1289 _nss_nisplus_getspnam_r): Likewise.
1290 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1291 * nscd/aicache.c (addhstaiX): Likewise.
1292 * nscd/cache.c (cache_search, prune_cache): Likewise.
1293 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1294 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1295 * nscd/grpcache.c (addgrbyX): Likewise.
1296 * nscd/hstcache.c (addhstbyX): Likewise.
1297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1298 * nscd/mem.c (gc, mempool_alloc): Likewise.
1299 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1301 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1303 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1304 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1305 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1307 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1309 * nscd/nscd_helper.c (__readvall, open_socket,
1310 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1311 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1312 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1313 * nscd/pwdcache.c (addpwbyX): Likewise.
1314 * nscd/selinux.c (preserve_capabilities): Likewise.
1315 * nscd/servicescache.c (addservbyX): Likewise.
1316 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1317 * posix/fnmatch.c (fnmatch): Likewise.
1318 * posix/getopt.c (_getopt_internal_r): Likewise.
1319 * posix/glob.c (glob, glob_in_dir): Likewise.
1320 * posix/wordexp.c (exec_comm_child): Likewise.
1321 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1322 gaih_getanswer_slice): Likewise.
1323 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1324 * resolv/res_init.c: Likewise.
1325 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1326 * resolv/res_query.c (__libc_res_nquery): Likewise.
1327 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1329 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1330 * stdio-common/perror.c (perror): Likewise.
1331 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1332 * stdio-common/tmpnam.c (tmpnam): Likewise.
1333 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1334 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1335 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1336 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1337 * stdlib/putenv.c (putenv): Likewise.
1338 * stdlib/setenv.c (__add_to_environ): Likewise.
1339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1340 * stdlib/strtol_l.c (INTERNAL): Likewise.
1341 * string/memmem.c (memmem): Likewise.
1342 * string/strerror.c (strerror): Likewise.
1343 * string/strnlen.c (__strnlen): Likewise.
1344 * string/test-memmem.c (simple_memmem): Likewise.
1345 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1346 * sunrpc/pm_getport.c (__get_socket): Likewise.
1347 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1348 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1349 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1350 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1352 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1353 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1354 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1355 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1356 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1357 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1358 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1359 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1360 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1362 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1363 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1365 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1366 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1367 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1368 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1369 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1370 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1380 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1381 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1382 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1388 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1391 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1396 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1400 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1402 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1403 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1404 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1405 * sysdeps/posix/sleep.c: Likewise.
1406 * sysdeps/posix/tempname.c: Likewise.
1407 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1408 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1410 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1411 elf_machine_rela): Likewise.
1412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1414 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1417 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1419 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1421 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1422 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1423 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1424 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1425 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1426 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1428 elf_machine_lazy_rel): Likewise.
1429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1431 elf_machine_lazy_rel): Likewise.
1432 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1433 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1434 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1435 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1436 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1437 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1438 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1442 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1443 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1444 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1445 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1446 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1447 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1448 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1449 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1453 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1454 (__posix_fallocate64_l64): Likewise.
1455 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1456 (posix_fallocate): Likewise.
1457 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1459 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1460 getifaddrs_internal): Likewise.
1461 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1462 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1463 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1464 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1465 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1466 (__posix_fallocate64_l64): Likewise.
1467 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1469 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1472 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1473 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1474 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1477 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1478 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1479 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1481 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1482 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1483 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1484 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1485 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1486 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1487 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1489 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1490 (posix_fallocate): Likewise.
1491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1492 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1493 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1494 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1495 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1497 * time/asctime.c (asctime_internal): Likewise.
1498 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1499 * time/tzset.c (__tzset_parse_tz): Likewise.
1500 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1501 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1502 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1503 * wcsmbs/wcsmbsload.h: Likewise.
1505 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1508 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1510 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1512 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1513 arena_get2): Remove THREAD_STATS conditionals.
1514 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1515 __malloc_stats, int): Likewise.
1517 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1519 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1520 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1522 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1524 * manual/setjmp.texi: Fix typos/grammar errors.
1526 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1528 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1529 Only return early when n is <= 0. Delete unused return statement.
1531 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1533 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1534 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1535 * debug/tst-longjmp_chk3.c: New file.
1537 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1539 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1540 (test_main): Replace code with set_fortify_handler call.
1541 * debug/test-strcpy_chk.c: Likewise.
1542 * debug/tst-chk1.c: Likewise.
1543 * debug/tst-longjmp_chk.c: Likewise.
1544 * test-skeleton.c: Include fcntl.h & paths.h
1545 (set_fortify_handler): Define.
1547 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1549 * debug/tst-longjmp_chk.c: Add header comment and include
1551 (do_test): Mark static.
1552 (TEST_FUNCTION): Define.
1554 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1556 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1557 (IP_PMTUDISC_INTERFACE): Likewise.
1558 (IP_MULTICAST_IF): Likewise.
1559 (IP_MULTICAST_TTL): Likewise.
1560 (IP_MULTICAST_LOOP): Likewise.
1561 (IP_ADD_MEMBERSHIP): Likewise.
1562 (IP_DROP_MEMBERSHIP): Likewise.
1563 (IP_UNBLOCK_SOURCE): Likewise.
1564 (IP_BLOCK_SOURCE): Likewise.
1565 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1566 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1567 (IP_MSFILTER): Likewise.
1568 (MCAST_JOIN_GROUP): Likewise.
1569 (MCAST_BLOCK_SOURCE): Likewise.
1570 (MCAST_UNBLOCK_SOURCE): Likewise.
1571 (MCAST_LEAVE_GROUP): Likewise.
1572 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1573 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1574 (MCAST_MSFILTER): Likewise.
1575 (IP_MULTICAST_ALL): Likewise.
1576 (IP_UNICAST_IF): Likewise.
1578 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1580 * timezone/Makefile: Delete $(have-ksh) check.
1581 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1582 * timezone/tzselect.ksh: Add +x mode bits.
1584 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1586 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1587 (ANON_INODE_FS_MAGIC): Likewise.
1588 (BDEVFS_MAGIC): Likewise.
1589 (BINFMTFS_MAGIC): Likewise.
1590 (BTRFS_TEST_MAGIC): Likewise.
1591 (CRAMFS_MAGIC_WEND): Likewise.
1592 (DEBUGFS_MAGIC): Likewise.
1593 (ECRYPTFS_SUPER_MAGIC): Likewise.
1594 (EXT3_SUPER_MAGIC): Likewise.
1595 (EXT4_SUPER_MAGIC): Likewise.
1596 (FUTEXFS_SUPER_MAGIC): Likewise.
1597 (HOSTFS_SUPER_MAGIC): Likewise.
1598 (HUGETLBFS_MAGIC): Likewise.
1599 (MINIX3_SUPER_MAGIC): Likewise.
1600 (MTD_INODE_FS_MAGIC): Likewise.
1601 (NILFS_SUPER_MAGIC): Likewise.
1602 (OPENPROM_SUPER_MAGIC): Likewise.
1603 (PIPEFS_MAGIC): Likewise.
1604 (PSTOREFS_MAGIC): Likewise.
1605 (QNX6_SUPER_MAGIC): Likewise.
1606 (RAMFS_MAGIC): Likewise.
1607 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1608 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1609 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1610 (SECURITYFS_MAGIC): Likewise.
1611 (SELINUX_MAGIC): Likewise.
1612 (SMACK_MAGIC): Likewise.
1613 (SOCKFS_MAGIC): Likewise.
1614 (SQUASHFS_MAGIC): Likewise.
1615 (STACK_END_MAGIC): Likewise.
1616 (TMPFS_MAGIC): Likewise.
1617 (USBDEVICE_SUPER_MAGIC): Likewise.
1618 (V9FS_MAGIC): Likewise.
1619 (XENFS_SUPER_MAGIC): Likewise.
1620 (CRAMFS_MAGIC): Fix typo in comment.
1621 (EXT2_SUPER_MAGIC): Update comment.
1622 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1624 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1626 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1627 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1628 * sysdeps/unix/sysv/linux/arm: Move directory from
1629 ports/sysdeps/unix/sysv/linux/arm.
1630 * README: Update listing for arm-*-linux-gnueabi.
1632 * README: Remove mention of am33.
1634 2014-02-07 Roland McGrath <roland@hack.frob.com>
1636 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1637 than the comma operator, to avoid "rhs of comma has no effect"
1639 (__sigfillset, __sigandset, __sigorset): Likewise.
1640 * include/signal.h (__sigemptyset): Likewise.
1641 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1643 2014-02-07 Allan McRae <allan@archlinux.org>
1645 * version.h (RELEASE): Set to "development".
1646 (VERSION): Set to "2.19.90"
1647 * NEWS: Add 2.20 section.
1649 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1652 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1654 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1656 * manual/contrib.texi: Update entry for Carlos O'Donell,
1657 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1659 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1661 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1663 * sysdeps/unix/sysv/linux/kernel-features.h
1664 [__LINUX_KERNEL_VERSION >= 0x020621]
1665 (__ASSUME_PROC_PID_TASK_COMM): Define.
1667 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1669 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1670 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1671 Leonard and Allan McRae.
1673 2014-02-04 David S. Miller <davem@davemloft.net>
1675 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1678 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1707 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1710 * shlib-versions: Likewise.
1712 2014-02-04 Roland McGrath <roland@hack.frob.com>
1713 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1715 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1716 (abilist-pattern): New variable, set to %-le.abilist.
1718 * Makerules (abilist-pattern): New variable.
1719 (vpath): Use $(abilist-pattern) in place of %.abilist.
1720 (check-abi-% pattern rule): Likewise.
1721 (check-abi, update-abi): Likewise.
1723 2014-02-04 Eric Wong <normalperson@yhbt.net>
1725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1727 2014-02-04 Eric Wong <normalperson@yhbt.net>
1729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1731 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1733 * manual/startup.texi: Add next, previous, and top entries for
1734 the `Program Arguments' and `Environment Variables' nodes.
1736 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1738 * manual/macros.texi: Add comments before MTASC-safety macros.
1740 * manual/users.texi: Document MTASC-safety properties.
1742 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1743 pthread_getspecific, pthread_setspecific): Format with
1744 @deftypefun, and add @safety note.
1745 * manual/signal.texi: Move comments that analyze the above
1746 functions to their home place.
1748 2014-02-03 Allan McRae <allan@archlinux.org>
1750 * po/sl.po: Update Slovenian translation from translation project.
1752 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1754 * manual/time.texi (timegm): Add missing blank after @c.
1755 Reported by Joseph Myers <joseph@codesourcery.com>.
1757 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1759 * manual/check-safety.sh: New.
1760 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1762 * manual/terminal.texi: Document MTASC-safety properties.
1764 * manual/filesys.texi: Document MTASC-safety properties.
1766 * manual/errno.texi: Document MTASC-safety properties.
1768 * manual/intro.texi: Document safety identifiers and
1771 * manual/string.texi (wcstok): Fix prototype.
1772 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1774 * manual/time.texi: Document MTASC-safety properties.
1776 * manual/string.texi: Document MTASC-safety properties.
1778 * manual/threads.texi: Document MTASC-safety properties.
1780 * manual/stdio.texi: Document MTASC-safety properties.
1782 * manual/syslog.texi: Document MTASC-safety properties.
1784 * manual/sysinfo.texi: Document MTASC-safety properties.
1786 * manual/startup.texi: Document MTASC-safety properties.
1788 * manual/socket.texi: Document MTASC-safety properties.
1790 * manual/signal.texi: Document MTASC-safety properties.
1792 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1794 * manual/setjmp.texi: Document MTASC-safety properties.
1796 * manual/search.texi: Document MTASC-safety properties.
1798 * manual/resource.texi: Document MTASC-safety properties.
1800 * manual/process.texi: Document MTASC-safety properties.
1802 * manual/platform.texi: Document MTASC-safety properties.
1804 * manual/pipe.texi: Document MTASC-safety properties.
1806 * manual/pattern.texi: Document MTASC-safety properties.
1808 * manual/message.texi: Document MTASC-safety properties.
1811 * manual/memory.texi: Document MTASC-safety properties.
1813 * manual/math.texi: Document MTASC-safety properties.
1815 * manual/locale.texi: Document MTASC-safety properties.
1817 * manual/llio.texi: Document MTASC-safety properties.
1819 * manual/libdl.texi: New.
1821 * manual/lang.texi: Document MTASC-safety properties.
1823 * manual/job.texi: Document MTASC-safety properties.
1825 * manual/getopt.texi: Document MTASC-safety properties.
1827 * manual/ctype.texi: Document MTASC-safety properties.
1829 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1832 * csu/libc-tls.c (static_map): Remove variable.
1833 (__libc_setup_tls): Use main executable's link map for TLS data.
1834 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1835 casing for LM_ID_BASE and GL(dl_nns).
1836 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1837 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1838 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1839 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1840 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1842 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1845 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1847 * manual/debug.texi: Document MTASC-safety properties.
1849 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1852 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1853 of __x86_64__ when disabling x87 inline functions.
1855 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1857 * manual/charset.texi: Document MTASC-safety properties.
1859 * manual/crypt.texi: Document MTASC-safety properties.
1861 * manual/conf.texi: Document MTASC-safety properties.
1863 * manual/arith.texi: Document MTASC-safety properties.
1865 * manual/argp.texi: Document MTASC-safety properties.
1867 * manual/macros.texi: Introduce macros to document multi
1868 thread, asynchronous signal and asynchronous cancellation
1870 * manual/intro.texi: Introduce the properties themselves.
1872 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1874 * sysdeps/sh/sh4/Makefile: New file.
1876 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1878 * math/gen-libm-test.pl ($srcdir): New variable.
1879 ($auto_input): Use it.
1881 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1884 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1885 access beyond array bounds when parsing netgroups file.
1887 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1888 the old buffer before realloc.
1890 2014-01-27 Allan McRae <allan@archlinux.org>
1892 * po/fr.po: Update French translation from translation project.
1894 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1896 * sysdeps/sh/libm-test-ulps: Regenerate.
1898 2014-01-24 David S. Miller <davem@davemloft.net>
1900 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1902 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1904 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1905 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1907 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1910 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1911 string pointers after reallocation.
1913 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1915 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1916 __SH4A__ instead of __SH_FPU_ANY__.
1918 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1920 * sysdeps/sh/fpu_control.h: New file.
1921 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1922 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1923 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1924 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1925 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1926 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1927 * sysdeps/sh/sys/ucontext.h: Remove.
1928 * sysdeps/sh/sys: Remove directory.
1930 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1932 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1933 s390/sys/ucontext.h.
1934 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1935 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1937 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1940 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1942 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1945 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1946 Adjust the vDSO correctly for internal calls.
1947 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1949 2014-01-20 Allan McRae <allan@archlinux.org>
1951 * po/ca.po: Update Catalan translation from translation project.
1953 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1955 * sysdeps/s390/sotruss-lib.c: New file.
1957 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1961 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1962 local calls issues by not having a PLT stub required for IFUNC calls.
1963 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1965 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1967 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1968 * math/test-fpucw-static.c: Likewise.
1970 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1973 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1975 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1977 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1978 implementation for powerpc.
1980 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1983 * sysdeps/posix/system.c (__libc_system): Do not enable
1984 asynchronous cancellation.
1986 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1989 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1990 handling only for numbers special also in the IEEE case.
1992 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1994 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1996 2014-01-11 Allan McRae <allan@archlinux.org>
1998 * po/bg.po: Update Bulgarian translation from translation project.
2000 * po/de.po: Update German translation from translation project.
2002 2014-01-10 Roland McGrath <roland@hack.frob.com>
2004 * sysdeps/generic/gcc-compat.h: New file.
2006 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2008 * benchtests/asin-inputs: Correct slow inputs.
2009 * benchtests/acos-inputs: Likewise.
2011 2014-01-10 Allan McRae <allan@archlinux.org>
2013 * po:sv.po: Update Swedish translation from translation project.
2015 * po/vi.po: Update Vietnamese translation from translation project.
2017 * po/eo.po: Update Esperanto translation from translation project.
2019 * po/cs.po: Update Czech translation from translation project.
2021 * po/nl.po: Update Dutch translation from translation project.
2023 * po/pl.po: Update Polish translation from translation project.
2025 * po/ru.po: Update Russian translation from translation project.
2027 * po/uk.po: Update Ukrainian translation from translation project.
2029 2014-01-08 Brooks Moses <bmoses@google.com>
2031 * elf/dl-load.c: Fix comment typo.
2033 2014-01-08 Carlos O'Donell <carlos@redhat.com>
2035 * po/header.pot: Rename to...
2036 * po/pot.header: ... this.
2037 * po/Makefile: Use pot.header.
2039 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2040 Maxim Kuvyrkov <maxim@kugelworks.com>
2043 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2044 SRC and DEST against LEN.
2046 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2053 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2057 2014-01-08 Joseph Myers <joseph@codesourcery.com>
2060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2061 for large positive arguments.
2063 2014-01-07 Joseph Myers <joseph@codesourcery.com>
2065 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2067 * math/auto-libm-test-in: Mark various tests with
2068 xfail-rounding:ldbl-128ibm.
2069 * math/auto-libm-test-out: Regenerated.
2072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2073 Increase overflow threshold.
2075 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
2078 * stdio-common/vfprintf.c: Check for integer overflow.
2080 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2082 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2083 the first argument and return value of __tls_get_addr_internal.
2085 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2087 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2088 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2090 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2092 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2093 * sysdeps/s390/rtld-global-offsets.sym: New file.
2094 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2096 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2097 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2100 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2101 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2108 halfs of GPRs for high_gprs contexts.
2109 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2110 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2112 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2114 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2116 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2117 for high GPRs (uc_high_gprs) and for future extensions
2119 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2120 for future extensions (__reserved).
2121 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2123 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2124 SC_HIGHGPRS offset definition.
2125 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2126 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2130 * Versions.def: Add GLIBC_2.19 for libpthread.
2131 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2132 siglongjmp for libpthread with GLIBC_2.19 symver.
2133 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2134 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2135 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2136 * sysdeps/s390/__longjmp.c: New file.
2137 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2138 * sysdeps/s390/longjmp.c: New file.
2139 * sysdeps/s390/setjmp.S: New file.
2140 * sysdeps/s390/sigjmp.S: New file.
2141 * sysdeps/s390/v1-longjmp.c: New file.
2142 * sysdeps/s390/v1-setjmp.h: New file.
2143 * sysdeps/s390/v1-sigjmp.c: New file.
2144 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2145 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2147 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2148 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2149 versioned symbols for ____longjmp_chk.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2160 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2161 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2162 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2163 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2164 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2165 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2166 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2167 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2168 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2169 * sysdeps/s390/rtld-__longjmp.c: New file.
2170 * sysdeps/s390/rtld-setjmp.S: New file.
2172 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2175 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2176 Return -__logl (x) for small positive arguments without evaluating
2179 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2181 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2183 (__ptrace_peeksiginfo_args): ... this.
2184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2188 2014-01-06 Allan McRae <allan@archlinux.org>
2190 * inet/netinet/in.h: Fix typo in comment.
2192 2014-01-05 Andreas Jaeger <aj@suse.de>
2194 * sysdeps/i386/fpu/libm-test-ulps: Update.
2196 2014-01-05 Allan McRae <allan@archlinux.org>
2198 * po/libc.pot: Regenerated.
2200 * malloc/memusagestat.c: Fix gettext call formatting.
2202 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2204 * nscd/nscd.c: Improve usage() output.
2206 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2208 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2209 * sysdeps/unix/sysv/linux/configure: Regenerated.
2210 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2211 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2213 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2216 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2217 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2219 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2222 extra tokens at end of #undef directive.
2223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2224 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2227 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2229 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2231 * math/auto-libm-test-in: Mark various tests with
2232 xfail-rounding:ldbl-128ibm.
2233 * math/auto-libm-test-out: Regenerated.
2235 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2239 numbers with subnormal high part when calculating exponent.
2242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2248 (__ieee754_acoshl): Use __log1pl not __log1p.
2250 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2252 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2253 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2254 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2255 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2256 Convert to GNU style.
2257 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2258 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2259 memalign_check, __malloc_set_state): Likewise.
2260 * malloc/mallocbug.c (main): Likewise.
2261 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2262 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2263 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2264 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2265 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2266 * malloc/malloc.h: Likewise.
2267 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2268 memalignhook, reallochook, mabort): Likewise.
2269 * malloc/mcheck.h: Likewise.
2270 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2271 mmap64, mremap, munmap, dest): Likewise.
2272 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2273 * malloc/morecore.c (__default_morecore): Likewise.
2274 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2275 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2276 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2277 print_and_abort): Likewise.
2278 * malloc/obstack.h: Likewise.
2279 * malloc/set-freeres.c (__libc_freeres): Likewise.
2280 * malloc/tst-mallocstate.c (main): Likewise.
2281 * malloc/tst-mtrace.c (main): Likewise.
2282 * malloc/tst-realloc.c (do_test): Likewise.
2284 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2287 * nscd/netgroupcache.c (do_notfound): New function.
2288 (addgetnetgrentX): Use it.
2291 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2292 NSS_STATUS_NOTFOUND.
2294 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2296 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2299 2014-01-01 Allan McRae <allan@archlinux.org>
2301 * scripts/update-copyrights: Update configure input file suffix.
2303 * NEWS: Update copyright year.
2304 * catgets/gencat.c: Likewise.
2305 * csu/version.c: Likewise.
2306 * debug/catchsegv.sh: Likewise.
2307 * debug/pcprofiledump.c: Likewise.
2308 * debug/xtrace.sh: Likewise.
2309 * elf/ldconfig.c: Likewise.
2310 * elf/ldd.bash.in: Likewise.
2311 * elf/pldd.c: Likewise.
2312 * elf/sotruss.ksh: Likewise.
2313 * elf/sprof.c: Likewise.
2314 * iconv/iconv_prog.c: Likewise.
2315 * iconv/iconvconfig.c: Likewise.
2316 * locale/programs/locale.c: Likewise.
2317 * locale/programs/localedef.c: Likewise.
2318 * login/programs/pt_chown.c: Likewise.
2319 * malloc/memusage.sh: Likewise.
2320 * malloc/memusagestat.c: Likewise.
2321 * malloc/mtrace.pl: Likewise.
2322 * manual/libc.texinfo: Likewise.
2323 * nscd/nscd.c: Likewise.
2324 * nss/getent.c: Likewise.
2325 * nss/makedb.c: Likewise.
2326 * posix/getconf.c: Likewise.
2327 * scripts/test-installation.pl: Likewise.
2329 * All files with FSF copyright notices: Update copyright dates
2330 using scripts/update-copyrights.
2331 * intl/plural.c: Regenerated.
2332 * locale/programs/charmap-kw.h: Likewise.
2333 * locale/programs/locfile-kw.h: Likewise.
2335 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2337 * sysdeps/unix/sysv/linux/configure: Regenerated.
2338 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2339 the linux/fanotify.h header.
2340 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2341 HAVE_LINUX_FANOTIFY_H is defined.
2343 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2345 * benchtests/cos-inputs: New inputs.
2346 * benchtests/sin-inputs: Likewise.
2348 * benchtests/atan-inputs: New inputs. Fix name of multiple
2349 precision fallback inputs.
2351 * benchtests/atanh-inputs: New inputs.
2352 * benchtests/tanh-inputs: Likewise.
2354 * benchtests/acosh-inputs: New inputs.
2355 * benchtests/asinh-inputs: Likewise.
2357 * benchtests/cosh-inputs: New inputs.
2358 * benchtests/sinh-inputs: Likewise.
2360 * benchtests/acos-inputs: Add more inputs.
2361 * benchtests/asin-inputs: Likewise.
2363 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2366 * manual/arith.texi: Fix spelling.
2367 * manual/charset.texi: Likewise.
2368 * manual/errno.texi: Likewise.
2369 * manual/filesys.texi: Likewise.
2370 * manual/lang.texi: Likewise.
2371 * manual/llio.texi: Likewise.
2372 * manual/locale.texi: Likewise.
2373 * manual/message.texi: Likewise.
2374 * manual/resource.texi: Likewise.
2375 * manual/search.texi: Likewise.
2376 * manual/setjmp.texi: Likewise.
2377 * manual/stdio.texi: Likewise.
2378 * manual/string.texi: Likewise.
2379 * manual/sysinfo.texi: Likewise.
2380 * manual/time.texi: Likewise.
2382 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2384 * po/sl.po: New file.
2386 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2388 * .gitignore: Add core/.gdbinit/.gdb_history.
2390 2013-12-27 Allan McRae <allan@archlinux.org>
2393 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2394 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2396 2013-12-24 Brooks Moses <bmoses@google.com>
2398 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2399 all compilers that claim C++98 compliance, not just GCC.
2400 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2403 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2405 * NEWS: Restore accidentally deleted bug-fix entries.
2407 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2408 Ondřej Bílka <neleai@seznam.cz>
2411 * malloc/malloc.c (_int_free): Perform sanity check only if we
2414 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2417 * manual/stdio.texi (String Input Conversions): Clarify that character
2418 classes are not supported.
2420 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2424 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2428 Calculate results for small negative arguments directly rather
2429 than using reflection formula with special underflow handling.
2431 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2432 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2433 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2434 (fchflags): Likewise.
2436 (setlogin): Likewise.
2437 (sigaltstack): Likewise.
2440 (sigsetmask): Likewise.
2442 (waitpid): Likewise.
2443 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2444 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2446 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2447 * sysdeps/unix/bsd/Makefile: ... here.
2448 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2449 * sysdeps/unix/bsd/Versions: ... here.
2450 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2451 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2452 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2453 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2454 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2455 * sysdeps/unix/bsd/sigblock.c: ... here.
2456 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2457 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2458 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2459 * sysdeps/unix/bsd/sigvec.c: ... here.
2460 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2461 * sysdeps/unix/bsd/tcdrain.c: ... here.
2462 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2463 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2464 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2465 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2466 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2467 * sysdeps/unix/bsd/wait.c: ... here.
2468 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2469 * sysdeps/unix/bsd/wait3.c: ... here.
2470 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2471 * sysdeps/unix/bsd/waitpid.c: ... here.
2473 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2477 round-to-nearest for [!USE_AS_EXPM1L].
2478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2479 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2480 more tests of exp and exp10. Expect some exp10 tests to miss
2481 exceptions or fail in directed rounding modes.
2482 * math/auto-libm-test-out: Regenerated.
2483 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2484 (exp10_test_tonearest): New function.
2485 (exp10_towardzero_test_data): New array.
2486 (exp10_test_towardzero): New function.
2487 (exp10_downward_test_data): New array.
2488 (exp10_test_downward): New function.
2489 (exp10_upward_test_data): New array.
2490 (exp10_test_upward): New function.
2491 (main): Call the new functions.
2492 * sysdeps/i386/fpu/libm-test-ulps: Update.
2493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2495 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2497 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2498 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2499 * math/auto-libm-test-out: Regenerated.
2500 * math/libm-test.inc (acosh_test_data): Add more tests.
2501 (atanh_test_data): Likewise.
2502 (ceil_test_data): Likewise.
2503 (copysign_test_data): Likewise.
2504 * sysdeps/i386/fpu/libm-test-ulps: Update.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507 * timezone/checktab.awk: Update from tzcode 2013i.
2508 * timezone/private.h: Likewise.
2509 * timezone/scheck.c: Likewise.
2510 * timezone/tzfile.h: Likewise.
2511 * timezone/tzselect.ksh: Likewise.
2512 * timezone/zdump.c: Likewise.
2513 * timezone/zic.c: Likewise.
2515 * math/auto-libm-test-in: Add tests of cpow.
2516 * math/auto-libm-test-out: Regenerated.
2517 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2518 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2520 (func_calc_desc): Add mpc_cc_c union field.
2521 (test_functions): Add cpow.
2522 (special_fill_2pi): New function.
2523 (special_real_inputs): Add 2pi.
2524 (calc_generic_results): Handle mpc_cc_c.
2525 * sysdeps/i386/fpu/libm-test-ulps: Update.
2526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2529 csqrt, ctan and ctanh.
2530 * math/auto-libm-test-out: Regenerated.
2531 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2532 (TEST_COND_x86): Likewise.
2533 (ccos_test_data): Use AUTO_TESTS_c_c.
2534 (ccosh_test_data): Likewise.
2535 (cexp_test_data): Likewise.
2536 (clog_test_data): Likewise.
2537 (csqrt_test_data): Likewise.
2538 (ctan_test_data): Likewise.
2539 (ctan_tonearest_test_data): Likewise.
2540 (ctan_towardzero_test_data): Likewise.
2541 (ctan_downward_test_data): Likewise.
2542 (ctan_upward_test_data): Likewise.
2543 (ctanh_test_data): Likewise.
2544 (ctanh_tonearest_test_data): Likewise.
2545 (ctanh_towardzero_test_data): Likewise.
2546 (ctanh_downward_test_data): Likewise.
2547 (ctanh_upward_test_data): Likewise.
2548 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2550 (func_calc_desc): Add mpc_c_c union field.
2551 (FUNC_mpc_c_c): New macro.
2552 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2553 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2555 (special_fill_min_subnorm_p120): New function.
2556 (special_real_inputs): Add min_subnorm_p120.
2557 (calc_generic_results): Handle mpc_c_c.
2558 * sysdeps/i386/fpu/libm-test-ulps: Update.
2559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2564 do_sin_slow): New functions.
2565 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2566 cslow2, csloww1, csloww2): Use the new functions.
2568 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2569 Use M to change sign of result instead of X. Assume X is
2571 (csloww1): Likewise.
2575 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2582 (sloww1): Don't adjust sign of DX.
2583 (csloww1): Likewise.
2584 (sloww2): Use X directly and don't adjust sign of DX.
2585 (csloww2): Likewise.
2587 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2589 * math/auto-libm-test-in: Add tests of cabs and carg.
2590 * math/auto-libm-test-out: Regenerated.
2591 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2592 (carg_test_data): Likewise.
2593 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2595 (func_calc_desc): Add mpc_c_f union field.
2596 (test_functions): Add cabs and carg.
2597 (calc_generic_results): Handle mpc_c_f.
2599 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2600 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2601 as a macro and a compat symbol.
2602 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2603 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2604 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2605 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2606 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2611 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2613 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2615 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2619 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2620 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2623 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2627 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2629 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2630 trailing whitespace removed.
2631 * scripts/config.guess: Update to version 2013-11-29.
2632 * scripts/config.sub: Update to version 2013-10-01.
2634 * math/auto-libm-test-in: Add tests of sincos.
2635 * math/auto-libm-test-out: Regenerated.
2636 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2637 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2639 (func_calc_desc): Add mpfr_f_11 union field.
2640 (test_functions): Add sincos.
2641 (calc_generic_results): Handle mpfr_f_11.
2642 * sysdeps/i386/fpu/libm-test-ulps: Update.
2643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2645 2013-12-19 Andreas Schwab <schwab@suse.de>
2647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2651 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2653 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2655 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2656 * sysdeps/i386/fpu/libm-test-ulps: Update.
2657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2660 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2661 round-to-nearest mode when using frndint.
2662 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2663 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2664 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2666 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2668 * math/auto-libm-test-out: Regenerated.
2669 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2670 (TEST_COND_x86): Likewise.
2671 (expm1_tonearest_test_data): New array.
2672 (expm1_test_tonearest): New function.
2673 (expm1_towardzero_test_data): New array.
2674 (expm1_test_towardzero): New function.
2675 (expm1_downward_test_data): New array.
2676 (expm1_test_downward): New function.
2677 (expm1_upward_test_data): New array.
2678 (expm1_test_upward): New function.
2679 (main): Run the new test functions.
2680 * sysdeps/i386/fpu/libm-test-ulps: Update.
2681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2683 * include/features.h: Update comment documenting feature test
2684 macros. Mention _DEFAULT_SOURCE in comment.
2685 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2686 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2687 _BSD_SOURCE and _SVID_SOURCE.
2688 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2689 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2690 !_SVID_SOURCE]: Likewise.
2691 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2692 (__USE_POSIX_IMPLICITLY): Define.
2693 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2694 (_POSIX_SOURCE): Undefine and redefine.
2695 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2696 (_POSIX_C_SOURCE): Likewise.
2697 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2698 (Feature Test Macros): Update documentation of default features.
2700 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2702 * benchtests/Makefile: Add bench-strtok.
2703 * benchtests/bench-strtok.c: New file: strtok benchtest.
2705 2013-12-19 Allan McRae <allan@archlinux.org>
2707 * manual/install.texi: Suppress menu for plain text output.
2708 * INSTALL: Regenerated.
2710 2013-12-18 Brooks Moses <bmoses@google.com>
2713 * misc/getauxval.c: Include errno.h.
2714 (__getauxval): Set errno to ENOENT if the requested type is not
2716 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2717 don't declare with __attribute_const__.
2718 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2719 * manual/startup.texi: Document that getauxval sets errno.
2721 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2723 * math/auto-libm-test-in: Add tests of jn and yn.
2724 * math/auto-libm-test-out: Regenerated.
2725 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2726 (yn_test_data): Likewise.
2727 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2729 (func_calc_desc): Add mpfr_if_f union field.
2730 (FUNC_mpfr_if_f): New macro.
2731 (test_functions): Add jn and yn.
2732 (calc_generic_results): Assert type of second input for
2733 mpfr_ff_f. Handle mpfr_if_f.
2734 (output_for_one_input_case): Disable all checking for arguments
2735 fitting floating-point types in case of an integer argument.
2736 * sysdeps/i386/fpu/libm-test-ulps: Update.
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2740 Don't expect fegetround reference in libm.so.
2742 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2744 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2745 $(config-cflags-nofma).
2747 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2749 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2750 * math/auto-libm-test-out: Regenerated.
2753 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2754 to determine exponent and adjust argument to have exponent of -1.
2755 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2757 * math/auto-libm-test-out: Regenerated.
2758 * sysdeps/i386/fpu/libm-test-ulps: Update.
2759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2761 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2763 * manual/probes.texi: Remove cases when per-thread arenas are
2766 2013-12-18 Andreas Schwab <schwab@suse.de>
2768 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2769 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2770 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2771 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2772 * sysdeps/i386/i686/multiarch/Makefile: Update.
2773 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2775 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2777 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2778 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2780 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2783 Support TZ transition times < 00:00:00.
2784 This is needed for version-3 tz-format files; it supports time
2785 stamps past 2037 for America/Godthab (the only entry in the tz
2786 database for which this change is relevant).
2787 * manual/time.texi (TZ Variable): Document transition times
2788 from -167:59:59 through -00:00:01.
2789 * time/tzset.c (tz_rule): Time of day is now signed.
2790 (__tzset_parse_tz): Parse negative time of day.
2792 Document TZ transition times >= 25:00:00.
2793 * manual/time.texi (TZ Variable): Document transition times from
2794 25:00:00 through 167:59:59. These are already supported, and this
2795 support will help with version-3 tz-format files.
2797 * manual/time.texi (TZ Variable): Modernize North America example
2798 to reflect current (i.e., 2007-and-later) daylight saving rules.
2800 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2802 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2804 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2805 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2808 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2809 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2810 * sysdeps/unix/bsd/clock.c: Likewise.
2811 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2812 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2813 * sysdeps/unix/bsd/init-posix.c: Likewise.
2814 * sysdeps/unix/bsd/poll.c: Likewise.
2815 * sysdeps/unix/bsd/ptsname.c: Likewise.
2816 * sysdeps/unix/bsd/seekdir.c: Likewise.
2817 * sysdeps/unix/bsd/setegid.c: Likewise.
2818 * sysdeps/unix/bsd/seteuid.c: Likewise.
2819 * sysdeps/unix/bsd/setgid.c: Likewise.
2820 * sysdeps/unix/bsd/setrgid.c: Likewise.
2821 * sysdeps/unix/bsd/setruid.c: Likewise.
2822 * sysdeps/unix/bsd/setsid.c: Likewise.
2823 * sysdeps/unix/bsd/setuid.c: Likewise.
2824 * sysdeps/unix/bsd/sigaction.c: Likewise.
2825 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2826 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2827 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2828 * sysdeps/unix/bsd/telldir.c: Likewise.
2829 * sysdeps/unix/bsd/times.c: Likewise.
2830 * sysdeps/unix/bsd/usleep.c: Likewise.
2832 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2833 ($(objpfx)libbsd-compat.a): Remove rule.
2835 * include/features.h (__FAVOR_BSD): Do not define.
2836 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2837 features conflicting with POSIX.
2838 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2839 (_BSD_SOURCE): Remove description of not being a subset of other
2840 feature test macros.
2841 * manual/job.texi (getpgrp): Do not document BSD version.
2842 (getpgid): Do not document by reference to BSD getpgrp.
2843 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2844 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2845 * signal/signal.h [__FAVOR_BSD]: Likewise.
2846 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2847 instead of making contents conditional on [__FAVOR_BSD].
2848 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2850 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2854 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2857 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2858 values below 2**-450, not 2**-500.
2859 * math/auto-libm-test-in: Don't allow spurious underflow from
2861 * math/auto-libm-test-out: Regenerated.
2865 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2866 values of ha and hb and sort them after adjusting subnormal
2868 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2870 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2871 values of ea and eb and sort them after adjusting subnormal
2873 * math/auto-libm-test-in: Do not expect some hypot tests of
2874 subnormals to fail. Add more hypot tests.
2875 * math/auto-libm-test-out: Regenerated.
2877 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2880 * sysdeps/sh/s_fma.c: New file.
2881 * sysdeps/sh/s_fmaf.c: New file.
2882 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2884 * sysdeps/sh/Implies: Add sh/soft-fp.
2886 2013-12-16 Roland McGrath <roland@hack.frob.com>
2888 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2889 level of indirection to members `objname', `errstring', `malloced'.
2890 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2891 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2892 it as the __longjmp argument (just pass 1 instead).
2893 (_dl_catch_error): Initialize C with argument pointers and address of
2894 volatile local ERRCODE rather than copying values out of C at return.
2896 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2898 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2899 * math/auto-libm-test-out: Regenerated.
2900 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2901 (hypot_test_data): Likewise.
2902 (pow_test_data): Likewise.
2903 (pow_tonearest_test_data): Likewise.
2904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2906 (func_calc_desc): Add mpfr_ff_f union field.
2907 (FUNC_mpfr_ff_f): New macro.
2908 (test_functions): Add atan2, hypot and pow.
2909 (special_fill_min): New function.
2910 (special_fill_minus_min): Likewise.
2911 (special_fill_min_subnorm): Likewise.
2912 (special_fill_minus_min_subnorm): Likewise.
2913 (special_real_inputs): Add min, -min, min_subnorm and
2915 (calc_generic_results): Handle mpfr_ff_f.
2916 * sysdeps/i386/fpu/libm-test-ulps: Update.
2917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919 2013-12-16 Will Newton <will.newton@linaro.org>
2921 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2922 (Aligned Memory Blocks): Add documentation for aligned_alloc
2923 and suggest it as an alternative to posix_memalign.
2924 (Hooks for Malloc): Document __memalign_hook is also called
2925 for aligned_alloc. (Summary of Malloc): Add summary for
2926 aligned alloc. Document __memalign_hook is also called
2929 2013-12-16 Will Newton <will.newton@linaro.org>
2931 * manual/memory.texi (Malloc Examples): Clarify default
2932 alignment documentation. Suggest posix_memalign rather
2933 than memalign or valloc.
2934 (Aligned Memory Blocks): Remove suggestion to use memalign
2935 or valloc. Remove obsolete comment about BSD.
2936 Document memalign errno values and mark the function obsolete.
2937 Document posix_memalign returned error codes. Mark valloc
2938 as obsolete. (Hooks for Malloc): __memalign_hook is also
2939 called for posix_memalign and valloc.
2940 (Summary of Malloc): Add posix_memalign to function summary.
2941 __memalign_hook is also called for posix_memalign and valloc.
2943 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2945 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2949 (sloww): Use mynumber union. Expand ternary operator into
2951 (cslow): use mynumber union.
2953 2013-12-16 Allan McRae <allan@archlinux.org>
2955 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2956 * configure: Regenerated.
2958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2961 * configure.ac: Added --enable-maintainer-mode. Check for
2962 autoconf when enabled.
2963 * configure: Regenerated.
2965 * nscd/nscd.service: New file.
2966 * nscd/nscd.tmpfiles: New file.
2968 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2971 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2972 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2973 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2974 (strstr): Add __strstr_sse2_unaligned ifunc.
2975 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2976 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2977 (strcasestr): Remove __strcasestr_sse42 ifunc.
2978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2982 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2984 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2985 * sysdeps/sh/bits/fenv.h: ... here.
2986 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2990 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2992 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2995 hypotf multiarch implementations.
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2997 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2999 multiarch hypot for PPC64.
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3003 multiarch hypotf for PPC64.
3005 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3008 modff multiarch implementations.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3012 multiarch modf for PPC64.
3013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3016 multiarch modff for PPC64.
3018 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3021 and logl multiarch implementations.
3022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3025 multiarch logb for PPC64.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3029 multiarch logb for PPC64.
3030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3033 multiarch logb for PPC64.
3035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3038 isinff multiarch implementation.
3039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3043 multiarch isinf for PPC64.
3044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3047 multiarch isinff for PPC64.
3049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3052 finitef multiarch implementation.
3053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3057 multiarch finite for PPC64.
3058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3061 multiarch finitef for PPC64.
3063 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3066 lrint multiarch implementation.
3067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3071 multiarch llrint for PPC64.
3072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3073 multiarch lrint for PPC64.
3075 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3078 copysignf multiarch implementation.
3079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3084 multiarch copysign for PPC64.
3085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3086 multiarch copysignf for PPC64.
3088 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3091 multiarch implementation.
3092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3100 multiarch llround for PPC64.
3101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3102 multiarch trunc for PPC64.
3103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3104 multiarch truncf for PPC64.
3106 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3109 multiarch implementation.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3118 multiarch llround for PPC64.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3120 multiarch round for PPC64.
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3122 multiarch roundf for PPC64.
3124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3127 multiarch implementation.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3136 multiarch llround for PPC64.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3138 multiarch floor for PPC64.
3139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3140 multiarch floorf for PPC64.
3142 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3145 multiarch implementation.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3154 multiarch llround for PPC64.
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3156 multiarch ceil for PPC64.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3158 multiarch ceilf for PPC64.
3160 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3163 multiarch implementation.
3164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3171 multiarch llround for PPC64.
3172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3173 multiarch lround for PPC64.
3175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3178 multiarch implementation.
3179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3186 multiarch isnan for PPC64.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3188 multiarch isnanf for PPC64.
3190 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3193 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3194 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3195 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3196 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3199 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3202 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3206 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3209 multiarch implementations.
3210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3211 (__libc_ifunc_impl_list): Likewise.
3212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3214 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3215 multiarch stpcpy for PPC64.
3217 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3220 multiarch implementations.
3221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Likewise.
3223 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3224 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3225 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3226 multiarch strcpy for PPC64.
3228 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3231 redefine function name.
3232 (_wordcopy_fwd_dest_aligned): Likewise.
3233 (_wordcopy_bwd_aligned): Likewise.
3234 (_wordcopy_bwd_dest_aligned): Likewise.
3235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3236 multiarch implementations.
3237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3238 (__libc_ifunc_impl_list): Likewise.
3239 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3241 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3243 multiarch wcscpy for PPC64.
3245 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3248 multiarch implementations.
3249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3250 (__libc_ifunc_impl_list): Likewise.
3251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3252 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3254 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3255 multiarch wcscpy for PPC64.
3257 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3260 multiarch implementations.
3261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3262 (__libc_ifunc_impl_list): Likewise.
3263 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3264 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3265 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3266 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3267 multiarch wcsrchr for PPC64.
3269 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3272 multiarch implementations.
3273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3274 (__libc_ifunc_impl_list): Likewise.
3275 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3276 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3278 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3279 multiarch wcschr for PPC64.
3281 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3284 multiarch implementations.
3285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3286 (__libc_ifunc_impl_list): Likewise.
3287 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3288 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3289 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3290 multiarch strchrnul for PPC64.
3292 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3297 (__libc_ifunc_impl_list): Likewise.
3298 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3299 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3300 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3301 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3309 (__libc_ifunc_impl_list): Likewise.
3310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3313 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3316 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3319 multiarch implementations.
3320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3321 (__libc_ifunc_impl_list): Likewise.
3322 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3323 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3324 strncasecmp for PPC64.
3325 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3326 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3327 multiarch strncasecmp_l for PPC64.
3329 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3332 multiarch implementations.
3333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3334 (__libc_ifunc_impl_list): Likewise.
3335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3337 multiarch strcasecmp for PPC64.
3338 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3341 multiarch strcasecmp_l for PPC64.
3343 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3348 (__libc_ifunc_impl_list): Likewise.
3349 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3350 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3351 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3354 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3359 (__libc_ifunc_impl_list): Likewise.
3360 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3361 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3362 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3365 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3370 (__libc_ifunc_impl_list): Likewise.
3371 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3372 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3373 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3374 rawmemrchr for PPC64.
3376 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3381 (__libc_ifunc_impl_list): Likewise.
3382 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3383 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3384 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3387 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3392 (__libc_ifunc_impl_list): Likewise.
3393 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3394 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3395 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3398 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3403 (__libc_ifunc_impl_list): Likewise.
3404 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3405 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3406 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3409 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3411 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3412 avoid cretion of __bzero symbol.
3413 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3415 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3417 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3420 multiarch implementations.
3421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3422 (__libc_ifunc_impl_list): Likewise.
3423 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3424 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3425 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3426 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3428 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3429 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3430 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3431 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3432 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3434 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3436 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3438 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3442 (__libc_ifunc_impl_list): Likewise.
3443 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3444 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3445 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3446 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3449 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3452 multiarch for POWER/PPC64.
3453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3454 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3461 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3466 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3467 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3468 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3469 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3470 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3471 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3473 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3474 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3475 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3476 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3477 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3478 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3479 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3480 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3489 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3493 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3495 * benchtests/Makefile (bench): Add exp2 and log2.
3496 (LDLIBS-bench-exp2): Add -lm.
3497 (LDLIBS-bench-log2): Likewise.
3498 * benchtests/exp2-inputs: New inputs file.
3499 * benchtests/log2-inputs: New inputs file.
3500 * benchtests/log-inputs: Add new inputs.
3501 * benchtests/tan-inputs: Likewise.
3503 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3505 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3507 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3508 csloww1, csloww2): ... from here.
3510 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3511 instead of structures.
3512 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3513 (POLYNOMIAL): Likewise.
3514 (TAYLOR_SLOW): Likewise.
3522 (bsloww1): Likewise.
3523 (bsloww2): Likewise.
3526 (csloww1): Likewise.
3527 (csloww2): Likewise.
3529 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3531 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3532 (__malloc_assert, __libc_realloc, __libc_calloc,
3533 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3535 * malloc/hooks.c (realloc_check): Likewise.
3537 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3539 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3540 * malloc/arena.c: Remove PER_THREAD conditional.
3541 [!PER_THREAD]: Remove code.
3542 (ptmalloc_unlock_all2): Likewise.
3543 (ptmalloc_init): Likewise.
3544 (_int_new_arena): Likewise.
3545 (arena_get2): Likewise.
3546 * malloc/hooks.c (__malloc_get_state): Likewise.
3547 (__malloc_set_state): Likewise.
3548 * malloc/malloc.c: Likewise.
3549 (struct malloc_state): Likewise.
3550 (struct malloc_par): Likewise.
3551 (__libc_realloc): Likewise.
3552 (__libc_mallopt): Likewise.
3554 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3556 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3558 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3560 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3561 macro to a function. Check for zero perturb_byte.
3562 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3564 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3566 * malloc/malloc.c: (force_reg): Remove.
3567 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3568 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3569 force_reg by atomic_forced_read.
3570 * malloc/arena.c (ptmalloc_init): Likewise.
3571 * malloc/hooks.c (top_check): Likewise.
3573 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3577 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3581 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3583 * math/auto-libm-test-in: Add tests of lgamma.
3584 * math/auto-libm-test-out: Regenerated.
3585 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3586 (M_LOG_2_SQRT_PIl): Likewise.
3587 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3590 (func_calc_desc): Add mpfr_f_f1 union field.
3599 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3600 (test_functions): Add lgamma.
3601 (calc_generic_results): Handle mpfr_f_f1.
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3607 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3608 __mpn_add_n for PowerPC64/POWER7.
3609 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3610 __mpn_sub_n for PowerPC64/POWER7.
3612 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3615 __mpn_addmul_1 for PowerPC64.
3616 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3617 __mpn_submul_1 for PowerPC64.
3618 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3620 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3623 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3626 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3628 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3630 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3632 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3634 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3635 add multiarch folders.
3636 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3637 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3638 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3639 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3640 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3641 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3642 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3643 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3644 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3645 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3646 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3657 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3663 multiarch __ieee754_hypot for PowerPC32.
3664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3669 multiarch __ieee754_hypotf for PowerPC32.
3671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3674 long_double_symbol only if __logbl is defined.
3675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3676 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3678 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3680 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3681 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3682 path for implementation.
3683 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3686 logb, and logbl multiarch implementations for PowerPC32.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3692 multiarch logb for PowerPC32.
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3698 multiarch logbf for PowerPC32.
3699 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3703 multiarch logbl implementation for PowerPC32.
3705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3708 and modff multiarch implementations.
3709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3714 multiarch modf for PowerPC32.
3715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3720 multiarch modff for PowerPC32.
3722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3725 and lrintf multiarch implementations.
3726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3731 multiarch lrint for PowerPC32.
3732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3733 file: multiarch lrintf for PowerPC32.
3735 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3738 and lroundf multiarch implementations.
3739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3746 multiarch lround for PowerPC32.
3747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3748 file: multiarch lroundf for PowerPC32.
3750 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3753 copysign and copysignf multiarch implementations.
3754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3759 file: multiarch copysign for PowerPC32.
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3761 file: multiarch copysignf for PowerPC32.
3763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3766 and truncf multiarch implementations.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3772 multiarch trunc for PowerPC32.
3773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3778 multiarch truncf for PowerPC32.
3780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3783 and roundf multiarch implementations.
3784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3789 multiarch round for PowerPC32.
3790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3795 multiarch roundf for PowerPC32.
3797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3800 and floorf multiarch implementations.
3801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3806 multiarch floor for PowerPC32.
3807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3812 multiarch floorf for PowerPC32.
3814 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3817 and ceilf multiarch implementations.
3818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3823 multiarch ceil for PowerPC32.
3824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3829 multiarch ceilf for PowerPC32.
3831 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3835 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3838 and finitef multiarch implementations.
3839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3844 multiarch finite for PowerPC32.
3845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3848 file: multiarch finitef for PowerPC32.
3850 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3853 and isinff multiarch implementations.
3854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3859 multiarch isinf for PowerPC32.
3860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3863 multiarch isinff for PowerPC32.
3865 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3868 alias when __isnan is defined.
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3870 and isnanf multiarch implementations.
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3880 multiarch isnan for PowerPC32.
3881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3886 multiarch isnanf for PowerPC32.
3888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3891 and sqrtf multiarch implementations.
3892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3897 multiarch sqrt for PowerPC32.
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3903 multiarch sqrtf for PowerPC32.
3905 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3908 and llroundf multiarch implementations.
3909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3916 file: multiarch llround for PowerPC32.
3917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3918 file: multiarch llroundf for PowerPC32.
3920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3923 multiarch PowerPC32 fpu implementations.
3924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3929 multiarch llrint for PowerPC32.
3930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3937 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3941 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3945 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3947 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3949 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3950 multiarch wordcopy for PPC32.
3951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3954 (__libc_ifunc_impl_list): Likewise.
3955 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3956 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3958 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3959 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3960 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3962 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3964 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3972 multiarch wcscpy for PPC32.
3973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3976 (__libc_ifunc_impl_list): Likewise.
3977 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3978 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3979 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3980 sysdeps/powerpc/power6/wcscpy.c.
3982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3984 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3992 multiarch wcsrchr for PPC32.
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3996 (__libc_ifunc_impl_list): Likewise.
3997 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3998 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3999 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4000 sysdeps/powerpc/power6/wcsrchr.c.
4002 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4010 multiarch wcschr for PPc32.
4011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4014 (__libc_ifunc_impl_list): Likewise.
4015 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4016 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4017 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4018 sysdeps/powerpc/power6/wcschr.c.
4020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4026 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4027 file: multiarch strchr for PPC32.
4028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4031 (__libc_ifunc_impl_list): Likewise.
4033 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4035 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4037 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4039 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4041 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4042 multiarch strchrnul for PPC32.
4043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4046 (__libc_ifunc_impl_list): Likewise.
4048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4052 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4053 multiarch strncasecmp for PPC32.
4054 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4056 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4057 multiarch strncasecmp_l for PPC32.
4058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4059 strncasecmp multiarch objects.
4060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4061 (__libc_ifunc_impl_list): Likewise.
4063 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4065 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4067 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4068 multiarch strncasecmp for PPC32.
4069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4071 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4072 multiarch strcasecmp_l for PPC32.
4073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4076 (__libc_ifunc_impl_list): Likewise.
4078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4082 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4085 multiarch strncmp for PPC32.
4086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4089 (__libc_ifunc_impl_list): Likewise.
4091 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4094 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4096 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4097 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4101 (__libc_ifunc_impl_list): Likewise.
4103 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4107 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4109 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4113 (__libc_ifunc_impl_list): Likewise.
4115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4117 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4119 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4121 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4122 multiarch rawmemchr for PPC32.
4123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4126 (__libc_ifunc_impl_list): Likewise.
4128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4130 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4132 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4134 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4135 file: memrchr multiarch for PPC32.
4136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4139 (__libc_ifunc_impl_list): Likewise.
4141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4144 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4148 multiarch memchr for PPC32.
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4152 (__libc_ifunc_impl_list): Likewise.
4154 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4159 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4161 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4162 file: multiarch mempcpy for PPC32.
4163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4166 (__libc_ifunc_impl_list): Likewise.
4168 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4170 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4171 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4172 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4173 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4174 multiarch bzero for PPC32.
4175 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4177 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4179 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4180 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4181 file: multiarch memset for PPC32.
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4184 memset multiarch objects.
4185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4186 (__libc_ifunc_impl_list): Likewise.
4188 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4195 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4199 (__libc_ifunc_impl_list): Likewise.
4201 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4207 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4209 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4212 multiarch memcpy for PPC32.
4213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4216 (__libc_ifunc_impl_list): Likewise.
4218 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4221 support multiarch for POWER/PPC32.
4222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4224 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4226 Implies file to make multiarch folder appers before the fpu and
4227 default folder for power4 configuration.
4229 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4231 * scripts/bench.pl: Append volatile keyword to type.
4233 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4235 * sysdeps/sh/sotruss-lib.c: New file.
4236 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4238 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4242 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4245 * math/w_tgamma.c: Include <errno.h>.
4246 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4247 * math/w_tgammaf.c: Include <errno.h>.
4248 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4249 * math/w_tgammal.c: Include <errno.h>.
4250 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4251 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4252 underflow. Add more tgamma tests.
4253 * math/auto-libm-test-out: Regenerated.
4254 * sysdeps/i386/fpu/libm-test-ulps: Update.
4255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4257 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4258 sin, sinh, tan, tanh, tgamma, y0 and y1.
4259 * math/auto-libm-test-out: Regenerated.
4260 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4261 (TEST_COND_x86): Likewise.
4262 (M_E2l): Remove macro.
4264 (M_2_SQRT_PIl): Likewise.
4265 (M_SQRT_PIl): Likewise.
4266 (M_1_DIV_El): Likewise.
4267 (log_test_data): Use AUTO_TESTS_f_f.
4268 (log10_test_data): Likewise.
4269 (log1p_test_data): Likewise.
4270 (log2_test_data): Likewise.
4271 (sin_test_data): Likewise.
4272 (sin_tonearest_test_data): Likewise.
4273 (sin_towardzero_test_data): Likewise.
4274 (sin_downward_test_data): Likewise.
4275 (sin_upward_test_data): Likewise.
4276 (sinh_test_data): Likewise.
4277 (sinh_tonearest_test_data): Likewise.
4278 (sinh_towardzero_test_data): Likewise.
4279 (sinh_downward_test_data): Likewise.
4280 (sinh_upward_test_data): Likewise.
4281 (tan_test_data): Likewise.
4282 (tan_tonearest_test_data): Likewise.
4283 (tan_towardzero_test_data): Likewise.
4284 (tan_downward_test_data): Likewise.
4285 (tan_upward_test_data): Likewise.
4286 (tanh_test_data): Likewise.
4287 (tgamma_test_data): Likewise.
4288 (y0_test_data): Likewise.
4289 (y1_test_data): Likewise.
4290 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4291 (special_real_inputs): Add pi/4.
4292 * sysdeps/i386/fpu/libm-test-ulps: Update.
4293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4295 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4297 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4298 "longjmp_target" static probes.
4299 (__longjmp): Rename to __longjmp_symbol.
4300 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4301 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4302 on which longjmp to generate.
4303 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4304 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4306 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4307 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4308 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4309 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4310 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4311 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4313 __longjmp_symbol based on which __longjmp to generate.
4314 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4316 (setjmp): Rename to setjmp_symbol.
4317 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4318 (_setjmp): Rename to _setjmp_symbol.
4319 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4320 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4321 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4322 which setjmp to generate.
4323 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4324 "longjmp_target" static probes.
4326 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4328 * benchtests/README: Add note about output arguments.
4329 * benchtests/bench-sincos.c: Remove file.
4330 * benchtests/sincos-inputs: New file.
4331 * scripts/bench.pl: Identify output arguments and define
4332 static variables for them.
4334 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4337 * Makefile (INSTALL): Add install-plain.texi as the primary
4339 * manual/install-plain.texi: New file.
4340 * manual/install.texi: Include node directive only for
4341 non-plaintext output.
4343 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4345 * stdlib/longlong.h: Update from GCC.
4349 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4350 * math/w_j0f.c (y0f): Likewise.
4351 * math/w_j0l.c (__y0l): Likewise.
4352 * math/w_j1.c (y1): Likewise.
4353 * math/w_j1f.c (y1f): Likewise.
4354 * math/w_j1l.c (__y1l): Likewise
4355 * math/w_jn.c (yn): Likewise.
4356 * math/w_jnf.c (ynf): Likewise.
4357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4358 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4359 value for Bessel function domain errors outside _SVID_ mode.
4360 Adjust sign of return value for yn (negative integer, 0).
4361 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4362 by zero in return for negative x and set sign appropriately for
4364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4365 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4366 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4367 expectations in error cases.
4368 (y1_test_data): Likewise.
4369 (yn_test_data): Likewise.
4370 * sysdeps/i386/fpu/libm-test-ulps: Update.
4371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4373 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4375 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4376 "64" to "64-v1". Add "64-v2".
4377 (abi-64-options): Rename to ...
4378 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4379 (abi-64-condition): Rename to ...
4380 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4381 (abi-64-ld-soname): Rename to ...
4382 (abi-64-v1-ld-soname): ... this.
4383 (abi-64-v2-options): Define.
4384 (abi-64-v2-condition): Likewise.
4385 (abi-64-v2-ld-soname): Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4387 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4392 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4393 Alan Modra <amodra@gmail.com>
4395 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4396 New versions for use with the ELFv2 ABI.
4397 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4398 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4400 (struct La_ppc64v2_retval): Likewise.
4401 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4402 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4403 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4404 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4405 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4406 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4407 Do not save or restore CR.
4408 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4409 (_dl_profile_resolve): Do no save or restore CR. Support extended
4410 return values for ELFv2 ABI. Fix location of FPR return registers.
4411 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4412 updated values for _CALL_ELF == 2.
4413 (La_regs, La_retval, int_retval): Likewise.
4415 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4417 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4418 (FRAME_MIN_SIZE_PARM): Likewise.
4419 (FRAME_BACKCHAIN): Likewise.
4420 (FRAME_CR_SAVE): Likewise.
4421 (FRAME_LR_SAVE): Likewise.
4422 (FRAME_TOC_SAVE): Likewise.
4423 (FRAME_PARM_SAVE): Likewise.
4424 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4425 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4426 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4427 (call_mcount_parm_offset): New macro.
4428 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4429 (PROF): Use symbolic stack frame offsets.
4430 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4431 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4432 Redefine in terms of FRAME_MIN_SIZE.
4433 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4434 (_dl_profile_resolve): Likewise. Update comment.
4435 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4436 symbols stack frame offsets.
4437 (__sigsetjmp): Likewise.
4438 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4439 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4440 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4441 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4444 (FRAME_BACKCHAIN): Remove.
4445 (FRAME_CR_SAVE): Likewise.
4446 (FRAME_LR_SAVE): Likewise.
4447 (FRAME_COMPILER_DW): Likewise.
4448 (FRAME_LINKER_DW): Likewise.
4449 (FRAME_TOC_SAVE): Likewise.
4450 (FRAME_PARM_SAVE): Likewise.
4451 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4452 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4453 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4455 (CHECK_SP): Use symbolic stack frame offsets.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4457 zone" instead of caller's parameter save area for temp storage.
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4459 Likewise. Also, use symbolic stack frame offsets.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4461 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4462 our own stack frame instead of the caller's.
4463 (__socket): Use symbolic stack frame offsets.
4465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4466 Alan Modra <amodra@gmail.com>
4468 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4470 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4471 PPC64_LOCAL_ENTRY_OFFSET): Define.
4472 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4474 (elf_machine_fixup_plt): Call it.
4475 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4477 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4478 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4479 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4480 r2 before calling target.
4482 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4483 Alan Modra <amodra@gmail.com>
4485 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4486 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4487 versions of macros to support ELFv2 ABI.
4488 (LOCALENTRY): New macro.
4489 (ENTRY, EALIGN): Use it.
4490 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4491 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4492 fall through into ENTRY entry point.
4493 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4494 Only define if _CALL_ELF != 2.
4496 (elf_machine_matches_host): Verify ABI version matches.
4497 (RTLD_START): Use LOCALENTRY.
4498 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4499 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4500 (PLT_ENTRY_WORDS): New macro.
4501 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4502 (elf_machine_runtime_setup): Support ELFv2 ABI.
4503 (elf_machine_fixup_plt): Likewise.
4504 (elf_machine_plt_conflict): Likewise.
4505 (resolve_ifunc): Likewise.
4506 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4507 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4510 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4512 (makecontext): Support ELFv2 ABI.
4513 * elf/elf.h (EF_PPC64_ABI): Define.
4515 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4517 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4518 New assembler macro.
4519 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4520 [ASSEMBLER] (ENTRY): ... but instead here ...
4521 [ASSEMBLER] (EALIGN): ... and here.
4522 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4523 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4524 [!ASSEMBLER] (ENTRY_2): Use it.
4525 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4526 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4527 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4528 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4529 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4531 Use PPC64_LOAD_FUNCPTR.
4533 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4535 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4537 2013-12-04 Alan Modra <amodra@gmail.com>
4539 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4540 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4541 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4542 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4545 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4546 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4547 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4548 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4549 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4551 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4554 (__makecontext): Fix incorrect CFI when backtracing out of
4555 context created via makecontext.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4557 (__setcontext): Fix incorrect CFI during switch to new context.
4558 (__novec_setcontext): Likewise.
4560 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4563 * time/strptime_l.c (__strptime_internal): Allow modifiers
4565 * time/tst-strptime.c (day_tests): Add testcase.
4568 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4570 * scripts/bench.pl: Skip over blank lines.
4572 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4575 * manual/time.texi (Calendar Time): Clarify what timezone functions
4578 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4582 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4584 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4586 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4587 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4588 * debug/memset_chk.c (__memset_chk): Likewise.
4589 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4590 * debug/strncpy_chk.c: Likewise.
4592 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4597 (__ieee754_exp): For possibly underflowing results, check size of
4598 result and force underflow exception if required.
4599 * math/auto-libm-test-in: Add more tests of exp.
4600 * math/auto-libm-test-out: Regenerated.
4601 * sysdeps/i386/fpu/libm-test-ulps: Update.
4602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4605 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4606 * math/w_exp2f.c (__exp2f): Likewise.
4607 * math/w_exp2l.c (__exp2l): Likewise.
4608 * math/auto-libm-test-in: Do not allow missing errno on exp2
4610 * math/auto-libm-test-out: Regenerated.
4612 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4615 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4616 handle filename validation.
4617 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4620 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4623 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4624 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4625 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4627 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4628 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4629 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4631 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4633 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4634 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4635 Add more erfc tests.
4636 * math/auto-libm-test-out: Regenerated.
4637 * sysdeps/i386/fpu/libm-test-ulps: Update.
4638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4640 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4641 exp2, expm1, j0 and j1.
4642 * math/auto-libm-test-out: Regenerated.
4643 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4644 (erfc_test_data): Likewise.
4645 (exp_test_data): Likewise.
4646 (exp_tonearest_test_data): Likewise.
4647 (exp_towardzero_test_data): Likewise.
4648 (exp_downward_test_data): Likewise.
4649 (exp_upward_test_data): Likewise.
4650 (exp10_test_data): Likewise.
4651 (exp2_test_data): Likewise.
4652 (expm1_test_data): Likewise.
4653 (j0_test_data): Likewise.
4654 (j1_test_data): Likewise.
4655 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4656 (input_flag_type): Add flag_xfail_rounding.
4657 (input_flags): Add xfail-rounding.
4658 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4659 (output_for_one_input_case): Handle flag_xfail_rounding.
4660 * sysdeps/i386/fpu/libm-test-ulps: Update.
4661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4663 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4666 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4669 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4672 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4673 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4674 (STAP_PROBE0): New macro.
4675 (STAP_PROBE1): Likewise.
4676 (STAP_PROBE2): Likewise.
4677 (STAP_PROBE3): Likewise.
4678 (STAP_PROBE4): Likewise.
4680 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4682 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4684 2013-12-02 Steve Ellcey <sellcey@mips.com>
4686 * benchtests/Makefile (bench): Add sqrt.
4687 (LDLIBS-bench-sqrt): New.
4688 * benchtests/sqrt-input: New.
4690 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4692 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4693 (GAIH_EAI): Likewise.
4694 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4695 (gaih_inet): Likewise.
4696 (getaddrinfo): Don't use GAIH_EAI.
4698 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4699 (struct gaih): Remove definition.
4701 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4703 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4704 Use HERRNOP directly.
4706 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4710 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4712 * math/gen-auto-libm-tests.c (test_functions): Add more
4713 single-argument functions.
4714 (special_fill_pi_2): New function.
4715 (special_fill_minus_pi_2): Likewise.
4716 (special_fill_pi_6): Likewise.
4717 (special_fill_minus_pi_6): Likewise.
4718 (special_fill_pi_3): Likewise.
4719 (special_fill_2pi_3): Likewise.
4720 (special_fill_e): Likewise.
4721 (special_fill_1_e): Likewise.
4722 (special_fill_e_minus_1): Likewise.
4723 (special_real_inputs): Add more special inputs.
4724 (output_for_one_input_case): Do not require ERANGE on underflow to
4725 zero if round-to-nearest result does not underflow to zero, unless
4726 exact results required.
4727 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4728 atan, atanh, cbrt, cos and cosh.
4729 * math/auto-libm-test-out: Regenerated.
4730 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4731 (acos_tonearest_test_data): Likewise.
4732 (acos_towardzero_test_data): Likewise.
4733 (acos_downward_test_data): Likewise.
4734 (acos_upward_test_data): Likewise.
4735 (acosh_test_data): Likewise.
4736 (asin_test_data): Likewise.
4737 (asin_tonearest_test_data): Likewise.
4738 (asin_towardzero_test_data): Likewise.
4739 (asin_upward_test_data): Likewise.
4740 (asinh_test_data): Likewise.
4741 (atan_test_data): Likewise.
4742 (atanh_test_data): Likewise.
4743 (cbrt_test_data): Likewise.
4744 (cos_test_data): Likewise.
4745 (cos_tonearest_test_data): Likewise.
4746 (cos_towardzero_test_data): Likewise.
4747 (cos_downward_test_data): Likewise.
4748 (cos_upward_test_data): Likewise.
4749 (cosh_test_data): Likewise.
4750 (cosh_tonearest_test_data): Likewise.
4751 (cosh_towardzero_test_data): Likewise.
4752 (cosh_downward_test_data): Likewise.
4753 (cosh_upward_test_data): Likewise.
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4757 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4760 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4761 * math/w_exp10f.c (__exp10f): Likewise.
4762 * math/w_exp10l.c (__exp10l): Likewise.
4763 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4764 errno settings in existing tests.
4767 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4768 precision control set to double precision.
4769 * sysdeps/i386/fpu/w_sqrt.c: New file.
4770 * math/auto-libm-test-in: Add more tests.
4771 * math/auto-libm-test-out: Update.
4773 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4774 (sqrt_test_tonearest): New function.
4775 (sqrt_towardzero_test_data): New variable.
4776 (sqrt_test_towardzero): New function.
4777 (sqrt_downward_test_data): New variable.
4778 (sqrt_test_downward): New function.
4779 (sqrt_upward_test_data): New variable.
4780 (sqrt_test_upward): New function.
4781 (main): Call the new functions.
4783 * math/gen-auto-libm-tests.c: New file.
4784 * math/auto-libm-test-in: Likewise.
4785 * math/auto-libm-test-out: New generated file.
4786 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4788 (%beautify): Add generated representations of zero.
4789 (top level): Set $auto_input and call parse_auto_input.
4790 (beautify): Remove trailing "f" from hex float constants.
4791 (parse_args): Handle XFAIL_TEST.
4792 (convert_condition): New function.
4793 (or_value): Likewise.
4794 (or_cond_value): Likewise.
4795 (generate_testfile): Handle AUTO_TESTS_* lines.
4796 (parse_auto_input): New function.
4797 * math/libm-test.inc (XFAIL_TEST): New macro.
4798 (ERRNO_UNCHANGED): Update value.
4799 (ERRNO_EDOM): Likewise.
4800 (ERRNO_ERANGE): Likewise.
4801 (IGNORE_RESULT): Likewise.
4802 (TEST_COND_flt_32): New macro.
4803 (TEST_COND_dbl_64): Likewise.
4804 (TEST_COND_ldbl_96_intel): Likewise.
4805 (TEST_COND_ldbl_96_m68k): Likewise.
4806 (TEST_COND_ldbl_128): Likewise.
4807 (TEST_COND_ldbl_128ibm): Likewise.
4808 (TEST_COND_long32): Likewise.
4809 (TEST_COND_long64): Likewise.
4810 (TEST_COND_before_rounding): Likewise.
4811 (TEST_COND_after_rounding): Likewise.
4812 (enable_test): Handle XFAIL_TEST flag.
4813 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4814 with finite results.
4815 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4818 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4819 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4822 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4823 __tls_get_addr_internal instead of __tls_get_offset in order to
4824 avoid GOT pointer dependency. Make rtld export
4825 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4826 __tls_get_addr since we are a __tls_get_offset platform.
4827 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4828 GOT pointer being set up before.
4829 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4831 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4833 * manual/math.texi (Errors in Math Functions): Document accuracy
4837 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4838 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4841 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4854 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4855 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4856 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4857 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4858 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4860 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4862 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4864 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4865 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4866 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4867 atomic-feupdateenv and flt-rounds.
4868 * sysdeps/powerpc/nofpu/Versions (libc): Add
4869 __atomic_feholdexcept, __atomic_feclearexcept,
4870 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4871 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4872 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4873 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4874 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4879 * manual/arith.texi (FP Exceptions): Document that exceptions may
4880 not be raised when matherr is used.
4881 (Math Error Reporting): Document overflow in directed rounding
4882 modes. Document that errno may not be set when finite values are
4883 returned on overflow. Document intent to set errno on underflow
4884 only for underflow to zero.
4887 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4888 round-to-nearest then adjust result for other rounding modes.
4889 * include/fenv.h (fegetround): Use libm_hidden_proto.
4890 * math/fegetround.c (fegetround): Use libm_hidden_def.
4891 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4892 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4893 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4894 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4896 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4897 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4898 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4899 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4901 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4904 * nss/Versions (libnss_files): Add
4905 _nss_files_gethostbyname3_r.
4906 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4908 (HOST_DB_LOOKUP): Remove macro.
4909 (_nss_files_gethostbyname_r): Implement function without the
4910 HOST_DB_LOOKUP macro.
4911 (_nss_files_gethostbyname2_r): Likewise.
4913 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4915 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4917 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4919 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4920 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4923 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4925 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4926 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4927 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4928 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4929 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4930 __fe_nomask_env_priv and attribute_hidden.
4931 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4932 (libc_feupdateenv_test_ppc): Likewise.
4933 (libc_feresetround_ppc): Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4935 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4936 compat_symbol macro.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4938 (__fe_nomask_env): Likewise.
4939 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4941 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4943 * string/Makefile: Remove ifunc tests.
4944 * string/test-string.h: Define TEST_IFUNC.
4945 * string/test-bcopy-ifunc.c: Remove.
4946 * string/test-bzero-ifunc.c: Likewise.
4947 * string/test-memccpy-ifunc.c: Likewise.
4948 * string/test-memchr-ifunc.c: Likewise.
4949 * string/test-memcmp-ifunc.c: Likewise.
4950 * string/test-memcpy-ifunc.c: Likewise.
4951 * string/test-memmem-ifunc.c: Likewise.
4952 * string/test-memmove-ifunc.c: Likewise.
4953 * string/test-mempcpy-ifunc.c: Likewise.
4954 * string/test-memrchr-ifunc.c: Likewise.
4955 * string/test-memset-ifunc.c: Likewise.
4956 * string/test-rawmemchr-ifunc.c: Likewise.
4957 * string/test-stpcpy-ifunc.c: Likewise.
4958 * string/test-stpncpy-ifunc.c: Likewise.
4959 * string/test-strcasecmp-ifunc.c: Likewise.
4960 * string/test-strcasestr-ifunc.c: Likewise.
4961 * string/test-strcat-ifunc.c: Likewise.
4962 * string/test-strchr-ifunc.c: Likewise.
4963 * string/test-strchrnul-ifunc.c: Likewise.
4964 * string/test-strcmp-ifunc.c: Likewise.
4965 * string/test-strcpy-ifunc.c: Likewise.
4966 * string/test-strcspn-ifunc.c: Likewise.
4967 * string/test-strlen-ifunc.c: Likewise.
4968 * string/test-strncasecmp-ifunc.c: Likewise.
4969 * string/test-strncat-ifunc.c: Likewise.
4970 * string/test-strncmp-ifunc.c: Likewise.
4971 * string/test-strncpy-ifunc.c: Likewise.
4972 * string/test-strnlen-ifunc.c: Likewise.
4973 * string/test-strpbrk-ifunc.c: Likewise.
4974 * string/test-strrchr-ifunc.c: Likewise.
4975 * string/test-strspn-ifunc.c: Likewise.
4976 * string/test-strstr-ifunc.c: Likewise.
4978 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4980 * benchtests/Makefile: Remove ifunc tests.
4981 * benchtests/bench-string.h: Define TEST_IFUNC.
4982 * benchtests/bench-bcopy-ifunc.c: Remove.
4983 * benchtests/bench-bzero-ifunc.c: Likewise.
4984 * benchtests/bench-memccpy-ifunc.c: Likewise.
4985 * benchtests/bench-memchr-ifunc.c: Likewise.
4986 * benchtests/bench-memcmp-ifunc.c: Likewise.
4987 * benchtests/bench-memcpy-ifunc.c: Likewise.
4988 * benchtests/bench-memmem-ifunc.c: Likewise.
4989 * benchtests/bench-memmove-ifunc.c: Likewise.
4990 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4991 * benchtests/bench-memrchr-ifunc.c: Likewise.
4992 * benchtests/bench-memset-ifunc.c: Likewise.
4993 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4994 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4995 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4996 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4997 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4998 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4999 * benchtests/bench-strcat-ifunc.c: Likewise.
5000 * benchtests/bench-strchr-ifunc.c: Likewise.
5001 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5002 * benchtests/bench-strcmp-ifunc.c: Likewise.
5003 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5004 * benchtests/bench-strcpy-ifunc.c: Likewise.
5005 * benchtests/bench-strcspn-ifunc.c: Likewise.
5006 * benchtests/bench-strlen-ifunc.c: Likewise.
5007 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5008 * benchtests/bench-strncat-ifunc.c: Likewise.
5009 * benchtests/bench-strncmp-ifunc.c: Likewise.
5010 * benchtests/bench-strncpy-ifunc.c: Likewise.
5011 * benchtests/bench-strnlen-ifunc.c: Likewise.
5012 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5013 * benchtests/bench-strrchr-ifunc.c: Likewise.
5014 * benchtests/bench-strsep-ifunc.c: Likewise.
5015 * benchtests/bench-strspn-ifunc.c: Likewise.
5016 * benchtests/bench-strstr-ifunc.c: Likewise.
5018 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5020 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5022 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5024 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5025 * rt/aio.h: Likewise.
5026 * sysdeps/gnu/bits/utmp.h: Likewise.
5027 * sysdeps/gnu/bits/utmpx.h: Likewise.
5028 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5029 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5030 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5031 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5032 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5033 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5034 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5035 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5036 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5037 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5039 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5042 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5043 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5044 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5045 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5046 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5047 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5048 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5049 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5050 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5051 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5052 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5054 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5056 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5058 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5059 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5061 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5062 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5063 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5064 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5065 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5066 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5067 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5068 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5069 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5071 2013-11-25 Carlos O'Donell <carlos@redhat.com>
5074 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5075 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5077 2013-11-25 Joseph Myers <joseph@codesourcery.com>
5079 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5080 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5083 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5086 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5087 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5088 (__fesetround): Remove define.
5089 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5090 rounding and exceptions handling.
5091 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5092 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5093 (__fe_nomask_env): Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5095 __fegetround instead of fegetround.
5096 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5099 2013-11-21 Roland McGrath <roland@hack.frob.com>
5101 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5104 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5106 2013-11-21 Meador Inge <meadori@codesourcery.com>
5109 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5110 (encrypt_r): Likewise.
5111 * malloc/obstack.h (obstack_free): Likewise.
5112 * posix/unistd.h (encrypt): Likewise.
5114 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5116 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5117 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5118 DL_CALL_DT_FINI() that call the functions directly.
5119 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5120 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5121 * elf/dl-fini.c: Likewise.
5123 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5125 * malloc/hooks.c (memalign_check): Add alignment rounding.
5126 * malloc/malloc.c (_mid_memalign): New function.
5127 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5128 Implement by calling _mid_memalign.
5129 * manual/probes.texi (Memory Allocation Probes): Remove
5130 memory_valloc_retry and memory_pvalloc_retry.
5132 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5134 * locale/programs/locarchive.c (open_archive): Add const
5135 qualifier to ARCHIVEFNAME and copy default fname to
5139 * libio/tst-widetext.input: Rename Oriya to Odia.
5140 * locale/iso-639.def: Likewise.
5142 * manual/probes.texi (Mathematical Function Probes): Add
5143 documentation for sin, cos, asin and acos probes.
5144 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5145 (__sin32): Add slowasin probe.
5146 (__cos32): Add slowacos probe.
5147 (__mpsin): Add slowsin probe.
5148 (__mpcos): Add slowcos probe.
5150 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5153 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5154 thread-local __sim_exceptions_thread and global
5155 __sim_exceptions_global.
5156 (__sim_disabled_exceptions): Change to thread-local
5157 __sim_disabled_exceptions_thread and global
5158 __sim_disabled_exceptions_global.
5159 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5160 and global __sim_round_mode_global.
5161 (__simulate_exceptions): Use thread-local floating-point state and
5162 set global state from it as needed.
5163 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5164 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5165 __sim_round_mode_thread.
5166 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5167 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5168 and global __sim_exceptions_global.
5169 (__sim_disabled_exceptions): Change to thread-local
5170 __sim_disabled_exceptions_thread and global
5171 __sim_disabled_exceptions_global.
5172 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5173 and global __sim_round_mode_global.
5174 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5175 (SIM_SET_GLOBAL): Likewise.
5176 * sysdeps/powerpc/soft-fp/sfp-machine.h
5177 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5178 __sim_round_mode_thread.
5179 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5180 __sim_disabled_exceptions_thread.
5181 (__sim_exceptions): Change to __sim_exceptions_thread.
5182 (__sim_disabled_exceptions): Change to
5183 __sim_disabled_exceptions_thread.
5184 (__sim_round_mode): Change to __sim_round_mode_thread.
5185 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5186 thread-local floating-point state and set global state from it as
5188 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5189 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5190 (__sim_disabled_exceptions): Remove extern declaration.
5191 (feenableexcept): Use thread-local floating-point state and set
5192 global state from it as needed.
5193 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5195 (__sim_disabled_exceptions): Likewise.
5196 (__sim_round_mode): Likewise.
5197 (__fegetenv): Use thread-local floating-point state.
5198 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5199 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5200 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5201 floating-point state and set global state from it as needed.
5202 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5203 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5204 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5206 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5207 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5209 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5210 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5211 Use __sim_round_mode_thread.
5212 * math/test-fenv-tls.c: New file.
5213 * math/Makefile (tests): Add test-fenv-tls.
5214 ($(objpfx)test-fenv-tls): Depend on
5215 $(common-objpfx)nptl/libpthread.so.
5217 2013-11-19 Andreas Schwab <schwab@suse.de>
5219 * locale/programs/locale.c (show_info): Decode wordarray elements.
5220 * locale/categories.def (LC_MONETARY): Add element for
5221 _NL_MONETARY_CRNCYSTR.
5222 * locale/C-monetary.c (conversion_rate): New variable.
5223 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5226 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5228 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5229 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5231 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5233 * elf/Makefile (tst-auxv): New test.
5234 * elf/tst-auxv.c: New
5235 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5237 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5239 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5240 (hidden_proto): Caller changed.
5241 (hidden_tls_proto): New macro.
5242 (libc_hidden_tls_proto): Likewise.
5243 (rtld_hidden_tls_proto): Likewise.
5244 (libm_hidden_tls_proto): Likewise.
5245 (libresolv_hidden_tls_proto): Likewise.
5246 (librt_hidden_tls_proto): Likewise.
5247 (libdl_hidden_tls_proto): Likewise.
5248 (libnss_files_hidden_tls_proto): Likewise.
5249 (libnsl_hidden_tls_proto): Likewise.
5250 (libnss_nisplus_hidden_tls_proto): Likewise.
5251 (libutil_hidden_tls_proto): Likewise.
5253 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5256 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5257 (decompose_rpath): Defer expansion to fillin_rpath.
5258 (_dl_init_paths): Pass linkmap to fillin_rpath.
5260 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5262 * benchtests/Makefile: Add strsep.
5263 * benchtests/bench-strsep.c: New file: strsep benchtest.
5264 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5266 2013-11-18 Andreas Schwab <schwab@suse.de>
5268 * locale/programs/locale.c (show_info) [case byte]: Check for
5269 '\377' instead of '\177'.
5270 * locale/C-monetary.c (not_available): Always use "\377".
5271 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5272 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5273 detect unavailable sign_posn locale elements.
5274 * locale/localeconv.c (__localeconv): For grouping and
5275 mon_grouping handle "\177" and "\377" like no grouping.
5276 (INT_ELEM): New macro. Use it to set all numeric members.
5277 * locale/programs/ld-monetary.c (monetary_read)
5278 <tok_mon_grouping>: Normalize single -1 to the empty string.
5279 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5282 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5286 when we match (nil).
5287 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5289 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5291 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5292 (NO_TEST_INLINE): Update value.
5293 (ERRNO_UNCHANGED): Likewise.
5294 (ERRNO_EDOM): Likewise.
5295 (ERRNO_ERANGE): Likewise.
5296 (IGNORE_RESULT): Likewise.
5297 (check_float_internal): Check signs of NaN results if
5299 (check_complex): Pass TEST_NAN_SIGN flag through to second
5300 check_float_internal call.
5301 (copysign_test_data): Add tests with quiet NaNs as second
5302 argument. Use TEST_NAN_SIGN.
5303 (fabs_test_data): Add test of negative quiet NaN argument. Use
5305 (signbit_test_data): Add tests of quiet NaN argument.
5306 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5308 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5310 (parse_args): Handle function results specified as IGNORE.
5311 * math/libm-test.inc (IGNORE_RESULT): New macro.
5312 (check_float_internal): Do not check numerical result if flag
5314 (check_complex): Pass through IGNORE_RESULT to second
5315 check_float_internal call.
5316 (check_int): Do not check numerical result if flag IGNORE_RESULT
5318 (check_long): Likewise.
5319 (check_bool): Likewise.
5320 (check_longlong): Likewise.
5321 (lrint_test_data): Add tests of infinite and NaN arguments.
5322 (lrint_tonearest_test_data): Likewise.
5323 (lrint_towardzero_test_data): Likewise.
5324 (lrint_downward_test_data): Likewise.
5325 (lrint_upward_test_data): Likewise.
5326 (llrint_test_data): Likewise.
5327 (llrint_tonearest_test_data): Likewise.
5328 (llrint_towardzero_test_data): Likewise.
5329 (llrint_downward_test_data): Likewise.
5330 (llrint_upward_test_data): Likewise.
5331 (lround_test_data): Likewise.
5332 (llround_test_data): Likewise.
5334 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5335 (ERRNO_UNCHANGED): Update value.
5336 (ERRNO_EDOM): Likewise.
5337 (ERRNO_ERANGE): Likewise.
5338 (NO_TEST_INLINE_FLOAT): New macro.
5339 (NO_TEST_INLINE_DOUBLE): Likewise.
5340 (enable_test): New function.
5341 (RUN_TEST_f_f): Check enable_test before running test.
5342 (RUN_TEST_2_f): Likewise.
5343 (RUN_TEST_fff_f): Likewise.
5344 (RUN_TEST_c_f): Likewise.
5345 (RUN_TEST_f_f1): Likewise.
5346 (RUN_TEST_fF_f1): Likewise.
5347 (RUN_TEST_fI_f1): Likewise.
5348 (RUN_TEST_ffI_f1): Likewise.
5349 (RUN_TEST_c_c): Likewise.
5350 (RUN_TEST_cc_c): Likewise.
5351 (RUN_TEST_f_i): Likewise.
5352 (RUN_TEST_f_i_tg): Likewise.
5353 (RUN_TEST_ff_i_tg): Likewise.
5354 (RUN_TEST_f_b): Likewise.
5355 (RUN_TEST_f_b_tg): Likewise.
5356 (RUN_TEST_f_l): Likewise.
5357 (RUN_TEST_f_L): Likewise.
5358 (RUN_TEST_fFF_11): Likewise.
5359 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5361 (cosh_test_data): Likewise.
5362 (exp_test_data): Likewise.
5363 (expm1_test_data): Likewise.
5364 (hypot_test_data): Likewise.
5365 (pow_test_data): Likewise.
5366 (sinh_test_data): Likewise.
5367 (tanh_test_data): Likewise.
5368 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5371 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5372 tests with quiet NaN input and output.
5373 (acosh_test_data): Likewise.
5374 (asin_test_data): Likewise.
5375 (asinh_test_data): Likewise.
5376 (atan_test_data): Likewise.
5377 (atanh_test_data): Likewise.
5378 (atan2_test_data): Likewise.
5379 (cbrt_test_data): Likewise.
5380 (cos_test_data): Likewise.
5381 (cosh_test_data): Likewise.
5382 (erf_test_data): Likewise.
5383 (erfc_test_data): Likewise.
5384 (exp_test_data): Likewise.
5385 (exp10_test_data): Likewise.
5386 (exp2_test_data): Likewise.
5387 (expm1_test_data): Likewise.
5388 (hypot_test_data): Likewise.
5389 (j0_test_data): Likewise.
5390 (j1_test_data): Likewise.
5391 (jn_test_data): Likewise.
5392 (lgamma_test_data): Likewise.
5393 (log_test_data): Likewise.
5394 (log10_test_data): Likewise.
5395 (log1p_test_data): Likewise.
5396 (log2_test_data): Likewise.
5397 (pow_test_data): Likewise.
5398 (scalb_test_data): Likewise.
5399 (sin_test_data): Likewise.
5400 (sincos_test_data): Likewise.
5401 (sinh_test_data): Likewise.
5402 (tan_test_data): Likewise.
5403 (tanh_test_data): Likewise.
5404 (tgamma_test_data): Likewise.
5405 (y0_test_data): Likewise.
5406 (y1_test_data): Likewise.
5407 (yn_test_data): Likewise.
5410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5411 argument being NaN and avoid computations with second argument in
5413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5414 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5415 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5417 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5419 * locale/iso-639.def: Add Chitwani Tharu (the).
5421 2013-11-14 Andreas Schwab <schwab@suse.de>
5423 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5424 word instead of empty string.
5426 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5429 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5431 (__fe_nomask_env): Likewise.
5433 2013-11-13 Steve Ellcey <sellcey@mips.com>
5435 * benchtests/bench-timing.h: Include time.h.
5437 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5440 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5442 * sysdeps/unix/sysv/linux/configure: Regenerated.
5444 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5447 * stdlib/strtod_l.c (round_and_return): Do not consider
5448 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5449 exponent one less than half the least subnormal exponent.
5450 * stdlib/test-strtod-round-data: Add more tests.
5451 * stdlib/tst-strtod-round.c (tests): Regenerated.
5453 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5456 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5457 (__fe_mask_env): Likewise.
5458 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5459 libm_hidden_proto and add function prototype.
5460 (__fe_mask_env): Add function prototype.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5462 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5464 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5466 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5468 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5470 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5471 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5473 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5475 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5476 of htab_find_slot().
5478 2013-11-11 David S. Miller <davem@davemloft.net>
5481 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5482 symbol in the non-vis3 case in static builds.
5483 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5484 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5485 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5486 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5488 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5491 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5494 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496 * benchtests/Makefile: Add bench-strtod.
5497 * benchtests/bench-strtod.c: New file: strtod benchtest
5499 2013-11-11 Andreas Schwab <schwab@suse.de>
5502 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5503 terminating NUL in key length.
5505 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5508 Add artificial ODP entry for vDSO symbol for PPC64.
5509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5510 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5512 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5515 * nss/getent.c (services_keys): Recognize services starting with digit.
5517 2013-11-06 David S. Miller <davem@davemloft.net>
5520 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5521 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5523 2013-11-06 Will Newton <will.newton@linaro.org>
5525 * manual/memory.texi (Malloc Examples): Remove register
5526 keyword from examples.
5528 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5530 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5532 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5535 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5536 depending on [__GCC_IEC_559 > 0].
5537 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5538 depending on [__GCC_IEC_559_COMPLEX > 0].
5540 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5542 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5545 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5547 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5549 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5552 * malloc/malloc (malloc_info): Do not handle first bin as
5555 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5557 * locale/iso-639.def: Add Central Nahuatl (nhn).
5559 2013-11-01 Bruno Haible <bruno@clisp.org>
5562 * manual/math.texi (BSD Random): Specify range upper bound as
5565 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5567 * locale/iso-639.def: Add Meadow Mari (mhr).
5569 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5571 [BZ #14752], [BZ #15763]
5572 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5574 * rt/tst_shm.c: Add test for escaping directory.
5576 2013-10-31 Andreas Schwab <schwab@suse.de>
5579 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5580 followed by 'x' as part of digit sequence.
5581 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5583 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5586 * configure.ac: allow GNU Make 4.0 and greater.
5587 * configure: Regenerated.
5589 2013-10-30 Will Newton <will.newton@linaro.org>
5592 * malloc/hooks.c (memalign_check): Limit alignment to the
5593 maximum representable power of two.
5594 * malloc/malloc.c (__libc_memalign): Likewise.
5595 * malloc/tst-memalign.c (do_test): Add test for very
5596 large alignment values.
5597 * malloc/tst-posix_memalign.c (do_test): Likewise.
5599 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5602 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5603 (munmap_chunk): Likewise.
5604 (mremap_chunk): Likewise.
5606 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5609 * stdlib/div.c (div): Remove obsolete code.
5610 * stdlib/ldiv.c (ldiv): Likewise.
5611 * stdlib/lldiv.c (lldiv): Likewise.
5613 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5616 * nss/nss_files/files-XXX.c (get_contents_ret): New
5618 (get_contents): New function.
5619 (internal_getent): Use it. Expand size of LINEBUFLEN.
5621 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5623 * configure.in: Moved to ...
5624 * configure.ac: ... here. Change reference to configure.in
5626 * sysdeps/arm/preconfigure.ac: ... here.
5627 configure.in to configure.ac.
5628 * sysdeps/gnu/configure.in: Moved to ...
5629 * sysdeps/gnu/configure.ac: ... here.
5630 * sysdeps/i386/configure.in: Moved to ...
5631 * sysdeps/i386/configure.ac: ... here.
5632 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5633 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5634 * sysdeps/mach/configure.in: Moved to ...
5635 * sysdeps/mach/configure.ac: ... here.
5636 * sysdeps/mach/hurd/configure.in: Moved to ...
5637 * sysdeps/mach/hurd/configure.ac: ... here.
5638 * sysdeps/powerpc/configure.in: Moved to ...
5639 * sysdeps/powerpc/configure.ac: ... here.
5640 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5641 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5642 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5643 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5644 * sysdeps/s390/s390-32/configure.in: Moved to ...
5645 * sysdeps/s390/s390-32/configure.ac: ... here.
5646 * sysdeps/s390/s390-64/configure.in: Moved to ...
5647 * sysdeps/s390/s390-64/configure.ac: ... here.
5648 * sysdeps/sh/configure.in: Moved to ...
5649 * sysdeps/sh/configure.ac: ... here.
5650 * sysdeps/sparc/configure.in: Moved to ...
5651 * sysdeps/sparc/configure.ac: ... here.
5652 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5653 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5654 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5655 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5656 * sysdeps/x86_64/configure.in: Moved to ...
5657 * sysdeps/x86_64/configure.ac: ... here.
5658 * sysdeps/x86_64/preconfigure.in: Moved to ...
5659 * sysdeps/x86_64/preconfigure.ac: ... here.
5660 * aclocal.m4: Change reference to configure.in to configure.ac.
5661 * config.h.in: Likewise.
5662 * manual/install.texi: Likewise.
5663 * manual/maint.texi: Likewise.
5664 * Makefile: Likewise.
5665 * malloc/Makefile: Likewise.
5666 * nscd/Makefile: Likewise.
5667 * Makeconfig: Change reference to configure.in and
5668 preconfigure.in to configure.ac and preconfigure.ac
5670 * INSTALL: Regenerated.
5671 * configure: Likewise.
5672 * sysdeps/gnu/configure: Likewise.
5673 * sysdeps/i386/configure: Likewise.
5674 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5675 * sysdeps/mach/configure: Likewise.
5676 * sysdeps/mach/hurd/configure: Likewise.
5677 * sysdeps/powerpc/configure: Likewise.
5678 * sysdeps/powerpc/powerpc32/configure: Likewise.
5679 * sysdeps/powerpc/powerpc64/configure: Likewise.
5680 * sysdeps/s390/s390-32/configure: Likewise.
5681 * sysdeps/s390/s390-64/configure: Likewise.
5682 * sysdeps/sh/configure: Likewise.
5683 * sysdeps/sparc/configure: Likewise.
5684 * sysdeps/unix/sysv/linux/configure: Likewise.
5685 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5686 * sysdeps/x86_64/configure: Likewise.
5687 * sysdeps/x86_64/preconfigure: Likewise.
5689 2013-10-29 Andreas Schwab <schwab@suse.de>
5691 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5693 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5695 * benchtests/pow-inputs: Add new inputs.
5697 * benchtests/exp-inputs: Add new inputs.
5699 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5700 conditional check for return value.
5701 (__cos32): Likewise.
5703 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5706 to provide a boost for large inputs with word alignment.
5707 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5708 implementation based on optimized PPC64 strcpy.
5709 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5710 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5711 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5712 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5714 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5717 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5719 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5722 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5723 * time/tst-strptime.c (day_tests): Add testcase.
5725 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5728 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5730 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5733 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5734 MAP_FAILED on error.
5736 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5739 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5740 heap for large requests.
5742 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5745 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5746 result if the result has no associated interface.
5747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5748 interface for all 127.X.Y.Z addresses.
5750 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5752 * locale/iso-639.def: Add Ligurian (lij)
5754 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5757 * sunrpc/rpc_main.c: Document rpcgen -5.
5759 2013-10-19 Michael Stahl <mstahl@redhat.com>
5761 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5763 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5766 * posix/glob.c: Match only directories when trailing slash is present.
5767 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5768 (main): Add testcase.
5770 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5773 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5775 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5777 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5778 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5779 AUTH_DES and cindex for FIPS 140-2.
5780 (DES Encryption): Add cindex FIPS 46-3.
5782 * locale/locarchive.h (struct locarhandle): Add fname.
5783 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5784 if an optional argument was specified to --list-archive,
5786 * locale/programs/locarchive.c (show_archive_content): Take new
5787 argument fname and pass it via ah.fname to open_archive.
5788 * locale/programs/localedef.h: Update decl.
5789 (open_archive): If AH->fname is non-null, open that file
5790 rather than the default file name, and don't ignore ENOENT.
5791 (create_archive): Set AH.fname to NULL.
5792 (delete_locales_from_archive): Likewise.
5793 (add_locales_to_archive): Likewise.
5794 * locale/programs/locfile.c (write_all_categories): Likewise.
5796 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5797 Aldy Hernandez <aldyh@redhat.com>
5799 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5800 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5801 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5802 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5803 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5804 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5805 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5806 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5807 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5808 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5809 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5810 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5811 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5812 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5813 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5815 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5817 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5819 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5821 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5824 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5825 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5826 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5827 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5829 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5830 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5831 * sysdeps/powerpc/preconfigure: Likewise.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5834 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5835 Replace contents of file by #include of <fenv_libc.h>.
5836 * sysdeps/powerpc/soft-fp/sfp-machine.h
5837 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5839 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5840 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5843 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5844 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5846 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5847 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5852 Allow copysignl PLT reference to be missing.
5854 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5855 Joseph Myers <joseph@codesourcery.com
5858 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5860 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5862 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5864 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5865 * elf/tst-tls1.c: Likewise.
5866 * elf/tst-tls10.h: Likewise.
5867 * elf/tst-tls14.c: Likewise.
5868 * elf/tst-tls2.c: Likewise.
5869 * elf/tst-tls3.c: Likewise.
5870 * elf/tst-tls4.c: Likewise.
5871 * elf/tst-tls5.c: Likewise.
5872 * elf/tst-tls6.c: Likewise.
5873 * elf/tst-tls7.c: Likewise.
5874 * elf/tst-tls8.c: Likewise.
5875 * elf/tst-tls9.c: Likewise.
5876 * elf/tst-tlsmod1.c: Likewise.
5877 * elf/tst-tlsmod13.c: Likewise.
5878 * elf/tst-tlsmod13a.c: Likewise.
5879 * elf/tst-tlsmod14a.c: Likewise.
5880 * elf/tst-tlsmod16a.c: Likewise.
5881 * elf/tst-tlsmod16b.c: Likewise.
5882 * elf/tst-tlsmod2.c: Likewise.
5883 * elf/tst-tlsmod3.c: Likewise.
5884 * elf/tst-tlsmod4.c: Likewise.
5885 * elf/tst-tlsmod5.c: Likewise.
5886 * elf/tst-tlsmod6.c: Likewise.
5888 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5891 * malloc/malloc.c: remove checks for statistics.
5893 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5896 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5897 * inet/tst-network.c: Add testcase.
5899 2013-10-17 Andreas Schwab <schwab@suse.de>
5902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5903 to determine canonical name.
5905 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5907 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5908 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5931 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5932 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5937 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5938 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5966 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5969 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5970 make result into a quiet NaN.
5972 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5974 * soft-fp/adddf3.c: Fix horizontal whitespace.
5975 * soft-fp/addsf3.c: Likewise.
5976 * soft-fp/addtf3.c: Likewise.
5977 * soft-fp/divdf3.c: Likewise.
5978 * soft-fp/divsf3.c: Likewise.
5979 * soft-fp/divtf3.c: Likewise.
5980 * soft-fp/double.h: Likewise.
5981 * soft-fp/eqdf2.c: Likewise.
5982 * soft-fp/eqsf2.c: Likewise.
5983 * soft-fp/eqtf2.c: Likewise.
5984 * soft-fp/extenddftf2.c: Likewise.
5985 * soft-fp/extended.h: Likewise.
5986 * soft-fp/extendsfdf2.c: Likewise.
5987 * soft-fp/extendsftf2.c: Likewise.
5988 * soft-fp/extendxftf2.c: Likewise.
5989 * soft-fp/fixdfdi.c: Likewise.
5990 * soft-fp/fixdfsi.c: Likewise.
5991 * soft-fp/fixdfti.c: Likewise.
5992 * soft-fp/fixsfdi.c: Likewise.
5993 * soft-fp/fixsfsi.c: Likewise.
5994 * soft-fp/fixsfti.c: Likewise.
5995 * soft-fp/fixtfdi.c: Likewise.
5996 * soft-fp/fixtfsi.c: Likewise.
5997 * soft-fp/fixtfti.c: Likewise.
5998 * soft-fp/fixunsdfdi.c: Likewise.
5999 * soft-fp/fixunsdfsi.c: Likewise.
6000 * soft-fp/fixunsdfti.c: Likewise.
6001 * soft-fp/fixunssfdi.c: Likewise.
6002 * soft-fp/fixunssfsi.c: Likewise.
6003 * soft-fp/fixunssfti.c: Likewise.
6004 * soft-fp/fixunstfdi.c: Likewise.
6005 * soft-fp/fixunstfsi.c: Likewise.
6006 * soft-fp/fixunstfti.c: Likewise.
6007 * soft-fp/floatdidf.c: Likewise.
6008 * soft-fp/floatdisf.c: Likewise.
6009 * soft-fp/floatditf.c: Likewise.
6010 * soft-fp/floatsidf.c: Likewise.
6011 * soft-fp/floatsisf.c: Likewise.
6012 * soft-fp/floatsitf.c: Likewise.
6013 * soft-fp/floattidf.c: Likewise.
6014 * soft-fp/floattisf.c: Likewise.
6015 * soft-fp/floattitf.c: Likewise.
6016 * soft-fp/floatundidf.c: Likewise.
6017 * soft-fp/floatundisf.c: Likewise.
6018 * soft-fp/floatunditf.c: Likewise.
6019 * soft-fp/floatunsidf.c: Likewise.
6020 * soft-fp/floatunsisf.c: Likewise.
6021 * soft-fp/floatunsitf.c: Likewise.
6022 * soft-fp/floatuntidf.c: Likewise.
6023 * soft-fp/floatuntisf.c: Likewise.
6024 * soft-fp/floatuntitf.c: Likewise.
6025 * soft-fp/fmadf4.c: Likewise.
6026 * soft-fp/fmasf4.c: Likewise.
6027 * soft-fp/fmatf4.c: Likewise.
6028 * soft-fp/gedf2.c: Likewise.
6029 * soft-fp/gesf2.c: Likewise.
6030 * soft-fp/getf2.c: Likewise.
6031 * soft-fp/ledf2.c: Likewise.
6032 * soft-fp/lesf2.c: Likewise.
6033 * soft-fp/letf2.c: Likewise.
6034 * soft-fp/muldf3.c: Likewise.
6035 * soft-fp/mulsf3.c: Likewise.
6036 * soft-fp/multf3.c: Likewise.
6037 * soft-fp/negdf2.c: Likewise.
6038 * soft-fp/negsf2.c: Likewise.
6039 * soft-fp/negtf2.c: Likewise.
6040 * soft-fp/op-1.h: Likewise.
6041 * soft-fp/op-2.h: Likewise.
6042 * soft-fp/op-4.h: Likewise.
6043 * soft-fp/op-8.h: Likewise.
6044 * soft-fp/op-common.h: Likewise.
6045 * soft-fp/quad.h: Likewise.
6046 * soft-fp/single.h: Likewise.
6047 * soft-fp/soft-fp.h: Likewise.
6048 * soft-fp/sqrtdf2.c: Likewise.
6049 * soft-fp/sqrtsf2.c: Likewise.
6050 * soft-fp/sqrttf2.c: Likewise.
6051 * soft-fp/subdf3.c: Likewise.
6052 * soft-fp/subsf3.c: Likewise.
6053 * soft-fp/subtf3.c: Likewise.
6054 * soft-fp/truncdfsf2.c: Likewise.
6055 * soft-fp/trunctfdf2.c: Likewise.
6056 * soft-fp/trunctfsf2.c: Likewise.
6057 * soft-fp/trunctfxf2.c: Likewise.
6058 * soft-fp/unorddf2.c: Likewise.
6059 * soft-fp/unordsf2.c: Likewise.
6060 * soft-fp/unordtf2.c: Likewise.
6062 2013-10-15 Joseph Myers <joseph@codesourcery.com>
6064 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6065 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6067 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
6069 * elf/dl-libc.c: Clear initfini list after freeing.
6071 2013-10-14 Joseph Myers <joseph@codesourcery.com>
6073 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6074 * soft-fp/addsf3.c: Likewise.
6075 * soft-fp/addtf3.c: Likewise.
6076 * soft-fp/divdf3.c: Likewise.
6077 * soft-fp/divsf3.c: Likewise.
6078 * soft-fp/divtf3.c: Likewise.
6079 * soft-fp/double.h: Likewise.
6080 * soft-fp/eqdf2.c: Likewise.
6081 * soft-fp/eqsf2.c: Likewise.
6082 * soft-fp/eqtf2.c: Likewise.
6083 * soft-fp/extenddftf2.c: Likewise.
6084 * soft-fp/extended.h: Likewise.
6085 * soft-fp/extendsfdf2.c: Likewise.
6086 * soft-fp/extendsftf2.c: Likewise.
6087 * soft-fp/extendxftf2.c: Likewise.
6088 * soft-fp/fixdfdi.c: Likewise.
6089 * soft-fp/fixdfsi.c: Likewise.
6090 * soft-fp/fixdfti.c: Likewise.
6091 * soft-fp/fixsfdi.c: Likewise.
6092 * soft-fp/fixsfsi.c: Likewise.
6093 * soft-fp/fixsfti.c: Likewise.
6094 * soft-fp/fixtfdi.c: Likewise.
6095 * soft-fp/fixtfsi.c: Likewise.
6096 * soft-fp/fixtfti.c: Likewise.
6097 * soft-fp/fixunsdfdi.c: Likewise.
6098 * soft-fp/fixunsdfsi.c: Likewise.
6099 * soft-fp/fixunsdfti.c: Likewise.
6100 * soft-fp/fixunssfdi.c: Likewise.
6101 * soft-fp/fixunssfsi.c: Likewise.
6102 * soft-fp/fixunssfti.c: Likewise.
6103 * soft-fp/fixunstfdi.c: Likewise.
6104 * soft-fp/fixunstfsi.c: Likewise.
6105 * soft-fp/fixunstfti.c: Likewise.
6106 * soft-fp/floatdidf.c: Likewise.
6107 * soft-fp/floatdisf.c: Likewise.
6108 * soft-fp/floatditf.c: Likewise.
6109 * soft-fp/floatsidf.c: Likewise.
6110 * soft-fp/floatsisf.c: Likewise.
6111 * soft-fp/floatsitf.c: Likewise.
6112 * soft-fp/floattidf.c: Likewise.
6113 * soft-fp/floattisf.c: Likewise.
6114 * soft-fp/floattitf.c: Likewise.
6115 * soft-fp/floatundidf.c: Likewise.
6116 * soft-fp/floatundisf.c: Likewise.
6117 * soft-fp/floatunsidf.c: Likewise.
6118 * soft-fp/floatunsisf.c: Likewise.
6119 * soft-fp/floatuntidf.c: Likewise.
6120 * soft-fp/floatuntisf.c: Likewise.
6121 * soft-fp/floatuntitf.c: Likewise.
6122 * soft-fp/fmadf4.c: Likewise.
6123 * soft-fp/fmasf4.c: Likewise.
6124 * soft-fp/fmatf4.c: Likewise.
6125 * soft-fp/gedf2.c: Likewise.
6126 * soft-fp/gesf2.c: Likewise.
6127 * soft-fp/getf2.c: Likewise.
6128 * soft-fp/ledf2.c: Likewise.
6129 * soft-fp/lesf2.c: Likewise.
6130 * soft-fp/letf2.c: Likewise.
6131 * soft-fp/muldf3.c: Likewise.
6132 * soft-fp/mulsf3.c: Likewise.
6133 * soft-fp/multf3.c: Likewise.
6134 * soft-fp/negdf2.c: Likewise.
6135 * soft-fp/negsf2.c: Likewise.
6136 * soft-fp/negtf2.c: Likewise.
6137 * soft-fp/op-1.h: Likewise.
6138 * soft-fp/op-2.h: Likewise.
6139 * soft-fp/op-4.h: Likewise.
6140 * soft-fp/op-8.h: Likewise.
6141 * soft-fp/op-common.h: Likewise.
6142 * soft-fp/quad.h: Likewise.
6143 * soft-fp/single.h: Likewise.
6144 * soft-fp/soft-fp.h: Likewise.
6145 * soft-fp/sqrtdf2.c: Likewise.
6146 * soft-fp/sqrtsf2.c: Likewise.
6147 * soft-fp/sqrttf2.c: Likewise.
6148 * soft-fp/subdf3.c: Likewise.
6149 * soft-fp/subsf3.c: Likewise.
6150 * soft-fp/subtf3.c: Likewise.
6151 * soft-fp/truncdfsf2.c: Likewise.
6152 * soft-fp/trunctfdf2.c: Likewise.
6153 * soft-fp/trunctfsf2.c: Likewise.
6154 * soft-fp/trunctfxf2.c: Likewise.
6155 * soft-fp/unorddf2.c: Likewise.
6156 * soft-fp/unordsf2.c: Likewise.
6157 * soft-fp/unordtf2.c: Likewise.
6159 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6162 * misc/error.c (error_tail): Fix possible buffer overflow.
6164 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6167 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6170 2013-10-14 P. J. McDermott <pj@pehjota.net>
6173 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6174 testing pipefail option.
6176 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6178 * soft-fp/double.h: Indent preprocessor directives inside #if.
6179 * soft-fp/extended.h: Likewise.
6180 * soft-fp/op-2.h: Likewise.
6181 * soft-fp/op-4.h: Likewise.
6182 * soft-fp/op-common.h: Likewise.
6183 * soft-fp/quad.h: Likewise.
6184 * soft-fp/single.h: Likewise.
6185 * soft-fp/soft-fp.h: Likewise.
6187 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6189 * iconv/iconv_prog.c: Fix typos.
6190 * stdio-common/psiginfo-data.h: Likewise.
6192 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6195 * locale/setlocale.c: Fix typo.
6197 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6200 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6201 signaling NaN arguments.
6202 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6203 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6206 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6208 * soft-fp/gesf2.c (__gesf2): Likewise.
6209 * soft-fp/getf2.c (__getf2): Likewise.
6210 * soft-fp/ledf2.c (__ledf2): Likewise.
6211 * soft-fp/lesf2.c (__lesf2): Likewise.
6212 * soft-fp/letf2.c (__letf2): Likewise.
6214 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6215 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6216 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6217 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6218 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6219 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6220 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6221 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6222 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6223 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6224 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6225 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6226 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6227 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6228 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6229 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6230 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6231 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6232 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6233 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6234 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6235 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6236 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6237 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6238 * soft-fp/floattidf.c (__floattidf): Likewise.
6239 * soft-fp/floattisf.c (__floattisf): Likewise.
6240 * soft-fp/floattitf.c (__floattitf): Likewise.
6241 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6242 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6243 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6244 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6245 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6246 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6247 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6248 * soft-fp/gesf2.c (__gesf2): Likewise.
6249 * soft-fp/getf2.c (__getf2): Likewise.
6250 * soft-fp/ledf2.c (__ledf2): Likewise.
6251 * soft-fp/lesf2.c (__lesf2): Likewise.
6252 * soft-fp/letf2.c (__letf2): Likewise.
6254 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6255 Undefine and redefine.
6256 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6257 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6258 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6259 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6260 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6261 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6262 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6263 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6264 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6265 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6266 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6267 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6268 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6269 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6270 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6273 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6274 without decrementing exponent if mantissa >= that for the
6276 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6277 denominator, not >. Decrement exponent in < case instead of
6278 incrementing in >= case.
6279 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6280 without decrementing exponent if mantissa >= that for the
6283 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6284 computing saturated result for unsigned overflow.
6286 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6287 Jeff Law <law@redhat.com>
6289 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6290 (atan2Mp): Add systemtap probe marker.
6291 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6292 (__ieee754_log): Add systemtap probe marker.
6293 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6294 (atanMp): Add systemtap probe marker.
6295 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6296 (tanMp): Add systemtap probe marker.
6297 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6298 (__slowexp): Add systemtap probe marker.
6299 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6300 (__slowpow): Add systemtap probe marker.
6301 * manual/probes.texi: Document probes.
6303 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6306 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6308 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6310 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6311 written to buffer but not flushed.
6312 * libio/iofwrite_u.c: Likewise.
6313 * libio/iopadn.c: Return bytes returned even if EOF was
6315 * libio/iowpadn.c: Likewise.
6316 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6317 if _IO_padn does not write the whole buffer.
6318 [!COMPILE_WPRINTF] (PAD): Likewise.
6320 2013-10-10 David S. Miller <davem@davemloft.net>
6322 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6325 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6327 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6328 instead of FSF address.
6329 * soft-fp/fixdfti.c: Likewise.
6330 * soft-fp/fixsfti.c: Likewise.
6331 * soft-fp/fixtfti.c: Likewise.
6332 * soft-fp/fixunsdfti.c: Likewise.
6333 * soft-fp/fixunssfti.c: Likewise.
6334 * soft-fp/fixunstfti.c: Likewise.
6335 * soft-fp/floattidf.c: Likewise.
6336 * soft-fp/floattisf.c: Likewise.
6337 * soft-fp/floattitf.c: Likewise.
6338 * soft-fp/floatuntidf.c: Likewise.
6339 * soft-fp/floatuntisf.c: Likewise.
6340 * soft-fp/floatuntitf.c: Likewise.
6341 * soft-fp/trunctfxf2.c: Likewise.
6343 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6344 * soft-fp/fixdfti.c: Likewise.
6345 * soft-fp/fixsfti.c: Likewise.
6346 * soft-fp/fixtfti.c: Likewise.
6347 * soft-fp/fixunsdfti.c: Likewise.
6348 * soft-fp/fixunssfti.c: Likewise.
6349 * soft-fp/fixunstfti.c: Likewise.
6350 * soft-fp/floattidf.c: Likewise.
6351 * soft-fp/floattisf.c: Likewise.
6352 * soft-fp/floattitf.c: Likewise.
6353 * soft-fp/floatuntidf.c: Likewise.
6354 * soft-fp/floatuntisf.c: Likewise.
6355 * soft-fp/floatuntitf.c: Likewise.
6356 * soft-fp/trunctfxf2.c: Likewise.
6358 2013-10-10 David S. Miller <davem@davemloft.net>
6360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6362 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6364 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6365 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6366 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6367 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6368 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6369 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6370 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6373 for NaNs before doing comparisons on argument.
6374 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6377 2013-10-10 Will Newton <will.newton@linaro.org>
6379 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6380 passed to _int_memalign does not overflow.
6382 2013-10-10 Torvald Riegel <triegel@redhat.com>
6384 * scripts/bench.pl: Add include-sources directive.
6385 * benchtests/README: Update documentation.
6387 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6389 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6390 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6391 instead of FP_INIT_ROUNDMODE.
6392 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6393 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6396 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6397 copy class of input value.
6398 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6399 not handle exceptions.
6400 * soft-fp/negsf2.c (__negsf2): Likewise.
6401 * soft-fp/negtf2.c (__negtf2): Likewise.
6402 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6404 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6406 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6407 semicolon. From Linux kernel.
6409 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6411 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6413 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6416 * manual/socket.texi: Added statement about buffer
6417 for gethostbyname2_r.
6419 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6421 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6422 Use .p2align directive instead, throughout.
6423 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6424 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6425 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6428 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6429 * sysdeps/x86_64/strchr.S: Likewise.
6430 * sysdeps/x86_64/strrchr.S: Likewise.
6432 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6434 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6436 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6438 * sysdeps/generic/math_private.h (__mpsin1): Remove
6440 (__mpcos1): Likewise.
6441 (__mpsin): New argument __range_reduce.
6442 (__mpcos): Likewise.
6443 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6444 (slow): Use __mpsin and __mpcos.
6451 (bsloww1): Likewise.
6452 (bsloww2): Likewise.
6455 (csloww1): Likewise.
6456 (csloww2): Likewise.
6457 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6458 range_reduce. Merge in __mpsin1.
6459 (__mpcos): Likewise.
6461 (__mpcos1): Likewise.
6463 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6465 * locale/loadlocale.c (_nl_intern_locale_data): Use
6467 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6468 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6469 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6470 obstack data is appropriately aligned.
6471 (obstack_int32_grow_fast): Likewise.
6472 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6473 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6474 (add_locale_uint32_array): Likewise.
6476 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6478 * benchtests/Makefile: Remove ARGLIST and RET variables.
6479 ($(objpfx)bench-%.c): Pass only function name to the script.
6480 * benchtests/README: Update documentation.
6481 * benchtests/acos-inputs: Add new directives.
6482 * benchtests/acosh-inputs: Likewise.
6483 * benchtests/asin-inputs: Likewise.
6484 * benchtests/asinh-inputs: Likewise.
6485 * benchtests/atan-inputs: Likewise.
6486 * benchtests/atanh-inputs: Likewise.
6487 * benchtests/cos-inputs: Likewise.
6488 * benchtests/cosh-inputs: Likewise.
6489 * benchtests/exp-inputs: Likewise.
6490 * benchtests/log-inputs: Likewise.
6491 * benchtests/pow-inputs: Likewise.
6492 * benchtests/rint-inputs: Likewise.
6493 * benchtests/sin-inputs: Likewise.
6494 * benchtests/sinh-inputs: Likewise.
6495 * benchtests/tan-inputs: Likewise.
6496 * benchtests/tanh-inputs: Likewise.
6497 * scripts/bench.pl: Add support for new directives.
6499 2013-10-07 Alan Modra <amodra@gmail.com>
6501 * README: Fix careless merge.
6503 2013-10-05 Alan Modra <amodra@gmail.com>
6505 * NEWS: Mention powerpc64le support and bugs fixed.
6506 * README: Both big-endian and little-endian powerpc64 supported.
6508 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6510 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6511 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6512 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6513 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6515 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6517 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6520 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6522 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6523 Move -mhard-float appending from
6524 ports/sysdeps/powerpc/powerpc32/Makefile.
6525 [$(with-fp) = yes] (ASFLAGS): Likewise.
6526 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6527 * sysdeps/powerpc/nofpu: Move directory from
6528 ports/sysdeps/powerpc/nofpu.
6529 * sysdeps/powerpc/soft-fp: Move directory from
6530 ports/sysdeps/powerpc/soft-fp.
6531 * sysdeps/powerpc/powerpc32/405: Move directory from
6532 ports/sysdeps/powerpc/powerpc32/405.
6533 * sysdeps/powerpc/powerpc32/440: Move directory from
6534 ports/sysdeps/powerpc/powerpc32/440.
6535 * sysdeps/powerpc/powerpc32/464: Move directory from
6536 ports/sysdeps/powerpc/powerpc32/464.
6537 * sysdeps/powerpc/powerpc32/476: Move directory from
6538 ports/sysdeps/powerpc/powerpc32/476.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6540 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6542 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6544 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6546 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6548 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6549 * README: Update for powerpc-*-linux-gnu software floating point
6552 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6553 case to powerpc/powerpc32*.
6554 * sysdeps/unix/sysv/linux/configure: Regenerated.
6556 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6557 (_FPU_MASK_OM): Define as 0x04.
6558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6566 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6569 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6572 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6573 and setcontext_e500.
6575 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6577 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6579 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6581 * manual/threads.texi (Default Thread Attributes): Fix typo.
6583 2013-10-04 Will Newton <will.newton@linaro.org>
6585 * malloc/Makefile: Add tst-memalign.
6586 * malloc/tst-memalign.c: New file.
6588 * malloc/tst-posix_memalign.c: Add comments.
6589 (do_test): Add comments and call free on all potentially
6590 allocated pointers. Add space after cast.
6592 * malloc/tst-pvalloc.c: Add comments.
6593 (do_test): Add comments and call free on all potentially
6594 allocated pointers. Remove duplicate check for NULL pointer.
6595 Add space after cast.
6597 * malloc/tst-valloc.c: Add comments.
6598 (do_test): Add comments and call free on all potentially
6599 allocated pointers. Remove duplicate check for NULL pointer.
6600 Add space after cast.
6602 2013-10-04 Alan Modra <amodra@gmail.com>
6604 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6605 Use stdint types in rather than __attribute__((mode())).
6606 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6608 2013-10-04 Alan Modra <amodra@gmail.com>
6610 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6611 Correct handling of unaligned relocs for little-endian.
6612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6614 2013-10-04 Alan Modra <amodra@gmail.com>
6616 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6617 * configure: Regenerate.
6618 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6619 * shlib-versions: Likewise.
6621 2013-10-04 Alan Modra <amodra@gmail.com>
6623 * string/tester.c (test_memrchr): Increment reported test cycle.
6625 2013-10-04 Alan Modra <amodra@gmail.com>
6627 * string/test-memcpy.c (do_one_test): When reporting errors, print
6628 string address and don't overrun end of string.
6630 2013-10-04 Alan Modra <amodra@gmail.com>
6632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6633 insrdi. Make better use of reg selection to speed exit slightly.
6634 Schedule entry path a little better. Remove useless "are we done"
6635 checks on entry to main loop. Handle wrapping around zero address.
6636 Correct main loop count. Handle single left-over word from main
6637 loop inline rather than by using loop_small. Remove extra word
6638 case in loop_small caused by wrong loop count. Add little-endian
6640 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6643 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6644 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6645 support. Avoid rlwimi.
6646 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6648 2013-10-04 Alan Modra <amodra@gmail.com>
6650 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6652 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6653 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6654 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6655 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6656 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6657 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6659 2013-10-04 Alan Modra <amodra@gmail.com>
6661 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6663 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6664 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6665 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6666 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6667 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6668 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6669 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6670 use of regs. Use power7 mtocrf. Tidy function tails.
6672 2013-10-04 Alan Modra <amodra@gmail.com>
6674 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6675 Formatting. Consistently use rXXX register defines or rN defines.
6676 Use early exit labels that avoid restoring unused non-volatile regs.
6677 Make cr field use more consistent with rWORDn compares. Rename
6678 regs used as shift registers for unaligned loop, using rN defines
6679 for short lifetime/multiple use regs.
6680 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6681 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6682 addi 1,1,64 to pop stack frame. Simplify return value code.
6683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6685 2013-10-04 Alan Modra <amodra@gmail.com>
6687 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6688 support. Correct typos, formatting. Optimize tail. Use insrdi
6690 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6692 little-endian support. Correct typos.
6693 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6695 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6696 in loop and entry code to keep "and." results.
6697 (strchr): Add little-endian support. Comment. Move cntlzd
6699 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6701 2013-10-04 Alan Modra <amodra@gmail.com>
6703 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6704 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6705 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6706 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6708 2013-10-04 Alan Modra <amodra@gmail.com>
6710 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6711 (rTMP): Define as r11.
6712 (strcmp): Add little-endian support. Optimise tail.
6713 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6714 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6716 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6717 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6721 2013-10-04 Alan Modra <amodra@gmail.com>
6723 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6724 little-endian support. Remove unnecessary "are we done" tests.
6725 Handle "s" wrapping around zero and extremely large "size".
6726 Correct main loop count. Handle single left-over word from main
6727 loop inline rather than by using small_loop. Correct comments.
6728 Delete "zero" tail, use "end_max" instead.
6729 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6731 2013-10-04 Alan Modra <amodra@gmail.com>
6733 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6734 support. Don't branch over align.
6735 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6737 support. Rearrange tmp reg use to suit. Comment.
6738 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6740 2013-10-04 Alan Modra <amodra@gmail.com>
6742 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6744 2013-10-04 Alan Modra <amodra@gmail.com>
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6747 conditional form of branch and link when obtaining pc.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6750 2013-10-04 Alan Modra <amodra@gmail.com>
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6757 2013-10-04 Alan Modra <amodra@gmail.com>
6759 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6760 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6761 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6762 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6763 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6764 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6765 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6766 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6767 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6768 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6770 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6771 Alistair Popple <alistair@ozlabs.au.ibm.com>
6772 Alan Modra <amodra@gmail.com>
6775 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6776 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6777 _dl_hwcap access for little-endian.
6778 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6779 destroy vmx regs when saving unaligned.
6780 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6782 destroy vmx regs when saving unaligned.
6784 2013-10-04 Alan Modra <amodra@gmail.com>
6786 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6787 Don't use a union to pack hi/low value.
6789 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6791 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6793 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6795 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6796 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6797 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6799 2013-10-04 Alan Modra <amodra@gmail.com>
6801 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6802 constants to usual value for .cst8 section, and remove redundant
6804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6805 constant for 0x1p52. Load little-endian words of double from
6806 correct stack offsets.
6808 2013-10-04 Alan Modra <amodra@gmail.com>
6810 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6811 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6812 words of double from correct stack offsets.
6813 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6814 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6815 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6818 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6819 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6820 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6821 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6822 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6823 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6824 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6825 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6826 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6827 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6828 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6829 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6831 2013-10-04 Alan Modra <amodra@gmail.com>
6833 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6834 64-bit int/double union.
6835 (_FPU_SETCW): Likewise.
6836 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6837 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6839 2013-10-04 Alan Modra <amodra@gmail.com>
6841 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6842 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6844 2013-10-04 Alan Modra <amodra@gmail.com>
6846 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6847 use vector int constants.
6848 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6850 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6852 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6853 array with long long.
6854 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6855 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6856 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6857 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6858 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6859 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6860 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6861 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6862 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6863 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6864 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6865 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6866 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6868 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6870 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6871 (__signbit): Likewise. Correct for little-endian.
6872 (__signbitl): Call __signbit.
6873 (lrint): Correct for little-endian.
6874 (lrintf): Call lrint.
6876 2013-10-04 Alan Modra <amodra@gmail.com>
6878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6879 union 32-bit int array member with 64-bit int array.
6880 (t515, tm256): Double rather than long double.
6881 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6883 2013-10-04 Alan Modra <amodra@gmail.com>
6885 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6887 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6889 version of math_ldbl.h.
6891 2013-10-04 Alan Modra <amodra@gmail.com>
6893 [BZ #15734], [BZ #15735]
6894 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6895 all uses of ieee875 long double macros and unions. Simplify test
6896 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6897 ldbl_extract_mantissa value for ix,iy exponents. Properly
6898 normalize after ldbl_extract_mantissa, and don't add hidden bit
6899 already handled. Don't treat low word of ieee854 mantissa like
6900 low word of IBM long double and mask off bit when testing for
6902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6903 all uses of ieee875 long double macros and unions. Simplify tests
6904 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6905 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6906 two1022, instead use their values. Recognise that tests for large
6907 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6909 Rewrite all uses of ieee875 long double macros and unions. Simplify
6910 test for 0.0L and nan. Correct negation.
6911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6912 ieee875 long double macros and unions. Correct output for large
6913 magnitude x. Correct absolute value calculation.
6914 (__erfcl): Likewise.
6915 * math/libm-test.inc: Add tests for errors discovered in IBM long
6916 double versions of fmodl, remainderl, erfl and erfcl.
6918 2013-10-04 Alan Modra <amodra@gmail.com>
6920 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6921 all uses of ieee854 long double macros and unions. Simplify tests
6922 for long doubles that are fully specified by the high double.
6923 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6925 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6926 Remove dead code too.
6927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6928 (__ieee754_ynl): Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6932 Remove dead code too.
6933 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6943 Comment on variable precision.
6944 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6947 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6951 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6953 2013-10-04 Alan Modra <amodra@gmail.com>
6955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6957 all uses of ieee854 long double macros and unions.
6958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6965 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6971 Simplify sign and nan test too.
6972 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6977 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6980 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6981 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6982 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6983 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6984 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6987 2013-10-04 Alan Modra <amodra@gmail.com>
6989 * stdio-common/printf_size.c (__printf_size): Don't use
6990 union ieee854_long_double in fpnum union.
6991 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6992 signbit macro to retrieve sign from long double.
6993 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6994 retrieve sign from long double.
6995 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6996 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6997 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6998 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6999 * math/test-misc.c (main): Don't use union ieee854_long_double.
7001 2013-10-04 Alan Modra <amodra@gmail.com>
7004 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7005 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7006 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7007 calculation. Remove unnecessary test for denormal exponent.
7008 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7009 Correct handling of denormals. Avoid undefined shift behaviour.
7010 Correct normalisation of low mantissa when low double is denormal.
7011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7012 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7013 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7014 Correct normalisation of low mantissa. Test for overflow of high
7015 mantissa and normalise.
7016 (ldbl_nearbyint): Use more readable constant for two52.
7017 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7018 (__mpn_construct_long_double): Fix test for overflow of high
7019 mantissa and correct normalisation. Avoid undefined shift.
7021 2013-10-04 Alan Modra <amodra@gmail.com>
7023 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7024 (union ibm_extended_long_double): Define as an array of ieee754_double.
7025 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7026 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7027 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7028 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7037 2013-10-03 Joseph Myers <joseph@codesourcery.com>
7039 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7040 page size instead of calling getpagesize.
7042 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7043 (LOCFILE_ALIGN_MASK): Likewise.
7044 (LOCFILE_ALIGN_UP): Likewise.
7045 (LOCFILE_ALIGNED_P): Likewise.
7046 * locale/programs/ld-collate.c (collate_output): Use the new
7047 macros instead of __alignof__ (int32_t).
7048 * locale/weight.h (findidx): Likewise.
7050 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
7053 * manual/string.texi: Fix strncat and wcsncat.
7055 2013-10-03 Brooks Moses <bmoses@google.com>
7058 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7059 * Makerules: ...here, and adjust associated comments.
7061 2013-10-02 Will Newton <will.newton@linaro.org>
7063 * malloc/Makefile: Add tst-pvalloc.
7064 * malloc/tst-pvalloc.c: New file.
7066 2013-10-02 Will Newton <will.newton@linaro.org>
7068 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7069 improve test coverage.
7071 2013-10-02 Will Newton <will.newton@linaro.org>
7073 * malloc/Makefile: Add tst-posix_memalign.
7074 * malloc/tst-posix_memalign.c: New file.
7076 2013-10-01 Eric Blake <eblake@redhat.com>
7078 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7079 Use __THROWNL rather than __THROW on static functions.
7081 2013-09-30 Petr Machata <pmachata@redhat.com>
7083 * elf/elf.h (R_AARCH64_ABS16): New macro.
7084 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7085 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7086 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7087 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7088 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7089 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7090 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7091 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7092 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7093 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7094 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7095 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7096 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7097 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7098 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7099 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7100 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7101 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7102 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7103 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7104 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7105 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7106 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7107 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7108 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7109 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7110 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7111 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7112 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7113 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7114 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7115 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7116 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7117 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7118 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7119 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7120 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7121 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7122 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7123 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7124 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7125 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7126 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7127 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7128 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7129 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7130 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7131 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7132 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7133 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7134 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7135 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7136 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7137 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7138 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7139 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7140 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7141 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7142 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7143 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7144 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7145 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7146 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7147 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7148 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7149 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7150 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7151 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7152 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7153 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7154 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7155 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7156 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7157 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7158 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7159 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7160 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7161 (R_AARCH64_TLSDESC_LDR): Likewise.
7162 (R_AARCH64_TLSDESC_ADD): Likewise.
7163 (R_AARCH64_TLSDESC_CALL): Likewise.
7165 2013-09-30 Andreas Schwab <schwab@suse.de>
7168 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7169 the nss database lookup.
7170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7173 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7175 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7177 2013-09-28 P. J. McDermott <pj@pehjota.net>
7179 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7180 ${Bash-specific parameter/pattern/string} parameter expansion.
7181 * sysdeps/unix/make-syscalls.sh: Likewise.
7183 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7185 * sysdeps/sh/stackguard-macros.h: New file.
7187 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7191 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7193 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7194 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7196 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7199 Fix thread ID register.
7201 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7203 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7204 [POSIX || UNIX98]: Require rather than permitting all symbols from
7206 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7207 element of struct sched_param.
7208 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7209 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7210 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7211 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7214 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7216 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7217 argument calculation.
7219 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7221 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7223 [POSIX] (pthread_attr_t): Do not require type.
7224 [POSIX] (pthread_cond_t): Likewise.
7225 [POSIX] (pthread_condattr_t): Likewise.
7226 [POSIX] (pthread_key_t): Likewise.
7227 [POSIX] (pthread_mutex_t): Likewise.
7228 [POSIX] (pthread_mutexattr_t): Likewise.
7229 [POSIX] (pthread_once_t): Likewise.
7230 [POSIX] (pthread_t): Likewise.
7231 [POSIX-based standards] (pthread_atfork): Expect function.
7233 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7234 Richard Sandiford <richard@codesourcery.com>
7236 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7237 (swap_endianness_p): New extern variable.
7238 (set_big_endian): New inline function.
7239 (maybe_swap_uint32): Likewise.
7240 (maybe_swap_uint32_array): Likewise.
7241 (maybe_swap_uint32_obstack): Likewise.
7242 * locale/programs/locfile.c: Include <stdbool.h>.
7243 (swap_endianness_p): New variable.
7244 (add_locale_uint32): Call maybe_swap_uint32.
7245 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7246 (write_locale_data): Call maybe_swap_uint32_array.
7247 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7249 (obstack_int32_grow_fast): Likewise.
7250 (output_weightwc): Call maybe_swap_uint32_obstack.
7251 (collate_output): Likewise.
7252 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7253 (OPT_LITTLE_ENDIAN): Likewise.
7254 (options): Add --little-endian and --big-endian options.
7255 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7256 * locale/programs/locarchive.c: Include "locfile.h".
7260 (create_archive): Use the new macros to access fields of
7261 structures directly mapped from or written to locale archives.
7262 (oldlocrecentcmp): Likewise.
7263 (enlarge_archive): Likewise.
7264 (insert_name): Likewise.
7265 (add_alias): Likewise.
7266 (add_locale): Likewise.
7267 (delete_locales_from_archive): Likewise.
7268 (show_archive_content): Likewise.
7269 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7272 2013-09-24 Roland McGrath <roland@hack.frob.com>
7274 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7275 http://www.gnu.org/doc/freemanuals.texi.
7276 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7278 2013-09-24 Will Newton <will.newton@linaro.org>
7280 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7283 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7285 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7288 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7290 * manual/threads.texi (POSIX Threads): Fix a typo.
7292 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7295 * string/tst-strcoll-overflow.c: New test case.
7296 * string/Makefile (xtests): Add tst-strcoll-overflow.
7297 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7298 cache if string sizes may cause integer overflow.
7301 * string/strcoll_l.c (coll_seq): New members rule, idx,
7302 save_idx and back_us.
7303 (get_next_seq_nocache): New function.
7304 (do_compare_nocache): New function.
7305 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7308 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7311 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7312 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7313 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7316 * elf/Makefile (tests): Add tst-ptrguard1.
7317 (tests-static): Add tst-ptrguard1-static.
7318 (tst-ptrguard1-ARGS): Define.
7319 (tst-ptrguard1-static-ARGS): Define.
7320 * elf/tst-ptrguard1.c: New file.
7321 * elf/tst-ptrguard1-static.c: New file.
7322 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7323 * sysdeps/i386/stackguard-macros.h: Likewise.
7324 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7325 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7326 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7327 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7328 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7329 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7331 2013-09-23 Hector Marco <hecmargi@upv.es>
7332 Ismael Ripoll <iripoll@disca.upv.es>
7333 Carlos O'Donell <carlos@redhat.com>
7336 * sysdeps/generic/stackguard-macros.h: Define
7337 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7338 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7339 Define __pointer_chk_guard_local.
7340 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7341 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7343 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7346 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7348 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7350 * include/string.h (__ffs): Declare as hidden.
7351 * string/ffs.c (__ffs): Define as hidden.
7352 * sysdeps/i386/ffs.c (__ffs): Likewise.
7353 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7354 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7355 * sysdeps/s390/ffs.c (__ffs): Likewise.
7356 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7358 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7360 * NEWS: Mention malloc probes.
7362 * malloc/arena.c (new_heap): New memory_heap_new probe.
7363 (grow_heap): New memory_heap_more probe.
7364 (shrink_heap): New memory_heap_less probe.
7365 (heap_trim): New memory_heap_free probe.
7366 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7367 (systrim): New memory_sbrk_less probe.
7368 * manual/probes.texi: Document them.
7370 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7371 * manual/probes.texi: Document it.
7373 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7374 (__libc_realloc): Add memory_realloc_retry probe.
7375 (__libc_memalign): Add memory_memalign_retry probe.
7376 (__libc_valloc): Add memory_valloc_retry probe.
7377 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7378 (__libc_calloc): Add memory_calloc_retry probe.
7379 * manual/probes.texi: Document them.
7381 * malloc/arena.c (get_free_list): Add probe
7382 memory_arena_reuse_free_list.
7383 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7384 and memory_arena_reuse.
7385 (arena_get2) [!PER_THREAD]: Likewise.
7386 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7387 memory_arena_reuse_realloc.
7388 * manual/probes.texi: Document them.
7390 * malloc/malloc.c (__libc_free): Add
7391 memory_mallopt_free_dyn_thresholds probe.
7392 (__libc_mallopt): Add multiple memory_mallopt probes.
7393 * manual/probes.texi: Document them.
7395 * malloc/malloc.c: Include stap-probe.h.
7396 (__libc_mallopt): Add memory_mallopt probe.
7397 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7398 * manual/probes.texi: New.
7399 * manual/Makefile (chapters): Add probes.
7400 * manual/threads.texi: Set next node.
7402 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7405 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7406 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7407 Add `Chinese' to `nan' entry name.
7409 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7411 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7412 (POLYNOMIAL): Likewise.
7413 (TAYLOR_SINCOS): Likewise.
7414 (TAYLOR_SLOW): Likewise.
7415 (__sin): Use TAYLOR_SINCOS.
7417 (slow): Use TAYLOR_SLOW.
7422 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7424 * stdlib/strtod_l.c: Fix buffer overrun.
7426 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7428 * benchtests/Makefile (bench): Add sincos.
7429 * benchtests/bench-sincos.c: New file.
7431 * math/libm-test.inc (cos_test_data): New test inputs.
7432 (sin_test_data): Likewise.
7434 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7442 (bsloww1): Likewise.
7443 (bsloww2): Likewise.
7445 (csloww1): Likewise.
7446 (csloww2): Likewise.
7448 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7457 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7459 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7460 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7461 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7462 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7463 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7464 * elf/cache.c (print_entry): Handle the new cache flags.
7466 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7467 Aldy Hernandez <aldyh@redhat.com>
7469 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7470 Change condition to [_SOFT_FLOAT].
7471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7483 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7486 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7489 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7492 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7493 (__longjmp): Use LOAD_GP to load saved GPRs.
7494 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7495 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7496 (__sigsetjmp): Use SAVE_GP to save GPRs.
7498 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7499 Do not append -msoft-float.
7500 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7502 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7504 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7506 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7509 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7510 (_FPU_GETCW): Use initial "__" on variable and field names but not
7511 on macro parameter name.
7512 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7513 parentheses around reference to macro parameter.
7515 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7517 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7519 (ctype_startup): Use uint32_t in cast and sizeof for
7522 2013-09-11 Jia Liu <proljc@gmail.com>
7524 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7526 [__FreeBSD__]: Likewise.
7528 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7530 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7531 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7532 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7533 (strchr): Remove __strchr_sse42 ifunc selection.
7534 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7535 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7537 2013-09-11 Will Newton <will.newton@linaro.org>
7539 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7540 parameter to RES. Remove hardcoded 1000 value.
7541 * benchtests/bench-skeleton.c (main): Pass RES parameter
7542 to TIMING_INIT and multiply result by 1000.
7544 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7548 2013-09-11 Andreas Schwab <schwab@suse.de>
7550 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7552 (O_TMPFILE) [__USE_GNU]: Define.
7553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7556 2013-09-11 Will Newton <will.newton@linaro.org>
7559 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7562 2013-09-11 Will Newton <will.newton@linaro.org>
7565 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7568 2013-09-11 Will Newton <will.newton@linaro.org>
7571 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7574 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7576 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7577 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7582 2013-09-10 Allan McRae <allan@archlinux.org>
7585 * manual/arith.texi (Parsing of Floats): Clarify
7589 * manual/install.texi (Running make install): Mention
7591 * INSTALL: Regenerated.
7593 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7595 * csu/init-first.c (_init): Remove the !SHARED condition around
7596 FPU control word initialization.
7597 * elf/dl-support.c (_dl_fpu_control): New variable.
7598 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7599 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7600 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7601 * math/test-fpucw-static.c: New file.
7602 * math/test-fpucw-ieee.c: New file.
7603 * math/test-fpucw-ieee-static.c: New file.
7604 * math/Makefile (tests): Add `test-fpucw-ieee' and
7606 (tests-static): New variable.
7607 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7609 [($(build-shared),yes)]
7610 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7612 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7615 2013-09-09 Allan McRae <allan@archlinux.org>
7618 * manual/string.texi (Collation Functions): Fix typo in
7620 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7623 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7626 * libio/memstream.c (open_memstream): Fix memory leak.
7627 * libio/wmemstream.c (open_wmemstream): Likewise.
7630 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7632 2013-09-09 Will Newton <will.newton@linaro.org>
7634 * malloc/Makefile: Add tst-realloc to tests.
7635 * malloc/tst-realloc.c: New file.
7637 2013-09-09 Allan McRae <allan@archlinux.org>
7640 * COPYING: Update from GNU website to fix FSF address.
7641 * COPYING.LIB: Likewise.
7643 2013-09-06 David S. Miller <davem@davemloft.net>
7645 * po/zh_TW.po: Update Chinese (traditional) translation from
7646 translation project.
7648 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7649 Joseph Myers <joseph@codesourcery.com>
7651 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7653 (obstack_chunk_alloc): New macro.
7654 (obstack_chunk_free): Likewise.
7655 (record_offset): New function.
7656 (init_locale_data): Likewise.
7657 (align_locale_data): Likewise.
7658 (add_locale_empty): Likewise.
7659 (add_locale_raw_data): Likewise.
7660 (add_locale_raw_obstack): Likewise.
7661 (add_locale_string): Likewise.
7662 (add_locale_wstring): Likewise.
7663 (add_locale_uint32): Likewise.
7664 (add_locale_uint32_array): Likewise.
7665 (add_locale_char): Likewise.
7666 (start_locale_structure): Likewise.
7667 (end_locale_structure): Likewise.
7668 (start_locale_prelude): Likewise.
7669 (end_locale_prelude): Likewise.
7670 (write_locale_data): Take locale_file structure rather than an
7672 * locale/programs/locfile.h: Include "obstack.h".
7673 (struct locale_file): Change to store locale file contents instead
7675 (init_locale_data): New prototype.
7676 (align_locale_data): Likewise.
7677 (add_locale_empty): Likewise.
7678 (add_locale_raw_data): Likewise.
7679 (add_locale_raw_obstack): Likewise.
7680 (add_locale_string): Likewise.
7681 (add_locale_wstring): Likewise.
7682 (add_locale_uint32): Likewise.
7683 (add_locale_uint32_array): Likewise.
7684 (add_locale_char): Likewise.
7685 (start_locale_structure): Likewise.
7686 (end_locale_structure): Likewise.
7687 (start_locale_prelude): Likewise.
7688 (end_locale_prelude): Likewise.
7689 (write_locale_data): Update prototype.
7690 * locale/programs/3level.h (struct TABLE): Remove result field.
7691 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7692 Use new locale_file interface.
7693 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7694 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7695 * locale/programs/ld-address.c (address_output): Use new
7696 locale_file interface.
7697 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7699 (collate_finish): Don't call collseq_table_finalize.
7700 (collate_output): Use new locale_file interface.
7701 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7703 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7704 (TABLE): Move defines earlier in file.
7705 (ELEMENT): Likewise.
7706 (DEFAULT): Likewise.
7707 (wctrans_table_add): Move macro and inline function earlier in
7709 (struct wctype_table): Move type earlier in file.
7710 (add_locale_wctype_table): New static prototype.
7711 (struct locale_ctype_t): Use logical types instead of struct iovec
7712 pointers for members.
7713 (ctype_output): Use new locale_file interface.
7714 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7715 new locale_file interface.
7716 (allocate_arrays): Update for use of new locale_file interface.
7717 * locale/programs/ld-identification.c (identification_output): Use
7718 new locale_file interface.
7719 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7720 * locale/programs/ld-messages.c (messages_output): Likewise.
7721 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7722 * locale/programs/ld-name.c (name_output): Likewise.
7723 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7724 * locale/programs/ld-paper.c (paper_output): Likewise.
7725 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7726 * locale/programs/ld-time.c (time_output): Likewise.
7728 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7730 * benchtests/Makefile: Add memrchr benchmark.
7731 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7732 benchmark as memrchr.
7733 * benchtests/bench-memrchr-ifunc.c: New file.
7734 * benchtests/bench-memrchr.c: New file.
7736 2013-09-06 Will Newton <will.newton@linaro.org>
7738 * benchtests/Makefile (string-bench): Add memcpy.
7740 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7741 Cong Wang <amwang@redhat.com>
7744 * sysdeps/unix/sysv/linux/bits/in.h
7745 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7746 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7747 before __USE_KERNEL_IPV6_DEFS uses.
7748 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7750 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7751 sockaddr_in6, or ipv6_mreq.
7753 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7755 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7756 memory access for final bytes in some large inputs.
7757 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7759 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761 * string/test-memrchr.c: New file.
7762 * string/test-memrchr-ifunc.c: New file.
7763 * string/Makefile: Add new memrchr testcase.
7765 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7767 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7768 fanotify_init returns EPERM.
7770 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7772 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7774 (top level): Treat second token from macro or constant entries for
7775 allowed headers as allowed.
7776 * include/complex.h: Condition internal declarations on
7778 * include/fenv.h: Condition include of <stdbool.h> and internal
7779 declarations on [!_ISOMAC].
7781 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7784 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7786 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7788 * configure.in (--enable-versioning): Remove configure option.
7789 (libc_cv_asm_symver_directive): Remove configure test.
7790 (libc_cv_ld_version_script_option): Likewise.
7791 (VERSIONING): Remove variable and AC_SUBST.
7792 (DO_VERSIONING): Remove AC_DEFINE.
7793 * configure: Regenerated.
7794 * config.h.in (DO_VERSIONING): Remove macro.
7795 * Makerules [$(versioning) = yes]: Change conditionals to
7796 [$(build-shared) = yes].
7797 * config.make.in (versioning): Remove variable.
7798 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7799 [$(build-shared) = yes].
7800 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7801 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7802 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7803 [$(build-shared) = yes].
7804 * extra-lib.mk [$(versioning) = yes]: Likewise.
7805 * hurd/Makefile [$(versioning) = yes]: Likewise.
7806 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7808 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7810 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7811 [SHARED && !NO_HIDDEN].
7812 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7814 [SHARED && DO_VERSIONING]: Likewise..
7815 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7816 [$(build-shared) = yes].
7817 * manual/install.texi (--disable-versioning): Remove
7819 * INSTALL: Regenerated.
7820 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7822 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7823 [$(build-shared) = yes].
7824 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7825 * sysdeps/i386/i686/multiarch/strstr-c.c
7826 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7827 [SHARED && !NO_HIDDEN].
7828 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7829 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7830 * sysdeps/powerpc/powerpc32/dl-machine.c
7831 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7832 * sysdeps/powerpc/powerpc32/sysdep.h
7833 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7834 to [SHARED && PIC && !NO_HIDDEN].
7835 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7836 conditional to [SHARED].
7838 2013-09-04 Will Newton <will.newton@linaro.org>
7840 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7841 * benchtests/bench-string.h: Include bench-timing.h instead
7842 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7843 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7844 call to HP_TIMING_DIFF_INIT.
7845 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7846 instead of hp-timing.h macros.
7847 * benchtests/bench-memchr.c: Likewise.
7848 * benchtests/bench-memcmp.c: Likewise.
7849 * benchtests/bench-memcpy.c: Likewise.
7850 * benchtests/bench-memmem.c: Likewise.
7851 * benchtests/bench-memmove.c: Likewise.
7852 * benchtests/bench-memset.c: Likewise.
7853 * benchtests/bench-rawmemchr.c: Likewise.
7854 * benchtests/bench-strcasecmp.c: Likewise.
7855 * benchtests/bench-strcasestr.c: Likewise.
7856 * benchtests/bench-strcat.c: Likewise.
7857 * benchtests/bench-strchr.c: Likewise.
7858 * benchtests/bench-strcmp.c: Likewise.
7859 * benchtests/bench-strcpy.c: Likewise.
7860 * benchtests/bench-strcpy_chk.c: Likewise.
7861 * benchtests/bench-strlen.c: Likewise.
7862 * benchtests/bench-strncasecmp.c: Likewise.
7863 * benchtests/bench-strncat.c: Likewise.
7864 * benchtests/bench-strncmp.c: Likewise.
7865 * benchtests/bench-strncpy.c: Likewise.
7866 * benchtests/bench-strnlen.c: Likewise.
7867 * benchtests/bench-strpbrk.c: Likewise.
7868 * benchtests/bench-strrchr.c: Likewise.
7869 * benchtests/bench-strspn.c: Likewise.
7870 * benchtests/bench-strstr.c: Likewise.
7872 2013-09-04 Will Newton <will.newton@linaro.org>
7874 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7876 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7879 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7880 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7881 * math/libm-test.inc (lgamma_test_data): Add more tests.
7882 * sysdeps/i386/fpu/libm-test-ulps: Update.
7883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7885 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7887 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7891 Add strcmp-sse2-unaligned
7892 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7894 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7896 * Versions.def (libc): Add GLIBC_2.19.
7898 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7900 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7901 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7903 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7906 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7907 intermediate calculations in recurrence.
7908 (__ieee754_ynf): Likewise.
7909 * math/libm-test.inc (jn_test_data): Do not allow spurious
7910 underflow exception. Add more tests.
7911 (yn_test_data): Add more tests.
7912 * sysdeps/i386/fpu/libm-test-ulps: Update.
7913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7915 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7919 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7921 * csu/init-first.c: Fix then/than typos.
7922 * locale/programs/ld-collate.c: Likewise.
7923 * locale/programs/linereader.h: Likewise.
7924 * manual/charset.texi: Likewise.
7925 * manual/filesys.texi: Likewise.
7926 * manual/stdio.texi: Likewise.
7927 * manual/string.texi: Likewise.
7928 * stdlib/fmtmsg.c: Likewise.
7929 * sysdeps/i386/stpncpy.S: Likewise.
7930 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7931 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7933 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7935 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7937 * elf/dl-open.c: Fix typos.
7938 * iconvdata/gbbig5.c: Likewise.
7939 * iconvdata/iso-2022-jp.c: Likewise.
7940 * iconv/gconv_int.h: Likewise.
7941 * iconv/loop.c: Likewise.
7942 * nis/rpcsvc/nis.h: Likewise.
7943 * resolv/ns_name.c: Likewise.
7944 * stdio-common/vfscanf.c: Likewise.
7945 * streams/stropts.h: Likewise.
7946 * sunrpc/rpc_thread.c: Likewise.
7947 * sysdeps/i386/strpbrk.S: Likewise.
7948 * sysdeps/ieee754/k_standard.c: Likewise.
7949 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7951 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7952 * sysdeps/mach/hurd/profil.c: Likewise.
7953 * sysdeps/s390/dl-procinfo.h: Likewise.
7954 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7955 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7956 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7957 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7960 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7962 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7965 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7967 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7969 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7970 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7971 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7973 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7975 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7976 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7978 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7979 Roland McGrath <roland@hack.frob.com>
7981 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7982 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7984 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7986 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7987 __executable_start symbol instead of _start.
7989 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7991 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7992 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7994 * sysdeps/gnu/ldsodefs.h: ... this new file.
7996 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7997 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7998 instead of ELFOSABI_LINUX.
8000 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8001 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8002 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8003 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8005 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8006 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8009 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8010 (ibm_extended_long_double): Add ieee_nan member.
8011 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8012 (do_test): New function.
8014 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8016 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8017 functions, renamed from truncdfsf_test, trunctfsf_test,
8019 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8021 (do_test): Run all these.
8023 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8025 * argp/argp-help.c: Fix typos.
8026 * argp/argp-parse.c: Likewise.
8027 * debug/backtracesyms.c: Likewise.
8028 * elf/elf.h: Likewise.
8029 * malloc/malloc.c: Likewise.
8030 * nis/nis_print.c: Likewise.
8031 * resolv/res_comp.c: Likewise.
8032 * stdlib/stdlib.h: Likewise.
8033 * sunrpc/clnt_tcp.c: Likewise.
8034 * sunrpc/clnt_udp.c: Likewise.
8035 * sunrpc/clnt_unix.c: Likewise.
8036 * sysdeps/unix/bsd/ptsname.c: Likewise.
8037 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8038 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8045 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8047 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8049 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8052 2013-08-27 Mike Frysinger <vapier@gentoo.org>
8055 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8056 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8057 ($(objpfx)bug-dl-leaf): New rule.
8058 ($(objpfx)bug-dl-leaf.so): Likewise.
8059 ($(objpfx)bug-dl-leaf.out): Likewise.
8060 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8061 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8062 * dlfcn/bug-dl-leaf.c: New test.
8063 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8064 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8065 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8066 (dlclose): Likewise.
8067 (dlmopen): Likewise.
8069 2013-08-27 Roland McGrath <roland@hack.frob.com>
8071 * include/netdb.h [!_ISOMAC]:
8072 Don't include <tls.h>.
8073 (h_errno, __libc_h_errno): Move declaration and macros out of
8076 * include/resolv.h [_RESOLV_H_]:
8077 Don't include <tls.h>.
8078 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8079 * resolv/res_libc.c: Don't include <tls.h>.
8080 (_res): Use __attribute__ ((nocommon)) in place of
8081 __attribute__ ((section (".bss"))).
8083 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8084 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8086 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8088 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8089 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8091 * resolv/res_mkquery.c: Include <sys/time.h>.
8093 * inet/ifreq.c: Moved to ...
8094 * sysdeps/unix/ifreq.c: ... here.
8095 * inet/ifreq.c: New file, true stub version.
8097 * socket/sa_len.c: New file.
8098 * socket/Makefile (aux): Add it.
8099 * sysdeps/unix/sysv/linux/Makefile
8100 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8101 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8102 and #include <socket/sa_len.c>.
8103 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8104 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8106 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8107 * bits/socket.h: ... here.
8109 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8110 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8111 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8113 2013-08-27 Andreas Schwab <schwab@suse.de>
8116 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8117 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8118 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8119 * string/test-strcasecmp.c (test_main): Run tests in several
8121 * string/test-strncasecmp.c (test_main): Likewise.
8123 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8124 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8125 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8127 (__strncasecmp_ssse3) [PIC]: Likewise.
8129 2013-08-26 Roland McGrath <roland@hack.frob.com>
8131 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8133 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8134 instead of explicitly declaring xdecrypt.
8135 * nis/nss_nis/nis-publickey.c: Likewise.
8137 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8140 * nscd/aicache.c: Include res_hconf.h.
8141 (addhstaiX): Initialize res_hconf.
8143 2013-08-26 Andreas Schwab <schwab@suse.de>
8145 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8146 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8148 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8150 * nscd/aicache.c (addhstaiX): Fix indentation.
8152 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8154 * configure.ac: Quote $build_pt_chown test.
8155 * configure: Regenerated.
8157 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8160 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8161 * math/s_cexpf.c (__cexpf): Likewise.
8162 * math/s_cexpl.c (__cexpl): Likewise.
8163 * math/libm-test.inc (cexp_test_data): Correct expected return
8164 value for NaN + i0. Add another test.
8166 2013-08-22 David S. Miller <davem@davemloft.net>
8168 * po/ca.po: Update Catalan translation from translation project.
8169 * po/uk.po: Add Ukrainian translations from translation project.
8171 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8174 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8175 is infinite, not alongside NaN test.
8176 * math/s_fdimf.c (__fdimf): Likewise.
8177 * math/s_fdiml.c (__fdiml): Likewise.
8178 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8181 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8183 * argp/argp-help.c: Fix typos.
8184 * crypt/speeds.c: Likewise.
8185 * csu/check_fds.c: Likewise.
8186 * elf/dl-load.c: Likewise.
8187 * elf/dl-open.c: Likewise.
8188 * elf/reldep3.c: Likewise.
8189 * elf/reldep.c: Likewise.
8190 * elf/sprof.c: Likewise.
8191 * iconv/iconv_charmap.c: Likewise.
8192 * iconv/skeleton.c: Likewise.
8193 * iconv/strtab.c: Likewise.
8194 * io/lockf64.c: Likewise.
8195 * libio/libioP.h: Likewise.
8196 * resolv/gai_notify.c: Likewise.
8197 * resolv/ns_name.c: Likewise.
8198 * resolv/ns_samedomain.c: Likewise.
8199 * resolv/res_send.c: Likewise.
8200 * stdlib/random.c: Likewise.
8201 * sunrpc/rpc/xdr.h: Likewise.
8202 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8203 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8204 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8205 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8209 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8210 * sysdeps/mach/hurd/check_fds.c: Likewise.
8211 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8212 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8213 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8215 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8216 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8217 * sysdeps/pthread/aio_notify.c: Likewise.
8218 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8219 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8220 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8222 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8224 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8226 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8227 version if bit_Slow_SSE4_2 is set.
8228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8231 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8234 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8235 trampoline stack frame information.
8236 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8237 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8238 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8239 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8240 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8241 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8242 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8243 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8245 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8246 interrupting a syscall and set with option SA_SIGINFO.
8248 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8251 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8252 argument is infinite.
8253 * math/s_cprojf.c (__cprojf): Likewise.
8254 * math/s_cprojl.c (__cprojl): Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8256 * math/libm-test.inc (cproj_test_data): Add more tests.
8258 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8261 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8262 size. Use __ffs to determine corresponding shift.
8264 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8265 Roland McGrath <roland@hack.frob.com>
8267 * Makefile (INSTALL): Remove trailing blank lines from output of
8270 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8272 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8273 Align 32 bit compat elf_greg to 8 bytes.
8275 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8277 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8279 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8281 * string/strcoll_l.c (coll_seq): New structure.
8282 (get_next_seq_cached): New function.
8283 (get_next_seq): New function.
8284 (do_compare): New function.
8285 (STRCOLL): Use GNU style definition. Simplify implementation
8286 by using get_next_seq, get_next_seq_cached and do_compare.
8288 2013-08-16 Florian Weimer <fweimer@redhat.com>
8292 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8294 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8296 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8297 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8298 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8300 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8301 GETDENTS_64BIT_ALIGNED.
8302 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8303 * manual/filesys.texi (Reading/Closing Directory): Document
8304 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8306 * manual/conf.texi (Limits for Files): Add portability note to
8308 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8310 2013-08-13 Andreas Schwab <schwab@suse.de>
8313 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8315 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8316 LDBL_MAX_EXP >= 16384]: Add tests for it.
8318 2013-08-12 David S. Miller <davem@davemloft.net>
8320 * version.h (RELEASE): Set to "development".
8321 (VERSION): Set to "2.18.90".
8322 * NEWS: Add 2.19 section.
8324 2013-08-03 David S. Miller <davem@davemloft.net>
8326 * po/ko.po: Update Korean translation from translation project.
8328 2013-08-01 David S. Miller <davem@davemloft.net>
8330 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8331 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8334 2013-07-30 David S. Miller <davem@davemloft.net>
8336 * po/fr.po: Update French translation from translation project.
8338 2013-07-28 David S. Miller <davem@davemloft.net>
8340 * po/cs.po: Update Czech translation from translation project.
8342 * po/sv.po: Update Swedish translation from translation project.
8344 2013-07-27 David S. Miller <davem@davemloft.net>
8346 * po/eo.po: Update Esperanto translation from translation project.
8348 * po/vi.po: Update Vietnamese translation from translation project.
8350 * po/de.po: Update German translation from translation project.
8352 2013-07-26 David S. Miller <davem@davemloft.net>
8354 * po/bg.po: Update Bulgarian translation from translation project.
8356 * po/nl.po: Update Dutch translation from translation project.
8357 * po/pl.po: Update Polish translation from translation project.
8358 * po/ru.po: Update Russian translation from translation project.
8360 2013-07-24 David S. Miller <davem@davemloft.net>
8362 * po/libc.pot: Update.
8364 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8368 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8369 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8370 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8372 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8374 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8376 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8377 Andreas Schwab <schwab@suse.de>
8378 Roland McGrath <roland@hack.frob.com>
8379 Joseph Myers <joseph@codesourcery.com>
8380 Carlos O'Donell <carlos@redhat.com>
8383 * config.h.in: Define HAVE_PT_CHOWN.
8384 * config.make.in (build-pt-chown): New variable.
8385 * configure.in (--enable-pt_chown): New configure option.
8386 * configure: Regenerate.
8387 * login/Makefile: Include Makeconfig. Build pt_chown only if
8388 build-pt-chown is enabled.
8389 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8390 pt_chown to fix pty ownership.
8391 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8393 * manual/install.texi (Configuring and compiling): Mention
8394 --enable-pt_chown. Add @findex for grantpt.
8395 * INSTALL: Regenerate.
8397 2013-07-20 David S. Miller <davem@davemloft.net>
8399 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8400 difference between 32-bit and 64-bit.
8402 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8405 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8406 Avoid system header dependency with -ffreestanding.
8407 ($(objpfx)bits/syscall%d): Likewise.
8409 2013-07-13 David S. Miller <davem@davemloft.net>
8411 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8412 underflows from atanl/atan2l due to bug 15319.
8413 (casinh_test_data): Likewise.
8415 2013-07-07 David S. Miller <davem@davemloft.net>
8417 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8419 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8421 * sysdeps/i386/fpu/libm-test-ulps: Update.
8422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8424 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8426 * configure.in (--enable-lock-elision): Fix message text.
8427 * INSTALL: Regenerate.
8428 * configure: Regenerate.
8430 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8434 2013-07-03 Andreas Jaeger <aj@suse.de>
8436 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8438 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8439 (ptrace_peeksiginfo_args): Add.
8440 (__ptrace_peeksiginfo_flags): Add.
8441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8442 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8443 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8445 2013-07-03 Allan McRae <allan@archlinux.org>
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8449 2013-07-02 David S. Miller <davem@davemloft.net>
8451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8453 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8457 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8459 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8462 2013-07-02 Andi Kleen <ak@linux.intel.com>
8464 * config.h.in (ENABLE_LOCK_ELISION): Add.
8465 * configure.in (--enable-lock-elision): Add option.
8466 * manual/install.texi: Document --enable lock elision.
8467 * configure: Regenerate
8468 * INSTALL: Regenerate.
8470 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8472 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8473 SSE4.2 strcasecmp for libc.a.
8474 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8476 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8479 * soft-fp/op-common.h (_FP_FMA): New macro.
8480 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8481 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8482 (_FP_MUL_MEAT_1_imm): ... here.
8483 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8484 (_FP_MUL_MEAT_1_wide): ... here.
8485 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8486 (_FP_MUL_MEAT_1_hard): ... here.
8487 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8488 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8489 (_FP_MUL_MEAT_2_wide): ... here.
8490 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8491 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8492 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8493 (_FP_MUL_MEAT_2_gmp): ... here.
8494 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8495 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8496 (_FP_MUL_MEAT_4_wide): ... here.
8497 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8498 (_FP_MUL_MEAT_4_gmp): ... here.
8499 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8500 (_FP_WFRACBITS_DW_S): Likewise.
8501 (_FP_WFRACXBITS_DW_S): Likewise.
8502 (_FP_HIGHBIT_DW_S): Likewise.
8503 (FP_FMA_S): Likewise.
8504 (_FP_FRAC_HIGH_DW_S): Likewise.
8505 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8506 (_FP_WFRACBITS_DW_D): Likewise.
8507 (_FP_WFRACXBITS_DW_D): Likewise.
8508 (_FP_HIGHBIT_DW_D): Likewise.
8509 (FP_FMA_D): Likewise.
8510 (_FP_FRAC_HIGH_DW_D): Likewise.
8511 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8512 (_FP_WFRACBITS_DW_E): Likewise.
8513 (_FP_WFRACXBITS_DW_E): Likewise.
8514 (_FP_HIGHBIT_DW_E): Likewise.
8515 (FP_FMA_E): Likewise.
8516 (_FP_FRAC_HIGH_DW_E): Likewise.
8517 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8518 (_FP_WFRACBITS_DW_Q): Likewise.
8519 (_FP_WFRACXBITS_DW_Q): Likewise.
8520 (_FP_HIGHBIT_DW_Q): Likewise.
8521 (FP_FMA_Q): Likewise.
8522 (_FP_FRAC_HIGH_DW_Q): Likewise.
8523 * soft-fp/fmasf4.c: New file.
8524 * soft-fp/fmadf4.c: Likewise.
8525 * soft-fp/fmatf4.c: Likewise.
8527 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8530 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8534 (index_Slow_SSE4_2): Likewise.
8535 (index_Prefer_PMINUB_for_stringop): Likewise.
8536 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8537 bit_Slow_SSE4_2 is set.
8538 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8539 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8541 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8543 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8544 rtld_global._dl_hwcap2.
8545 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8547 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8548 POWER8 feature descriptions defined in _dl_hwcap2.
8549 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8550 string handling for POWER8 feature bits.
8551 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8552 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8553 _dl_powerpc_cap_flags.
8554 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8555 * sysdeps/powerpc/rtld-global-offsets.sym
8556 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8557 _dl_hwcap2 in the rtld_global_ro structure.
8559 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8561 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8562 hardware capabilities in support of AT_HWCAP2.
8563 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8564 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8566 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8567 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8568 explicitly the unknown a_type display mechanism is used.
8569 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8570 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8572 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8573 to macro prototype for AT_HWCAP2 support.
8574 * sysdeps/i386/dl-procinfo.h: Likewise.
8575 * sysdeps/s390/dl-procinfo.h: Likewise.
8576 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8577 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8578 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8579 return -1 for unknown a_type display fallback.
8580 * sysdeps/sparc/dl-procinfo.h: Likewise.
8581 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8582 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8584 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8586 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8587 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8589 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8592 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8593 mprotect making __stack_prot writable.
8595 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8596 Joseph Myers <joseph@codesourcery.com>
8598 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8599 as being properly aligned.
8601 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8603 * dlfcn/modstatic5.c: New file.
8604 * dlfcn/tststatic5.c: New file.
8605 * dlfcn/Makefile (tests): Add tststatic5.
8606 (tests-static): Likewise.
8607 (modules-names): Add modstatic5.
8608 (tststatic5-ENV): New variable.
8609 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8612 * elf/dl-support.c (_dl_main_map): New variable.
8613 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8614 (_dl_nns, _dl_load_adds): Set to 1.
8615 (_dl_initial_searchlist): Refer to _dl_main_map.
8616 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8617 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8618 call to _dl_get_origin.
8619 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8621 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8622 * dlfcn/modstatic3.c: New file.
8623 * dlfcn/tststatic3.c: New file.
8624 * dlfcn/tststatic4.c: New file.
8625 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8626 (tests-static): Likewise.
8627 (modules-names): Add modstatic3.
8628 (tststatic3-ENV, tststatic4-ENV): New variables.
8629 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8630 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8632 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8634 * configure.in (CC): Require GCC version 4.4 or later.
8635 * configure: Regenerated.
8636 * manual/install.texi (Tools for Compilation): Update GCC version
8638 * INSTALL: Regenerated.
8640 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8643 * string/test-memcmp.c (check2): New.
8644 (main): Call check2.
8646 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8648 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8651 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8653 (dl_open_worker) [!SHARED]: ... here.
8655 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8657 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8659 2013-06-25 Richard Henderson <rth@redhat.com>
8661 * locale/programs/locarchive.c: Include <libc-internal.h>
8663 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8665 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8666 trailing whitespace removed.
8668 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8671 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8672 * locale/programs/locarchive.c: Include libc-mmap.h.
8673 (prepare_address_space): Take two new outputs (the mmap base and len).
8674 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8676 (create_archive): Declare new mmap base and len values for
8677 prepare_address_space, and store the result in ah.
8678 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8679 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8680 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8681 Declare new mmap base and len values for
8682 prepare_address_space, and store the result in new_ah.
8683 (open_archive): Declare new mmap base and len values for
8684 prepare_address_space, and store the result in ah.
8685 (close_archive): If ah->mmap_base is not NULL, use that and
8686 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8687 * sysdeps/generic/libc-mmap.h: New file.
8689 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8691 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8692 (ALIGN_UP): Likewise.
8693 (PTR_ALIGN_DOWN): Likewise.
8694 (PTR_ALIGN_UP): Likewise.
8696 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8698 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8699 entry mapped to PPC_PLATFORM_POWER8.
8700 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8702 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8703 (_dl_string_platform): Add case for exporting platform position for
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8706 search path to sysdeps/powerpc/powerpc32/power8 directory.
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8708 search path to sysdeps/powerpc/powerpc64/power8 directory.
8709 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8711 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8714 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8716 * INSTALL: Regenerate.
8718 * nscd/connections.c (nscd_init): Fix comment.
8720 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8722 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8725 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8726 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8728 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8730 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8732 (DL_DST_REQ_STATIC): Remove macro.
8734 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8737 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8738 with a shift of 0 bits.
8740 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8742 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8745 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8748 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8750 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8752 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8753 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8754 accepts -fno-tree-loop-distribute-patterns.
8755 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8756 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8758 * string/memset.c (memset): Likewise.
8759 * string/test-memmove.c (simple_memmove): Disable loop transformation
8761 * string/test-memset.c (simple_memset): Likewise.
8762 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8763 * benchtests/bench-memset.c (simple_memset): Likewise.
8764 * configure: Regenerated.
8766 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8768 * math/test-misc.c (main): Ignore fesetround failure when failures
8769 of subsequent rounding tests would be ignored.
8772 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8773 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8774 * math/fegetenv.c (__fegetenv): Return 0.
8775 * math/fegetexcept.c (fegetexcept): Return 0.
8776 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8778 * math/feholdexcpt.c (feholdexcept): Return 0.
8779 * math/fesetenv.c (__fesetenv): Return 0.
8780 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8781 argument FE_TONEAREST.
8782 * math/feupdateenv.c (__feupdateenv): Return 0.
8783 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8785 2013-06-18 Roland McGrath <roland@hack.frob.com>
8787 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8788 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8789 ($(objpfx)rtld-%.os rules): Use them.
8791 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8793 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8796 2013-06-17 Roland McGrath <roland@hack.frob.com>
8798 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8799 length of target pattern, then descending length of dependency pattern.
8800 * configure.in (AWK): Require gawk 3.1.2 or newer.
8801 * manual/install.texi (Tools for Compilation): Say that we do.
8802 * configure: Regenerated.
8804 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8805 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8806 * scripts/sysd-rules.awk: ... this new script.
8807 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8808 than a glob-style pattern.
8810 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8812 * math/test-misc.c (main): Do not treat incorrectly rounded
8813 conversions as failure unless ROUNDING_TESTS passes.
8815 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8818 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8819 restore exception state around main square root computation, then
8820 check for inexactness explicitly.
8822 * math/libm-test.inc (fma_test_data): Add another test.
8824 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * manual/threads.texi (Non-POSIX Extensions): New document
8827 node. Document pthread_getattr_default_np and
8828 pthread_setattr_default_np.
8830 * Versions.def (libpthread): Add GLIBC_2.18.
8831 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8851 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8854 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8856 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8857 H.J. Lu <hjl.tools@gmail.com>
8860 * sysdeps/x86_64/rtld-memset.c: Remove file.
8861 * sysdeps/x86_64/rtld-memset.S: New file.
8863 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8865 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8866 (test_in_one_mode): Take arguments for whether the rounding mode
8867 is supported for each floating-point type.
8868 (do_test): Pass new arguments to test_in_one_mode using
8871 2013-06-13 Roland McGrath <roland@hack.frob.com>
8873 * posix/tst-waitid.c (do_test): Distinguish different instances of
8874 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8875 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8876 before entering the kernel for waitpid.
8878 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8880 * NEWS: Fix note on clock function precision. Text by Roland
8883 2013-06-13 Roland McGrath <roland@hack.frob.com>
8885 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8886 it into place only when and if the sanity check passes.
8888 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8890 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8891 output for whether conversion result is exact. Take argument
8892 indicating whether type is IBM long double.
8893 (round_for_all): Change need_exact field to ibm_ld.
8894 * stdlib/tst-strtod-round.c (struct exactness): New type.
8895 (struct test): Change bool ld_ok field to struct exactness exact.
8896 (TEST): Update all definitions for change to field.
8897 (tests): Regenerate array contents.
8898 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8899 field value. Check for IBM long double here.
8900 (do_test): Update calls to test_in_one_mode.
8902 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8905 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8906 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8908 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8911 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8912 generated by the compiler on loop optimizations.
8913 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8914 general definitions.
8916 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8918 * math/bug-nextafter.c: Include <math-tests.h>.
8919 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8921 * math/bug-nexttoward.c: Include <math-tests.h>.
8922 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8924 * math/test-misc.c: Include <math-tests.h>.
8925 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8928 2013-06-12 Andreas Jaeger <aj@suse.de>
8930 * po/ia.po: Update Interlingua translation from translation
8933 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8935 * include/fenv.h: Include stdbool.h.
8936 (struct rm_ctx): New structure.
8937 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8939 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8940 (SET_RESTORE_ROUNDF): Likewise.
8941 (SET_RESTORE_ROUNDL): Likewise.
8942 (SET_RESTORE_ROUND_NOEX): Likewise.
8943 (SET_RESTORE_ROUND_NOEXF): Likewise.
8944 (SET_RESTORE_ROUND_NOEXL): Likewise.
8945 (SET_RESTORE_ROUND_53BIT): Likewise.
8946 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8947 (libc_feresetround_noexf_ctx): Likewise.
8948 (libc_feresetround_noexl_ctx): Likewise.
8949 (libc_feholdsetround_53bit_ctx): Likewise.
8950 (libc_feresetround_53bit_ctx): Likewise.
8951 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8952 (libc_feholdexcept_setround_sse_ctx): New function.
8953 (libc_fesetenv_sse_ctx): Likewise.
8954 (libc_feupdateenv_sse_ctx): Likewise.
8955 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8956 (libc_feholdexcept_setround_387_ctx): Likewise.
8957 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8958 (libc_feholdsetround_387_prec_ctx): Likewise.
8959 (libc_feholdsetround_387_ctx): Likewise.
8960 (libc_feholdsetround_387_53bit_ctx): Likewise.
8961 (libc_feholdsetround_sse_ctx): Likewise.
8962 (libc_feresetround_sse_ctx): Likewise.
8963 (libc_feresetround_387_ctx): Likewise.
8964 (libc_feupdateenv_387_ctx): Likewise.
8965 (libc_feholdexcept_setroundf_ctx): Define macro.
8966 (libc_fesetenvf_ctx): Likewise.
8967 (libc_feupdateenvf_ctx): Likewise.
8968 (libc_feholdsetroundf_ctx): Likewise.
8969 (libc_feresetroundf_ctx): Likewise.
8970 (libc_feholdexcept_setround_ctx): Likewise.
8971 (libc_fesetenv_ctx): Likewise.
8972 (libc_feupdateenv_ctx): Likewise.
8973 (libc_feholdsetround_ctx): Likewise.
8974 (libc_feresetround_ctx): Likewise.
8975 (libc_feholdexcept_setroundl_ctx): Likewise.
8976 (libc_feupdateenvl_ctx): Likewise.
8977 (libc_feholdsetroundl_ctx): Likewise.
8978 (libc_feresetroundl_ctx): Likewise.
8979 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8980 (libc_feresetround_53bit_ctx): Likewise.
8982 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8984 * locale/iso-639.def: Convert to UTF-8.
8986 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8989 (EXCEPTION_TESTS_double): Likewise.
8990 (EXCEPTION_TESTS_long_double): Likewise.
8991 (EXCEPTION_TESTS): Likewise.
8992 * math/libm-test.inc (test_exceptions): Only test exceptions if
8993 EXCEPTION_TESTS (FLOAT).
8995 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8997 * benchtests/Makefile (string-bench): Add strcpy_chk and
8999 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9000 * benchtests/bench-stpcpy_chk.c: New file.
9001 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9002 * benchtests/bench-strcpy_chk.c: New file.
9003 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9005 (do_test): Likewise.
9007 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9009 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9010 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9011 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9012 with tabs where appropriate.
9013 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9015 [PPC_PLATFORM_PPC440]: Likewise.
9016 [PPC_PLATFORM_PPC464]: Likewise.
9017 [PPC_PLATFORM_PPC476]: Likewise.
9018 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9019 ppc464, and ppc476 platform strings merging from ports/
9022 2013-06-11 Andreas Schwab <schwab@suse.de>
9025 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9026 (from_ucs4_idx): Regenerate.
9027 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9028 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9029 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9030 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9031 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9032 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9033 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9034 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9035 from FROM_LOOP and TO_LOOP specific macros.
9036 (BODY): Handle combining characters.
9037 * iconvdata/BIG5HKSCS.irreversible: Update.
9038 * iconvdata/BIG5HKSCS.precomposed: New file.
9039 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9041 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9043 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9045 * include/sys/time.h: Fix indentation and add copyright header.
9047 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9048 (do_test): Likewise.
9049 * string/test-memchr.c (do_one_test): Likewise.
9050 (do_test): Likewise.
9051 * string/test-memcmp.c (do_one_test): Likewise.
9052 (do_test): Likewise.
9053 * string/test-memcpy.c (do_one_test): Likewise.
9054 (do_test): Likewise.
9055 * string/test-memmem.c (do_one_test): Likewise.
9056 (do_test): Likewise.
9057 (do_random_tests): Likewise.
9058 * string/test-memmove.c (do_one_test): Likewise.
9059 (do_test): Likewise.
9060 * string/test-memset.c (do_one_test): Likewise.
9061 (do_test): Likewise.
9062 * string/test-rawmemchr.c (do_one_test): Likewise.
9063 (do_test): Likewise.
9064 * string/test-strcasecmp.c (do_one_test): Likewise.
9065 (do_test): Likewise.
9066 * string/test-strcasestr.c (do_one_test): Likewise.
9067 (do_test): Likewise.
9068 * string/test-strcat.c (do_one_test): Likewise.
9069 (do_test): Likewise.
9070 * string/test-strchr.c (do_one_test): Likewise.
9071 (do_test): Likewise.
9072 * string/test-strcmp.c (do_one_test): Likewise.
9073 (do_test): Likewise.
9074 * string/test-strcpy.c (do_one_test): Likewise.
9075 (do_test): Likewise.
9076 * string/test-string.h: Likewise.
9077 (test_init): Likewise.
9078 * string/test-strlen.c (do_one_test): Likewise.
9079 (do_test): Likewise.
9080 * string/test-strncasecmp.c (do_one_test): Likewise.
9081 (do_test): Likewise.
9082 * string/test-strncat.c (do_one_test): Likewise.
9083 (do_test): Likewise.
9084 * string/test-strncmp.c (do_one_test): Likewise.
9085 (do_test_limit): Likewise.
9086 (do_test): Likewise.
9087 * string/test-strncpy.c (do_one_test): Likewise.
9088 (do_test): Likewise.
9089 * string/test-strnlen.c (do_one_test): Likewise.
9090 (do_test): Likewise.
9091 * string/test-strpbrk.c (do_one_test): Likewise.
9092 (do_test): Likewise.
9093 * string/test-strrchr.c (do_one_test): Likewise.
9094 (do_test): Likewise.
9095 * string/test-strspn.c (do_one_test): Likewise.
9096 (do_test): Likewise.
9097 * string/test-strstr.c (do_one_test): Likewise.
9098 (do_test): Likewise.
9100 * benchtests/Makefile (string-bench): Add string benchmarks.
9101 * benchtests/bench-bcopy-ifunc.c: New file.
9102 * benchtests/bench-bcopy.c: New file.
9103 * benchtests/bench-bzero-ifunc.c: New file.
9104 * benchtests/bench-bzero.c: New file.
9105 * benchtests/bench-memccpy-ifunc.c: New file.
9106 * benchtests/bench-memccpy.c: New file.
9107 * benchtests/bench-memchr-ifunc.c: New file.
9108 * benchtests/bench-memchr.c: New file.
9109 * benchtests/bench-memcmp-ifunc.c: New file.
9110 * benchtests/bench-memcmp.c: New file.
9111 * benchtests/bench-memmem-ifunc.c: New file.
9112 * benchtests/bench-memmem.c: New file.
9113 * benchtests/bench-memmove-ifunc.c: New file.
9114 * benchtests/bench-memmove.c: New file.
9115 * benchtests/bench-mempcpy-ifunc.c: New file.
9116 * benchtests/bench-mempcpy.c: New file.
9117 * benchtests/bench-memset-ifunc.c: New file.
9118 * benchtests/bench-memset.c: New file.
9119 * benchtests/bench-rawmemchr-ifunc.c: New file.
9120 * benchtests/bench-rawmemchr.c: New file.
9121 * benchtests/bench-stpcpy-ifunc.c: New file.
9122 * benchtests/bench-stpcpy.c: New file.
9123 * benchtests/bench-stpncpy-ifunc.c: New file.
9124 * benchtests/bench-stpncpy.c: New file.
9125 * benchtests/bench-strcasecmp-ifunc.c: New file.
9126 * benchtests/bench-strcasecmp.c: New file.
9127 * benchtests/bench-strcasestr-ifunc.c: New file.
9128 * benchtests/bench-strcasestr.c: New file.
9129 * benchtests/bench-strcat-ifunc.c: New file.
9130 * benchtests/bench-strcat.c: New file.
9131 * benchtests/bench-strchr-ifunc.c: New file.
9132 * benchtests/bench-strchr.c: New file.
9133 * benchtests/bench-strchrnul-ifunc.c: New file.
9134 * benchtests/bench-strchrnul.c: New file.
9135 * benchtests/bench-strcmp-ifunc.c: New file.
9136 * benchtests/bench-strcmp.c: New file.
9137 * benchtests/bench-strcpy-ifunc.c: New file.
9138 * benchtests/bench-strcpy.c: New file.
9139 * benchtests/bench-strcspn-ifunc.c: New file.
9140 * benchtests/bench-strcspn.c: New file.
9141 * benchtests/bench-strlen-ifunc.c: New file.
9142 * benchtests/bench-strlen.c: New file.
9143 * benchtests/bench-strncasecmp-ifunc.c: New file.
9144 * benchtests/bench-strncasecmp.c: New file.
9145 * benchtests/bench-strncat-ifunc.c: New file.
9146 * benchtests/bench-strncat.c: New file.
9147 * benchtests/bench-strncmp-ifunc.c: New file.
9148 * benchtests/bench-strncmp.c: New file.
9149 * benchtests/bench-strncpy-ifunc.c: New file.
9150 * benchtests/bench-strncpy.c: New file.
9151 * benchtests/bench-strnlen-ifunc.c: New file.
9152 * benchtests/bench-strnlen.c: New file.
9153 * benchtests/bench-strpbrk-ifunc.c: New file.
9154 * benchtests/bench-strpbrk.c: New file.
9155 * benchtests/bench-strrchr-ifunc.c: New file.
9156 * benchtests/bench-strrchr.c: New file.
9157 * benchtests/bench-strspn-ifunc.c: New file.
9158 * benchtests/bench-strspn.c: New file.
9159 * benchtests/bench-strstr-ifunc.c: New file.
9160 * benchtests/bench-strstr.c: New file.
9162 * benchtests/Makefile: Disable parallel execution of targets.
9163 (string-bench): Add memcpy.
9164 (benchset): New variable to store a list of benchmark sets.
9165 (bench-func): Renamed from bench.
9166 (bench-set): New target.
9167 (bench): Depend on bench-func and bench-set.
9168 * benchtests/README: Add section on benchmark sets.
9169 * benchtests/bench-memcpy-ifunc.c: New file.
9170 * benchtests/bench-memcpy.c: New file.
9171 * benchtests/bench-string.h: New file.
9173 2013-06-11 Andreas Schwab <schwab@suse.de>
9176 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9177 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9178 values in the triple.
9179 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9180 terminator in the group key.
9182 2013-06-11 Andreas Jaeger <aj@suse.de>
9184 * po/zh_TW.po: Update Chinese (traditional) translation from
9185 translation project.
9187 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9189 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9190 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9191 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9192 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9193 (clock_getcpuclockid): Likewise.
9194 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9195 Add weak_alias and libc_hidden_def.
9196 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9197 * rt/clock_gettime.c (clock_gettime): Rename to
9198 __clock_gettime. Add weak_alias and libc_hidden_def.
9199 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9200 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9201 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9202 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9203 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9205 * rt/clock_settime.c (clock_settime): Rename to
9206 __clock_settime. Add weak_alias and libc_hidden_def.
9207 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9209 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9211 * mach/err_boot.sub: Remove trailing whitespace.
9212 * mach/err_ipc.sub: Likewise.
9213 * mach/err_mach.sub: Likewise.
9215 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9216 (ROUNDING_TESTS_double): Likewise.
9217 (ROUNDING_TESTS_long_double): Likewise.
9218 (ROUNDING_TESTS): Likewise.
9219 * math/libm-test.inc: Include <math-tests.h>.
9220 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9221 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9222 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9223 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9225 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9227 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9230 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9232 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9233 otherwise empty TRANS lines.
9234 * sysdeps/gnu/errlist.c: Regenerated.
9236 * catgets/gencat.c (error_print): Use (void) in function
9238 * crypt/crypt_util.c (__init_des): Likewise.
9239 * crypt/speeds.c (Stop): Likewise.
9241 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9242 * inet/ruserpass.c (token): Likewise.
9243 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9244 * intl/localealias.c (extend_alias_table): Likewise.
9245 * intl/plural-exp.c (init_germanic_plural): Likewise.
9246 * libio/fcloseall.c (__fcloseall): Likewise.
9247 * libio/genops.c (_IO_flush_all): Likewise.
9248 (_IO_flush_all_linebuffered): Likewise.
9249 (_IO_cleanup): Likewise.
9250 (_IO_iter_begin): Likewise.
9251 (_IO_iter_end): Likewise.
9252 (_IO_list_lock): Likewise.
9253 (_IO_list_unlock): Likewise.
9254 (_IO_list_resetlock): Likewise.
9255 * libio/getchar.c (getchar): Likewise.
9256 * libio/getchar_u.c (getchar_unlocked): Likewise.
9257 * libio/getwchar.c (getwchar): Likewise.
9258 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9259 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9260 * login/getpt.c (__getpt): Likewise.
9261 * login/tst-utmp.c (main): Likewise.
9262 * malloc/hooks.c (__malloc_check_init): Likewise.
9263 * malloc/malloc.c (__malloc_stats): Likewise.
9264 * malloc/mtrace.c (tr_break): Likewise.
9266 (muntrace): Likewise.
9267 * misc/fstab.c (endfsent): Likewise.
9268 * misc/getclktck.c (__getclktck): Likewise.
9269 * misc/getdtsz.c (__getdtablesize): Likewise.
9270 * misc/gethostid.c (gethostid): Likewise.
9271 * misc/getpagesize.c (__getpagesize): Likewise.
9272 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9273 (__get_nprocs): Likewise.
9274 (__get_phys_pages): Likewise.
9275 (__get_avphys_pages): Likewise.
9276 * misc/getttyent.c (getttyent): Likewise.
9277 (setttyent): Likewise.
9278 (endttyent): Likewise.
9279 * misc/getusershell.c (getusershell): Likewise.
9280 (endusershell): Likewise.
9281 (setusershell): Likewise.
9282 (initshells): Likewise.
9283 * misc/hsearch.c (__hdestroy): Likewise.
9284 * misc/sync.c (sync): Likewise.
9285 * misc/syslog.c (closelog_internal): Likewise.
9286 (closelog): Likewise.
9287 * misc/ttyslot.c (ttyslot): Likewise.
9288 * misc/vhangup.c (vhangup): Likewise.
9289 * posix/fork.c (__fork): Likewise.
9290 * posix/getegid.c (__getegid): Likewise.
9291 * posix/geteuid.c (__geteuid): Likewise.
9292 * posix/getgid.c (__getgid): Likewise.
9293 * posix/getpid.c (__getpid): Likewise.
9294 * posix/getppid.c (__getppid): Likewise.
9295 * posix/getuid.c (__getuid): Likewise.
9296 * posix/pause.c (pause): Likewise.
9297 * posix/setpgrp.c (setpgrp): Likewise.
9298 * posix/setsid.c (__setsid): Likewise.
9299 * posix/test-vfork.c (noop): Likewise.
9300 * resolv/gethnamaddr.c (_endhtent): Likewise.
9301 (_gethtent): Likewise.
9302 (ht_endhostent): Likewise.
9303 (gethostent): Likewise.
9304 (dns_service): Likewise.
9305 * stdlib/drand48.c (drand48): Likewise.
9306 * stdlib/lrand48.c (lrand48): Likewise.
9307 * stdlib/mrand48.c (mrand48): Likewise.
9308 * stdlib/rand.c (rand): Likewise.
9309 * stdlib/random.c (__random): Likewise.
9310 * stdlib/setenv.c (clearenv): Likewise.
9311 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9312 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9313 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9314 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9315 (__get_nprocs): Likewise.
9316 (__get_phys_pages): Likewise.
9317 (__get_avphys_pages): Likewise.
9318 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9319 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9320 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9321 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9322 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9323 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9324 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9325 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9326 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9327 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9328 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9329 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9330 * sysdeps/posix/clock.c (clock): Likewise.
9331 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9332 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9333 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9334 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9335 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9337 (__get_nprocs_conf): Likewise.
9338 (__get_phys_pages): Likewise.
9339 (__get_avphys_pages): Likewise.
9340 * time/clock.c (clock): Likewise.
9341 * time/tzset.c (__tzname_max): Likewise.
9343 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9345 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9346 (__bswap_32): Do not use "register".
9347 * crypt/crypt.c (_ufc_doit_r): Likewise.
9348 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9349 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9350 * gmon/gmon.c (__monstartup): Likewise.
9351 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9352 * hurd/hurdmalloc.c (more_memory): Likewise.
9355 (realloc): Likewise.
9356 (malloc_fork_prepare): Likewise.
9357 (malloc_fork_parent): Likewise.
9358 (malloc_fork_child): Likewise.
9359 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9360 (_svcauth_des): Likewise.
9361 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9362 * inet/inet_net.c (inet_network): Likewise.
9363 * inet/inet_netof.c (inet_netof): Likewise.
9364 * inet/rcmd.c (__validuser2_sa): Likewise.
9365 * io/fts.c (fts_open): Likewise.
9366 (fts_load): Likewise.
9367 (fts_close): Likewise.
9368 (fts_read): Likewise.
9369 (fts_children): Likewise.
9370 (fts_build): Likewise.
9371 (fts_stat): Likewise.
9372 (fts_sort): Likewise.
9373 (fts_alloc): Likewise.
9374 (fts_lfree): Likewise.
9375 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9376 (_IO_file_xsgetn): Likewise.
9377 (_IO_file_xsgetn_mmap): Likewise.
9378 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9379 (_IO_cookie_write): Likewise.
9380 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9381 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9382 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9383 * malloc/obstack.c (_obstack_begin): Likewise.
9384 (_obstack_begin_1): Likewise.
9385 (_obstack_newchunk): Likewise.
9386 (_obstack_allocated_p): Likewise.
9387 (obstack_free): Likewise.
9388 (_obstack_memory_used): Likewise.
9389 * misc/getttyent.c (getttynam): Likewise.
9390 (getttyent): Likewise.
9393 * misc/getusershell.c (initshells): Likewise.
9394 * misc/syslog.c (__vsyslog_chk): Likewise.
9395 * misc/ttyslot.c (ttyslot): Likewise.
9396 * nis/nis_hash.c (__nis_hash): Likewise.
9397 * posix/fnmatch_loop.c (FCT): Likewise.
9398 * posix/getconf.c (print_all): Likewise.
9400 * posix/getopt.c (exchange): Likewise.
9401 * posix/glob.c (globfree): Likewise.
9402 (prefix_array): Likewise.
9403 (__glob_pattern_type): Likewise.
9404 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9405 (NS_GET32): Likewise.
9406 (NS_PUT16): Likewise.
9407 (NS_PUT32): Likewise.
9408 * resolv/gethnamaddr.c (getanswer): Likewise.
9409 (gethostbyname2): Likewise.
9410 (gethostbyaddr): Likewise.
9411 (_gethtent): Likewise.
9412 (_gethtbyname2): Likewise.
9413 (_gethtbyaddr): Likewise.
9414 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9415 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9416 * resolv/res_init.c (__res_vinit): Likewise.
9417 (net_mask): Likewise.
9418 * resolv/res_mkquery.c (outchar): Likewise.
9420 * stdio-common/printf_fp.c (outchar): Likewise.
9422 * stdio-common/printf_fphex.c (outchar): Likewise.
9424 * stdio-common/printf_size.c (outchar): Likewise.
9426 * stdio-common/test_rdwr.c (main): Likewise.
9427 * stdio-common/tfformat.c (matches): Likewise.
9428 * stdio-common/vfprintf.c (outchar): Likewise.
9429 (printf_unknown): Likewise.
9430 (buffered_vfprintf): Likewise.
9431 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9432 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9433 (ReadFile): Likewise.
9434 * stdlib/qsort.c (SWAP): Likewise.
9435 (_quicksort): Likewise.
9436 * stdlib/setenv.c (__add_to_environ): Likewise.
9437 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9438 * stdlib/strtol_l.c (__strtol_l): Likewise.
9439 * stdlib/tst-strtod.c (main): Likewise.
9440 * stdlib/tst-strtol.c (main): Likewise.
9441 * stdlib/tst-strtoll.c (main): Likewise.
9442 * string/bits/string2.h (__strcmp_cc): Likewise.
9443 (__strcmp_cg): Likewise.
9444 (__strcspn_c1): Likewise.
9445 (__strcspn_c2): Likewise.
9446 (__strcspn_c3): Likewise.
9447 (__strspn_c1): Likewise.
9448 (__strspn_c2): Likewise.
9449 (__strspn_c3): Likewise.
9450 (__strsep_1c): Likewise.
9451 (__strsep_2c): Likewise.
9452 (__strsep_3c): Likewise.
9453 * string/memccpy.c (__memccpy): Likewise.
9454 * string/stpcpy.c (__stpcpy): Likewise.
9455 * string/strcmp.c (strcmp): Likewise.
9456 * string/strrchr.c (strrchr): Likewise.
9457 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9459 * sysdeps/mach/hurd/getcwd.c
9460 (_hurd_canonicalize_directory_name_internal): Likewise.
9461 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9462 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9463 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9464 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9465 Likewise, in both definitions.
9466 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9468 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9469 64] (__bswap_64): Likewise.
9470 * time/test_time.c (main): Likewise.
9471 * time/tzfile.c (__tzfile_read): Likewise.
9472 (__tzfile_compute): Likewise.
9473 * time/tzset.c (__tzset_parse_tz): Likewise.
9474 (tzset_internal): Likewise.
9475 (compute_change): Likewise.
9476 * wcsmbs/wcscat.c (__wcscat): Likewise.
9477 * wcsmbs/wcschr.c (wcschr): Likewise.
9478 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9479 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9480 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9481 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9482 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9483 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9484 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9485 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9486 * wcsmbs/wmemset.c (wmemset): Likewise.
9488 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9490 * scripts/config.guess: Update to version 2013-05-16.
9491 * scripts/config.sub: Update to version 2013-04-24.
9492 * scripts/install-sh: Update to version 2011-11-20.07.
9493 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9494 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9496 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9498 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9499 * elf/sln.c: Likewise.
9500 * hurd/hurd/ioctl.h: Likewise.
9501 * hurd/hurdmalloc.c: Likewise.
9502 * hurd/xattr.c: Likewise.
9503 * include/shlib-compat.h: Likewise.
9504 * inet/ruserpass.c: Likewise.
9505 * libio/iofgets_u.c: Likewise.
9506 * libio/iofgetws_u.c: Likewise.
9507 * locale/programs/ld-identification.c: Likewise.
9508 * locale/programs/ld-time.c: Likewise.
9509 * mach/msg-destroy.c: Likewise.
9510 * nss/nss_files/files-netgrp.c: Likewise.
9511 * resolv/res_data.c: Likewise.
9512 * soft-fp/op-1.h: Likewise.
9513 * soft-fp/op-2.h: Likewise.
9514 * soft-fp/op-4.h: Likewise.
9515 * soft-fp/op-common.h: Likewise.
9516 * stdio-common/printf_fphex.c: Likewise.
9517 * stdlib/strtod_l.c: Likewise.
9518 * sunrpc/rpc/clnt.h: Likewise.
9519 * sysdeps/generic/framestate.c: Likewise.
9520 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9521 * sysdeps/i386/bsd-setjmp.S: Likewise.
9522 * sysdeps/i386/__longjmp.S: Likewise.
9523 * sysdeps/i386/setjmp.S: Likewise.
9524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9525 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9542 * sysdeps/ieee754/support.c: Likewise.
9543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9544 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9545 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9546 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9547 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9548 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9549 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9550 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9551 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9552 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9553 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9554 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9555 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9556 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9557 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9558 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9559 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9562 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9564 * posix/transbug.c: Remove executable mode.
9566 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9568 * crypt/speeds.c: Remove trailing whitespace.
9569 * dlfcn/default.c: Likewise.
9570 * elf/ifuncdep2.c: Likewise.
9571 * elf/ifuncmain1.c: Likewise.
9572 * elf/ifuncmain1vis.c: Likewise.
9573 * elf/testobj.h: Likewise.
9574 * elf/tst-stackguard1.c: Likewise.
9575 * gmon/sys/gmon.h: Likewise.
9576 * hurd/hurdmsg.c: Likewise.
9577 * hurd/new-fd.c: Likewise.
9578 * hurd/ports-get.c: Likewise.
9579 * iconvdata/ibm1008_420.c: Likewise.
9580 * inet/tst-getni1.c: Likewise.
9581 * inet/tst-getni2.c: Likewise.
9582 * libio/ioungetc.c: Likewise.
9583 * libio/wfiledoalloc.c: Likewise.
9584 * manual/libm-err-tab.pl: Likewise.
9585 * math/w_dremf.c: Likewise.
9586 * misc/ftruncate.c: Likewise.
9587 * posix/bug-glob2.c: Likewise.
9588 * posix/tst-pcre.c: Likewise.
9589 * posix/wait4.c: Likewise.
9590 * resolv/README: Likewise.
9591 * resolv/res_debug.h: Likewise.
9592 * resolv/tst-inet_ntop.c: Likewise.
9593 * setjmp/bug269-setjmp.c: Likewise.
9594 * soft-fp/extended.h: Likewise.
9595 * soft-fp/op-1.h: Likewise.
9596 * soft-fp/op-2.h: Likewise.
9597 * soft-fp/op-4.h: Likewise.
9598 * soft-fp/op-8.h: Likewise.
9599 * soft-fp/testit.c: Likewise.
9600 * stdio-common/bug16.c: Likewise.
9601 * stdlib/random.c: Likewise.
9602 * sunrpc/rpcsvc/rquota.x: Likewise.
9603 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9610 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9611 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9632 * sysdeps/ieee754/s_lib_version.c: Likewise.
9633 * sysdeps/mach/hurd/check_fds.c: Likewise.
9634 * sysdeps/mach/hurd/getsockname.c: Likewise.
9635 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9636 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9637 * sysdeps/powerpc/bits/link.h: Likewise.
9638 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9639 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9640 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9641 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9642 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9643 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9644 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9645 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9646 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9648 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9652 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9653 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9654 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9657 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9658 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9659 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9660 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9661 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9662 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9663 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9665 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9666 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9671 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9672 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9673 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9674 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9675 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9676 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9677 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9678 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9679 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9680 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9681 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9685 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9686 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9690 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9691 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9692 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9693 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9694 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9695 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9696 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9697 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9698 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9700 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9701 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9702 * sysdeps/powerpc/sysdep.h: Likewise.
9703 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9704 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9705 * sysdeps/sh/dl-trampoline.S: Likewise.
9706 * sysdeps/sh/memset.S: Likewise.
9707 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9708 * sysdeps/sh/strlen.S: Likewise.
9709 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9710 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9711 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9712 * sysdeps/sparc/sparc32/rem.S: Likewise.
9713 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9714 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9715 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9716 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9717 * sysdeps/sparc/sparc32/urem.S: Likewise.
9718 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9719 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9720 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9721 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9722 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9723 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9724 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9725 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9726 * sysdeps/unix/bsd/times.c: Likewise.
9727 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9728 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9733 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9734 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9735 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9736 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9737 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9738 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9739 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9741 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9742 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9743 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9744 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9745 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9746 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9747 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9748 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9749 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9751 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9752 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9753 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9754 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9755 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9756 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9757 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9758 * sysdeps/x86_64/strcspn.S: Likewise.
9760 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9762 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9763 generated file. Regenerate properly from gen-translit.pl.
9764 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9765 locale/C-translit.h.
9767 2013-06-05 Andreas Schwab <schwab@suse.de>
9770 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9771 week as 6 instead of -1.
9772 * time/tst-strptime.c (day_tests): Add test case.
9774 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9776 * sysdeps/generic/math_private.h
9777 (libc_feholdexcept_setround_53bit): Replace with
9778 libc_feholdsetround_53bit.
9779 (libc_feupdateenv_53bit): Replace with
9780 libc_feresetround_53bit.
9781 (SET_RESTORE_ROUND_53BIT): Adjust.
9783 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9785 * string/test-strchrnul.c: Add copyright header.
9787 * posix/tst-getaddrinfo4.c: Increase test timeout.
9789 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9792 * math/libm-test.inc (MAX_EXP): Remove
9794 (ulp): Use MIN_EXP - MANT_DIG.
9795 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9797 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9799 * po/be.po: Revert last change.
9800 * po/zh_CN.po: Likewise.
9801 * po/header.pot: Likewise.
9803 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9805 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9806 link-libc-deps to empty as target-specific variable.
9807 * Makerules (link-libc-args): New variable.
9808 (libc-for-link): Likewise.
9809 (link-libc-deps): Likewise.
9810 (lib%.so): Depend on $(link-libc-deps). Link with
9812 (build-module): Link with $(link-libc-args).
9813 (build-module-asneeded): Likewise.
9814 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9816 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9817 target-specific variable.
9818 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9819 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9820 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9822 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9824 ($(objpfx)libpcprofile.so): Likewise.
9825 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9827 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9828 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9829 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9831 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9832 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9833 * login/Makefile ($(objpfx)libutil.so): Likewise.
9834 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9835 * math/Makefile ($(objpfx)libm.so): Likewise.
9836 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9837 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9838 variable instead of depending directly on libc.
9839 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9840 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9842 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9844 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9845 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9846 ($(objpfx)libanl.so): Likewise.
9847 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9849 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9851 * sysdeps/i386/fpu/Makefile: Remove file.
9852 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9853 ($(objpfx)libm.so): Remove dependency on ld.so.
9855 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9858 * nis/yp_xdr.c (XDRMAXNAME): Define.
9859 (XDRMAXRECORD): Define.
9860 (xdr_domainname): Use XDRMAXNAME.
9861 (xdr_mapname): Likewise.
9862 (xdr_peername): Likewise.
9863 (xdr_keydat): Use XDRMAXRECORD.
9864 (xdr_valdat): Likewise.
9866 2013-05-30 Jeff Law <law@redhat.com>
9869 * manual/errno.texi (ESTALE): Update to account for more than
9870 just NFS file systems.
9871 * sysdeps/gnu/errlist.c: Regenerated.
9873 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9876 * elf/Makefile (tests): Add tst-null-argv.
9877 (modules-names): Add tst-null-argv-lib.
9878 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9879 (tst-null-argv-ENV): Set environment for tst-null-argv.
9880 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9881 (RTLD_PROGNAME): New macro.
9882 * elf/tst-null-argv.c: New test case.
9883 * elf/tst-null-argv-lib.c: Library for test case.
9884 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9885 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9886 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9887 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9888 * elf/dl-init.c (call_init): Likewise.
9889 (_dl_init): Likewise.
9890 * elf/dl-load.c (print_search_path): Likewise.
9891 (_dl_map_object): Likewise.
9892 * elf/dl-lookup.c (do_lookup_x): Likewise.
9893 (add_dependency): Likewise.
9894 (_dl_lookup_symbol_x): Likewise.
9895 (_dl_debug_bindings): Likewise.
9896 * elf/dl-open.c (_dl_show_scope): Likewise.
9897 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9898 * elf/dl-version.c (match_symbol): Likewise.
9899 (_dl_check_map_versions): Likewise.
9900 * elf/rtld.c (dl_main): Likewise.
9901 (print_unresolved): Use RTLD_PROGNAME.
9902 (print_missing_version): Likewise.
9903 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9904 (elf_machine_rela): Likewise.
9905 * sysdeps/powerpc/powerpc32/dl-machine.c
9906 (__process_machine_rela): Likewise.
9907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9911 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9913 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9920 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9922 * po/be.po: Add descriptive title.
9923 * po/zh_CN.po: Likewise.
9924 * po/header.pot: Likewise.
9926 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9928 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9930 (enlarge_archive): Likewise.
9932 2013-05-28 Ben North <ben@redfrontdoor.org>
9934 * manual/arith.texi (frexp): It is the magnitude of the return
9935 value which lies in [0.5, 1), not the return value itself.
9937 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9941 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9943 * stdio-common/bug26.c (main): Correct fscanf template.
9945 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9946 declare _dl_skip_args.
9948 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9951 * manual/platform.texi: Add missing @end deftypefun.
9953 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9956 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9957 bit of mantissa of 2^16382.
9958 * math/libm-test.inc (hypot_test_data): Add more tests.
9960 * math/libm-test.inc: Add drem and pow10 to list of tested
9962 (pow10_test): New function.
9963 (drem_test): Likewise.
9964 (drem_test_tonearest): Likewise.
9965 (drem_test_towardzero): Likewise.
9966 (drem_test_downward): Likewise.
9967 (drem_test_upward): Likewise.
9968 (main): Call the new functions.
9970 * math/libm-test.inc (finite_test_data): Remove.
9971 (finite_test): Run tests from isfinite_test_data.
9972 (gamma_test_data): Remove.
9973 (gamma_test): Run tests from lgamma_test_data.
9974 * sysdeps/i386/fpu/libm-test-ulps: Update.
9975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9979 * manual/platform.texi: Add PowerPC PPR function set documentation.
9980 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9983 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9985 * math/libm-test.inc (MAX_EXP): Define.
9987 (ulp): New function.
9988 (check_float_internal): Use ULPDIFF.
9989 (cpow_test): Disable failing test.
9990 (check_ulp): Test ulp() implemetnation.
9991 (main): Call check_ulp before starting tests.
9993 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9995 * math/gen-libm-test.pl (generate_testfile): Do not handle
9996 START_DATA and END_DATA.
9997 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9999 (acos_tonearest_test_data): Likewise.
10000 (acos_towardzero_test_data): Likewise.
10001 (acos_downward_test_data): Likewise.
10002 (acos_upward_test_data): Likewise.
10003 (acosh_test_data): Likewise.
10004 (asin_test_data): Likewise.
10005 (asin_tonearest_test_data): Likewise.
10006 (asin_towardzero_test_data): Likewise.
10007 (asin_downward_test_data): Likewise.
10008 (asin_upward_test_data): Likewise.
10009 (asinh_test_data): Likewise.
10010 (atan_test_data): Likewise.
10011 (atanh_test_data): Likewise.
10012 (atan2_test_data): Likewise.
10013 (cabs_test_data): Likewise.
10014 (cacos_test_data): Likewise.
10015 (cacosh_test_data): Likewise.
10016 (carg_test_data): Likewise.
10017 (casin_test_data): Likewise.
10018 (casinh_test_data): Likewise.
10019 (catan_test_data): Likewise.
10020 (catanh_test_data): Likewise.
10021 (cbrt_test_data): Likewise.
10022 (ccos_test_data): Likewise.
10023 (ccosh_test_data): Likewise.
10024 (ceil_test_data): Likewise.
10025 (cexp_test_data): Likewise.
10026 (cimag_test_data): Likewise.
10027 (clog_test_data): Likewise.
10028 (clog10_test_data): Likewise.
10029 (conj_test_data): Likewise.
10030 (copysign_test_data): Likewise.
10031 (cos_test_data): Likewise.
10032 (cos_tonearest_test_data): Likewise.
10033 (cos_towardzero_test_data): Likewise.
10034 (cos_downward_test_data): Likewise.
10035 (cos_upward_test_data): Likewise.
10036 (cosh_test_data): Likewise.
10037 (cosh_tonearest_test_data): Likewise.
10038 (cosh_towardzero_test_data): Likewise.
10039 (cosh_downward_test_data): Likewise.
10040 (cosh_upward_test_data): Likewise.
10041 (cpow_test_data): Likewise.
10042 (cproj_test_data): Likewise.
10043 (creal_test_data): Likewise.
10044 (csin_test_data): Likewise.
10045 (csinh_test_data): Likewise.
10046 (csqrt_test_data): Likewise.
10047 (ctan_test_data): Likewise.
10048 (ctan_tonearest_test_data): Likewise.
10049 (ctan_towardzero_test_data): Likewise.
10050 (ctan_downward_test_data): Likewise.
10051 (ctan_upward_test_data): Likewise.
10052 (ctanh_test_data): Likewise.
10053 (ctanh_tonearest_test_data): Likewise.
10054 (ctanh_towardzero_test_data): Likewise.
10055 (ctanh_downward_test_data): Likewise.
10056 (ctanh_upward_test_data): Likewise.
10057 (erf_test_data): Likewise.
10058 (erfc_test_data): Likewise.
10059 (exp_test_data): Likewise.
10060 (exp_tonearest_test_data): Likewise.
10061 (exp_towardzero_test_data): Likewise.
10062 (exp_downward_test_data): Likewise.
10063 (exp_upward_test_data): Likewise.
10064 (exp10_test_data): Likewise.
10065 (exp2_test_data): Likewise.
10066 (expm1_test_data): Likewise.
10067 (fabs_test_data): Likewise.
10068 (fdim_test_data): Likewise.
10069 (finite_test_data): Likewise.
10070 (floor_test_data): Likewise.
10071 (fma_test_data): Likewise.
10072 (fma_towardzero_test_data): Likewise.
10073 (fma_downward_test_data): Likewise.
10074 (fma_upward_test_data): Likewise.
10075 (fmax_test_data): Likewise.
10076 (fmin_test_data): Likewise.
10077 (fmod_test_data): Likewise.
10078 (fpclassify_test_data): Likewise.
10079 (frexp_test_data): Likewise.
10080 (gamma_test_data): Likewise.
10081 (hypot_test_data): Likewise.
10082 (ilogb_test_data): Likewise.
10083 (isfinite_test_data): Likewise.
10084 (isgreater_test_data): Likewise.
10085 (isgreaterequal_test_data): Likewise.
10086 (isinf_test_data): Likewise.
10087 (isless_test_data): Likewise.
10088 (islessequal_test_data): Likewise.
10089 (islessgreater_test_data): Likewise.
10090 (isnan_test_data): Likewise.
10091 (isnormal_test_data): Likewise.
10092 (issignaling_test_data): Likewise.
10093 (isunordered_test_data): Likewise.
10094 (j0_test_data): Likewise.
10095 (j1_test_data): Likewise.
10096 (jn_test_data): Likewise.
10097 (ldexp_test_data): Likewise.
10098 (lgamma_test_data): Likewise.
10099 (lrint_test_data): Likewise.
10100 (lrint_tonearest_test_data): Likewise.
10101 (lrint_towardzero_test_data): Likewise.
10102 (lrint_downward_test_data): Likewise.
10103 (lrint_upward_test_data): Likewise.
10104 (llrint_test_data): Likewise.
10105 (llrint_tonearest_test_data): Likewise.
10106 (llrint_towardzero_test_data): Likewise.
10107 (llrint_downward_test_data): Likewise.
10108 (llrint_upward_test_data): Likewise.
10109 (log_test_data): Likewise.
10110 (log10_test_data): Likewise.
10111 (log1p_test_data): Likewise.
10112 (log2_test_data): Likewise.
10113 (logb_test_data): Likewise.
10114 (logb_downward_test_data): Likewise.
10115 (lround_test_data): Likewise.
10116 (llround_test_data): Likewise.
10117 (modf_test_data): Likewise.
10118 (nearbyint_test_data): Likewise.
10119 (nextafter_test_data): Likewise.
10120 (nexttoward_test_data): Likewise.
10121 (pow_test_data): Likewise.
10122 (pow_tonearest_test_data): Likewise.
10123 (pow_towardzero_test_data): Likewise.
10124 (pow_downward_test_data): Likewise.
10125 (pow_upward_test_data): Likewise.
10126 (remainder_test_data): Likewise.
10127 (remainder_tonearest_test_data): Likewise.
10128 (remainder_towardzero_test_data): Likewise.
10129 (remainder_downward_test_data): Likewise.
10130 (remainder_upward_test_data): Likewise.
10131 (remquo_test_data): Likewise.
10132 (rint_test_data): Likewise.
10133 (rint_tonearest_test_data): Likewise.
10134 (rint_towardzero_test_data): Likewise.
10135 (rint_downward_test_data): Likewise.
10136 (rint_upward_test_data): Likewise.
10137 (round_test_data): Likewise.
10138 (scalb_test_data): Likewise.
10139 (scalbn_test_data): Likewise.
10140 (scalbln_test_data): Likewise.
10141 (signbit_test_data): Likewise.
10142 (sin_test_data): Likewise.
10143 (sin_tonearest_test_data): Likewise.
10144 (sin_towardzero_test_data): Likewise.
10145 (sin_downward_test_data): Likewise.
10146 (sin_upward_test_data): Likewise.
10147 (sincos_test_data): Likewise.
10148 (sinh_test_data): Likewise.
10149 (sinh_tonearest_test_data): Likewise.
10150 (sinh_towardzero_test_data): Likewise.
10151 (sinh_downward_test_data): Likewise.
10152 (sinh_upward_test_data): Likewise.
10153 (sqrt_test_data): Likewise.
10154 (tan_test_data): Likewise.
10155 (tan_tonearest_test_data): Likewise.
10156 (tan_towardzero_test_data): Likewise.
10157 (tan_downward_test_data): Likewise.
10158 (tan_upward_test_data): Likewise.
10159 (tanh_test_data): Likewise.
10160 (tgamma_test_data): Likewise.
10161 (trunc_test_data): Likewise.
10162 (y0_test_data): Likewise.
10163 (y1_test_data): Likewise.
10164 (yn_test_data): Likewise.
10165 (significand_test_data): Likewise.
10167 * math/gen-libm-test.pl (@functions): Remove variable.
10168 (generate_testfile): Don't handle START and END lines.
10169 * math/libm-test.inc (START): New macro.
10171 (END_COMPLEX): Likewise.
10172 (acos_test): Use END macro without arguments.
10173 (acos_test_tonearest): Likewise.
10174 (acos_test_towardzero): Likewise.
10175 (acos_test_downward): Likewise.
10176 (acos_test_upward): Likewise.
10177 (acosh_test): Likewise.
10178 (asin_test): Likewise.
10179 (asin_test_tonearest): Likewise.
10180 (asin_test_towardzero): Likewise.
10181 (asin_test_downward): Likewise.
10182 (asin_test_upward): Likewise.
10183 (asinh_test): Likewise.
10184 (atan_test): Likewise.
10185 (atanh_test): Likewise.
10186 (atan2_test): Likewise.
10187 (cabs_test): Likewise.
10188 (cacos_test): Use END_COMPLEX macro without arguments.
10189 (cacosh_test): Likewise.
10190 (carg_test): Use END macro without arguments.
10191 (casin_test): Use END_COMPLEX macro without arguments.
10192 (casinh_test): Likewise.
10193 (catan_test): Likewise.
10194 (catanh_test): Likewise.
10195 (cbrt_test): Use END macro without arguments.
10196 (ccos_test): Use END_COMPLEX macro without arguments.
10197 (ccosh_test): Likewise.
10198 (ceil_test): Use END macro without arguments.
10199 (cexp_test): Use END_COMPLEX macro without arguments.
10200 (cimag_test): Use END macro without arguments.
10201 (clog_test): Use END_COMPLEX macro without arguments.
10202 (clog10_test): Likewise.
10203 (conj_test): Likewise.
10204 (copysign_test): Use END macro without arguments.
10205 (cos_test): Likewise.
10206 (cos_test_tonearest): Likewise.
10207 (cos_test_towardzero): Likewise.
10208 (cos_test_downward): Likewise.
10209 (cos_test_upward): Likewise.
10210 (cosh_test): Likewise.
10211 (cosh_test_tonearest): Likewise.
10212 (cosh_test_towardzero): Likewise.
10213 (cosh_test_downward): Likewise.
10214 (cosh_test_upward): Likewise.
10215 (cpow_test): Use END_COMPLEX macro without arguments.
10216 (cproj_test): Likewise.
10217 (creal_test): Use END macro without arguments.
10218 (csin_test): Use END_COMPLEX macro without arguments.
10219 (csinh_test): Likewise.
10220 (csqrt_test): Likewise.
10221 (ctan_test): Likewise.
10222 (ctan_test_tonearest): Likewise.
10223 (ctan_test_towardzero): Likewise.
10224 (ctan_test_downward): Likewise.
10225 (ctan_test_upward): Likewise.
10226 (ctanh_test): Likewise.
10227 (ctanh_test_tonearest): Likewise.
10228 (ctanh_test_towardzero): Likewise.
10229 (ctanh_test_downward): Likewise.
10230 (ctanh_test_upward): Likewise.
10231 (erf_test): Use END macro without arguments.
10232 (erfc_test): Likewise.
10233 (exp_test): Likewise.
10234 (exp_test_tonearest): Likewise.
10235 (exp_test_towardzero): Likewise.
10236 (exp_test_downward): Likewise.
10237 (exp_test_upward): Likewise.
10238 (exp10_test): Likewise.
10239 (exp2_test): Likewise.
10240 (expm1_test): Likewise.
10241 (fabs_test): Likewise.
10242 (fdim_test): Likewise.
10243 (finite_test): Likewise.
10244 (floor_test): Likewise.
10245 (fma_test): Likewise.
10246 (fma_test_towardzero): Likewise.
10247 (fma_test_downward): Likewise.
10248 (fma_test_upward): Likewise.
10249 (fmax_test): Likewise.
10250 (fmin_test): Likewise.
10251 (fmod_test): Likewise.
10252 (fpclassify_test): Likewise.
10253 (frexp_test): Likewise.
10254 (gamma_test): Likewise.
10255 (hypot_test): Likewise.
10256 (ilogb_test): Likewise.
10257 (isfinite_test): Likewise.
10258 (isgreater_test): Likewise.
10259 (isgreaterequal_test): Likewise.
10260 (isinf_test): Likewise.
10261 (isless_test): Likewise.
10262 (islessequal_test): Likewise.
10263 (islessgreater_test): Likewise.
10264 (isnan_test): Likewise.
10265 (isnormal_test): Likewise.
10266 (issignaling_test): Likewise.
10267 (isunordered_test): Likewise.
10268 (j0_test): Likewise.
10269 (j1_test): Likewise.
10270 (jn_test): Likewise.
10271 (ldexp_test): Likewise.
10272 (lgamma_test): Likewise.
10273 (lrint_test): Likewise.
10274 (lrint_test_tonearest): Likewise.
10275 (lrint_test_towardzero): Likewise.
10276 (lrint_test_downward): Likewise.
10277 (lrint_test_upward): Likewise.
10278 (llrint_test): Likewise.
10279 (llrint_test_tonearest): Likewise.
10280 (llrint_test_towardzero): Likewise.
10281 (llrint_test_downward): Likewise.
10282 (llrint_test_upward): Likewise.
10283 (log_test): Likewise.
10284 (log10_test): Likewise.
10285 (log1p_test): Likewise.
10286 (log2_test): Likewise.
10287 (logb_test): Likewise.
10288 (logb_test_downward): Likewise.
10289 (lround_test): Likewise.
10290 (llround_test): Likewise.
10291 (modf_test): Likewise.
10292 (nearbyint_test): Likewise.
10293 (nextafter_test): Likewise.
10294 (nexttoward_test): Likewise.
10295 (pow_test): Likewise.
10296 (pow_test_tonearest): Likewise.
10297 (pow_test_towardzero): Likewise.
10298 (pow_test_downward): Likewise.
10299 (pow_test_upward): Likewise.
10300 (remainder_test): Likewise.
10301 (remainder_test_tonearest): Likewise.
10302 (remainder_test_towardzero): Likewise.
10303 (remainder_test_downward): Likewise.
10304 (remainder_test_upward): Likewise.
10305 (remquo_test): Likewise.
10306 (rint_test): Likewise.
10307 (rint_test_tonearest): Likewise.
10308 (rint_test_towardzero): Likewise.
10309 (rint_test_downward): Likewise.
10310 (rint_test_upward): Likewise.
10311 (round_test): Likewise.
10312 (scalb_test): Likewise.
10313 (scalbn_test): Likewise.
10314 (scalbln_test): Likewise.
10315 (signbit_test): Likewise.
10316 (sin_test): Likewise.
10317 (sin_test_tonearest): Likewise.
10318 (sin_test_towardzero): Likewise.
10319 (sin_test_downward): Likewise.
10320 (sin_test_upward): Likewise.
10321 (sincos_test): Likewise.
10322 (sinh_test): Likewise.
10323 (sinh_test_tonearest): Likewise.
10324 (sinh_test_towardzero): Likewise.
10325 (sinh_test_downward): Likewise.
10326 (sinh_test_upward): Likewise.
10327 (sqrt_test): Likewise.
10328 (tan_test): Likewise.
10329 (tan_test_tonearest): Likewise.
10330 (tan_test_towardzero): Likewise.
10331 (tan_test_downward): Likewise.
10332 (tan_test_upward): Likewise.
10333 (tanh_test): Likewise.
10334 (tgamma_test): Likewise.
10335 (trunc_test): Likewise.
10336 (y0_test): Likewise.
10337 (y1_test): Likewise.
10338 (yn_test): Likewise.
10339 (significand_test): Likewise.
10341 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10344 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10346 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10349 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10350 __ppc_mdoio and __ppc_mdoom.
10351 * manual/platform.texi: Document new functions __ppc_yield,
10352 __ppc_mdoio and __ppc_mdoom.
10354 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10356 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10357 (main): Mention "tls" pseudo-hwcap is legacy.
10358 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10360 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10362 * math/gen-libm-test.pl (parse_args): Output only string of
10363 arguments as text for test name, not full call or descriptions of
10364 tests for extra outputs.
10365 (generate_testfile): Do not pass function name to parse_args.
10366 Generate this_func variable from START.
10367 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10369 (struct test_ff_f_data): Likewise.
10370 (test_ff_f_data_nexttoward): Likewise.
10371 (struct test_fi_f_data): Likewise.
10372 (struct test_fl_f_data): Likewise.
10373 (struct test_if_f_data): Likewise.
10374 (struct test_fff_f_data): Likewise.
10375 (struct test_c_f_data): Likewise.
10376 (struct test_f_f1_data): Likewise. Remove field extra_name.
10377 (struct test_fF_f1_data): Likewise.
10378 (struct test_ffI_f1_data): Likewise.
10379 (struct test_c_c_data): Rename test_name field to arg_str.
10380 (struct test_cc_c_data): Likewise.
10381 (struct test_f_i_data): Likewise.
10382 (struct test_ff_i_data): Likewise.
10383 (struct test_f_l_data): Likewise.
10384 (struct test_f_L_data): Likewise.
10385 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10387 (COMMON_TEST_SETUP): New macro.
10388 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10389 (COMMON_TEST_CLEANUP): Likewise.
10390 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10391 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10393 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10394 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10396 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10397 (RUN_TEST_fff_f): Take argument string. Call new setup and
10399 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10400 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10402 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10403 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10405 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10406 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10408 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10409 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10411 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10412 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10414 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10415 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10417 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10418 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10420 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10421 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10423 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10424 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10426 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10427 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10429 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10430 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10432 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10433 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10435 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10436 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10438 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10439 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10441 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10442 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10444 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10446 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10448 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10449 to _sifields.sigfault.
10450 (si_addr_lsb): Define new macro.
10451 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10453 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10455 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10458 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10460 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10462 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10463 loading the domain.
10465 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10467 * math/gen-libm-test.pl (parse_args): Do not include expected
10468 result in test name.
10469 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10471 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10473 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10476 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 * benchtests/Makefile: Sort function entries.
10480 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10481 tanh, asinh, acosh, atanh.
10482 * benchtests/acos-inputs: New file.
10483 * benchtests/acosh-inputs: New file.
10484 * benchtests/asin-inputs: New file.
10485 * benchtests/asinh-inputs: New file.
10486 * benchtests/atanh-inputs: New file.
10487 * benchtests/cosh-inputs: New file.
10488 * benchtests/log-inputs: New file.
10489 * benchtests/sinh-inputs: New file.
10490 * benchtests/tanh-inputs: New file.
10492 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10495 * posix/tst-getaddrinfo4.c: New test.
10496 * posix/Makefile (tests): Add it.
10498 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10501 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10502 when no services were used.
10503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10504 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10506 2013-05-21 Andreas Schwab <schwab@suse.de>
10509 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10510 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10512 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10513 redundant variable declarations and reallocation of buffer when
10514 parsing as IPv6 address. Always set NSS status when called from
10515 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10516 buffer too small. Correct computation of needed size.
10517 * nss/Makefile (tests): Add test-digits-dots.
10518 * nss/test-digits-dots.c: New test.
10520 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10522 * benchtests/Makefile: Remove instructions for adding
10524 * benchtests/README: New file to explain how to execute and
10525 enhance the benchmark tests.
10527 2013-05-21 Andreas Schwab <schwab@suse.de>
10530 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10531 * setjmp/tst-sigsetjmp.c: New test.
10533 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10535 * sysdeps/x86_64/memset.S (memset): New implementation.
10536 (__bzero): Likewise.
10537 (__memset_tail): New function.
10539 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10541 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10542 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10543 __memcpy_sse2_unaligned ifunc selection.
10544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10545 Add memcpy-sse2-unaligned.S.
10546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10547 Add: __memcpy_sse2_unaligned.
10549 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10552 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10553 math_force_eval before restoring floating-point envrionment.
10554 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10557 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10559 (__nearbyintl): Use math_force_eval before restoring
10560 floating-point environment.
10561 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10563 * math/gen-libm-test.pl (special_functions): Remove.
10564 (parse_args): Don't handle TEST_extra. Handle functions with no
10566 * math/libm-test.inc (struct test_sincos_data): Replace with
10567 struct test_fFF_11_data.
10568 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10569 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10570 (sincos_test_data): Change element type to struct
10571 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10572 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10573 RUN_TEST_LOOP_sincos.
10574 * math/README.libm-test: Don't mention special handling of
10575 individual functions.
10576 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10578 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10579 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10580 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583 * math/gen-libm-test.pl (get_variable): Remove function.
10584 (parse_args): Don't show pointer parameters to call in test
10585 names. Use "extra output N" in test names for extra outputs
10586 rather than naming variables.
10588 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10591 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10592 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10593 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10595 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10597 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10600 * math/gen-libm-test.pl (@tests): Remove variable.
10601 ($count): Likewise.
10602 (new_test): Remove function.
10603 (show_exceptions): New function.
10604 (special_functions): Use show_exceptions instead of new_test.
10605 (parse_args): Likewise.
10606 (generate_testfile): Pass only function name in generated call to
10607 print_max_error or print_complex_max_error.
10608 (get_ulps): Do not handle complex tests specially.
10609 (output_test): Rename to ...
10610 (get_all_ulps_for_test): ... this. Return a string rather than
10611 printing to a file. Require ulps to be present.
10612 (output_ulps): Generate arrays rather than #defines.
10613 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10614 (struct ulp_data): New type.
10615 (BUILD_COMPLEX_ULP): Remove macro.
10616 (compare_ulp_data): New function.
10617 (find_ulps): Likewise.
10618 (find_test_ulps): Likewise.
10619 (find_function_ulps): Likewise.
10620 (find_complex_function_ulps): Likewise.
10621 (print_max_error): Determine allowed ulps using
10622 find_function_ulps.
10623 (print_complex_max_error): Determine allowed ulps using
10624 find_complex_function_ulps.
10625 (check_float_internal): Determine max ulps using find_test_ulps.
10626 (check_float): Do not take max_ulp parameter. Update call to
10627 check_float_internal.
10628 (check_complex): Likewise.
10629 (check_int): Do not take max_ulp parameter.
10630 (check_long): Likewise.
10631 (check_bool): Likewise.
10632 (check_longlong): Likewise.
10633 (struct test_f_f_data): Remove max_ulp field.
10634 (struct test_ff_f_data): Likewise.
10635 (struct test_ff_f_data_nexttoward): Likewise.
10636 (struct test_fi_f_data): Likewise.
10637 (struct test_fl_f_data): Likewise.
10638 (struct test_if_f_data): Likewise.
10639 (struct test_fff_f_data): Likewise.
10640 (struct test_c_f_data): Likewise.
10641 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10642 (struct test_fF_f1_data): Likewise.
10643 (struct test_ffI_f1_data): Likewise.
10644 (struct test_c_c_data): Remove max_ulp field.
10645 (struct test_cc_c_data): Likewise.
10646 (struct test_f_i_data): Likewise.
10647 (struct test_ff_i_data): Likewise.
10648 (struct test_f_l_data): Likewise.
10649 (struct test_f_L_data): Likewise.
10650 (struct test_sincos_data): Likewise.
10651 (RUN_TEST_f_f): Do not handle ulps.
10652 (RUN_TEST_LOOP_f_f): Likewise.
10653 (RUN_TEST_2_f): Likewise.
10654 (RUN_TEST_LOOP_2_f): Likewise.
10655 (RUN_TEST_fff_f): Likewise.
10656 (RUN_TEST_LOOP_fff_f): Likewise.
10657 (RUN_TEST_c_f): Likewise.
10658 (RUN_TEST_LOOP_c_f): Likewise.
10659 (RUN_TEST_f_f1): Likewise.
10660 (RUN_TEST_LOOP_f_f1): Likewise.
10661 (RUN_TEST_fF_f1): Likewise.
10662 (RUN_TEST_LOOP_fF_f1): Likewise.
10663 (RUN_TEST_fI_f1): Likewise.
10664 (RUN_TEST_LOOP_fI_f1): Likewise.
10665 (RUN_TEST_ffI_f1): Likewise.
10666 (RUN_TEST_LOOP_ffI_f1): Likewise.
10667 (RUN_TEST_c_c): Likewise.
10668 (RUN_TEST_LOOP_c_c): Likewise.
10669 (RUN_TEST_cc_c): Likewise.
10670 (RUN_TEST_LOOP_cc_c): Likewise.
10671 (RUN_TEST_f_i): Likewise.
10672 (RUN_TEST_LOOP_f_i): Likewise.
10673 (RUN_TEST_f_i_tg): Likewise.
10674 (RUN_TEST_LOOP_f_i_tg): Likewise.
10675 (RUN_TEST_ff_i_tg): Likewise.
10676 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10677 (RUN_TEST_f_b): Likewise.
10678 (RUN_TEST_LOOP_f_b): Likewise.
10679 (RUN_TEST_f_b_tg): Likewise.
10680 (RUN_TEST_LOOP_f_b_tg): Likewise.
10681 (RUN_TEST_f_l): Likewise.
10682 (RUN_TEST_LOOP_f_l): Likewise.
10683 (RUN_TEST_f_L): Likewise.
10684 (RUN_TEST_LOOP_f_L): Likewise.
10685 (RUN_TEST_sincos): Likewise.
10686 (RUN_TEST_LOOP_sincos): Likewise.
10688 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10692 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10693 main case of finite arguments, set rounding mode to FE_TONEAREST
10694 and discard exceptions.
10695 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10697 (remainder_tonearest_test_data): New variable.
10698 (remainder_test_tonearest): New function.
10699 (remainder_towardzero_test_data): New variable.
10700 (remainder_test_towardzero): New function.
10701 (remainder_downward_test_data): New variable.
10702 (remainder_test_downward): New function.
10703 (remainder_upward_test_data): New variable.
10704 (remainder_test_upward): New function.
10705 (main): Call the new test functions.
10707 * math/libm-test.inc (struct test_f_f1_data): Remove field
10709 (struct test_fF_f1_data): Likewise.
10710 (struct test_ffI_f1_data): Likewise.
10711 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10712 based on value of EXTRA_EXPECTED.
10713 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10714 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10715 EXTRA_VAR based on value of EXTRA_EXPECTED.
10716 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10717 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10718 EXTRA_VAR based on value of EXTRA_EXPECTED.
10719 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10720 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10721 EXTRA_VAR based on value of EXTRA_EXPECTED.
10722 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10723 * math/gen-libm-test.pl (parse_args): Don't output initializers
10724 for extra output values.
10726 * math/libm-test.inc (check_int): Expect result to be exactly
10727 equal to expected value and do not handle ulps.
10728 (check_long): Likewise.
10729 (check_longlong): Likewise.
10731 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10733 (cimag_test_data): Likewise.
10734 (conj_test_data): Likewise.
10735 (copysign_test_data): Likewise.
10736 (cproj_test_data): Likewise.
10737 (creal_test_data): Likewise.
10738 (fabs_test_data): Likewise.
10739 (fdim_test_data): Likewise.
10740 (finite_test_data): Likewise.
10741 (floor_test_data): Likewise.
10742 (fmax_test_data): Likewise.
10743 (fmin_test_data): Likewise.
10744 (fmod_test_data): Likewise.
10745 (fpclassify_test_data): Likewise.
10746 (frexp_test_data): Likewise.
10747 (ilogb_test_data): Likewise.
10748 (isfinite_test_data): Likewise.
10749 (isgreater_test_data): Likewise.
10750 (isgreaterequal_test_data): Likewise.
10751 (isinf_test_data): Likewise.
10752 (isless_test_data): Likewise.
10753 (islessequal_test_data): Likewise.
10754 (islessgreater_test_data): Likewise.
10755 (isnan_test_data): Likewise.
10756 (isnormal_test_data): Likewise.
10757 (issignaling_test_data): Likewise.
10758 (isunordered_test_data): Likewise.
10759 (ldexp_test_data): Likewise.
10760 (lrint_test_data): Likewise.
10761 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10762 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10763 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10764 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10765 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10766 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10768 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10769 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10770 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10771 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10773 (lrint_downward_test_data): Test for "inexact" exceptions.
10774 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10775 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10776 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10778 (lrint_upward_test_data): Test for "inexact" exceptions.
10779 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10781 (llrint_test_data): Test for "inexact" exceptions.
10782 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10783 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10784 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10785 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10786 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10787 (llrint_downward_test_data): Test for "inexact" exceptions.
10788 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10789 (llrint_upward_test_data): Test for "inexact" exceptions.
10790 (logb_test_data): Likewise.
10791 (logb_downward_test_data): Likewise.
10792 (nextafter_test_data): Likewise.
10793 (nexttoward_test_data): Likewise.
10794 (remainder_test_data): Likewise.
10795 (remquo_test_data): Likewise.
10796 (scalbn_test_data): Likewise.
10797 (scalbln_test_data): Likewise.
10798 (signbit_test_data): Likewise.
10799 (sqrt_test_data): Likewise.
10800 (significand_test_data): Likewise.
10802 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10805 * benchtests/bench-modf.c (struct args): Mark arg0 as
10807 * scripts/bench.pl: Mark members of struct args as volatile.
10809 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10812 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10813 negative infinity on POWER6 or lower.
10814 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10816 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10819 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10820 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10821 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10822 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10823 (_FP_SETQNAN): New macro.
10824 (_FP_SETQNAN_SEMIRAW): Likewise.
10825 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10826 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10827 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10828 (FP_EXTEND): Use _FP_FRAC_SNANP.
10829 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10830 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10837 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10839 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10840 with DIVIDE_BY_ZERO_EXCEPTION.
10841 (gamma_test_data): Likewise.
10842 (lgamma_test_data): Likewise.
10843 (log_test_data): Likewise.
10844 (log10_test_data): Likewise.
10845 (log2_test_data): Likewise.
10846 (tgamma_test_data): Likewise.
10848 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10849 (acos_test_tonearest): Likewise.
10850 (acos_test_towardzero): Likewise.
10851 (acos_test_downward): Likewise.
10852 (acos_test_upward): Likewise.
10853 (acosh_test): Likewise.
10854 (asin_test): Likewise.
10855 (asin_test_tonearest): Likewise.
10856 (asin_test_towardzero): Likewise.
10857 (asin_test_downward): Likewise.
10858 (asin_test_upward): Likewise.
10859 (asinh_test): Likewise.
10860 (atan_test): Likewise.
10861 (atanh_test): Likewise.
10862 (atan2_test): Likewise.
10863 (cabs_test): Likewise.
10864 (cacos_test): Likewise.
10865 (cacosh_test): Likewise.
10866 (casin_test): Likewise.
10867 (casinh_test): Likewise.
10868 (catan_test): Likewise.
10869 (catanh_test): Likewise.
10870 (cbrt_test): Likewise.
10871 (ccos_test): Likewise.
10872 (ccosh_test): Likewise.
10873 (cexp_test): Likewise.
10874 (clog_test): Likewise.
10875 (clog10_test): Likewise.
10876 (cos_test): Likewise.
10877 (cos_test_tonearest): Likewise.
10878 (cos_test_towardzero): Likewise.
10879 (cos_test_downward): Likewise.
10880 (cos_test_upward): Likewise.
10881 (cosh_test): Likewise.
10882 (cosh_test_tonearest): Likewise.
10883 (cosh_test_towardzero): Likewise.
10884 (cosh_test_downward): Likewise.
10885 (cosh_test_upward): Likewise.
10886 (cpow_test): Likewise.
10887 (csin_test): Likewise.
10888 (csinh_test): Likewise.
10889 (csqrt_test): Likewise.
10890 (ctan_test): Likewise.
10891 (ctan_test_tonearest): Likewise.
10892 (ctan_test_towardzero): Likewise.
10893 (ctan_test_downward): Likewise.
10894 (ctan_test_upward): Likewise.
10895 (ctanh_test): Likewise.
10896 (ctanh_test_tonearest): Likewise.
10897 (ctanh_test_towardzero): Likewise.
10898 (ctanh_test_downward): Likewise.
10899 (ctanh_test_upward): Likewise.
10900 (erf_test): Likewise.
10901 (erfc_test): Likewise.
10902 (exp_test): Likewise.
10903 (exp_test_tonearest): Likewise.
10904 (exp_test_towardzero): Likewise.
10905 (exp_test_downward): Likewise.
10906 (exp_test_upward): Likewise.
10907 (exp10_test): Likewise.
10908 (exp2_test): Likewise.
10909 (expm1_test): Likewise.
10910 (fmod_test): Likewise.
10911 (gamma_test): Likewise.
10912 (hypot_test): Likewise.
10913 (j0_test): Likewise.
10914 (j1_test): Likewise.
10915 (jn_test): Likewise.
10916 (lgamma_test): Likewise.
10917 (log_test): Likewise.
10918 (log10_test): Likewise.
10919 (log1p_test): Likewise.
10920 (log2_test): Likewise.
10921 (logb_test_downward): Likewise.
10922 (pow_test): Likewise.
10923 (pow_test_tonearest): Likewise.
10924 (pow_test_towardzero): Likewise.
10925 (pow_test_downward): Likewise.
10926 (pow_test_upward): Likewise.
10927 (remainder_test): Likewise.
10928 (remquo_test): Likewise.
10929 (sin_test): Likewise.
10930 (sin_test_tonearest): Likewise.
10931 (sin_test_towardzero): Likewise.
10932 (sin_test_downward): Likewise.
10933 (sin_test_upward): Likewise.
10934 (sincos_test): Likewise.
10935 (sinh_test): Likewise.
10936 (sinh_test_tonearest): Likewise.
10937 (sinh_test_towardzero): Likewise.
10938 (sinh_test_downward): Likewise.
10939 (sinh_test_upward): Likewise.
10940 (sqrt_test): Likewise.
10941 (tan_test): Likewise.
10942 (tan_test_tonearest): Likewise.
10943 (tan_test_towardzero): Likewise.
10944 (tan_test_downward): Likewise.
10945 (tan_test_upward): Likewise.
10946 (tanh_test): Likewise.
10947 (tgamma_test): Likewise.
10948 (y0_test): Likewise.
10949 (y1_test): Likewise.
10950 (yn_test): Likewise.
10952 * math/gen-libm-test.pl (adjust_arg): Remove function.
10953 (special_function): Remove argument $in_func. Only handle
10954 generating output for tables of tests, not inside functions.
10955 (parse_args): Likewise.
10956 (generate_testfile): Remove variable $in_func. Update call to
10958 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10959 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10960 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10961 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10962 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10963 (MAX_VALUE_INIT): Rename macro to max_value.
10964 (MIN_VALUE_INIT): Rename macro to min_value.
10965 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10966 (plus_zero): Remove variable.
10967 (minus_zero): Likewise.
10968 (plus_infty): Likewise.
10969 (minus_infty): Likewise.
10970 (qnan_value): Likewise.
10971 (max_value): Likewise.
10972 (min_value): Likewise.
10973 (min_subnorm_value): Likewise.
10975 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10977 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10978 uint64_t or uint32_t usage.
10979 * crypt/sha256-block.c: Likewise.
10980 * crypt/sha256-crypt.c: Likewise.
10981 * crypt/sha256.c: Likewise.
10982 * crypt/sha512-block.c: Likewise.
10983 * crypt/sha512-crypt.c: Likewise.
10984 * crypt/sha512.c: Likewise.
10985 * debug/backtrace-tst.c: Likewise.
10986 * debug/pcprofiledump.c: Likewise.
10987 * elf/cache.c: Likewise.
10988 * elf/dl-cache.c: Likewise.
10989 * elf/dl-misc.c: Likewise.
10990 * elf/dl-profile.c: Likewise.
10991 * elf/dl-support.c: Likewise.
10992 * elf/ldconfig.c: Likewise.
10993 * elf/sprof.c: Likewise.
10994 * iconv/dummy-repertoire.c: Likewise.
10995 * iconv/iconv_charmap.c: Likewise.
10996 * iconv/skeleton.c: Likewise.
10997 * iconvdata/8bit-generic.c: Likewise.
10998 * iconvdata/cp737.h: Likewise.
10999 * iconvdata/cp775.h: Likewise.
11000 * iconvdata/ibm1008.h: Likewise.
11001 * iconvdata/ibm1025.h: Likewise.
11002 * iconvdata/ibm1046.h: Likewise.
11003 * iconvdata/ibm1097.h: Likewise.
11004 * iconvdata/ibm1112.h: Likewise.
11005 * iconvdata/ibm1122.h: Likewise.
11006 * iconvdata/ibm1123.h: Likewise.
11007 * iconvdata/ibm1124.h: Likewise.
11008 * iconvdata/ibm1129.h: Likewise.
11009 * iconvdata/ibm1130.h: Likewise.
11010 * iconvdata/ibm1132.h: Likewise.
11011 * iconvdata/ibm1133.h: Likewise.
11012 * iconvdata/ibm1137.h: Likewise.
11013 * iconvdata/ibm1140.h: Likewise.
11014 * iconvdata/ibm1141.h: Likewise.
11015 * iconvdata/ibm1142.h: Likewise.
11016 * iconvdata/ibm1143.h: Likewise.
11017 * iconvdata/ibm1144.h: Likewise.
11018 * iconvdata/ibm1145.h: Likewise.
11019 * iconvdata/ibm1146.h: Likewise.
11020 * iconvdata/ibm1147.h: Likewise.
11021 * iconvdata/ibm1148.h: Likewise.
11022 * iconvdata/ibm1149.h: Likewise.
11023 * iconvdata/ibm1153.h: Likewise.
11024 * iconvdata/ibm1154.h: Likewise.
11025 * iconvdata/ibm1155.h: Likewise.
11026 * iconvdata/ibm1156.h: Likewise.
11027 * iconvdata/ibm1157.h: Likewise.
11028 * iconvdata/ibm1158.h: Likewise.
11029 * iconvdata/ibm1160.h: Likewise.
11030 * iconvdata/ibm1161.h: Likewise.
11031 * iconvdata/ibm1162.h: Likewise.
11032 * iconvdata/ibm1163.h: Likewise.
11033 * iconvdata/ibm1164.h: Likewise.
11034 * iconvdata/ibm1166.h: Likewise.
11035 * iconvdata/ibm1167.h: Likewise.
11036 * iconvdata/ibm12712.h: Likewise.
11037 * iconvdata/ibm1390.h: Likewise.
11038 * iconvdata/ibm1399.h: Likewise.
11039 * iconvdata/ibm16804.h: Likewise.
11040 * iconvdata/ibm4517.h: Likewise.
11041 * iconvdata/ibm4899.h: Likewise.
11042 * iconvdata/ibm4909.h: Likewise.
11043 * iconvdata/ibm4971.h: Likewise.
11044 * iconvdata/ibm5347.h: Likewise.
11045 * iconvdata/ibm803.h: Likewise.
11046 * iconvdata/ibm856.h: Likewise.
11047 * iconvdata/ibm901.h: Likewise.
11048 * iconvdata/ibm902.h: Likewise.
11049 * iconvdata/ibm9030.h: Likewise.
11050 * iconvdata/ibm9066.h: Likewise.
11051 * iconvdata/ibm921.h: Likewise.
11052 * iconvdata/ibm922.h: Likewise.
11053 * iconvdata/ibm9448.h: Likewise.
11054 * iconvdata/isiri-3342.h: Likewise.
11055 * iconvdata/jis0201.h: Likewise.
11056 * include/link.h: Likewise.
11057 * include/netdb.h: Likewise.
11058 * inet/check_native.c: Likewise.
11059 * inet/check_pf.c: Likewise.
11060 * inet/getipv4sourcefilter.c: Likewise.
11061 * inet/getnameinfo.c: Likewise.
11062 * inet/getsourcefilter.c: Likewise.
11063 * inet/htonl.c: Likewise.
11064 * inet/setipv4sourcefilter.c: Likewise.
11065 * inet/setsourcefilter.c: Likewise.
11066 * inet/test-inet6_opt.c: Likewise.
11067 * inet/tst-network.c: Likewise.
11068 * locale/C-collate.c: Likewise.
11069 * locale/C-ctype.c: Likewise.
11070 * locale/C-time.c: Likewise.
11071 * locale/C-translit.h: Likewise.
11072 * locale/loadarchive.c: Likewise.
11073 * locale/programs/3level.h: Likewise.
11074 * locale/programs/charmap.c: Likewise.
11075 * locale/programs/charmap.h: Likewise.
11076 * locale/programs/ld-address.c: Likewise.
11077 * locale/programs/ld-collate.c: Likewise.
11078 * locale/programs/ld-ctype.c: Likewise.
11079 * locale/programs/ld-identification.c: Likewise.
11080 * locale/programs/ld-measurement.c: Likewise.
11081 * locale/programs/ld-messages.c: Likewise.
11082 * locale/programs/ld-monetary.c: Likewise.
11083 * locale/programs/ld-name.c: Likewise.
11084 * locale/programs/ld-numeric.c: Likewise.
11085 * locale/programs/ld-paper.c: Likewise.
11086 * locale/programs/ld-telephone.c: Likewise.
11087 * locale/programs/ld-time.c: Likewise.
11088 * locale/programs/linereader.c: Likewise.
11089 * locale/programs/locale.c: Likewise.
11090 * locale/programs/locarchive.c: Likewise.
11091 * locale/programs/locfile.h: Likewise.
11092 * locale/programs/repertoire.c: Likewise.
11093 * locale/programs/simple-hash.c: Likewise.
11094 * locale/programs/simple-hash.h: Likewise.
11095 * malloc/memusage.c: Likewise.
11096 * malloc/memusagestat.c: Likewise.
11097 * nis/nis_defaults.c: Likewise.
11098 * nis/nis_hash.c: Likewise.
11099 * nis/nis_print.c: Likewise.
11100 * nis/nis_xdr.c: Likewise.
11101 * nscd/connections.c: Likewise.
11102 * nscd/hstcache.c: Likewise.
11103 * nscd/nscd_gethst_r.c: Likewise.
11104 * nscd/nscd_getserv_r.c: Likewise.
11105 * nscd/nscd_helper.c: Likewise.
11106 * nscd/servicescache.c: Likewise.
11107 * nss/makedb.c: Likewise.
11108 * nss/nss_db/db-XXX.c: Likewise.
11109 * nss/nss_db/db-initgroups.c: Likewise.
11110 * nss/nss_db/db-netgrp.c: Likewise.
11111 * nss/nss_files/files-network.c: Likewise.
11112 * nss/nss_files/files-parse.c: Likewise.
11113 * posix/bug-regex5.c: Likewise.
11114 * posix/fnmatch_loop.c: Likewise.
11115 * posix/regcomp.c: Likewise.
11116 * posix/regexec.c: Likewise.
11117 * posix/tst-rfc3484-2.c: Likewise.
11118 * posix/tst-rfc3484-3.c: Likewise.
11119 * posix/tst-rfc3484.c: Likewise.
11120 * resolv/nss_dns/dns-canon.c: Likewise.
11121 * resolv/nss_dns/dns-network.c: Likewise.
11122 * resolv/res_init.c: Likewise.
11123 * resolv/res_mkquery.c: Likewise.
11124 * resolv/tst-aton.c: Likewise.
11125 * stdlib/cxa_atexit.c: Likewise.
11126 * stdlib/cxa_finalize.c: Likewise.
11127 * stdlib/gen-fpioconst.c: Likewise.
11128 * stdlib/strtol_l.c: Likewise.
11129 * string/tst-endian.c: Likewise.
11130 * sunrpc/auth_des.c: Likewise.
11131 * sunrpc/clnt_udp.c: Likewise.
11132 * sunrpc/rtime.c: Likewise.
11133 * sunrpc/svcauth_des.c: Likewise.
11134 * sunrpc/xdr.c: Likewise.
11135 * sunrpc/xdr_intXX_t.c: Likewise.
11136 * sunrpc/xdr_rec.c: Likewise.
11137 * sysdeps/generic/ldconfig.h: Likewise.
11138 * sysdeps/generic/ldsodefs.h: Likewise.
11139 * sysdeps/generic/memusage.h: Likewise.
11140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11150 * sysdeps/posix/getaddrinfo.c: Likewise.
11151 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11153 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11155 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11156 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11157 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11158 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11159 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11160 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11161 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11162 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11163 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11164 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11166 * sysdeps/x86_64/dl-tls.h: Likewise.
11167 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11168 * time/alt_digit.c: Likewise.
11169 * time/era.c: Likewise.
11170 * wcsmbs/tst-c16c32-1.c: Likewise.
11172 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11174 * math/libm-test.inc (struct test_sincos_data): New type.
11175 (RUN_TEST_LOOP_sincos): New macro.
11176 (sincos_test_data): New variable.
11177 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11179 2013-05-16 Richard Henderson <rth@redhat.com>
11181 * math/atest-exp2.c (LIMB64): New macro.
11182 (CONSTSZ): New macro.
11183 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11185 (print_mpn_fp): ... to function scope.
11186 (read_mpn_hex): Remove.
11187 (get_log2): Remove.
11188 (exp2_mpn): Use mp_log2.
11189 (main): Use mp_exp1.
11191 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11193 * math/libm-test.inc: Remove comment about not testing "inexact"
11195 (INEXACT_EXCEPTION): New macro.
11196 (NO_INEXACT_EXCEPTION): Likewise.
11197 (INVALID_EXCEPTION_OK): Update value.
11198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11199 (OVERFLOW_EXCEPTION_OK): Likewise.
11200 (UNDERFLOW_EXCEPTION_OK): Likewise.
11201 (IGNORE_ZERO_INF_SIGN): Likewise.
11202 (ERRNO_UNCHANGED): Likewise.
11203 (ERRNO_EDOM): Likewise.
11204 (ERRNO_ERANGE): Likewise.
11205 (test_exceptions): Handle testing "inexact" exceptions.
11206 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11207 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11208 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11209 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11211 (rint_towardzero_test_data): Likewise.
11212 (rint_downward_test_data): Likewise.
11213 (rint_upward_test_data): Likewise.
11215 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11216 with OVERFLOW_EXCEPTION.
11217 (exp10_test_data): Likewise.
11218 (exp2_test_data): Likewise.
11219 (expm1_test_data): Likewise.
11220 (lgamma_test_data): Likewise.
11221 (pow_test_data): Likewise.
11222 (tgamma_test_data): Likewise.
11223 (yn_test_data): Remove duplicate test of overflow.
11225 * math/libm-test.inc (struct test_cc_c_data): New type.
11226 (RUN_TEST_LOOP_cc_c): New macro.
11227 (cpow_test_data): New variable.
11228 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11230 * math/libm-test.inc (struct test_f_L_data): New type.
11231 (RUN_TEST_LOOP_f_L): New macro.
11232 (llrint_test_data): New variable.
11233 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11234 (llrint_tonearest_test_data): New variable.
11235 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11236 (llrint_towardzero_test_data): New variable.
11237 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11238 (llrint_downward_test_data): New variable.
11239 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11240 (llrint_upward_test_data): New variable.
11241 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11242 (llround_test_data): New variable.
11243 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11245 2013-05-13 Peter Collingbourne <pcc@google.com>
11247 * math/atest-exp2.c (get_log2): Remove const attribute.
11249 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11251 * math/libm-test.inc (struct test_f_l_data): New type.
11252 (RUN_TEST_LOOP_f_l): New macro.
11253 (lrint_test_data): New variable.
11254 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11255 (lrint_tonearest_test_data): New variable.
11256 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11257 (lrint_towardzero_test_data): New variable.
11258 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11259 (lrint_downward_test_data): New variable.
11260 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11261 (lrint_upward_test_data): New variable.
11262 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11263 (lround_test_data): New variable.
11264 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11266 2013-05-15 Peter Collingbourne <pcc@google.com>
11268 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11269 (EXTRACT_WORDS64) Use where appropriate.
11270 (INSERT_WORDS64) Likewise.
11272 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11273 constraints with x constraints.
11274 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11276 * malloc/obstack.c (_obstack_compat): Add initializer.
11278 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11281 si_trapno and add si_addr_lsb to _sifields.sigfault.
11282 (si_trapno): Remove macro.
11283 (si_addr_lsb): Define new macro.
11284 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11286 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11288 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11289 instead of TEST_f_l.
11290 (llrint_test_tonearest): Likewise.
11291 (llrint_test_towardzero): Likewise.
11292 (llrint_test_downward): Likewise.
11293 (llrint_test_upward): Likewise.
11294 (llround_test): Likewise.
11296 * math/libm-test.inc (struct test_f_i_data): Add comment.
11297 (RUN_TEST_LOOP_f_b): New macro.
11298 (RUN_TEST_LOOP_f_b_tg): Likewise.
11299 (finite_test_data): New variable.
11300 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11301 (isfinite_test_data): New variable.
11302 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11303 (isinf_test_data): New variable.
11304 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11305 (isnan_test_data): New variable.
11306 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11307 (isnormal_test_data): New variable.
11308 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11309 (issignaling_test_data): New variable.
11310 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11311 (signbit_test_data): New variable.
11312 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11314 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11315 with INVALID_EXCEPTION.
11316 (acosh_test_data): Likewise.
11317 (asin_test_data): Likewise.
11318 (atanh_test_data): Likewise.
11319 (fmod_test_data): Likewise.
11320 (log_test_data): Likewise.
11321 (log10_test_data): Likewise.
11322 (log2_test_data): Likewise.
11323 (pow_test_data): Likewise.
11324 (sqrt_test_data): Likewise.
11325 (y0_test_data): Likewise.
11326 (y1_test_data): Likewise.
11327 (yn_test_data): Likewise.
11329 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11332 * math/libm-test.inc (struct test_ff_i_data): New type.
11333 (RUN_TEST_LOOP_ff_i_tg): New macro.
11334 (isgreater_test_data): New variable.
11335 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11336 (isgreaterequal_test_data): New variable.
11337 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11338 (isless_test_data): New variable.
11339 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11340 (islessequal_test_data): New variable.
11341 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11342 (islessgreater_test_data): New variable.
11343 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11344 (isunordered_test_data): New variable.
11345 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11347 2013-05-14 David S. Miller <davem@davemloft.net>
11349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11351 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11353 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11355 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11357 (struct test_f_i_data): Change type of max_ulp to int.
11359 * math/libm-test.inc (test_ffI_f1_data): New type.
11360 (RUN_TEST_LOOP_ffI_f1): New macro.
11361 (remquo_test_data): New variable.
11362 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11364 * setjmp/tst-setjmp-fp.c: New file.
11365 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11366 (link-libm): New variable.
11367 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11369 * math/libm-test.inc (struct test_f_i_data): New type.
11370 (RUN_TEST_LOOP_f_i): New macro.
11371 (RUN_TEST_LOOP_f_i_tg): Likewise.
11372 (fpclassify_test_data): New variable.
11373 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11374 (ilogb_test_data): New variable.
11375 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11377 * math/libm-test.inc (scalbln_test): Correct function name in END
11380 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11381 (RUN_TEST_LOOP_fI_f1): New macro.
11382 (frexp_test_data): New variable.
11383 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11385 * math/libm-test.inc (struct test_fF_f1_data): New type.
11386 (RUN_TEST_LOOP_fF_f1): New macro.
11387 (modf_test_data): New variable.
11388 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11390 * math/libm-test.inc (struct test_f_f1_data): New type.
11391 (RUN_TEST_LOOP_f_f1): New macro.
11392 (gamma_test_data): New variable.
11393 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11394 (lgamma_test_data): New variable.
11395 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11397 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11399 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11400 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11401 (main): Comment "tls" pseudo-hwcap.
11403 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11405 * math/libm-test.inc (struct test_fl_f_data): New type.
11406 (RUN_TEST_LOOP_fl_f): New variable.
11407 (scalbln_test_data): New variable.
11408 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11410 * math/libm-test.inc (struct test_fi_f_data): New type.
11411 (RUN_TEST_LOOP_fi_f): New macro.
11412 (ldexp_test_data): New variable.
11413 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11414 (scalbn_test_data): New variable.
11415 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11417 * math/libm-test.inc (struct test_c_f_data): New type.
11418 (RUN_TEST_LOOP_c_f): New macro.
11419 (cabs_test_data): New variable.
11420 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11421 (carg_test_data): New variable.
11422 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11423 (cimag_test_data): New variable.
11424 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11425 (creal_test_data): New variable.
11426 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11428 * math/libm-test.inc (struct test_if_f_data): New type.
11429 (RUN_TEST_LOOP_if_f): New macro.
11430 (jn_test_data): New variable.
11431 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11432 (yn_test_data): New variable.
11433 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11435 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11437 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11439 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11440 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11442 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11444 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11445 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11446 (bench-deps): Add bench-timing.h.
11447 * benchtests-bench-skeleton.c: Include bench-timing.h.
11448 (main): Use TIMING_* macros instead of clock_gettime.
11449 * benchtests/bench-timing.h: New file.
11452 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11453 Renamed from _LIB_VERSION.
11454 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11456 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11458 * math/libm-test.inc (struct test_fff_f_data): New type.
11459 (RUN_TEST_LOOP_fff_f): New macro.
11460 (fma_test_data): New variable.
11461 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11462 (fma_towardzero_test_data): New variable.
11463 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11464 (fma_downward_test_data): New variable.
11465 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11466 (fma_upward_test_data): New variable.
11467 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11469 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11470 (struct test_c_c_data): New type.
11471 (RUN_TEST_LOOP_c_c): New macro.
11472 (cacos_test_data): New variable.
11473 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11474 (cacosh_test_data): New variable.
11475 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11476 (casin_test_data): New variable.
11477 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11478 (casinh_test_data): New variable.
11479 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11480 (catan_test_data): New variable.
11481 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11482 (catanh_test_data): New variable.
11483 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11484 (ccos_test_data): New variable.
11485 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11486 (ccosh_test_data): New variable.
11487 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11488 (cexp_test_data): New variable.
11489 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11490 (clog_test_data): New variable.
11491 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11492 (clog10_test_data): New variable.
11493 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11494 (conj_test_data): New variable.
11495 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11496 (cproj_test_data): New variable.
11497 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11498 (csin_test_data): New variable.
11499 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11500 (csinh_test_data): New variable.
11501 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11502 (csqrt_test_data): New variable.
11503 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11504 (ctan_test_data): New variable.
11505 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11506 (ctan_tonearest_test_data): New variable.
11507 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11508 (ctan_towardzero_test_data): New variable.
11509 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11510 (ctan_downward_test_data): New variable.
11511 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11512 (ctan_upward_test_data): New variable.
11513 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11514 (ctanh_test_data): New variable.
11515 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11516 (ctanh_tonearest_test_data): New variable.
11517 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11518 (ctanh_towardzero_test_data): New variable.
11519 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11520 (ctanh_downward_test_data): New variable.
11521 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11522 (ctanh_upward_test_data): New variable.
11523 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11524 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11527 * math/libm-test.inc (struct test_ff_f_data): New type.
11528 (struct test_ff_f_data_nexttoward): Likewise.
11529 (RUN_TEST_LOOP_2_f): New macro.
11530 (RUN_TEST_LOOP_ff_f): Likewise.
11531 (atan2_test_data): New variable.
11532 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11533 (copysign_test_data): New variable.
11534 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11535 (fdim_test_data): New variable.
11536 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11537 (fmax_test_data): New variable.
11538 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11539 (fmin_test_data): New variable.
11540 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11541 (fmod_test_data): New variable.
11542 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11543 (hypot_test_data): New variable.
11544 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11545 (nextafter_test_data): New variable.
11546 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11547 (nexttoward_test_data): New variable.
11548 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11549 (pow_test_data): New variable.
11550 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11551 (pow_tonearest_test_data): New variable.
11552 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11553 (pow_towardzero_test_data): New variable.
11554 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11555 (pow_downward_test_data): New variable.
11556 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11557 (pow_upward_test_data): New variable.
11558 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11559 (remainder_test_data): New variable.
11560 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11561 (scalb_test_data): New variable.
11562 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11563 * sysdeps/i386/fpu/libm-test-ulps: Update.
11565 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11567 * math/libm-test.inc (fma_test): Use max_value instead of local
11569 (nextafter_test): Likewise.
11571 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11572 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11573 (acos_downward_test_data): New variable.
11574 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11575 (acos_upward_test_data): New variable.
11576 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11577 (acosh_test_data): New variable.
11578 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11579 (asin_test_data): New variable.
11580 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11581 (asin_tonearest_test_data): New variable.
11582 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11583 (asin_towardzero_test_data): New variable.
11584 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11585 (asin_downward_test_data): New variable.
11586 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11587 (asin_upward_test_data): New variable.
11588 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11589 (asinh_test_data): New variable.
11590 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11591 (atan_test_data): New variable.
11592 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11593 (atanh_test_data): New variable.
11594 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11595 (cbrt_test_data): New variable.
11596 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11597 (ceil_test_data): New variable.
11598 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11599 (cos_test_data): New variable.
11600 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11601 (cos_tonearest_test_data): New variable.
11602 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11603 (cos_towardzero_test_data): New variable.
11604 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11605 (cos_downward_test_data): New variable.
11606 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11607 (cos_upward_test_data): New variable.
11608 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11609 (cosh_test_data): New variable.
11610 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11611 (cosh_tonearest_test_data): New variable.
11612 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11613 (cosh_towardzero_test_data): New variable.
11614 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11615 (cosh_downward_test_data): New variable.
11616 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11617 (cosh_upward_test_data): New variable.
11618 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11619 (erf_test_data): New variable.
11620 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11621 (erfc_test_data): New variable.
11622 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11623 (exp_test_data): New variable.
11624 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11625 (exp_tonearest_test_data): New variable.
11626 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11627 (exp_towardzero_test_data): New variable.
11628 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11629 (exp_downward_test_data): New variable.
11630 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11631 (exp_upward_test_data): New variable.
11632 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11633 (exp10_test_data): New variable.
11634 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11635 (exp2_test_data): New variable.
11636 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11637 (expm1_test_data): New variable.
11638 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11639 (fabs_test_data): New variable.
11640 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11641 (floor_test_data): New variable.
11642 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11643 (j0_test_data): New variable.
11644 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11645 (j1_test_data): New variable.
11646 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11647 (log_test_data): New variable.
11648 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11649 (log10_test_data): New variable.
11650 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11651 (log1p_test_data): New variable.
11652 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11653 (log2_test_data): New variable.
11654 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11655 (logb_test_data): New variable.
11656 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11657 (logb_downward_test_data): New variable.
11658 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11659 (nearbyint_test_data): New variable.
11660 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11661 (rint_test_data): New variable.
11662 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11663 (rint_tonearest_test_data): New variable.
11664 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11665 (rint_towardzero_test_data): New variable.
11666 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11667 (rint_downward_test_data): New variable.
11668 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11669 (rint_upward_test_data): New variable.
11670 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11671 (round_test_data): New variable.
11672 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11673 (sin_test_data): New variable.
11674 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11675 (sin_tonearest_test_data): New variable.
11676 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11677 (sin_towardzero_test_data): New variable.
11678 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11679 (sin_downward_test_data): New variable.
11680 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11681 (sin_upward_test_data): New variable.
11682 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11683 (sinh_test_data): New variable.
11684 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11685 (sinh_tonearest_test_data): New variable.
11686 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11687 (sinh_towardzero_test_data): New variable.
11688 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11689 (sinh_downward_test_data): New variable.
11690 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11691 (sinh_upward_test_data): New variable.
11692 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11693 (sqrt_test_data): New variable.
11694 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11695 (tan_test_data): New variable.
11696 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11697 (tan_tonearest_test_data): New variable.
11698 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11699 (tan_towardzero_test_data): New variable.
11700 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11701 (tan_downward_test_data): New variable.
11702 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11703 (tan_upward_test_data): New variable.
11704 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11705 (tanh_test_data): New variable.
11706 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11707 (tgamma_test_data): New variable.
11708 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11709 (trunc_test_data): New variable.
11710 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11711 (y0_test_data): New variable.
11712 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11713 (y1_test_data): New variable.
11714 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11715 (significand_test_data): New variable.
11716 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11718 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11721 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11723 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11725 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11727 2013-05-10 Andreas Jaeger <aj@suse.de>
11730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11731 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11733 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11735 * math/gen-libm-test.pl (adjust_arg): New function.
11736 (special_functions): Handle generating output in both functions
11738 (parse_args): Likewise.
11739 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11740 $in_func argument to parse_args.
11741 * math/libm-test.inc (struct test_f_f_data): New type.
11742 (IF_ROUND_INIT_): New macro.
11743 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11744 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11745 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11746 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11747 (ROUND_RESTORE_): Likewise.
11748 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11749 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11750 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11751 (ROUND_RESTORE_FE_UPWARD): Likewise.
11752 (RUN_TEST_LOOP_f_f): New macro.
11753 (acos_test_data): New variable.
11754 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11755 (acos_tonearest_test_data): New variable.
11756 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11758 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11760 * benchtests/bench-skeleton.c (startup): Fix coding style.
11762 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11765 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11766 negative infinity argument.
11767 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11768 negative infinity argument.
11769 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11770 negative infinity argument.
11771 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11774 2013-05-10 Florian Weimer <fweimer@redhat.com>
11776 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11777 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11778 * iconv/iconv_prog.c (main): Likewise.
11779 * locale/programs/charmap-dir.c (charmap_readdir)
11780 (fopen_uncompressed): Likewise.
11781 * locale/programs/locfile.c (siblings_uncached)
11782 (write_locale_data): Use lstat64 instead of lstat.
11783 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11786 2013-05-10 Andreas Jaeger <aj@suse.de>
11789 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11791 Include <locale.h>.
11793 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11795 * elf/dl-close.c (_dl_close_worker): Add comments.
11797 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11800 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11802 (__ieee754_rem_pio2l): Update comments.
11805 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11807 (__ieee754_rem_pio2l): Update comments.
11809 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11810 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11812 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11815 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11816 (M_PI_34_LOG10El): Likewise.
11817 (M_PI2_LOG10El): Likewise.
11818 (M_PI4_LOG10El): Likewise.
11819 (M_PI_LOG10El): Likewise.
11821 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11825 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11827 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11828 (MINUS_ZERO_INIT): Likewise.
11829 (PLUS_INFTY_INIT): Likewise.
11830 (MINUS_INFTY_INIT): Likewise.
11831 (QNAN_VALUE_INIT): Likewise.
11832 (MAX_VALUE_INIT): Likewise.
11833 (MIN_VALUE_INIT): Likewise.
11834 (MIN_SUBNORM_VALUE_INIT): Likewise.
11835 (plus_zero): Initialize with PLUS_ZERO_INIT.
11836 (minus_zero): Initialize with MINUS_ZERO_INIT.
11837 (plus_infty): Initialize with PLUS_INFTY_INIT.
11838 (minus_infty): Initialize with MINUS_INFTY_INIT.
11839 (qnan_value): Initialize with QNAN_VALUE_INIT.
11840 (max_value): Initialize with MAX_VALUE_INIT.
11841 (min_value): Initialize with MIN_VALUE_INIT.
11842 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11844 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11845 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11846 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11847 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11849 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11850 (RUN_TEST_2_f): Likewise.
11851 (RUN_TEST_ff_f): Likewise.
11852 (RUN_TEST_fi_f): Likewise.
11853 (RUN_TEST_fl_f): Likewise.
11854 (RUN_TEST_fff_f): Likewise.
11855 (RUN_TEST_c_f): Likewise.
11856 (RUN_TEST_f_f1): Likewise.
11857 (RUN_TEST_fF_f1): Likewise.
11858 (RUN_TEST_fI_f1): Likewise.
11859 (RUN_TEST_ffI_f1): Likewise.
11860 (RUN_TEST_c_c): Likewise.
11861 (RUN_TEST_cc_c): Likewise.
11862 (RUN_TEST_f_i): Likewise.
11863 (RUN_TEST_f_i_tg): Likewise.
11864 (RUN_TEST_ff_i_tg): Likewise.
11865 (RUN_TEST_f_b): Likewise.
11866 (RUN_TEST_f_b_tg): Likewise.
11867 (RUN_TEST_f_l): Likewise.
11868 (RUN_TEST_f_L): Likewise.
11869 (RUN_TEST_sincos): Likewise.
11870 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11871 whether to show exceptions. Do not include ");\n" in return
11873 (special_functions): Output call to RUN_TEST_sincos instead of
11874 check_float calls. Update calls to new_test.
11875 (parse_args): Output call to single RUN_TEST_* macro instead of
11876 check_* calls and other assignments. Update calls to new_test.
11882 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11883 input to result for tgamma overflow.
11884 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11885 (gamma_coeff): New variable.
11886 (NCOEFF): New macro.
11887 (gamma_positive): New function.
11888 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11889 underflow here. Use gamma_positive instead of exp (lgamma) for
11891 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11892 (gamma_coeff): New variable.
11893 (NCOEFF): New macro.
11894 (gammaf_positive): New function.
11895 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11896 underflow here. Use gamma_positive instead of exp (lgamma) for
11898 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11899 (gamma_coeff): New variable.
11900 (NCOEFF): New macro.
11901 (gammal_positive): New function.
11902 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11903 underflow here. Use gamma_positive instead of exp (lgamma) for
11905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11906 (gamma_coeff): New variable.
11907 (NCOEFF): New macro.
11908 (gammal_positive): New function.
11909 (__ieee754_gammal_r): Handle positive infinity, overflow and
11910 underflow here. Handle NaN the same as positive infinity. Remove
11911 check x < 0xffffffff for negative integers. Use gamma_positive
11912 instead of exp (lgamma) for other arguments.
11913 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11914 (gamma_coeff): New variable.
11915 (NCOEFF): New macro.
11916 (gammal_positive): New function.
11917 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11918 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11922 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11923 * sysdeps/generic/math_private.h (__gamma_productf): New
11925 (__gamma_product): Likewise.
11926 (__gamma_productl): Likewise.
11927 * math/Makefile (libm-calls): Add gamma_product.
11928 * math/libm-test.inc (tgamma_test): Add more tests.
11929 * sysdeps/i386/fpu/libm-test-ulps: Update.
11930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11932 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11934 * benchtests/bench-skeleton.c (main): Preheat CPU.
11936 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11938 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11940 2013-05-07 Roland McGrath <roland@hack.frob.com>
11942 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11943 and _dl_skip_args_internal.
11945 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11947 * manual/message.texi (Message Translation): Talk about users.
11948 Message to key mapping impacts design.
11950 2013-05-06 Roland McGrath <roland@hack.frob.com>
11952 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11954 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11956 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11957 * sysdeps/wordsize-64/glob64.c: ... here.
11959 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11960 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11963 * debug/getlogin_r_chk.c: Moved to ...
11964 * login/getlogin_r_chk.c: ... here.
11965 * debug/Makefile (routines): Move getlogin_r_chk to ...
11966 * login/Makefile (routines): ... here.
11967 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11968 * login/Versions (libc: GLIBC_2.4): ... here.
11970 * io/poll.c (__poll): Renamed from poll.
11971 Add libc_hidden_def.
11972 (poll): Define as weak alias.
11974 * debug/ptsname_r_chk.c: Moved to ...
11975 * login/ptsname_r_chk.c: ... here.
11976 * debug/Makefile (routines): Move ptsname_r_chk to ...
11977 * login/Makefile (routines): ... here.
11978 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11979 * login/Versions (libc: GLIBC_2.4): ... here.
11981 * posix/getlogin.c: Moved to ...
11982 * login/getlogin.c: ... here.
11983 * posix/getlogin_r.c: Moved to ...
11984 * login/getlogin_r.c: ... here.
11985 * posix/getlogin_r.c: Moved to ...
11986 * login/getlogin_r.c: ... here.
11987 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11988 * login/Makefile (routines): ... here.
11989 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11990 * login/Versions (libc: GLIBC_2.0): ... here.
11992 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11993 (setrlimit): Define as weak alias.
11995 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11996 Call __ names for open, ftruncate, and close.
11997 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11998 (truncate): Define as weak alias.
12000 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12002 * math/gen-libm-test.pl (parse_args): Initialize x before each
12003 test of frexp, modf and remquo.
12005 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12006 test signgam value.
12008 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12012 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12014 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12016 2013-05-06 Roland McGrath <roland@hack.frob.com>
12018 * elf/dl-writev.h: New file.
12019 * elf/dl-misc.c: Include it.
12020 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12021 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12023 2013-05-04 Joseph Myers <joseph@codesourcery.com>
12025 * math/libm-test.inc (noXFails): Remove variable.
12026 (noXPasses): Likewise.
12027 (BUILD_COMPLEX_INT): Remove macro.
12028 (print_screen): Remove xfail argument.
12029 (print_screen_max_error): Likewise.
12030 (update_stats): Likewise.
12031 (print_max_error): Likewise. Update calls to other affected
12033 (print_complex_max_error): Likewise.
12034 (test_single_exception): Update calls to print_screen.
12035 (test_single_errno): Likewise.
12036 (check_float_internal): Remove xfail argument. Update calls to
12037 other affected functions.
12038 (check_float): Likewise.
12039 (check_complex): Likewise.
12040 (check_int): Likewise.
12041 (check_long): Likewise.
12042 (check_bool): Likewise.
12043 (check_longlong): Likewise.
12044 (main): Don't print noXFails and noXPasses.
12045 * math/gen-libm-test.pl (top level): Don't mention expected
12046 failure handling in comment.
12047 (new_test): Don't handle expected failures.
12048 (parse_args): Don't mention expected failure handling in comment.
12049 (generate_testfile): Don't handle expected failures.
12050 (parse_ulps): Likewise.
12051 (print_ulps_file): Likewise.
12052 (get_failure): Remove function.
12053 (output_test): Don't handle expected failures.
12054 * make/README.libm-test: Don't mention expected failure handling.
12056 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12057 (minus_zero): Likewise.
12058 (plus_infty): Likewise.
12059 (minus_infty): Likewise.
12060 (qnan_value): Likewise.
12061 (max_value): Likewise.
12062 (min_value): Likewise.
12063 (min_subnorm_value): Likewise.
12064 (initialize): Do not initialize those variables dynamically.
12066 2013-05-03 Roland McGrath <roland@hack.frob.com>
12068 * io/open.c (__open_2): Moved to ...
12069 * io/open_2.c: ... this new file.
12070 * io/open64.c (__open64_2): Moved to ...
12071 * io/open64_2.c: ... this new file.
12072 * io/openat.c (__openat_2): Moved to ...
12073 * io/openat_2.c: ... this new file.
12074 * io/openat64.c (__openat64_2): Moved to ...
12075 * io/openat64_2.c: ... this new file.
12076 * io/Makefile (routines): Add them.
12077 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12078 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12079 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12080 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12081 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12082 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12083 (__openat64): Add hidden_ver.
12084 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12085 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12087 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12088 Separately conditionalize setting of GLRO(dl_sysinfo) so
12089 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12090 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12092 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12094 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12097 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12098 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12099 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12100 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12101 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12103 2013-05-03 Joseph Myers <joseph@codesourcery.com>
12105 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12106 test signgam value.
12108 * math/libm-test.inc (hypot_test): Do not use
12109 IGNORE_ZERO_INF_SIGN.
12111 2013-05-03 Andreas Jaeger <aj@suse.de>
12113 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12115 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12116 (PF_MAX): Adjust for VSOCK change.
12118 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12122 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12125 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12126 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12127 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12129 2013-05-02 David S. Miller <davem@davemloft.net>
12131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12133 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12135 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12137 2013-05-01 Roland McGrath <roland@hack.frob.com>
12139 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12141 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12144 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12145 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12146 Use __attribute__ ((__gnu_inline__)).
12147 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12148 Don't use __attribute__ ((__gnu_inline__)).
12150 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12153 * math/s_catan.c (__catan): Handle small real or imaginary part of
12154 input specially to avoid spurious underflow.
12155 * math/s_catanf.c (__catanf): Likewise.
12156 * math/s_catanh.c (__catanh): Likewise.
12157 * math/s_catanhf.c (__catanhf): Likewise.
12158 * math/s_catanhl.c (__catanhl): Likewise.
12159 * math/s_catanl.c (__catanl): Likewise.
12160 * math/libm-test.inc (catan_test): Add more tests.
12161 (catanh_test): Likewise.
12162 * sysdeps/i386/fpu/libm-test-ulps: Update.
12163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12169 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12172 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12173 accurately for denominator in atan2.
12174 * math/s_catanf.c (__catanf): Likewise.
12175 * math/s_catanh.c (__catanh): Likewise.
12176 * math/s_catanhf.c (__catanhf): Likewise.
12177 * math/s_catanhl.c (__catanhl): Likewise.
12178 * math/s_catanl.c (__catanl): Likewise.
12179 * math/libm-test.inc (catan_test): Add more tests.
12180 (catanh_test): Likewise.
12181 * sysdeps/i386/fpu/libm-test-ulps: Update.
12182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12184 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12186 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12188 * benchtests/Makefile (bench): Remove slow benchmarks.
12189 * benchtests/atan-inputs: Add slow benchmark inputs.
12190 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12191 (BENCH_FUNC): Accept variant offset.
12193 * benchtests/bench-skeleton.c (main): Run benchmark for each
12195 * benchtests/cos-inputs: Add slow benchmark inputs.
12196 * benchtests/exp-inputs: Likewise.
12197 * benchtests/pow-inputs: Likewise.
12198 * benchtests/sin-inputs: Likewise.
12199 * benchtests/slowatan-inputs: Remove.
12200 * benchtests/slowatan.c: Remove.
12201 * benchtests/slowcos-inputs: Remove.
12202 * benchtests/slowcos.c: Remove.
12203 * benchtests/slowexp-inputs: Remove.
12204 * benchtests/slowexp.c: Remove.
12205 * benchtests/slowpow-inputs: Remove.
12206 * benchtests/slowpow.c: Remove.
12207 * benchtests/slowsin-inputs: Remove.
12208 * benchtests/slowsin.c: Remove.
12209 * benchtests/slowtan-inputs: Remove.
12210 * benchtests/slowtan.c: Remove.
12211 * benchtests/tan-inputs: Add slow benchmark inputs.
12212 * scripts/bench.pl: Parse comments and directives.
12214 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12216 ($(objpfx)bench-%.c): Remove *-ITER.
12217 * benchtests/bench-modf.c: Remove definition of ITER.
12218 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12219 (main): Loop for DURATION seconds instead of fixed number of
12221 * scripts/bench.pl: Don't expect iterations in parameters.
12223 2013-04-29 Roland McGrath <roland@hack.frob.com>
12225 * io/fchdir.c (__fchdir): Renamed from fchdir.
12226 (fchdir): Define as weak alias.
12228 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12230 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12231 (ERRNO_EDOM): Likewise.
12232 (ERRNO_ERANGE): Likewise.
12233 (noErrnoTests): New variable.
12234 (init_max_error): Set errno to 0.
12235 (test_single_errno): New function.
12236 (test_errno): Likewise.
12237 (check_float_internal): Call test_errno. Set errno to 0.
12238 (check_complex): Refer to errno tests in comment.
12239 (check_int): Call test_errno. Set errno to 0.
12240 (check_long): Likewise.
12241 (check_bool): Likewise.
12242 (check_longlong): Likewise.
12243 (cos_test): Use ERRNO_* flags for errno tests instead of
12245 (expm1_test): Likewise.
12246 (fmod_test): Likewise.
12247 (ilogb_test): Likewise.
12248 (lgamma_test): Likewise.
12249 (pow_test): Likewise.
12250 (remainder_test): Likewise.
12251 (sin_test): Likewise.
12252 (tan_test): Likewise.
12253 (yn_test): Likewise.
12254 (initialize): Set errno to 0.
12255 (main): Print number of errno tests.
12256 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12258 2013-04-29 Andreas Jaeger <aj@suse.de>
12261 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12265 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12266 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12270 * stdlib/random.c (__initstate): Return NULL if
12274 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12275 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12278 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12282 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12284 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12285 of individual tests.
12286 (casin_test): Likewise.
12287 (casinh_test): Likewise.
12289 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12292 * math/s_catan.c (__catan): Handle arguments with large real or
12293 imaginary part separately without squaring.
12294 * math/s_catanf.c (__catanf): Likewise.
12295 * math/s_catanh.c (__catanh): Likewise.
12296 * math/s_catanhf.c (__catanhf): Likewise.
12297 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12299 (__catanhl): Handle arguments with large real or imaginary part
12300 separately without squaring.
12301 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12303 (__catanl): Handle arguments with large real or imaginary part
12304 separately without squaring.
12305 * math/libm-test.inc (catan_test): Add more tests.
12306 (catanh_test): Likewise.
12307 * sysdeps/i386/fpu/libm-test-ulps: Update.
12308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12310 2013-04-27 Andreas Jaeger <aj@suse.de>
12313 * stdlib/stdlib.h: Update guards for qecvt.
12314 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12317 2013-04-27 Allan McRae <allan@archlinux.org>
12319 * sysdeps/i386/fpu/libm-test-ulps: Update.
12321 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12324 * math/s_catan.c: Include <float.h>.
12325 (__catan): Ensure underflow exception occurs for underflowed
12327 * math/s_catanf.c: Include <float.h>.
12328 (__catanf): Ensure underflow exception occurs for underflowed
12330 * math/s_catanh.c: Include <float.h>.
12331 (__catanh): Ensure underflow exception occurs for underflowed
12333 * math/s_catanhf.c: Include <float.h>.
12334 (__catanhf): Ensure underflow exception occurs for underflowed
12336 * math/s_catanhl.c: Include <float.h>.
12337 (__catanhl): Ensure underflow exception occurs for underflowed
12339 * math/s_catanl.c: Include <float.h>.
12340 (__catanl): Ensure underflow exception occurs for underflowed
12342 * math/libm-test.inc (catan_test): Add more tests.
12343 (catanh_test): Likewise.
12346 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12347 underflowed result.
12348 * math/s_ccoshf.c (__ccoshf): Likewise.
12349 * math/s_ccoshl.c (__ccoshl): Likewise.
12350 * math/s_csin.c (__csin): Likewise.
12351 * math/s_csinf.c (__csinf): Likewise.
12352 * math/s_csinh.c (__csinh): Likewise.
12353 * math/s_csinhf.c (__csinhf): Likewise.
12354 * math/s_csinhl.c (__csinhl): Likewise.
12355 * math/s_csinl.c (__csinl): Likewise.
12356 * math/libm-test.inc (ccos_test): Add more tests.
12357 (ccosh_test): Likewise.
12358 (csin_test): Likewise.
12359 (csinh_test): Likewise.
12361 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12363 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12364 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12365 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12366 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12367 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12368 powerpc/power5+/fpu folders.
12369 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12372 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12376 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12378 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12379 additions to variable.
12380 [$(config-machine) = x86_64] (modules-names): Likewise.
12381 ($(objpfx)tst-audit3): Remove dependency.
12382 ($(objpfx)tst-audit3.out): Likewise.
12383 ($(objpfx)tst-audit4): Likewise.
12384 ($(objpfx)tst-audit4.out): Likewise.
12385 ($(objpfx)tst-audit5): Likewise.
12386 ($(objpfx)tst-audit5.out): Likewise.
12387 ($(objpfx)tst-audit6): Likewise.
12388 ($(objpfx)tst-audit6.out): Likewise.
12389 ($(objpfx)tst-audit7): Likewise.
12390 ($(objpfx)tst-audit7.out): Likewise.
12391 (tst-audit3-ENV): Remove variable.
12392 (tst-audit4-ENV): Likewise.
12393 (tst-audit5-ENV): Likewise.
12394 (tst-audit6-ENV): Likewise.
12395 (tst-audit7-ENV): Likewise.
12396 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12397 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12398 addition to variable.
12399 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12400 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12401 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12402 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12403 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12404 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12405 tst-audit3, tst-audit4 and tst-audit5.
12406 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12407 tst-audit6 and tst-audit7.
12408 [$(subdir) = elf] (modules-names): Add audit modules for those
12410 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12411 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12412 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12413 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12414 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12415 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12416 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12417 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12418 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12419 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12420 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12421 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12422 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12423 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12424 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12425 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12427 [$(subdir) = elf && $(config-cflags-avx) = yes]
12428 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12429 [$(subdir) = elf && $(config-cflags-avx) = yes]
12430 (CFLAGS-tst-auditmod4a.c): Likewise.
12431 [$(subdir) = elf && $(config-cflags-avx) = yes]
12432 (CFLAGS-tst-auditmod4b.c): Likewise.
12433 [$(subdir) = elf && $(config-cflags-avx) = yes]
12434 (CFLAGS-tst-auditmod6b.c): Likewise.
12435 [$(subdir) = elf && $(config-cflags-avx) = yes]
12436 (CFLAGS-tst-auditmod6c.c): Likewise.
12437 [$(subdir) = elf && $(config-cflags-avx) = yes]
12438 (CFLAGS-tst-auditmod7b.c): Likewise.
12439 * elf/tst-audit3.c: Move to ...
12440 * sysdeps/x86_64/tst-audit3.c: ... here.
12441 * elf/tst-audit4.c: Move to ...
12442 * sysdeps/x86_64/tst-audit4.c: ... here.
12443 * elf/tst-audit5.c: Move to ...
12444 * sysdeps/x86_64/tst-audit5.c: ... here.
12445 * elf/tst-audit6.c: Move to ...
12446 * sysdeps/x86_64/tst-audit6.c: ... here.
12447 * elf/tst-audit7.c: Move to ...
12448 * sysdeps/x86_64/tst-audit7.c: ... here.
12449 * elf/tst-auditmod3a.c: Move to ...
12450 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12451 * elf/tst-auditmod3b.c: Move to ...
12452 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12453 * elf/tst-auditmod4a.c: Move to ...
12454 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12455 * elf/tst-auditmod4b.c: Move to ...
12456 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12457 * elf/tst-auditmod5a.c: Move to ...
12458 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12459 * elf/tst-auditmod5b.c: Move to ...
12460 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12461 * elf/tst-auditmod6a.c: Move to ...
12462 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12463 * elf/tst-auditmod6b.c: Move to ...
12464 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12465 * elf/tst-auditmod6c.c: Move to ...
12466 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12467 * elf/tst-auditmod7a.c: Move to ...
12468 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12469 * elf/tst-auditmod7b.c: Move to ...
12470 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12472 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12475 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12476 define unconditionally.
12477 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12478 define unconditionally.
12479 (INT8_C, INT16_C, etc.): Likewise.
12481 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12483 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12484 __ehdr_start with hidden visibility.
12486 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12488 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12490 * math/libm-test.inc (cos_test): Use accurate hex constants.
12491 (sincost_test): Likewise.
12493 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12495 * math/libm-test.inc (catan_test): Add more tests.
12496 (catanh_test): Likewise.
12498 * math/s_catanf.c (__catanf): Use suffixed floating-point
12500 * math/s_catanhf.c (__catanhf): Likewise.
12501 * math/s_catanhl.c (__catanhl): Likewise.
12502 * math/s_catanl.c (__catanl): Likewise.
12505 * math/s_catan.c (__catan): Calculate imaginary part of result
12506 with log1p not log unless computing log of number close to 0.
12507 * math/s_catanf.c (__catanf): Likewise.
12508 * math/s_catanl.c (__catanl): Likewise.
12509 * math/s_catanh.c (__catanh): Calculate real part of result with
12510 log1p not log unless computing log of number close to 0.
12511 * math/s_catanhf.c (__catanhf): Likewise.
12512 * math/s_catanhl.c (__catanhl): Likewise.
12513 * math/libm-test.inc (catan_test): Add more tests.
12514 (catanh_test): Likewise.
12515 * sysdeps/i386/fpu/libm-test-ulps: Update.
12516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12518 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12520 * benchtests/Makefile: Mention files in which fast and slow
12521 paths of math functions are implemented.
12523 2013-04-23 Roland McGrath <roland@hack.frob.com>
12525 * sysdeps/posix/timespec_get.c: New file.
12527 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12529 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12531 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12533 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12534 powerpc/power5/fpu folders.
12535 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12536 * benchtests/Makefile: Add modf testcase.
12537 * benchtests/bench-modf.c: New file: Benchmark test for mo
12539 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12542 * time/Makefile (tests): Add tst-strptime-whitespace.
12543 * time/strptime_l.c (get_number): Use ISSPACE.
12544 (__strptime_internal): Likewise.
12545 * time/tst-strptime-whitespace.c: New test case.
12547 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12549 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12551 (_nss_files_init): Set it here.
12553 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12555 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12556 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12559 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12561 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12563 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12568 2013-04-21 David S. Miller <davem@davemloft.net>
12570 * po/ru.po: Update Russion translation from translation project.
12572 2013-04-17 Adam Conrad <adconrad@0c3.net>
12574 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12577 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12579 * configure.in: Remove i386 configure warning. Remove i386 case.
12580 * configure: Regenerate.
12581 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12582 Add example to error message.
12583 * sysdeps/i386/configure: Regenerate.
12585 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12587 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12589 * benchtests/cos-inputs: New file.
12590 * benchtests/slowcos-inputs: New file.
12591 * benchtests/slowcos.c: New file.
12592 * benchtests/slowtan-inputs: New file.
12593 * benchtests/slowtan.c: New file.
12594 * benchtests/tan-inputs: New file.
12596 2013-04-16 Roland McGrath <roland@hack.frob.com>
12598 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12601 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12603 * benchtests/Makefile: Include cppflags-iterator.mk to add
12604 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12606 * Makefile.in (bench-clean): New target.
12607 * benchtests/Makefile (bench-clean): Likewise.
12609 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12611 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12613 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12615 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12617 2013-04-15 Andreas Schwab <schwab@suse.de>
12619 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12621 * nscd/pwdcache.c (cache_addpw): Likewise.
12622 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12625 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12627 * benchtests/Makefile (bench): Write all output to
12628 bench-out.tmp together.
12630 2013-04-15 Andreas Schwab <schwab@suse.de>
12632 * nscd/nscd.c (main): Don't fork again after closing files.
12634 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12636 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12638 * benchtests/Rules (bench-deps): Collect dependencies into a
12639 single variable. Add Makefile to dependencies.
12640 ($(objpfx)bench-%.c): Depend on bench-deps.
12642 2013-04-12 Roland McGrath <roland@hack.frob.com>
12643 Xavier Roche <roche+kml2@exalead.com>
12646 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12647 just that it's a file descriptor.
12648 * manual/llio.texi (Synchronizing AIO Operations): Update description
12649 for EBADF error from aio_fsync.
12651 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12653 * Rules (bench): Move target definition...
12654 * benchtests/Makefile: ... here.
12656 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12658 * math/libm-test.inc (cos_test): Fix PI/2 test.
12659 (sincos_test): Likewise.
12660 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12661 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12663 2013-04-11 Andreas Schwab <schwab@suse.de>
12666 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12667 accept exponent character only when digits were seen.
12668 * stdio-common/Makefile (tests): Add bug26.
12669 * stdio-common/bug26.c: New file.
12672 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12675 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12677 * Makeconfig (rtld-prefix): Define built linker prefix.
12678 * Rules (run-bench): Use it.
12679 * math/Makefile (run-regen-ulps): Likewise.
12681 * Rules (bench): Remove eval.
12683 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12684 Roland McGrath <roland@hack.frob.com>
12685 Ondrej Bilka <neleai@seznam.cz>
12688 * time/getdate.c: Include ctype.h and alloca.h.
12689 (__getdate_r): Trim leading and trailing spaces of input.
12690 * time/tst-getdate.c (tests): Add tests with leading and
12693 2013-04-08 Roland McGrath <roland@hack.frob.com>
12696 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12697 when computing value.
12699 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12701 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12702 Use testrun.sh to run libm tests.
12705 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12707 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12710 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12712 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12714 * Makefile.in (regen-ulps): New target.
12715 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12716 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12717 [ifneq (no,$(PERL)] (regen-ulps): New target.
12718 [ifeq (no,$(PERL)] (regen-ulps): New target.
12719 * math/libm-test.inc (ulps_file_name): Define.
12720 (output_dir): New variable.
12721 (options): Add "output-dir" option.
12722 (parse_opt): Handle 'o' case.
12723 (main): If output_dir is non-NULL use it as a prefix
12725 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12727 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12729 [BZ #10060, #10062]
12730 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12731 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12732 fail configure if __sync_val_compare_and_swap is not inlined.
12733 * sysdeps/i386/configure: Regenerate.
12734 * configure.in: Build for i686 when configured for i386.
12735 * configure: Regenerate.
12736 * README: Remove i386 reference.
12738 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12740 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12743 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12745 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12746 (lmsnanval): New variables.
12747 (F): Add conversion tests.
12748 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12749 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12751 * stdio-common/tstdiomisc.c (F): Properly collect individual
12754 [BZ #14686, #15336]
12755 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12756 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12757 Instead, use input NaN values or generate a qNaN by arithmetic
12758 operation. Also fix bugs to comply with the standard.
12759 * math/libm-test.inc (remainder_test): Add more tests.
12761 [BZ #15335, #15342]
12762 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12764 input NaN values or generate a qNaN by arithmetic operation.
12766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12769 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12772 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12775 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12776 underflowed result.
12777 * math/s_cexpf.c (__cexpf): Likewise.
12778 * math/s_cexpl.c (__cexpl): Likewise.
12779 * math/libm-test.inc (cexp_test): Add more tests.
12781 2013-04-03 Andreas Schwab <schwab@suse.de>
12784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12785 order arrays from heap if bigger than alloca cutoff.
12787 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12789 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12790 (SNAN_TESTS_double): Refer to GCC PR56831.
12791 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12794 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12796 * Rules (bench): Move bench.out after the run is complete.
12798 * Rules (bench): Echo currently running benchmark.
12800 * benchtests/Makefile (bench): Add atan and slowatan.
12801 * benchtests/atan-inputs: New file.
12802 * benchtests/slowatan-inputs: New file.
12803 * benchtests/slowatan.c: New file.
12805 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12810 * sysdeps/unix/sysv/linux/kernel-features.h
12811 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12812 __ASSUME_XFS_RESTRICTED_CHOWN.
12813 * sysdeps/unix/sysv/linux/pathconf.c
12814 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12815 Save and restore errno.
12817 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12820 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12821 arguments using __kernel_casinh.
12822 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12823 arguments using __kernel_casinhf.
12824 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12825 arguments using __kernel_casinhl.
12826 * math/libm-test.inc (cacosh_test): Add more tests.
12827 * sysdeps/i386/fpu/libm-test-ulps: Update.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12830 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12832 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12835 * bench/Makefile (bench): Add sin and slowsin.
12836 * benchtests/sin-inputs: New file.
12837 * benchtests/slowsin-inputs: New file.
12838 * benchtests/slowsin.c: New file.
12840 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12841 (bench): Add slowexp and slowpow.
12842 (exp-ITER): Increase iterations.
12843 (pow-ITER): Likewise.
12844 * benchtests/exp-inputs: Change input.
12845 * benchtests/pow-inputs: Likewise.
12846 * benchtests/slowexp-inputs: New file.
12847 * benchtests/slowexp.c: New file.
12848 * benchtests/slowpow-inputs: New file.
12849 * benchtests/slowpow.c: New file.
12851 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12853 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12855 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12856 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12858 * benchtests/Makefile: Add rint benchtest.
12859 * benchtests/rint-inputs: Input for rint benchtest.
12861 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12863 * Versions.def (libm): Add GLIBC_2.18.
12864 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12865 hidden libm prototypes.
12866 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12867 * math/Makefile (libm-calls): Add s_issignaling.
12868 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12869 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12870 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12872 * math/math.h [__USE_GNU] (issignaling): New macro.
12873 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12874 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12879 * manual/arith.texi (issignaling): New section.
12880 * manual/libm-err-tab.pl (@all_functions): Update comment.
12881 * math/gen-libm-test.pl (parse_args): Apply special handling for
12883 * math/libm-test.inc (print_float, issignaling_test): New
12885 (check_float_internal): Add issignaling checks.
12886 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12887 default definition.
12888 * sysdeps/powerpc/math-tests.h: New file.
12889 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12891 * math/test-snan.c (TEST_FUNC): Likewise.
12893 2013-03-30 David S. Miller <davem@davemloft.net>
12895 * po/de.po: Update from translation team.
12897 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12900 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12901 imaginary part less than 1.0 and real part less than 0.5
12903 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12904 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12905 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12906 (cacos_test): Add more tests.
12907 (casin_test): Likewise.
12908 (casinh_test): Likewise.
12909 * sysdeps/i386/fpu/libm-test-ulps: Update.
12910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12912 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12914 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12915 ONE with its value.
12917 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12918 (__pow_mp): Replace ONE and MONE with their values.
12919 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12921 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12922 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12923 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12924 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12926 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12928 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12929 (__pow_mp): Replace ZERO and MZERO with their values.
12930 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12931 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12932 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12935 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12938 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12940 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12942 2013-03-28 Roland McGrath <roland@hack.frob.com>
12944 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12945 Declare with __attribute__ ((weak)).
12946 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12947 Call __call_tls_dtors only if it's not NULL.
12949 2013-03-28 Roland McGrath <roland@hack.frob.com>
12951 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12952 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12953 magic __ehdr_start linker symbol if it's defined.
12954 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12955 them up here if it was already done.
12957 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12958 (_dl_aux_init): Use const in cast when setting it.
12959 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12960 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12961 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12963 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12965 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12966 * csu/libc-tls.c: Nor here.
12967 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12969 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12970 (__libc_message): Never call vsyslog.
12972 2013-03-28 Alan Modra <amodra@gmail.com>
12974 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12976 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12979 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12986 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12989 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12990 Don't add gid passed as argument.
12992 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12994 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12998 imaginary part between 1.0 and 1.5 and real part less than 0.5
13000 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13001 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13002 * math/libm-test.inc (cacos_test): Add more tests.
13003 (casin_test): Likewise.
13004 (casinh_test): Likewise.
13005 * sysdeps/i386/fpu/libm-test-ulps: Update.
13006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13008 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13010 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13013 (denorm): Likewise.
13014 (__dbl_mp): Likewise.
13015 (add_magnitudes): Likewise.
13016 (sub_magnitudes): Likewise.
13024 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13026 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13027 (__dubcos): Likewise.
13028 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13029 (__ieee754_acos): Likewise.
13030 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13031 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13032 (__exp1): Likewise.
13033 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13036 (my_log2): Likewise.
13037 (checkint): Likewise.
13038 * sysdeps/ieee754/dbl-64/e_remainder.c
13039 (__ieee754_remainder): Likewise.
13040 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13042 (bsloww): Likewise.
13043 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13045 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13047 MANTISSA_STORE_T to store computations on mantissa. Use
13048 macros for rounding and division.
13049 (denorm): Likewise.
13050 (__dbl_mp): Likewise.
13051 (add_magnitudes): Likewise.
13052 (sub_magnitudes): Likewise.
13055 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13056 powers of two in terms of TWOPOW macro.
13057 (mp_no): Make type of mantissa as MANTISSA_T.
13058 [!RADIXI]: Define RADIXI.
13059 [!TWO52]: Define TWO52.
13060 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13062 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13064 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13065 llroundl symbol when building for PPC32.
13067 2013-03-24 Mark H Weaver <mhw@netris.org>
13069 * manual/arith.texi (Normalization Functions): Fix prototypes for
13070 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13072 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13075 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13076 high value to check if expl overflow.
13077 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13078 to check for underflow and overflow.
13079 * math/libm-test.inc: Add exp test.
13081 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13084 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13087 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13089 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13092 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13094 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13095 wrap blocks consisting of several statements.
13097 * sysdeps/generic/math-tests.h: New file.
13098 * sysdeps/i386/fpu/math-tests.h: Likewise.
13099 * math/test-snan.c: Include it.
13100 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13102 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13106 (__ieee754_j0l): Do not improve calculations using cos of twice
13107 input for inputs above LDBL_MAX / 2.0L.
13108 (__ieee754_y0l): Likewise.
13109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13110 (__ieee754_j1l): Do not improve calculations using cos of twice
13111 input for inputs above LDBL_MAX / 2.0L.
13112 (__ieee754_y1l): Likewise.
13113 * math/libm-test.inc (j0_test): Add another test.
13114 (j1_test): Likewise.
13115 (y0_test): Likewise.
13116 (y1_test): Likewise.
13117 * sysdeps/i386/fpu/libm-test-ulps: Update.
13119 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13121 * Rules ($(objpfx)bench-%.c): Include code from a C source
13124 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13127 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13128 imaginary part 1.0 and real part less than 0.5 specially.
13129 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13130 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13131 * math/libm-test.inc (cacos_test): Add more tests.
13132 (casin_test): Likewise.
13133 (casinh_test): Likewise.
13134 * sysdeps/i386/fpu/libm-test-ulps: Update.
13135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13137 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13139 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13140 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13142 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13144 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13145 * config.make.in (config-cflags-sse4): Remove variable.
13146 (config-cflags-avx): Likewise.
13147 (config-cflags-sse2avx): Likewise.
13148 (config-cflags-novzeroupper): Likewise.
13149 (config-asflags-i686): Likewise.
13150 (have-mfma4): Likewise.
13151 (have-as-vis3): Likewise.
13153 * configure.in (MIG): Do not AC_SUBST.
13154 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13155 (libc_cv_cc_sse4): Do not AC_SUBST.
13156 (libc_cv_cc_avx): Likewise.
13157 (libc_cv_cc_sse2avx): Likewise.
13158 (libc_cv_cc_novzeroupper): Likewise.
13159 (libc_cv_cc_fma4): Likewise.
13160 (libc_cv_as_i686): Likewise.
13161 (libc_cv_sparc_as_vis3): Likewise.
13162 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13164 (config-asflags-i686): Likewise.
13165 (config-cflags-avx): Likewise.
13166 (config-cflags-sse2avx): Likewise.
13167 (have-mfma4): Likewise.
13168 (config-cflags-novzeroupper): Likewise.
13169 * sysdeps/mach/configure.in (MIG): Likewise.
13170 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13171 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13173 (config-cflags-avx): Likewise.
13174 (config-cflags-sse2avx): Likewise.
13175 (have-mfma4): Likewise.
13176 (config-cflags-novzeroupper): Likewise.
13177 * configure: Regenerated.
13178 * sysdeps/i386/configure: Likewise.
13179 * sysdeps/mach/configure: Likewise.
13180 * sysdeps/sparc/configure: Likewise.
13181 * sysdeps/x86_64/configure: Likewise.
13183 2013-03-20 Roland McGrath <roland@hack.frob.com>
13186 * locale/programs/localedef.c (options): Put N_ translation marker
13187 on argument names, not just descriptions.
13189 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13191 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13193 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13196 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13198 2013-03-19 Roland McGrath <roland@hack.frob.com>
13200 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13201 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13202 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13203 [!BEFORE_ABORT] (before_abort): New function.
13204 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13205 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13206 (writev_for_fatal): New function.
13207 (WRITEV_FOR_FATAL): New macro; call that.
13208 (backtrace_and_maps): New function.
13209 (BEFORE_ABORT): New macro; call that.
13210 (struct str_list): Type removed.
13211 (__libc_message, __libc_fatal): Functions removed.
13212 Include <sysdeps/posix/libc_fatal.c> instead.
13214 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13216 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13218 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13221 2013-03-19 Andreas Schwab <schwab@suse.de>
13223 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13224 * sysdeps/gnu/configure: Regenerate.
13226 * configure.in: Substitute libc_cv_rtlddir.
13227 * configure: Regenerate.
13228 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13229 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13230 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13231 * elf/Makefile (install-others, CFLAGS-interp.c)
13232 (ldso_install, common-ldd-rewrite): Likewise.
13233 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13234 $(inst_slibdir)/$(rtld-installed-name).
13235 * scripts/rellns-sh: Add -p option.
13236 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13239 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13241 * manual/nptl.texi: Renamed to ...
13242 * manual/threads.texi: ... this.
13243 * manual/Makefile (chapters): Update.
13245 2013-03-18 Roland McGrath <roland@hack.frob.com>
13248 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13249 on argument names, not just descriptions.
13250 * malloc/memusagestat.c (options): Likewise.
13251 * nss/getent.c (options): Likewise.
13253 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13256 * iconv/iconv_prog.c (options): Put N_ translation marker
13257 on argument names, not just descriptions.
13258 * iconv/iconvconfig.c (options): Likewise.
13260 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13262 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13263 implementation which is faster on all x86_64 architectures.
13264 Tested on AMD, Intel Nehalem, SNB, IVB.
13265 * sysdeps/x86_64/strnlen.S: Likewise.
13267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13268 Remove all multiarch strlen and strnlen versions.
13269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13270 Remove strlen and strnlen related parts.
13272 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13273 Inline strlen part.
13274 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13276 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13277 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13278 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13279 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13280 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13281 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13283 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13285 * manual/memory.texi (Malloc Tunable Parameters):
13286 Sort parameters alphabetically. Add comments for missing entries.
13288 2013-03-17 David S. Miller <davem@davemloft.net>
13290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13292 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13295 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13296 for arguments at most half maximum finite value.
13297 * math/libm-test.inc (j0_test): Add more tests.
13298 (j1_test): Likewise.
13299 (y0_test): Likewise.
13300 (y1_test): Likewise.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13305 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13306 1 / x and functions P and Q for arguments above 0x1p256L.
13307 (__ieee754_y0l): Likewise.
13308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13309 (__ieee754_y1l): Likewise.
13310 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13311 (j1_test): Likewise.
13312 (y0_test): Likewise.
13313 (y1_test): Likewise.
13315 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13317 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13320 2013-03-15 Roland McGrath <roland@hack.frob.com>
13322 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13323 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13324 zero since it's initialized to EXEC_PAGESIZE.
13326 * sysdeps/unix/sysv/linux/ldsodefs.h
13327 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13328 * sysdeps/generic/ldsodefs.h: ... here.
13330 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13332 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13334 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13336 * math/test-snan.c: Renamed from
13337 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13338 * math/Makefile (tests): Add test-snan.
13339 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13342 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13343 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13345 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13346 __builtin_nan family of functions.
13347 * math/libm-test.inc (initialize): Initialize qnan_value with
13348 __builtin_nan family of functions.
13349 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13351 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13353 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13354 storage class. Initialize qNaN_var and sNaN_var with
13355 __builtin_nan and __builtin_nans families of functions,
13358 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13359 (sqrt_test): Remove duplicate test with qNaN input.
13360 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13361 (round_test, signbit_test, significand_test): Note missing +/-Inf
13362 as well as qNaN tests.
13364 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13365 qNaN_var. Fix a few strings, too.
13366 * math/libm-test.inc (nan_value): Rename to qnan_value.
13367 * math/gen-libm-test.pl (%beautify): Adjust to that.
13368 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13369 * math/test-misc.c (main): Likewise.
13370 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13371 to __qnan_bytes, and __qnan_union, respectively.
13372 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13374 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13375 and lqnanval, respectively.
13376 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13377 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13378 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13379 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13381 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13382 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13385 * math/test-misc.c (main): Fix copy'n'pastos.
13386 * misc/tst-efgcvt.c (special): Likewise.
13388 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13389 Remove declarations.
13391 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13393 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13394 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13395 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13396 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13398 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13400 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13401 macro to return vdso values correctly in IFUNC implementations.
13402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13403 Optimization by using IFUNC.
13405 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13406 Richard Henderson <rth@redhat.com>
13407 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13409 * Makefile.in (bench): New target.
13410 * NEWS: Mention the benchmark framework.
13411 * Rules (bench): Likewise.
13412 (binaries-bench): Generate binaries for functions to
13414 * benchtests/Makefile: New makefile for benchmark tests.
13415 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13417 * benchtests/exp-inputs: New input file for EXP function.
13418 * benchtests/pow-inputs: New input file for POW function.
13419 * scripts/bench.pl: New script to generate source files for
13420 benchmark programs.
13422 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13426 computations on mantissa. Use macros for rounding and
13428 (denorm): Likewise.
13429 (__dbl_mp): Likewise.
13430 (add_magnitudes): Likewise.
13431 (sub_magnitudes): Likewise.
13434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13435 powers of two in terms of TWOPOW macro.
13436 (mp_no): Make type of mantissa as MANTISSA_T.
13437 [!RADIXI]: Define RADIXI.
13438 [!TWO52]: Define TWO52.
13439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13441 * manual/nptl.texi (cindex): Modify threads to pthreads.
13443 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13445 * sysdeps/x86_64/preconfigure: Regenerated.
13447 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13450 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13452 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13453 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13455 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13456 * math/libm-test.inc (j0_test): Do not allow one spurious
13457 underflow exception.
13458 (y1_test): Likewise.
13460 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13462 * manual/Makefile (chapters): Add nptl.
13463 * manual/debug.texi (Debugging Support): Add link to Threads
13465 * manual/nptl.texi: New file.
13467 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13469 2013-03-14 Petr Baudis <pasky@ucw.cz>
13471 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13472 for non-NULL pointer before the memory validity test. Pointed
13473 out by Holger Brunck <holger.brunck@keymile.com>.
13475 2013-03-13 Andreas Schwab <schwab@suse.de>
13477 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13480 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13482 * timezone/zic.c: Update from tzcode 2013b.
13484 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13486 * manual/install.texi (Configuring and compiling):
13487 Mention i686 and i586.
13488 * INSTALL: Regenerate.
13490 2013-03-12 Roland McGrath <roland@hack.frob.com>
13492 * sysdeps/init_array/elf-init.c: New file.
13494 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13495 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13497 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13498 __gmon_start__ as global, but as static with a .preinit_array pointer.
13499 * sysdeps/init_array/gmon-start.c: New file. Use that.
13500 * sysdeps/init_array/crti.S: New file, empty except for comments.
13501 * sysdeps/init_array/crtn.S: Likewise.
13503 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13505 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13508 Remove Prefer_SSE_for_memop.
13509 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13510 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13511 HAS_PREFER_SSE_FOR_MEMOP.
13512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13515 Remove bzero, memset ifunc support.
13516 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13517 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13518 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13519 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13521 2013-03-11 Andreas Schwab <schwab@suse.de>
13524 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13527 (GLIBC_2.16): Remove pthread_atfork.
13529 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13531 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13532 (ptestcases.h): Likewise.
13534 2013-03-08 Roland McGrath <roland@hack.frob.com>
13536 * Makeconfig ($(common-objpfx)config.status): Depend on
13537 sysdeps/*/preconfigure{,.in} too.
13539 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13541 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13542 (__free_hook): Use void * instead of __malloc_ptr_t.
13543 (__malloc_hook): Likewise.
13544 (__realloc_hook): Likewise.
13545 (__memalign_hook): Likewise.
13546 (__after_morecore_hook): Likewise.
13547 * malloc/arena.c (save_malloc_hook): Likewise.
13548 (save_free_hook): Likewise.
13549 * malloc/hooks.c (malloc_hook_ini): Likewise.
13550 (realloc_hook_ini): Likewise.
13551 (memalign_hook_ini): Likewise.
13552 * malloc/malloc.c (malloc_hook_ini): Likewise.
13553 (realloc_hook_ini): Likewise.
13554 (memalign_hook_ini): Likewise.
13555 (__free_hook): Likewise.
13556 (__malloc_hook): Likewise.
13557 (__realloc_hook): Likewise.
13558 (__memalign_hook): Likewise.
13559 (__libc_malloc): Likewise.
13560 (__libc_free): Likewise.
13561 (__libc_realloc): Likewise.
13562 (__libc_memalign): Likewise.
13563 (__libc_valloc): Likewise.
13564 (__libc_pvalloc): Likewise.
13565 (__libc_calloc): Likewise.
13566 (__posix_memalign): Likewise.
13567 * malloc/morecore.c (__sbrk): Likewise.
13568 (__default_morecore): Likewise.
13570 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13572 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13573 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13574 __malloc_ptrdiff_t.
13576 * malloc/malloc.h (__malloc_size_t): Remove macro.
13577 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13579 (old_memalign_hook): Likewise.
13580 (old_realloc_hook): Likewise.
13581 (struct hdr): Likewise.
13583 (mallochook): Likewise.
13584 (memalignhook): Likewise.
13585 (reallochook): Likewise.
13586 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13587 (tr_old_realloc_hook): Likewise.
13588 (tr_old_memalign_hook): Likewise.
13589 (tr_mallochook): Likewise.
13590 (tr_reallochook): Likewise.
13591 (tr_memalignhook): Likewise.
13593 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13595 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13596 default_ldbl_pack and using as default implementation.
13597 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13599 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13600 redundant definition.
13601 (ldbl_insert_mantissa): Likewise.
13602 (ldbl_canonicalize): Likewise.
13603 (ldbl_nearbyint): Likewise.
13604 (ldbl_pack): Rename to ldbl_pack_ppc.
13605 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13606 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13607 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13609 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13612 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13613 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13614 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13616 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13617 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13618 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13620 2013-03-07 Andreas Jaeger <aj@suse.de>
13622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13625 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13627 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13628 Include mpa.h and declare __MPEXP.
13629 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13631 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13632 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13634 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13637 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13638 (__slowpow): Use long double EXPL and LOGL functions to
13640 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13641 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13642 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13643 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13644 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13645 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13648 intermediate variable to calculate exponent.
13650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13654 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13655 [!NO__SQR]: Define __sqr.
13656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13657 and NO__SQR. Remove all code except __mul and __sqr. Include
13658 sysdeps/ieee754/dbl-64/mpa.c.
13659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13662 * posix/Makefile (tests): Add tst-pathconf.
13663 * posix/tst-pathconf.c: New test case.
13664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13666 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13668 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13670 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13672 2013-03-06 Andreas Jaeger <aj@suse.de>
13674 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13675 definition via __MAP_ANONYMOUS.
13677 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13678 it's not part of Linux headers.
13680 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13681 (MAP_HUGE_MASK): Define.
13683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13685 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13688 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13689 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13691 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13692 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13694 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13696 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13697 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13698 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13699 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13700 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13701 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13707 Handle f2fs and efivarfs.
13709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13712 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13713 (EFIVARFS_MAGIC): Add.
13714 (F2FS_LINK_MAX): Add.
13716 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13718 * stdio-common/vfprintf.c: Replace __builtin_expect with
13721 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13724 * sysdeps/generic/bp-sym.h: Remove file.
13725 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13727 <bp-sym.h> and <bp-asm.h>.
13728 (__longjmp): Don't use BP_SYM.
13729 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13731 (memcpy): Don't use BP_SYM.
13732 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13733 <bp-sym.h> and <bp-asm.h>.
13734 (memcpy): Don't use BP_SYM.
13735 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13737 (memcpy): Don't use BP_SYM.
13738 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13740 (memset): Don't use BP_SYM.
13741 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13742 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13743 (__bzero): Don't use BP_SYM.
13744 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13745 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13746 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13747 <bp-sym.h> and <bp-asm.h>.
13748 (memcmp): Don't use BP_SYM. Remove comment about bounded
13750 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13751 <bp-sym.h> and <bp-asm.h>.
13752 (memcpy): Don't use BP_SYM.
13753 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13754 <bp-sym.h> and <bp-asm.h>.
13755 (memset): Don't use BP_SYM.
13756 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13757 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13758 (__bzero): Don't use BP_SYM.
13759 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13760 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13761 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13762 <bp-sym.h> and <bp-asm.h>.
13763 (strncmp): Don't use BP_SYM. Remove comment about bounded
13765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13766 <bp-sym.h> and <bp-asm.h>.
13767 (memcpy): Don't use BP_SYM.
13768 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13769 <bp-sym.h> and <bp-asm.h>.
13770 (memset): Don't use BP_SYM.
13771 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13772 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13773 (__bzero): Don't use BP_SYM.
13774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13777 <bp-sym.h> and <bp-asm.h>.
13778 (__memchr): Don't use BP_SYM.
13779 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13780 <bp-sym.h> and <bp-asm.h>.
13781 (memcmp): Don't use BP_SYM. Remove comment about bounded
13783 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13784 <bp-sym.h> and <bp-asm.h>.
13785 (memcpy): Don't use BP_SYM.
13786 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13787 <bp-sym.h> and <bp-asm.h>.
13788 (__mempcpy): Don't use BP_SYM.
13789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13790 <bp-sym.h> and <bp-asm.h>.
13791 (__memrchr): Don't use BP_SYM.
13792 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13793 <bp-sym.h> and <bp-asm.h>.
13794 (memset): Don't use BP_SYM.
13795 (__bzero): Likewise.
13796 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13797 <bp-sym.h> and <bp-asm.h>.
13798 (__rawmemchr): Don't use BP_SYM.
13799 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13800 <bp-sym.h> and <bp-asm.h>.
13801 (__STRCMP): Don't use BP_SYM.
13802 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13803 <bp-sym.h> and <bp-asm.h>.
13804 (strchr): Don't use BP_SYM.
13805 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13806 <bp-sym.h> and <bp-asm.h>.
13807 (__strchrnul): Don't use BP_SYM.
13808 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13809 <bp-sym.h> and <bp-asm.h>.
13810 (strlen): Don't use BP_SYM.
13811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13812 <bp-sym.h> and <bp-asm.h>.
13813 (strncmp): Don't use BP_SYM. Remove comment about bounded
13815 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13816 <bp-sym.h> and <bp-asm.h>.
13817 (__strnlen): Don't use BP_SYM.
13818 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13819 <bp-sym.h> and <bp-asm.h>.
13820 (__GI__setjmp): Don't use BP_SYM.
13821 (_setjmp): Likewise.
13822 (__sigsetjmp): Likewise.
13823 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13824 (L(start_addresses)): Don't use BP_SYM.
13825 (_start): Likewise.
13826 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13828 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13829 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13830 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13831 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13832 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13834 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13835 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13836 about bounded pointers.
13837 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13838 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13839 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13841 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13842 about bounded pointers. Remove GKM FIXME comments.
13843 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13844 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13846 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13847 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13848 Remove GKM FIXME comments.
13849 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13850 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13851 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13853 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13854 about bounded pointers. Remove GKM FIXME comment.
13855 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13857 (strncmp): Don't use BP_SYM. Remove comment about bounded
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13860 <bp-sym.h> and <bp-asm.h>.
13861 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13863 <bp-sym.h> and <bp-asm.h>.
13864 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13867 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13869 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13872 2013-03-05 David S. Miller <davem@davemloft.net>
13874 * po/es.po: Update from translation team.
13876 2013-03-05 Andreas Jaeger <aj@suse.de>
13878 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13879 <bits/mman-linux.h>.
13880 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13883 <bits/mman-linux.h> to end of file.
13884 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13886 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13887 <bits/mman-linux.h> to end of file.
13888 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13891 <bits/mman-linux.h> to end of file.
13893 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13894 (MCL_CURRENT, MCL_FUTURE): Define here.
13896 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13901 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13903 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13905 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13906 fourth parameter needed for rt_sigprocmask syscall.
13907 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13908 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13910 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13914 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13917 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13918 comment about bounded pointers.
13919 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13920 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13922 2013-03-04 Andreas Jaeger <aj@suse.de>
13924 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13925 common definitions.
13927 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13928 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13929 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13934 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13937 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13938 __ieee754_sqrl instead of __sqrl.
13940 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13942 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13943 * sysdeps/powerpc/fpu_control.h: ... here.
13944 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13945 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13946 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13947 * sysdeps/powerpc/bits/mathinline.h: ... here.
13949 2013-03-01 Roland McGrath <roland@hack.frob.com>
13951 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13952 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13953 to just [NEED_DL_SYSINFO_DSO].
13954 * elf/dl-support.c: Likewise.
13955 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13956 * elf/rtld.c (dl_main): Likewise.
13957 * elf/setup-vdso.h (setup_vdso): Likewise.
13958 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13959 * sysdeps/unix/sysv/linux/dl-sysdep.c
13960 (_dl_discover_osversion): Likewise.
13962 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13964 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13965 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13967 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13969 * NEWS: Mention libm performance improvements and non-x86 PI
13972 * csu/libc-start.c (__pthread_initialize_minimal): Change
13973 function arguments.
13974 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13976 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13979 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13980 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13981 <bp-sym.h> and <bp-asm.h>.
13982 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13983 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13985 (memcpy): Don't use BP_SYM.
13986 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13988 (__mpn_add_n): Don't use BP_SYM.
13989 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13990 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13992 (__mpn_addmul_1): Don't use BP_SYM.
13993 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13994 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13996 (_setjmp): Don't use BP_SYM.
13997 (__novmx_setjmp): Likewise.
13998 (__GI__setjmp): Likewise.
13999 (__vmx_setjmp): Likewise.
14000 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14002 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14003 (__bzero): Don't use BP_SYM.
14004 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14005 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14006 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14007 <bp-sym.h> and <bp-asm.h>.
14008 (memcpy): Don't use BP_SYM.
14009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14010 <bp-sym.h> and <bp-asm.h>.
14011 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14012 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14013 <bp-sym.h> and <bp-asm.h>.
14014 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14015 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14017 (__mpn_lshift): Don't use BP_SYM.
14018 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14019 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14021 (memset): Don't use BP_SYM.
14022 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14023 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14024 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14026 (__mpn_mul_1): Don't use BP_SYM.
14027 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14029 <bp-sym.h> and <bp-asm.h>.
14030 (memcmp): Don't use BP_SYM.
14031 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14032 <bp-sym.h> and <bp-asm.h>.
14033 (memcpy): Don't use BP_SYM.
14034 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14035 <bp-sym.h> and <bp-asm.h>.
14036 (memset): Don't use BP_SYM.
14037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14038 <bp-sym.h> and <bp-asm.h>.
14039 (strncmp): Don't use BP_SYM.
14040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14041 <bp-sym.h> and <bp-asm.h>.
14042 (memcpy): Don't use BP_SYM.
14043 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14044 <bp-sym.h> and <bp-asm.h>.
14045 (memset): Don't use BP_SYM.
14046 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14047 <bp-sym.h> and <bp-asm.h>.
14048 (__memchr): Don't use BP_SYM.
14049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14050 <bp-sym.h> and <bp-asm.h>.
14051 (memcmp): Don't use BP_SYM.
14052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14053 <bp-sym.h> and <bp-asm.h>.
14054 (memcpy): Don't use BP_SYM.
14055 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14056 <bp-sym.h> and <bp-asm.h>.
14057 (__mempcpy): Don't use BP_SYM.
14058 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14059 <bp-sym.h> and <bp-asm.h>.
14060 (__memrchr): Don't use BP_SYM.
14061 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14062 <bp-sym.h> and <bp-asm.h>.
14063 (memset): Don't use BP_SYM.
14064 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14065 <bp-sym.h> and <bp-asm.h>.
14066 (__rawmemchr): Don't use BP_SYM.
14067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14068 <bp-sym.h> and <bp-asm.h>.
14069 (__STRCMP): Don't use BP_SYM.
14070 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14071 <bp-sym.h> and <bp-asm.h>.
14072 (strchr): Don't use BP_SYM.
14073 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14074 <bp-sym.h> and <bp-asm.h>.
14075 (__strchrnul): Don't use BP_SYM.
14076 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14077 <bp-sym.h> and <bp-asm.h>.
14078 (strlen): Don't use BP_SYM.
14079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14080 <bp-sym.h> and <bp-asm.h>.
14081 (strncmp): Don't use BP_SYM.
14082 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14083 <bp-sym.h> and <bp-asm.h>.
14084 (__strnlen): Don't use BP_SYM.
14085 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14087 (__mpn_rshift): Don't use BP_SYM.
14088 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14089 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14090 <bp-sym.h> and <bp-asm.h>.
14091 (__sigsetjmp): Don't use BP_SYM.
14092 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14093 (L(start_addresses)): Don't use BP_SYM.
14094 (_start): Likewise.
14095 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14097 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14098 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14099 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14100 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14102 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14103 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14104 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14105 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14107 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14109 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14110 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14112 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14114 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14115 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14116 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14118 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14120 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14122 (strncmp): Don't use BP_SYM,
14123 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14125 (__mpn_sub_n): Don't use BP_SYM.
14126 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14127 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14129 (__mpn_submul_1): Don't use BP_SYM.
14130 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14132 <bp-sym.h> and <bp-asm.h>.
14133 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14135 <bp-sym.h> and <bp-asm.h>.
14136 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14139 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14142 Use ZK to minimize writes to Z.
14143 (sub_magnitudes): Simplify code a bit.
14144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14145 Use ZK to minimize writes to Z.
14146 (sub_magnitudes): Simplify code a bit.
14148 2013-02-27 Roland McGrath <roland@hack.frob.com>
14150 * csu/gmon-start.c: Add special exception to license text.
14152 2013-02-27 Richard Henderson <rth@redhat.com>
14154 * scripts/config.guess: Update from config.git.
14155 * scripts/config.sub: Likewise.
14157 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14161 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14163 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14165 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14167 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14169 2013-02-26 Roland McGrath <roland@hack.frob.com>
14171 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14172 [$(build-shared = yes].
14174 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14176 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14177 (__mul): Reduce iterations for calculating mantissa.
14179 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14181 (__mpranred): Likewise.
14184 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14185 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14187 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14189 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14190 Define __attribute__.
14192 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14194 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14196 * posix/regex_internal.h (__attribute): Remove.
14197 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14198 (re_string_context_at): Likewise.
14199 (bitset_not): Use __attribute__ and mark function as possibly
14201 (bitset_merge): Likewise.
14202 (bitset_mask): Likewise.
14203 (re_string_char_size_at): Likewise.
14204 (re_string_wchar_at): Likewise.
14205 (re_string_elem_size_at): Likewise.
14207 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14209 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14213 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14217 (denorm): Likewise.
14218 (__dbl_mp): Likewise.
14219 (add_magnitudes): Likewise.
14220 (sub_magnitudes): Likewise.
14224 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14227 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14230 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14234 up changes with default code.
14235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14238 2013-02-24 Allan McRae <allan@archlinux.org>
14240 * manual/socket.texi (The Internet Namespace): Order menu items
14241 to match that in the file.
14243 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14244 node listing of the info page menu.
14246 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14249 * sysdeps/i386/bp-asm.h: Remove file.
14250 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14251 (PARMS): Do not use macros from bp-asm.h.
14255 (__mpn_add_n): Do not use BP_SYM
14256 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14258 (PARMS): Do not use macros from bp-asm.h.
14261 (__mpn_addmul_1): Do not use BP_SYM
14262 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14264 (PARMS): Do not use macros from bp-asm.h.
14265 (SIGMSK): Likewise.
14266 (_setjmp): Likewise. Do not use BP_SYM.
14267 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14269 (PARMS): Do not use macros from bp-asm.h.
14270 (SIGMSK): Likewise.
14271 (setjmp): Likewise. Do not use BP_SYM.
14272 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14274 (PARMS): Do not use macros from bp-asm.h.
14275 (__frexp): Do not use BP_SYM.
14277 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14279 (PARMS): Do not use macros from bp-asm.h.
14280 (__frexpf): Do not use BP_SYM.
14281 (frexpf): Likewise.
14282 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14284 (PARMS): Do not use macros from bp-asm.h.
14285 (__frexpl): Do not use BP_SYM.
14286 (frexpl): Likewise.
14287 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14289 (PARMS): Do not use macros from bp-asm.h.
14290 (__remquo): Do not use BP_SYM.
14291 (remquo): Likewise.
14292 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14294 (PARMS): Do not use macros from bp-asm.h.
14295 (__remquof): Do not use BP_SYM.
14296 (remquof): Likewise.
14297 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14299 (PARMS): Do not use macros from bp-asm.h.
14300 (__remquol): Do not use BP_SYM.
14301 (remquol): Likewise.
14302 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14304 (PARMS): Do not use macros from bp-asm.h.
14307 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14308 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14310 (PARMS): Do not use macros from bp-asm.h.
14311 (strlen): Do not use BP_SYM.
14312 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14314 (PARMS): Do not use macros from bp-asm.h.
14318 (__mpn_add_n): Do not use BP_SYM.
14319 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14321 (PARMS): Do not use macros from bp-asm.h.
14324 (__mpn_addmul_1): Do not use BP_SYM.
14325 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14328 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14330 (PARMS): Do not use macros from bp-asm.h.
14333 (__mpn_lshift): Do not use BP_SYM.
14334 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14336 (PARMS): Do not use macros from bp-asm.h.
14340 (memcpy): Likewise. Do not use BP_SYM.
14341 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14342 libc_hidden_def and weak_alias.
14343 (mempcpy): Do not use BP_SYM in weak_alias.
14344 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14346 (PARMS): Do not use macros from bp-asm.h.
14349 [!BZERO_P] (CHR): Likewise.
14350 (memset): Likewise. Do not use BP_SYM.
14351 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14353 (PARMS): Do not use macros from bp-asm.h.
14356 (__mpn_mul_1): Do not use BP_SYM.
14357 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14359 (PARMS): Do not use macros from bp-asm.h.
14362 (__mpn_rshift): Do not use BP_SYM.
14363 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14365 (PARMS): Do not use macros from bp-asm.h.
14368 (strchr): Likewise. Do not use BP_SYM.
14369 (index): Do not use BP_SYM in weak_alias.
14370 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14372 (PARMS): Do not use macros from bp-asm.h.
14375 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14376 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14378 (PARMS): Do not use macros from bp-asm.h.
14379 (strlen): Do not use BP_SYM.
14380 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14382 (PARMS): Do not use macros from bp-asm.h.
14386 (__mpn_sub_n): Do not use BP_SYM.
14387 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14389 (PARMS): Do not use macros from bp-asm.h.
14392 (__mpn_submul_1): Do not use BP_SYM.
14393 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14395 (PARMS): Do not use macros from bp-asm.h.
14399 (__mpn_add_n): Do not use BP_SYM.
14400 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14403 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14405 (PARMS): Do not use macros from bp-asm.h.
14408 (memcmp): Do not use BP_SYM.
14409 (bcmp): Do not use BP_SYM in weak_alias.
14410 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14412 (PARMS): Do not use macros from bp-asm.h.
14416 (memcpy): Likewise. Do not use BP_SYM.
14417 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14419 (PARMS): Do not use macros from bp-asm.h.
14423 (memmove): Likewise. Do not use BP_SYM.
14424 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14426 (PARMS): Do not use macros from bp-asm.h.
14430 (__mempcpy): Likewise. Do not use BP_SYM.
14431 (mempcpy): Do not use BP_SYM in weak_alias.
14432 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14434 (PARMS): Do not use macros from bp-asm.h.
14437 [!BZERO_P] (CHR): Likewise.
14438 (memset): Likewise. Do not use BP_SYM.
14439 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14441 (PARMS): Do not use macros from bp-asm.h.
14443 (strcmp): Do not use BP_SYM.
14444 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14446 (PARMS): Do not use macros from bp-asm.h.
14449 [USE_AS_STRTOK_R] (SAVE): Likewise.
14450 (FUNCTION): Likewise. Do not use BP_SYM.
14451 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14453 (strtok_r): Likewise.
14454 (__GI___strtok_r): Likewise.
14455 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14456 (PARMS): Do not use macros from bp-asm.h.
14459 (__mpn_lshift): Do not use BP_SYM.
14460 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14461 (PARMS): Do not use macros from bp-asm.h.
14464 (__memchr): Do not use BP_SYM.
14465 (memchr): Do not use BP_SYM in weak_alias.
14466 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14467 (PARMS): Do not use macros from bp-asm.h.
14470 (memcmp): Do not use BP_SYM.
14471 (bcmp): Do not use BP_SYM in weak_alias.
14472 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14473 (PARMS): Do not use macros from bp-asm.h.
14476 (__mpn_mul_1): Do not use BP_SYM.
14477 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14479 (PARMS): Do not use macros from bp-asm.h.
14482 (__rawmemchr): Do not use BP_SYM.
14483 (rawmemchr): Do not use BP_SYM in weak_alias.
14484 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14485 (PARMS): Do not use macros from bp-asm.h.
14488 (__mpn_rshift): Do not use BP_SYM.
14489 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14490 (PARMS): Do not use macros from bp-asm.h.
14491 (SIGMSK): Likewise.
14492 (__sigsetjmp): Likewise. Do not use BP_SYM.
14493 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14494 (_start): Do not use BP_SYM.
14495 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14496 (PARMS): Do not use macros from bp-asm.h.
14499 (__stpcpy): Likewise. Do not use BP_SYM.
14500 (stpcpy): Do not use BP_SYM in weak_alias.
14501 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14503 (PARMS): Do not use macros from bp-asm.h.
14507 (__stpncpy): Likewise. Do not use BP_SYM.
14508 (stpncpy): Do not use BP_SYM in weak_alias.
14509 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14510 (PARMS): Do not use macros from bp-asm.h.
14513 (strchr): Likewise. Do not use BP_SYM.
14514 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14516 (PARMS): Do not use macros from bp-asm.h.
14519 (__strchrnul): Likewise. Do not use BP_SYM.
14520 (strchrnul): Do not use BP_SYM in weak_alias.
14521 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14523 (PARMS): Do not use macros from bp-asm.h.
14525 (strcspn): Do not use BP_SYM.
14526 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14528 (PARMS): Do not use macros from bp-asm.h.
14531 (strpbrk): Likewise. Do not use BP_SYM.
14532 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14534 (PARMS): Do not use macros from bp-asm.h.
14537 (strrchr): Likewise. Do not use BP_SYM.
14538 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14539 (PARMS): Do not use macros from bp-asm.h.
14541 (strspn): Do not use BP_SYM.
14542 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14543 (PARMS): Do not use macros from bp-asm.h.
14547 (FUNCTION): Likewise. Do not use BP_SYM.
14548 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14550 (strtok_r): Likewise.
14551 (__GI___strtok_r): Likewise.
14552 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14553 (PARMS): Do not use macros from bp-asm.h.
14557 (__mpn_sub_n): Do not use BP_SYM.
14558 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14560 (PARMS): Do not use macros from bp-asm.h.
14563 (__mpn_submul_1): Do not use BP_SYM.
14564 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14566 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14568 (PARMS): Do not use macros from bp-asm.h.
14573 (__clone): Do not use BP_SYM.
14574 (clone): Do not use BP_SYM in weak_alias.
14575 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14577 (PARMS): Do not use macros from bp-asm.h.
14579 (__mmap64): Do not use BP_SYM.
14580 (mmap64): Do not use BP_SYM in weak_alias.
14581 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14582 <bp-sym.h> and <bp-asm.h>.
14583 (PARMS): Do not use macros from bp-asm.h.
14584 (__posix_fadvise64_l64): Do not use BP_SYM.
14585 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14586 (PARMS): Do not use macros from bp-asm.h.
14588 (semtimedop): Do not use BP_SYM.
14589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14592 2013-02-21 Allan McRae <allan@archlinux.org>
14594 * manual/message.texi (Charset conversion in gettext):
14595 Move @end statement to beginning of line.
14597 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14604 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14605 (denorm): Likewise.
14606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14609 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14611 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14612 tail-call to the resolved function if pltexit isn't needed.
14614 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14617 or Y being zero as being unlikely.
14618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14621 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14623 * manual/nss.texi (System Databases and Name Service Switch):
14624 Remove frobnicate @pxref.
14626 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14628 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14629 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14631 2013-02-20 Petr Machata <pmachata@redhat.com>
14633 * elf/elf.h (R_ARM_TARGET1): New macro.
14634 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14635 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14636 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14637 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14638 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14639 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14640 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14641 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14642 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14643 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14644 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14645 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14646 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14647 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14648 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14649 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14650 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14651 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14652 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14653 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14654 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14655 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14656 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14657 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14658 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14659 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14660 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14661 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14662 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14663 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14664 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14665 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14666 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14667 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14668 (R_ARM_THM_GOT_BREL12): Likewise.
14669 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14670 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14671 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14672 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14673 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14674 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14675 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14676 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14677 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14679 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14681 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14682 __attribute_used__ to __attribute__ ((unused)).
14684 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14686 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14689 comment formatting.
14690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14692 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14695 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14697 (ENTER): Remove both macro definitions.
14699 (CHECK_BOUNDS_LOW): Likewise.
14700 (CHECK_BOUNDS_HIGH): Likewise.
14701 (CHECK_BOUNDS_BOTH): Likewise.
14702 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14703 (RETURN_BOUNDED_POINTER): Likewise.
14704 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14705 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14706 (POP_ERRNO_LOCATION_RETURN): Likewise.
14707 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14708 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14709 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14711 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14712 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14713 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14714 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14715 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14716 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14717 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14718 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14719 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14720 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14721 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14722 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14723 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14724 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14726 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14727 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14729 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14730 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14731 * sysdeps/i386/i586/memset.S (memset): Likewise.
14732 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14733 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14734 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14736 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14737 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14738 Change uses of L(2) to L(out).
14739 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14740 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14741 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14742 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14743 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14745 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14746 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14748 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14749 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14750 (RETURN): Do not use macro LEAVE.
14751 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14752 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14753 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14754 * sysdeps/i386/i686/memset.S (memset): Likewise.
14755 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14756 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14758 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14760 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14761 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14762 L(1_2) and L(1_3) into L(1).
14763 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14764 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14765 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14766 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14767 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14768 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14769 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14770 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14771 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14773 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14774 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14775 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14776 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14777 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14778 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14779 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14780 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14781 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14782 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14783 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14784 * sysdeps/i386/strspn.S (strspn): Likewise.
14785 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14787 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14788 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14789 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14790 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14791 L(1_3) into L(1_1).
14792 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14793 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14794 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14796 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14798 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14800 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14803 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14805 * math/atest-exp.c (exp_mpn): Remove ROUND.
14806 * math/atest-exp2.c (exp_mpn): Likewise.
14807 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14809 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14810 * stdlib/tst-tls-atexit-lib.c: Likewise.
14811 * stdlib/tst-tls-atexit.c: Likewise.
14813 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14815 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14816 and __attribute_alloc_size__.
14818 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14820 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14821 __attribute_alloc_size__.
14822 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14823 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14825 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14827 * include/programs/xmalloc.h: New file.
14828 * catgets/gencat.c: Include it.
14829 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14830 * elf/pldd.c: Likewise.
14831 * iconv/iconv_charmap.c: Likewise.
14832 * iconv/iconvconfig.c: Likewise.
14833 * iconv/strtab.c: Likewise.
14834 * locale/programs/locale.c: Likewise.
14835 * locale/programs/localedef.h: Likewise.
14836 * locale/programs/simple-hash.c: Likewise.
14837 * nscd/nscd.h: Likewise.
14838 * nss/makedb.c: Likewise.
14839 * sysdeps/generic/ldconfig.h: Likewise.
14841 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14843 * Versions.def: Add GLIBC_2.18.
14844 * include/link.h (struct link_map): New member l_tls_dtor_count.
14845 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14846 (__call_tls_dtors): Likewise.
14847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14848 __cxa_thread_atexit_impl.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14865 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14866 (tests): Add test case tst-tls-atexit.
14867 (modules-names): Add shared library for tst-tls-atexit.
14868 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14869 (GLIBC_PRIVATE): Add __call_tls_dtors.
14870 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14872 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14873 * stdlib/tst-tls-atexit.c: New test case.
14874 * stdlib/tst-tls-atexit-lib.c: New test case.
14876 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14878 * elf/Versions (ld): Add _dl_find_dso_for_object.
14879 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14880 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14881 (dl_open_worker): Use _dl_find_dso_for_object.
14882 * elf/dl-sym.c (do_sym): Likewise.
14883 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14885 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14887 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14888 Syntactic changes only.
14889 (_dl_runtime_profile): Do a tail-call to the resolved function.
14891 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14894 * sysdeps/x86_64/bp-asm.h: Remove file.
14895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14896 <bp-sym.h> and <bp-asm.h>.
14897 (__clone): Do not use BP_SYM.
14898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14899 <bp-sym.h> and <bp-asm.h>.
14900 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14901 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14903 (_setjmp): Do not use BP_SYM.
14904 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14906 (setjmp): Do not use BP_SYM.
14907 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14909 (mempcpy): Do not use BP_SYM in weak_alias.
14910 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14912 (strchr): Do not use BP_SYM.
14913 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14915 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14916 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14917 (_start): Do not use BP_SYM.
14918 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14920 (strcat): Do not use BP_SYM.
14921 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14923 (STRCMP): Do not use BP_SYM.
14924 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14926 (STRCPY): Do not use BP_SYM.
14927 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14929 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14931 (FUNCTION): Do not use BP_SYM.
14932 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14934 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14936 2013-02-17 Andreas Jaeger <aj@suse.de>
14938 * time/Versions: Sort entries.
14939 * string/Versions: Likewise.
14940 * resolv/Versions: Likewise.
14941 * posix/Versions: Likewise.
14942 * iconv/Versions: Likewise.
14943 * elf/Versions: Likewise.
14944 * wcsmbs/Versions: Likewise.
14946 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14948 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14949 loop termination condition.
14951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14952 variable to calculate EZ.
14955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14956 the lower precision input.
14958 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14961 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14962 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14963 (run-via-rtld-prefix): Do not handle %-bp tests.
14964 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14965 (all-object-suffixes): Remove .ob.
14966 (bppfx): Remove variable.
14967 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14968 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14969 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14970 [$(build-bounded) = yes] (libtype.ob): Likewise.
14971 * Makerules (elide-routines.ob): Remove variable.
14972 (do-tests-clean): Do not handle *-bp.out.
14973 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14974 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14975 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14976 (tests): Do not include $(tests-bp.out).
14977 (xtests): Do not include $(xtests-bp.out).
14978 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14979 [$(build-bounded) = yes] ($(addprefix
14980 $(objpfx),$(binaries-bounded))): Remove rule.
14981 ($(objpfx)%-bp.out): Remove rule.
14982 * config.make.in (build-bounded): Remove variable.
14983 * crypt/Makefile [$(build-bounded) = yes]
14984 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14985 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14986 append to variable.
14987 [$(build-bounded) = yes] (install-lib): Likewise.
14988 [$(build-bounded) = yes] (generated): Likewise.
14989 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14991 * intl/Makefile [$(build-bounded) = yes]
14992 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14993 * math/Makefile [$(build-bounded) = yes]
14994 ($(tests:%=$(objpfx)%-bp): Likewise.
14995 * misc/Makefile [$(build-bounded) = yes]
14996 ($(objpfx)tst-tsearch-bp): Likewise.
14997 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14998 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15000 * string/Makefile (o-objects.ob): Remove variable.
15001 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15002 (CFLAGS-.ob): Remove variable.
15003 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15004 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15005 both definitions of variable.
15006 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15007 (ASFLAGS-.ob): Remove variable.
15009 2013-02-14 Joseph Myers <joseph@codesourcery.com>
15012 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15013 Remove __BOUNDED_POINTERS__ from condition.
15014 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15015 * string/bits/string2.h [!__NO_STRING_INLINES &&
15016 !__BOUNDED_POINTERS__]: Likewise.
15017 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15019 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15020 Remove conditional code.
15021 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15022 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15023 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15027 * csu/libc-start.c: Do not include <bp-sym.h>.
15028 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15029 * elf/dl-open.c: Do not include <bp-sym.h>.
15030 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15031 * math/fegetenv.c: Do not include <bp-sym.h>.
15032 (fegetenv): Do not use BP_SYM in versioned symbols.
15033 * nptl/sysdeps/pthread/bits/libc-lockP.h
15034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15037 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15039 (__pthread_mutex_destroy): Likewise.
15040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15041 (__pthread_mutex_lock): Likewise.
15042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15043 (__pthread_mutex_trylock): Likewise.
15044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15045 (__pthread_mutex_unlock): Likewise.
15046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15047 (__pthread_mutexattr_init): Likewise.
15048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15049 (__pthread_mutexattr_destroy): Likewise.
15050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15051 (__pthread_mutexattr_settype): Likewise.
15052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15053 (__pthread_rwlock_init): Likewise.
15054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15055 (__pthread_rwlock_destroy): Likewise.
15056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15057 (__pthread_rwlock_rdlock): Likewise.
15058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15059 (__pthread_rwlock_tryrdlock): Likewise.
15060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15061 (__pthread_rwlock_wrlock): Likewise.
15062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15063 (__pthread_rwlock_trywrlock): Likewise.
15064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15065 (__pthread_rwlock_unlock): Likewise.
15066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15067 (__pthread_key_create): Likewise.
15068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15069 (__pthread_setspecific): Likewise.
15070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15071 (__pthread_getspecific): Likewise.
15072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15075 (_pthread_cleanup_push_defer): Likewise.
15076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15077 (_pthread_cleanup_pop_restore): Likewise.
15078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15079 (pthread_setcancelstate): Likewise.
15080 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15082 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15083 (memchr): Do not use BP_SYM in weak_alias.
15084 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15085 (fegetenv): Do not use BP_SYM in versioned symbols.
15086 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15087 (fesetenv): Do not use BP_SYM in versioned symbols.
15088 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15089 (feupdateenv): Do not use BP_SYM in versioned symbols.
15090 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15091 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15092 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15093 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15094 (open64): Do not use BP_SYM in weak_alias.
15095 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15096 (fegetenv): Do not use BP_SYM in versioned symbols.
15097 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15098 (fesetenv): Do not use BP_SYM in versioned symbols.
15099 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15100 (feupdateenv): Do not use BP_SYM in versioned symbols.
15101 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15102 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15103 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15104 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15105 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15106 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15107 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15109 (__libc_start_main): Do not use BP_SYM.
15111 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15114 redundant return line.
15116 (denorm): Likewise.
15117 (dbl_mp): Likewise.
15118 (sub_magnitudes): Likewise.
15124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15126 (denorm): Likewise.
15127 (dbl_mp): Likewise.
15128 (sub_magnitudes): Likewise.
15135 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15137 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15138 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15141 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15142 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15144 of __mul for squares.
15145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15149 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15152 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15155 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15157 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15158 prototype or function definition. Rename ubp_* variables and
15159 parameters. Remove argv definitions conditional on
15160 [__BOUNDED_POINTERS__].
15161 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15162 * elf/dl-runtime.c (_dl_fixup): Likewise.
15163 * include/set-hooks.h (RUN_HOOK): Likewise.
15164 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15166 * string/strcpy.c (strcpy): Do not use __unbounded.
15167 * sysdeps/generic/frame.h (struct layout): Likewise.
15168 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15169 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15170 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15171 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15172 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15173 (__backtrace): Likewise.
15174 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15176 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15177 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15178 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15180 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15181 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15182 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15183 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15184 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15185 Do not use __unbounded.
15186 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15187 Rename __unboundedrlimits parameter to rlimits in prototype.
15188 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15189 Do not use __unbounded.
15190 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15191 not use __ptrvalue.
15192 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15193 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15194 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15195 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15196 __ptrvalue or __unbounded.
15197 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15198 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15200 (__new_msgctl): Do not use __ptrvalue.
15201 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15203 (__libc_msgrcv): Do not use __ptrvalue.
15204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15205 startup_info): Do not use __unbounded.
15206 (__libc_start_main): Likewise. Rename ubp_* variables and
15207 parameters. Remove argv definitions conditional on
15208 [__BOUNDED_POINTERS__].
15209 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15211 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15213 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15215 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15217 (__new_shmctl): Do not use __ptrvalue.
15218 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15219 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15221 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15222 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15223 (__libc_sigaction): Likewise.
15224 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15227 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15229 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15231 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15233 * string/mempcpy.c: Implement by calling memcpy.
15235 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15243 values in the mantissa.
15245 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15246 minimize writes to Z.
15247 (sub_magnitudes): Simplify code a bit.
15249 2013-02-12 Roland McGrath <roland@hack.frob.com>
15251 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15252 from the message. The linker prefixes all warnings with that already.
15254 2013-02-12 Andreas Schwab <schwab@suse.de>
15257 * posix/regexec.c (extend_buffers): Add parameter min_len.
15258 (check_matching): Pass minimum needed length.
15259 (clean_state_log_if_needed): Likewise.
15260 (get_subexp): Likewise.
15261 * posix/Makefile (tests): Add bug-regex34.
15262 (bug-regex34-ENV): Define.
15263 * posix/bug-regex34.c: New file.
15266 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15267 elements compare against the byte sequence of it, not its name.
15268 * posix/Makefile (tests): Add bug-regex35.
15269 (bug-regex35-ENV): Define.
15270 * posix/bug-regex35.c: New file.
15272 2013-02-11 Tom de Vries <tom@codesourcery.com>
15274 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15276 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15277 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15278 (CHECK_EOL): Add undef.
15280 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15282 * bits/stdlib-bsearch.h: New file.
15283 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15284 * stdlib/stdlib.h: Likewise.
15286 2013-02-11 Roland McGrath <roland@hack.frob.com>
15288 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15289 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15291 * manual/search.texi (Array Search Function): Add missing const in
15293 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15294 declaration to use rlim_t.
15295 (Basic Scheduling Functions): Remove erroneous const from
15296 sched_getparam prototype. Remove erroneous * from
15297 sched_get_priority_max and sched_get_priority_min prototypes.
15298 (Resource Usage): Fix summary @comment on vtimes to refer to
15299 sys/vtimes.h rather than vtimes.h.
15300 Add missing *s in vtimes prototype.
15301 (Limits on Resources): Fix ulimit prototype to return long int.
15302 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15303 prototypes to use long int rather than double.
15304 (BSD Random): Fix initstate and setstate to use char *, not void *.
15305 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15306 prototype to make second argument 'struct aiocb64 *const[]'.
15307 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15308 (Status of AIO Operations): Remove erroneous const in aio_return and
15309 aio_return64 prototypes.
15310 (Synchronizing I/O): Fix sync prototype to return void.
15311 * manual/startup.texi (Suboptions): Remove an erroneous const in
15312 getsubopt prototype.
15313 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15314 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15315 use size_t rather than int.
15316 (Scanning All Users): Likewise for getpwent_r.
15317 (Setting Groups): Add missing const to setgroups prototype.
15318 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15319 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15320 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15321 'const void *' rather than 'const char *'.
15322 (Host Address Functions): Likewise for inet_ntop.
15323 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15324 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15325 ssize_t for return value.
15326 (Sending Data): Likewise for send, sendto, sendmsg.
15327 (Socket Option Functions): Add a missing const in setsockopt prototype.
15328 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15329 use wchar_t for the argument.
15330 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15331 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15333 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15334 double/float/long double for second argument.
15335 Fix return types of significand, significandf, significandl.
15336 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15337 argument in fchmod prototype.
15338 (File Owner): Use uid_t and gid_t in fchown prototype.
15339 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15340 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15341 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15342 use 'const struct dirent **' as argument types to CMP function pointer
15344 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15345 (File Times): Fix summary magic @comment for struct utimbuf and utime
15346 to refer to utime.h, not time.h.
15347 * manual/string.texi (Argz Functions): Add missing const in
15348 argz_extract and argz_next prototypes.
15349 (Finding Tokens in a String): Likewise for basename.
15350 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15351 (Copying and Concatenation): Fix typo in wmemmove prototype.
15352 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15353 (Signal Stack): Remove erroneous const in sigstack prototype.
15354 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15356 (Simple Calendar Time): Likewise for stime.
15357 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15359 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15360 say sys/sysctl.h instead.
15361 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15362 and vsyslog prototypes.
15364 2013-02-11 Tom de Vries <tom@codesourcery.com>
15366 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15369 2013-02-11 Roland McGrath <roland@hack.frob.com>
15371 * misc/sys/mman.h: Fix typo in mremap comment.
15373 2013-02-08 Roland McGrath <roland@hack.frob.com>
15375 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15376 the '\0' terminator.
15378 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15381 * debug/segfault.c: Don't include <bp-checks.h>.
15382 * sysdeps/generic/bp-checks.h: Remove file.
15383 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15384 (__GETDENTS): Don't use CHECK_N.
15385 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15386 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15387 (__getgroups): Don't use CHECK_N.
15388 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15389 (setgroups): Don't use CHECK_N.
15390 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15391 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15392 (__libc_msgrcv): Don't use CHECK_N.
15393 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15394 (__libc_msgsnd): Don't use CHECK_N.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15397 (__libc_pread): Don't use CHECK_N.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15399 include <bp-checks.h>.
15400 (__libc_pread64): Don't use CHECK_N.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15402 include <bp-checks.h>.
15403 (__libc_pwrite): Don't use CHECK_N.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15405 include <bp-checks.h>.
15406 (__libc_pwrite64): Don't use CHECK_N.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15409 (__libc_pread): Don't use CHECK_N.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15411 include <bp-checks.h>.
15412 (__libc_pread64): Don't use CHECK_N.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15414 include <bp-checks.h>.
15415 (__libc_pwrite): Don't use CHECK_N.
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15417 include <bp-checks.h>.
15418 (__libc_pwrite64): Don't use CHECK_N.
15419 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15420 (do_pread): Don't use CHECK_N.
15421 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15422 (do_pread64): Don't use CHECK_N.
15423 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15424 (do_pwrite): Don't use CHECK_N.
15425 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15426 (do_pwrite64): Don't use CHECK_N.
15427 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15428 (__libc_readv): Don't use CHECK_N.
15429 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15430 (semop): Don't use CHECK_N.
15431 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15433 (semtimedop): Don't use CHECK_N.
15434 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15435 (__libc_pread): Don't use CHECK_N.
15436 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15438 (__libc_pread64): Don't use CHECK_N.
15439 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15441 (__libc_pwrite): Don't use CHECK_N.
15442 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15444 (__libc_pwrite64): Don't use CHECK_N.
15445 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15447 (__libc_msgrcv): Don't use CHECK_N.
15448 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15449 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15450 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15451 (__libc_writev): Don't use CHECK_N.
15453 2013-02-08 Roland McGrath <roland@hack.frob.com>
15455 * string/strcpy.c: Removed unused variable.
15457 * Makeconfig (+sysdep-includes): Define with := rather than =.
15458 Use an existing include/ subdir of each sysdeps dir before it.
15460 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15462 * nscd/connection.c (register_traced_file): Comment function.
15463 [HAVE_INOTIFY] (union __inev): Define.
15464 [HAVE_INOTIFY] (inotify_check_files): New function.
15465 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15466 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15468 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15470 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15472 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15473 loaded if not already and that a failure is permanent.
15475 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15478 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15479 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15481 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15484 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15485 (CHECK_1_NULL_OK): Likewise.
15486 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15487 (__fxstat): Do not use CHECK_1.
15488 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15490 (___fxstat64): Do not use CHECK_1.
15491 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15493 (__fxstatat): Do not use CHECK_1.
15494 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15496 (__fxstatat64): Do not use CHECK_1.
15497 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15499 (__fxstat): Do not use CHECK_1.
15500 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15502 (__fxstatat): Do not use CHECK_1.
15503 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15505 (__getresgid): Do not use CHECK_1.
15506 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15508 (__getresuid): Do not use CHECK_1.
15509 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15511 (__lxstat): Do not use CHECK_1.
15512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15514 (__old_msgctl): Do not use CHECK_1.
15515 (__new_msgctl): Likewise.
15516 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15518 (__new_setrlimit): Do not use CHECK_1.
15519 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15521 (__old_shmctl): Do not use CHECK_1.
15522 (__new_shmctl): Likewise.
15523 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15525 (__xstat): Do not use CHECK_1.
15526 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15527 (__lxstat): Do not use CHECK_1.
15528 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15530 (___lxstat64): Do not use CHECK_1.
15531 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15532 (__old_msgctl): Do not use CHECK_1.
15533 (__new_msgctl): Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15536 (__gettimeofday): Do not use CHECK_1.
15537 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15538 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15539 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15541 (__gettimeofday): Do not use CHECK_1.
15542 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15543 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15544 (__new_shmctl): Do not use CHECK_1.
15545 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15547 (do_sigtimedwait): Do not use CHECK_1.
15548 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15550 (do_sigwaitinfo): Do not use CHECK_1.
15551 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15553 (msgctl): Do not use CHECK_1.
15554 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15556 (shmctl): Do not use CHECK_1.
15557 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15558 (ustat): Do not use CHECK_1.
15559 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15561 (__fxstat): Do not use CHECK_1.
15562 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15564 (__fxstatat): Do not use CHECK_1.
15565 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15567 (__lxstat): Do not use CHECK_1.
15568 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15570 (__xstat): Do not use CHECK_1.
15571 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15572 (__xstat): Do not use CHECK_1.
15573 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15574 (___xstat64): Do not use CHECK_1.
15577 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15579 (CHECK_BOUNDS_HIGH): Likewise.
15580 * string/strcpy.c: Do not include <bp-checks.h>.
15581 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15583 2013-02-07 Roland McGrath <roland@hack.frob.com>
15585 * nscd/nscd-client.h (__nscd_drop_map_ref):
15586 Add __attribute__ ((unused)).
15587 * nis/nss-nisplus.h (niserr2nss): Likewise.
15589 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15590 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15592 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15593 Remove inline keyword.
15594 * include/rounding-mode.h (round_away): Likewise.
15595 * libio/wfileops.c (adjust_wide_data): Likewise.
15596 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15597 (__m128i_strloadu_tolower): Likewise.
15598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15599 (__m128i_strloadu_tolower): Likewise.
15600 * time/mktime.c (ydhms_diff): Likewise.
15601 * locale/elem-hash.h (elem_hash): Likewise.
15602 * locale/setlocale.c (setdata): Likewise.
15603 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15604 (re_string_wchar_at): Likewise.
15605 (bitset_not, bitset_merge, bitset_mask): Likewise.
15606 [!(__GNUC__ > 3)] (inline): Remove macro.
15607 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15608 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15609 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15610 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15611 * string/memcmp.c (memcmp_bytes): Likewise.
15612 * locale/programs/locarchive.c (compute_hashval): Likewise.
15613 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15614 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15615 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15616 * nss/getent.c (print_rpc, print_protocols): Likewise.
15617 (print_passwd, print_group, print_aliases): Likewise.
15618 * nis/nss-nisplus.h (niserr2nss): Likewise.
15619 * nscd/connections.c (restart_p): Likewise.
15620 Change return type to bool.
15622 2013-02-05 Roland McGrath <roland@hack.frob.com>
15624 * Makeconfig (all-Depend-files): Add existing
15625 $(sorted-subdirs:=/Depend) files.
15626 (all-subdirs): Remove nss.
15627 * sysdeps/unix/inet/Subdirs: Add it here instead.
15628 * hesiod/Depend: New file.
15630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15631 instead of calling alloca.
15633 * io/lseek.c (__lseek): Rename to __libc_lseek.
15634 Define __lseek as an alias.
15636 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15638 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15640 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15641 else clause and remove check for non-standard endianness.
15643 2013-02-04 David S. Miller <davem@davemloft.net>
15645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15647 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15650 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15651 (__ubp_memchr): Remove prototype.
15652 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15653 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15654 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15655 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15656 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15658 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15659 (__ubp_memchr): Likewise.
15660 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15661 (__ubp_memchr): Likewise.
15662 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15663 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15664 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15665 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15667 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15668 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15669 (__getcwd): Do not use CHECK_STRING.
15670 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15672 (__real_chown): Do not use CHECK_STRING.
15673 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15675 (fchownat): Do not use CHECK_STRING.
15676 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15678 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15680 (__lchown): Do not use CHECK_STRING.
15681 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15682 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15683 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15684 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15686 include <bp-checks.h>.
15687 (truncate64): Do not use CHECK_STRING.
15688 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15690 (__real_chown): Do not use CHECK_STRING.
15691 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15693 (__lchown): Do not use CHECK_STRING.
15694 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15696 (__chown): Do not use CHECK_STRING.
15697 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15699 (truncate64): Do not use CHECK_STRING.
15700 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15702 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15703 (__xmknod): Do not use CHECK_STRING.
15704 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15706 (__xmknodat): Do not use CHECK_STRING.
15707 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15708 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15710 2013-02-04 Andreas Schwab <schwab@suse.de>
15713 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15714 * include/netdb.h: Likewise for h_errno.
15715 * elf/tst-stackguard1.c: Include <tls.h>.
15717 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15719 * elf/link.h (struct link_map): Extend the l_addr comment.
15720 * include/link.h (struct link_map): Likewise.
15722 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15725 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15726 (BOUNDED_1): Remove macro.
15727 * debug/backtrace.c: Don't include <bp-checks.h>.
15728 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15729 (__backtrace): Likewise.
15730 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15732 (__backtrace): Don't use BOUNDED_1.
15733 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15735 (__backtrace): Don't use BOUNDED_1.
15736 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15737 (__backtrace): Don't use BOUNDED_1.
15738 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15739 (shmat): Don't use BOUNDED_N.
15741 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15744 * sysdeps/generic/bp-start.h: Remove file.
15745 * csu/libc-start.c: Don't include <bp-start.h>.
15746 (LIBC_START_MAIN): Set up __environ directly instead of using
15747 INIT_ARGV_and_ENVIRON.
15748 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15752 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15754 (CHECK_FCNTL): Likewise.
15755 (CHECK_N_PAGES): Likewise.
15758 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15760 (CHECK_SIGSET_NULL_OK): Likewise.
15761 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15763 (sigpending): Don't use CHECK_SIGSET.
15764 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15766 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15767 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15769 (do_sigsuspend): Don't use CHECK_SIGSET.
15770 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15772 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15773 (do_sigwait): Don't use CHECK_SIGSET.
15774 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15777 include <bp-checks.h>.
15778 (sigpending): Don't use CHECK_SIGSET.
15779 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15780 include <bp-checks.h>.
15781 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15782 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15784 (sigpending): Don't use CHECK_SIGSET.
15785 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15787 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15790 * sysdeps/generic/bp-semctl.h: Remove file.
15791 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15792 <bp-checks.h> and <bp-semctl.h>.
15793 (__old_semctl): Don't use CHECK_SEMCTL.
15794 (__new_semctl): Likewise.
15795 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15797 (__old_semctl): Don't use CHECK_SEMCTL.
15798 (__new_semctl): Likewise.
15799 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15800 <bp-checks.h> and <bp-semctl.h>.
15801 (__old_semctl): Don't use CHECK_SEMCTL.
15802 (__new_semctl): Likewise.
15803 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15804 <bp-checks.h> and <bp-semctl.h>.
15805 (semctl): Don't use CHECK_SEMCTL.
15808 * Makerules (elide-bp-thunks): Remove variable.
15809 (elide-routines.oS): Don't use $(elide-bp-thunks).
15810 (elide-routines.os): Likewise.
15811 (elide-routines.o): Likewise.
15812 (elide-routines.op): Likewise.
15813 (elide-routines.og): Likewise.
15814 (objects): Don't use $(bp-thunks).
15815 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15817 (common-generated): Do not add s-proto-bp.d.
15818 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15821 Do not generate makefile rules for bounded-pointer thunks.
15822 * sysdeps/generic/bp-thunks.h: Remove file.
15823 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15824 * sysdeps/unix/s-proto-bp.S: Likewise.
15827 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15828 parts of result separately when argument is not close to line from
15829 -i to i and one part of argument is small.
15830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15832 * math/libm-test.inc (cacos_test): Add more tests.
15833 (casin_test): Likewise.
15834 (casinh_test): Likewise.
15835 * sysdeps/i386/fpu/libm-test-ulps: Update.
15836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15838 2013-01-31 David S. Miller <davem@davemloft.net>
15840 * po/de.po: Update from translation team.
15842 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15844 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15846 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15848 * configure.in (_AC_PROG_CC_C89): New definition.
15849 * configure: Regenerate.
15851 * configure.in (AC_PROG_CPP): New definition.
15852 * configure: Regenerate.
15854 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15856 * debug/tst-backtrace.h: New file.
15857 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15858 (ret): Remove variable.
15860 (FAIL): Remove macro.
15861 (NO_INLINE): Likewise.
15862 (fn1): Use match function instead of strstr.
15863 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15864 (ret): Remove variable.
15866 (FAIL): Remove macro.
15867 (NO_INLINE): Likewise.
15868 (fn): Use match function instead of strstr.
15869 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15870 (ret): Remove variable.
15872 (FAIL): Remove macro.
15873 (NO_INLINE): Likewise.
15874 (handle_signal): Use match function instead of strstr.
15875 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15876 (ret): Remove variable.
15878 (FAIL): Remove macro.
15879 (NO_INLINE): Likewise.
15880 (handle_signal): Use match function instead of strstr.
15882 2013-01-23 Roland McGrath <roland@hack.frob.com>
15884 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15886 2013-01-23 David S. Miller <davem@davemloft.net>
15888 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15889 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15890 argument of CAS if possible.
15891 * sysdeps/sparc/sparc64/bits/atomic.h
15892 (__arch_compare_and_exchange_val_32_acq): Likewise.
15893 (__arch_compare_and_exchange_val_64_acq): Likewise.
15895 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15897 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15898 * sysdeps/posix/ulimit.c: ... this.
15899 Include <limits.h>.
15900 * sysdeps/unix/bsd/ulimit.c: Remove file.
15902 2013-01-23 Adam Conrad <adconrad@0c3.net>
15904 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15905 (LDFLAGS-tst-array5): Likewise.
15907 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15910 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15911 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15912 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15913 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15915 2013-01-21 David S. Miller <davem@davemloft.net>
15917 * sysdeps/sparc/backtrace.c: New file.
15918 * sysdeps/sparc/sparc32/backtrace.h: New file.
15919 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15920 * sysdeps/sparc/sparc64/backtrace.h: New file.
15921 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15922 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15925 2013-01-21 Andreas Schwab <schwab@suse.de>
15928 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15931 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15937 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15938 Mark Mitchell <mark@codesourcery.com>
15939 Tom de Vries <tom@codesourcery.com>
15940 Paul Pluzhnikov <ppluzhnikov@google.com>
15942 * debug/tst-backtrace2.c: New file.
15943 * debug/tst-backtrace3.c: Likewise.
15944 * debug/tst-backtrace4.c: Likewise.
15945 * debug/tst-backtrace5.c: Likewise.
15946 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15947 (CFLAGS-tst-backtrace3.c): Likewise.
15948 (CFLAGS-tst-backtrace4.c): Likewise.
15949 (CFLAGS-tst-backtrace5.c): Likewise.
15950 (LDFLAGS-tst-backtrace2): Likewise.
15951 (LDFLAGS-tst-backtrace3): Likewise.
15952 (LDFLAGS-tst-backtrace4): Likewise.
15953 (LDFLAGS-tst-backtrace5): Likewise.
15954 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15955 tst-backtrace4 and tst-backtrace5.
15957 2013-01-18 Anton Blanchard <anton@samba.org>
15958 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15960 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15961 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15962 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15963 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15965 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15966 "+r" and remove output regs list as redundant. Add explicit inline
15967 asm to specify register of return val to work around compiler codegen
15968 bug. Remove (int) cast on return value. Add return type parameter to
15969 use in macro so that this macro does not truncate return value for
15971 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15972 pass to INTERNAL_VSYSCALL_NCS.
15973 (INLINE_VSYSCALL): Add 'long int' as return type to
15974 INTERNAL_VSYSCALL_NCS macro invocation.
15975 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15976 INTERNAL_VSYSCALL_NCS macro invocation.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15979 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15982 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15983 Fix application of SIMD FP exception mask.
15985 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15986 mp_no from a power of two.
15987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15988 __mpexp_twomm1. Use __pow_mp.
15990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15993 2013-01-17 David S. Miller <davem@davemloft.net>
15995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15997 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16000 * include/complex.h: Condition contents on [!_COMPLEX_H].
16001 (__kernel_casinhf): New prototype.
16002 (__kernel_casinh): Likewise.
16003 (__kernel_casinhl): Likewise.
16004 * math/Makefile (libm_calls): Add k_casinh.
16005 * math/k_casinh.c: New file.
16006 * math/k_casinhf.c: Likewise.
16007 * math/k_casinhl.c: Likewise.
16008 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16009 finite nonzero arguments.
16010 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16011 finite nonzero arguments.
16012 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16013 finite nonzero arguments.
16014 * math/s_casinh.c: Do not include <float.h>.
16015 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16016 * math/s_casinhf.c: Do not include <float.h>.
16017 (__casinhf): Move code for finite nonzero arguments to
16019 * math/s_casinhl.c: Do not include <float.h>.
16020 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16022 (__casinhl): Move code for finite nonzero arguments to
16024 * math/libm-test.inc (cacos_test): Add more tests.
16025 * sysdeps/i386/fpu/libm-test-ulps: Update.
16026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16028 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16030 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16031 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16032 [!HAVE_MREMAP]: Remove [defined linux] case.
16033 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16035 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16037 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16039 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16041 * elf/elf.h (R_386_SIZE32): New relocation.
16042 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16044 (elf_machine_rela): Likewise.
16045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16046 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16048 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16050 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16051 (FP_FAST_FMA): Do not define.
16052 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16053 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16054 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16055 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16056 !_SOFT_FLOAT]: Likewise.
16057 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16058 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16060 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16061 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16062 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16063 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16064 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16065 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16068 2013-01-16 Andreas Schwab <schwab@suse.de>
16071 * include/stdlib.h (__mktemp): Add declaration.
16072 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16073 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16075 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16077 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16079 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16080 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16081 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16083 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16084 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16088 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16089 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16090 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16092 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16093 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16095 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16097 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16099 2013-01-15 David S. Miller <davem@davemloft.net>
16101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16102 trunc{,f} to libm-sysdep_routes.
16103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16113 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16114 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16115 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16116 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16117 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16118 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16121 nearbyint{,f} to libm-sysdep_routes.
16122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16135 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16136 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16138 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16139 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16140 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16142 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16143 libc_feholdexcept and libc_fesetenv.
16145 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16147 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16149 2013-01-14 David S. Miller <davem@davemloft.net>
16151 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16152 (SPARC_ASM_VIS2_IFUNC): Likewise.
16153 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16155 use of 'siam' instruction.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16189 routines to libm-sysdep_routines.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16193 fdim/fdimf to libm-sysdep_routines.
16194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16202 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16203 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16204 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16205 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16207 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16210 to optimize copies.
16212 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16217 local variable MPTWO.
16218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16221 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16223 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16226 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16228 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16230 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16232 * manual/pattern.texi (glob_t): Document gl_flags.
16233 (glob64_t): Likewise.
16235 2013-01-11 David S. Miller <davem@davemloft.net>
16237 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16238 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16239 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16240 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16241 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16242 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16243 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16244 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16245 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16246 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16247 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16248 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16249 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16252 sparc V9 rather than using V8 code.
16253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16256 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16258 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16261 2013-01-11 Roland McGrath <roland@hack.frob.com>
16263 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16264 not in the main loop.
16265 * configure: Regenerated.
16267 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16269 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16270 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16272 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16273 [!__GLIBC_HAVE_LONG_LONG] case.
16274 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16275 condition to just #else.
16276 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16277 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16278 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16279 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16281 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16282 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16283 #elif condition to just #else.
16284 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16285 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16286 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16287 #elif condition to just #else.
16289 2013-01-11 Steve Ellcey <sellcey@mips.com>
16291 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16292 (EF_MIPS_ARCH_64): Fix value.
16293 (EF_MIPS_ARCH_32R2): New.
16294 (EF_MIPS_ARCH_64R2): New.
16296 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16298 * Makeconfig (+link-pie-before-libc): New.
16299 (+link-pie-after-libc): Likewise.
16300 (+link-pie-tests): Likewise.
16301 (+link-pie): Rewritten.
16302 (link-before-libc): Remove $(config-LDFLAGS).
16303 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16304 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16305 (config-LDFLAGS): Renamed to ...
16306 (rtld-LDFLAGS): This.
16307 (rtld-tests-LDFLAGS): New macro.
16308 (link-libc-rpath-link): Likewise.
16309 (link-libc-tests-rpath-link): Likewise.
16310 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16311 (link-libc): Prepand $(link-libc-rpath-link).
16312 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16313 (test-program-prefix): New macro.
16314 (test-via-rtld-prefix): Likewise.
16315 (test-program-cmd): Likewise.
16316 (host-test-program-cmd): Likewise.
16317 * Makefile ($(common-objpfx)testrun.sh): Replace
16318 $(run-program-prefix) with $(test-program-prefix).
16319 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16321 ($(common-objpfx)shlib.lds): Likewise.
16322 (build-module-helper): Likewise.
16323 ($(common-objpfx)format.lds): Likewise.
16324 * Rules (binaries-pie-tests): New.
16325 (binaries-pie-notests): Likewise.
16326 (binaries-pie): Rewritten.
16327 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16328 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16329 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16330 (make-test-out): Replace $(host-built-program-cmd) with
16331 $(host-test-program-cmd).
16332 * config.make.in (build-hardcoded-path-in-tests): New variable.
16333 * configure.in (--enable-hardcoded-path-in-tests): New configure
16335 (hardcoded_path_in_tests): New AC_SUBST.
16336 * configure: Regenerated.
16337 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16338 $(built-program-cmd) with $(test-program-cmd).
16339 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16340 (test_program_cmd): This.
16341 * elf/Makefile ($(objpfx)order.out): Run test with
16342 $(test-program-prefix).
16343 ($(objpfx)order2.out): Likewise.
16344 ($(objpfx)tst-initorder.out): Likewise.
16345 ($(objpfx)tst-initorder2.out): Likewise.
16346 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16347 $(test-program-cmd).
16348 ($(objpfx)tst-array1-static.out): Likewise.
16349 ($(objpfx)tst-array2.out): Likewise.
16350 ($(objpfx)tst-array3.out): Likewise.
16351 ($(objpfx)tst-array4.out): Likewise.
16352 ($(objpfx)tst-array5.out): Likewise.
16353 ($(objpfx)tst-array5-static.out): Likewise.
16354 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16355 $(test-program-cmd).
16356 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16357 $(run-program-prefix) with $(test-program-prefix).
16358 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16359 (test_program_prefix): This.
16360 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16361 $(run-program-prefix) with $(test-program-prefix).
16362 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16363 (test_program_prefix): This.
16364 * iconvdata/tst-tables.sh: Likewise.
16365 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16366 $(run-program-prefix) with $(test-program-prefix).
16367 ($(objpfx)tst-translit.out): Likewise.
16368 ($(objpfx)tst-gettext2.out): Likewise.
16369 ($(objpfx)tst-gettext4.out): Likewise.
16370 ($(objpfx)tst-gettext6.out): Likewise.
16371 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16372 (test_program_prefix): This.
16373 * intl/tst-gettext2.sh: Likewise.
16374 * intl/tst-gettext4.sh Likewise.
16375 * intl/tst-gettext6.sh: Likewise.
16376 * intl/tst-translit.sh: Likewise.
16377 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16378 with $(test-program-cmd).
16379 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16380 $(run-program-prefix) with $(test-program-prefix).
16381 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16382 (test_program_prefix): This.
16383 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16384 $(run-program-prefix) with $(test-program-prefix).
16385 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16386 (test_program_prefix): This.
16387 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16388 * posix/Makefile ($(objpfx)globtest.out): Replace
16389 $(run-via-rtld-prefix) and $(test-wrapper) with
16390 $(test-program-prefix) and $(test-via-rtld-prefix).
16391 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16392 $(test-program-prefix).
16393 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16394 $(host-test-program-cmd).
16395 (tst-spawn-ARGS): Likewise.
16396 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16397 $(test-program-prefix).
16398 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16399 (test_via_rtld_prefix): This.
16400 (test_wrapper): Renamed to ...
16401 (test_program_prefix): This.
16402 (run_program_prefix): Replaced by test_program_prefix.
16403 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16404 (test_program_prefix): This.
16405 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16406 with $(host-test-program-cmd).
16407 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16408 $(run-program-prefix) with $(test-program-prefix).
16409 ($(objpfx)tst-printf.out): Likewise.
16410 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16411 $(test-program-cmd).
16412 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16413 (test_program_prefix): This.
16414 * stdio-common/tst-unbputc.sh: Likewise.
16415 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16416 $(run-program-prefix) with $(test-program-prefix).
16417 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16418 (test_program_prefix): This.
16419 * string/Makefile ($(objpfx)tst-svc.out): Replace
16420 $(built-program-cmd) with $(test-program-cmd).
16422 2013-01-11 Andreas Jaeger <aj@suse.de>
16425 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16426 value. Sync with Linux 3.7.
16428 2013-01-10 David S. Miller <davem@davemloft.net>
16430 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16431 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16432 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16434 2013-01-10 Roland McGrath <roland@hack.frob.com>
16436 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16438 * configure: Regenerated.
16440 2013-01-10 David S. Miller <davem@davemloft.net>
16442 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16443 sparc V9 rather than using V8 code.
16444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16447 2013-01-10 Roland McGrath <roland@hack.frob.com>
16449 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16450 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16451 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16452 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16453 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16454 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16455 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16456 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16457 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16458 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16459 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16460 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16461 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16462 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16463 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16464 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16465 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16466 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16467 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16468 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16469 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16470 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16471 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16472 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16473 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16474 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16475 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16477 2013-01-10 David S. Miller <davem@davemloft.net>
16479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16481 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16483 * posix/Makefile (tests-static): New variable.
16484 (tests): Add $(tests-static).
16485 (tst-exec-static-ARGS): New variable.
16486 (tst-spawn-static-ARGS): Likewise.
16487 * posix/tst-exec-static.c: New file.
16488 * posix/tst-spawn-static.c: Likewise.
16489 * posix/tst-exec.c: Support run directly.
16490 * posix/tst-spawn.c: Likewise.
16492 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16494 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16496 * math/bits/mathcalls.h (llrint): Likewise.
16497 (llround): Likewise.
16498 * stdlib/stdlib.h (struct drand48_data): Likewise.
16499 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16500 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16501 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16503 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16505 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16506 (elf_greg_t): Likewise.
16507 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16508 (__jmp_buf): Likewise.
16509 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16511 (llrint): Likewise, for all definitions.
16512 (llrintl): Likewise.
16514 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16515 Remove [__GNUC__] condition.
16516 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16517 condition to just [__USE_ISOC99].
16518 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16520 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16523 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16524 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16526 (_POSIX_V6_ILP32_OFF32): Likewise.
16527 (_XBS5_ILP32_OFF32): Likewise.
16528 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16529 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16531 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16533 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16536 doubles __mpexp_twomm1. Adjust usage.
16537 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16540 2013-01-10 Andreas Schwab <schwab@suse.de>
16543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16544 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16546 2013-01-09 David S. Miller <davem@davemloft.net>
16549 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16550 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16551 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16552 TCP_FASTOPEN): Define.
16553 (tcp_repair_opt): New structure.
16554 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16556 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16557 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16558 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16559 (tcp_cookie_transactions): New structure.
16561 2013-01-09 Anton Blanchard <anton@samba.org>
16563 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16564 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16566 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16568 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16570 * include/features.h (__USE_ANSI): Remove.
16572 2013-01-09 Roland McGrath <roland@hack.frob.com>
16574 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16576 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16578 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16580 * sysdeps/s390/fpu/libm-test-ulps: Update.
16582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16584 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16588 (denorm): Likewise.
16589 (__mp_dbl): Likewise.
16590 (__dbl_mp): Likewise.
16591 (add_magnitudes): Likewise.
16592 (sub_magnitudes): Likewise.
16598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16602 (denorm): Likewise.
16603 (__mp_dbl): Likewise.
16604 (__dbl_mp): Likewise.
16605 (add_magnitudes): Likewise.
16606 (sub_magnitudes): Likewise.
16612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16616 (denorm): Likewise.
16617 (__mp_dbl): Likewise.
16618 (__dbl_mp): Likewise.
16619 (add_magnitudes): Likewise.
16620 (sub_magnitudes): Likewise.
16627 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16629 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16630 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16631 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16632 2 && __USE_EXTERN_INLINES]: Likewise.
16634 2013-01-08 Andreas Jaeger <aj@suse.de>
16637 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16639 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16640 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16642 2013-01-07 Anton Blanchard <anton@samba.org>
16644 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16645 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16646 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16647 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16648 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16649 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16650 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16651 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16653 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16654 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16655 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16658 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16659 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16660 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16661 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16662 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16664 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16665 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16667 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16668 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16669 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16670 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16671 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16674 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16676 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16677 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16678 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16679 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16680 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16681 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16684 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16686 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16688 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16690 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16691 (__MALLOC_PMT): Likewise.
16692 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16693 [__GNUC__], only on [_LIBC].
16694 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16695 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16696 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16697 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16698 forward declaration.
16699 (realloc_hook_ini): Likewise.
16700 (memalign_hook_ini): Likewise.
16701 (__libc_memalign): Do not use __MALLOC_PMT in variable
16703 (__libc_valloc): Likewise.
16704 (__libc_pvalloc): Likewise.
16705 (__libc_calloc): Likewise.
16706 (__posix_memalign): Likewise.
16709 * math/s_casinh.c: Include <float.h>.
16710 (__casinh): Do not do computation with squaring and square root
16711 for large arguments.
16712 * math/s_casinhf.c: Include <float.h>.
16713 (__casinhf): Do not do computation with squaring and square root
16714 for large arguments.
16715 * math/s_casinhl.c: Include <float.h>.
16716 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16717 (__casinhl): Do not do computation with squaring and square root
16718 for large arguments.
16719 * math/libm-test.inc (casin_test): Add more tests.
16720 (casinh_test): Likewise.
16721 * sysdeps/i386/fpu/libm-test-ulps: Update.
16722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16724 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16726 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16727 (__x86_64_raw_data_cache_size): Likewise.
16728 (__x86_64_data_cache_size_half): Likewise.
16729 (__x86_64_raw_data_cache_size_half): Likewise.
16730 (__x86_64_shared_cache_size): Likewise.
16731 (__x86_64_raw_shared_cache_size): Likewise.
16732 (__x86_64_shared_cache_size_half): Likewise.
16733 (__x86_64_raw_shared_cache_size_half): Likewise.
16734 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16736 (__x86_data_cache_size): This.
16737 (__x86_64_raw_data_cache_size): Renamed to ...
16738 (__x86_raw_data_cache_size): This.
16739 (__x86_64_data_cache_size_half): Renamed to ...
16740 (__x86_data_cache_size_half): This.
16741 (__x86_64_raw_data_cache_size_half): Renamed to ...
16742 (__x86_raw_data_cache_size_half): This.
16743 (__x86_64_shared_cache_size): Renamed to ...
16744 (__x86_shared_cache_size): This.
16745 (__x86_64_raw_shared_cache_size): Renamed to ...
16746 (__x86_raw_shared_cache_size): This.
16747 (__x86_64_shared_cache_size_half): Renamed to ...
16748 (__x86_shared_cache_size_half): This.
16749 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16750 (__x86_raw_shared_cache_size_half): This.
16751 * sysdeps/x86_64/memcpy.S: Updated.
16752 * sysdeps/x86_64/memset.S: Likewise.
16753 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16755 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16757 2013-01-04 David S. Miller <davem@davemloft.net>
16759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16761 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16763 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16764 1 to avoid redefinition warning.
16765 (__USE_GNU): Don't define.
16766 (init_signaling_nan): Protoize.
16768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16770 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16772 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16774 (__cpymn): Likewise.
16775 (norm): Remove commented code.
16776 (denorm): Likewise.
16777 (__mp_dbl): Likewise.
16779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16780 (__cpymn): Likewise.
16781 (norm): Remove commented code.
16782 (denorm): Likewise.
16783 (__mp_dbl): Likewise.
16786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16787 mp_no value for 1.0 and 2.0.
16788 (norm): Use RADIXI instead of radixi.d.
16789 (denorm): Likewise.
16790 (__mul): Use 0.0 instead of zero.d.
16791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16792 mp_no value for 1.0 and 2.0.
16793 (norm): Use RADIXI instead of radixi.d.
16794 (denorm): Likewise.
16795 (__mul): Use 0.0 instead of zero.d.
16797 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16800 * math/s_casinh.c (__casinh): Reduce finite argument to first
16801 quadrant then set signs of results at the end.
16802 * math/s_casinhf.c (__casinhf): Likewise.
16803 * math/s_casinhl.c (__casinhl): Likewise.
16804 * math/libm-test.inc (casin_test): Add more tests.
16805 (casinh_test): Likewise.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16809 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16811 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16813 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16815 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16817 (denorm): Likewise.
16818 (__mp_dbl): Likewise.
16821 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16822 and adjust the header comment.
16824 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16825 variable name from declaration.
16827 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16830 Initialize COMMON_CPUID_INDEX_7 element.
16831 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16832 (CPUID_RTM): Likewise.
16833 (HAS_RTM): Likewise.
16834 (COMMON_CPUID_INDEX_7): New enum.
16836 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16839 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16840 size is zero, record memory as freed.
16842 2013-01-03 Andreas Jaeger <aj@suse.de>
16844 * po/ia.po: Add new Interlingua translation.
16846 2012-01-03 Allan McRae <allan@archlinux.org>
16848 * locale/programs/localedef.c: Fix description of '--posix' flag.
16850 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16852 * NEWS: Update dates in second copyright notice.
16853 * README: Update copyright dates in example.
16854 * manual/libc.texinfo: Update copyright dates.
16855 * scripts/test-installation.pl: Update copyright date in --version
16858 * hurd/ctty-input.c: Fix copyright notice formatting.
16859 * hurd/ctty-output.c: Likewise.
16860 * hurd/dtable.c: Likewise.
16861 * hurd/hurd-raise.c: Likewise.
16862 * hurd/hurdprio.c: Likewise.
16863 * hurd/msgportdemux.c: Likewise.
16864 * misc/sys/file.h: Likewise.
16865 * misc/sys/ioctl.h: Likewise.
16866 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16867 * sysdeps/mach/hurd/chdir.c: Likewise.
16868 * sysdeps/mach/hurd/fchdir.c: Likewise.
16869 * sysdeps/mach/hurd/rename.c: Likewise.
16870 * sysdeps/mach/hurd/rmdir.c: Likewise.
16871 * sysdeps/mach/hurd/seekdir.c: Likewise.
16872 * sysdeps/mach/hurd/setsid.c: Likewise.
16873 * sysdeps/posix/wait3.c: Likewise.
16875 * All files with FSF copyright notices: Update copyright dates
16876 using scripts/update-copyrights.
16877 * intl/plural.c: Regenerated.
16878 * locale/programs/charmap-kw.h: Likewise.
16879 * locale/programs/locfile-kw.h: Likewise.
16881 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16883 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16886 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16887 calculation loop and add branch prediction.
16889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16890 check access beyond bounds of m1np.
16892 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16894 (__inv): Remove local variable MPTWO to use the global
16896 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16899 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16900 MP3HALFS static const.
16902 2013-01-01 David S. Miller <davem@davemloft.net>
16904 * po/ca.po: Update from translation team.
16906 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16908 * scripts/update-copyrights: New file.
16909 * Makeconfig: Reformat copyright notice.
16910 * ctype/ctype.h: Likewise.
16911 * debug/swprintf_chk.c: Likewise.
16912 * elf/dl-cache.c: Likewise.
16913 * elf/dl-debug.c: Likewise.
16914 * elf/dl-object.c: Likewise.
16915 * grp/initgroups.c: Likewise.
16916 * hurd/Makefile: Likewise.
16917 * hurd/hurd/signal.h: Likewise.
16918 * hurd/hurdfault.c: Likewise.
16919 * hurd/hurdioctl.c: Likewise.
16920 * hurd/hurdlookup.c: Likewise.
16921 * hurd/intr-msg.c: Likewise.
16922 * iconv/gconv_open.c: Likewise.
16923 * libio/swprintf.c: Likewise.
16924 * locale/lc-ctype.c: Likewise.
16925 * locale/nl_langinfo.c: Likewise.
16926 * mach/Machrules: Likewise.
16927 * mach/Makefile: Likewise.
16928 * malloc/obstack.h: Likewise.
16929 * manual/Makefile: Likewise.
16930 * manual/tsort.awk: Likewise.
16931 * misc/bits/stab.def: Likewise.
16932 * nis/nis_print_group_entry.c: Likewise.
16933 * nis/nis_table.c: Likewise.
16934 * nis/nss_compat/compat-pwd.c: Likewise.
16935 * nis/nss_compat/compat-spwd.c: Likewise.
16936 * po/Makefile: Likewise.
16937 * posix/fnmatch.c: Likewise.
16938 * posix/regex.h: Likewise.
16939 * resolv/Makefile: Likewise.
16940 * resolv/nss_dns/dns-network.c: Likewise.
16941 * resolv/res_hconf.c: Likewise.
16942 * scripts/gen-sorted.awk: Likewise.
16943 * soft-fp/soft-fp.h: Likewise.
16944 * stdio-common/printf.h: Likewise.
16945 * stdlib/monetary.h: Likewise.
16946 * stdlib/random.c: Likewise.
16947 * stdlib/random_r.c: Likewise.
16948 * sysdeps/generic/Makefile: Likewise.
16949 * sysdeps/gnu/Makefile: Likewise.
16950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16968 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16978 * sysdeps/mach/hurd/errnos.awk: Likewise.
16979 * sysdeps/mach/hurd/fork.c: Likewise.
16980 * sysdeps/mach/hurd/getcwd.c: Likewise.
16981 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16982 * sysdeps/mach/hurd/mmap.c: Likewise.
16983 * sysdeps/mach/hurd/utimes.c: Likewise.
16984 * sysdeps/mach/hurd/xmknod.c: Likewise.
16985 * sysdeps/posix/profil.c: Likewise.
16986 * sysdeps/posix/readdir_r.c: Likewise.
16987 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16988 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16989 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16990 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16992 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16993 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16994 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16996 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16997 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16998 * sysdeps/pthread/lio_listio.c: Likewise.
16999 * sysdeps/sparc/dl-procinfo.h: Likewise.
17000 * sysdeps/unix/i386/sysdep.S: Likewise.
17001 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17002 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17003 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17004 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17006 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17007 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17008 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17009 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17010 * sysdeps/wordsize-32/divdi3.c: Likewise.
17011 * time/sys/time.h: Likewise.
17012 * wcsmbs/Makefile: Likewise.
17014 2013-01-01 David S. Miller <davem@davemloft.net>
17016 * po/fr.po: Update from translation team.
17018 * catgets/gencat.c: Update copyright year.
17019 * csu/version.c: Likewise.
17020 * debug/catchsegv.sh: Likewise.
17021 * debug/pcprofiledump.c: Likewise.
17022 * debug/xtrace.sh: Likewise.
17023 * elf/ldconfig.c: Likewise.
17024 * elf/ldd.bash.in: Likewise.
17025 * elf/pldd.c: Likewise.
17026 * elf/sotruss.ksh: Likewise.
17027 * elf/sprof.c: Likewise.
17028 * iconv/iconv_prog.c: Likewise.
17029 * iconv/iconvconfig.c: Likewise.
17030 * locale/programs/locale.c: Likewise.
17031 * locale/programs/localedef.c: Likewise.
17032 * login/programs/pt_chown.c: Likewise.
17033 * malloc/memusage.sh: Likewise.
17034 * malloc/memusagestat.c: Likewise.
17035 * malloc/mtrace.pl: Likewise.
17036 * nscd/nscd.c: Likewise.
17037 * nss/getent.c: Likewise.
17038 * nss/makedb.c: Likewise.
17039 * posix/getconf.c: Likewise.
17041 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17043 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17046 2012-12-30 Mike Frysinger <vapier@gentoo.org>
17048 * math/bits/mathcalls.h (modf): Use __nonnull.
17050 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17052 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17053 (split): Use macro CN instead of the bare value.
17054 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17057 instead of the bare value.
17058 (power1): Likewise.
17060 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17064 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17066 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17068 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17069 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17070 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17071 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17073 2012-12-28 Andreas Jaeger <aj@suse.de>
17075 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17076 values are from Linux 3.7.
17078 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17079 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17081 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17083 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17086 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17088 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17089 variables with preprocessor constants.
17090 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17092 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17094 2012-12-27 Bruno Haible <bruno@clisp.org>
17097 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17100 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17103 and use variable directly.
17104 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17106 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17108 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17111 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17113 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17114 include directive. Remove local variable MPONE.
17115 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17116 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17117 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17119 2012-12-25 David S. Miller <davem@davemloft.net>
17121 * version.h (RELEASE): Set to "development".
17122 (VERSION): Set to "2.17.90".
17123 * NEWS: Add 2.18 section.
17125 2012-12-21 David S. Miller <davem@davemloft.net>
17127 * po/hr.po: Update from translation team.
17129 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17131 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17133 2012-12-19 Steve Ellcey <sellcey@mips.com>
17135 * NEWS: Mention new memcpy for MIPS.
17137 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17139 * manual/contrib.texi (Contributors): Spelling correction.
17141 2012-12-15 David S. Miller <davem@davemloft.net>
17143 * po/ru.po: Update from translation team.
17145 2012-12-13 David S. Miller <davem@davemloft.net>
17147 * NEWS: Mention IFUNC testsuite enhancements.
17149 * po/pl.po: Update from translation team.
17150 * po/bg.po: Likewise.
17152 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17153 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17155 2012-12-11 David S. Miller <davem@davemloft.net>
17157 * po/sv.po: Update from translation team.
17159 * po/vi.po: Update from translation team.
17161 * po/cs.po: Update from translation team.
17163 * po/de.po: Update from translation team.
17164 * po/eo.po: Likewise.
17165 * po/nl.po: Likewise.
17167 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17170 * manual/argp.texi (Argp Helper Functions): Move node to follow
17171 Argp Parsing State.
17174 * manual/conf.texi (Limits on File System Capacity): Mention if
17175 terminating null is included in the max size.
17177 2012-12-10 Andreas Jaeger <aj@suse.de>
17179 * po/cs.po: Update from translation team.
17181 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17183 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17184 void pointer and cast to uintptr_t.
17185 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17187 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17188 * sysdeps/s390/s390-64/memset.S: Likewise.
17190 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17193 * menual/message.texi (Message Translation): Fix typos.
17194 (Helper programs for gettext): Likewise.
17196 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17199 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17202 2012-12-07 David S. Miller <davem@davemloft.net>
17204 * po/libc.pot: Update.
17206 2012-12-07 Richard Henderson <rth@redhat.com>
17209 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17210 normal/normal case to before the switch.
17211 (_FP_DIV): Likewise.
17213 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17214 Mike Frysinger <vapier@gentoo.org>
17216 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17217 check for __NR_fadvise64_64.
17219 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17221 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17222 0, not just to plain "0" as a statement.
17223 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17226 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17228 * NEWS: Use sourceware.org in Bugzilla URL.
17230 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17233 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17235 * stdio-common/tst-put-error.c (do_test): Add newline to the
17236 padded test to ensure flush.
17238 2012-12-05 Jeff Law <law@redhat.com>
17240 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17242 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17244 * README: Don't refer to ports add-on as distributed separately.
17245 Mention AArch64 in list of systems supported in the ports add-on.
17247 * LICENSES: Add more non-FSF copyright and license notices.
17249 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17252 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17254 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17255 10000 as width of padded output.
17257 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17259 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17261 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17262 variable LX with __attribute__ ((unused)).
17263 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17265 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17268 with __attribute__ ((unused)).
17270 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17272 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17274 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17276 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17277 (CFLAGS-nldbl-acos.c): New variable.
17278 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17279 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17280 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17281 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17282 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17283 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17284 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17285 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17286 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17287 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17288 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17289 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17290 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17291 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17292 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17293 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17294 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17295 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17296 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17297 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17298 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17299 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17300 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17301 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17302 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17303 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17304 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17305 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17306 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17307 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17308 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17309 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17310 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17311 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17312 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17313 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17314 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17315 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17316 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17317 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17318 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17319 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17320 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17321 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17322 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17323 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17324 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17325 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17326 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17327 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17328 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17329 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17330 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17331 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17332 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17333 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17334 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17335 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17336 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17337 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17338 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17339 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17340 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17341 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17342 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17343 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17344 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17345 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17346 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17347 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17348 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17349 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17350 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17351 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17352 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17353 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17354 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17355 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17356 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17357 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17358 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17359 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17360 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17361 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17362 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17363 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17364 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17365 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17366 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17367 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17368 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17369 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17370 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17371 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17372 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17373 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17374 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17377 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17381 whole low double instead of just low 47 bits when splitting values
17384 2012-12-03 Allan McRae <allan@archlinux.org>
17386 * manual/stdio.texi (Predefined Printf Handlers): Remove
17387 @hsep and @vsep usage.
17389 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17391 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17392 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17394 2012-12-03 Jeff Law <law@redhat.com>
17396 * time/sys/time.h (settimeofday): Do not mark TV argument
17399 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17401 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17402 when currently writing and seek to current position when not.
17403 * libio/Makefile (tests): Remove bug-fclose1.
17404 * libio/bug-fclose1.c: Delete.
17406 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17408 * manual/arith.texi (feenableexcept): Fix typo.
17409 (fedisableexcept): Likewise.
17411 2012-11-30 Roland McGrath <roland@hack.frob.com>
17413 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17414 second, differently-typed declaration, rather than a cast.
17416 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17418 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17419 * include/rpc/svc.h: ... here.
17421 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17424 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17425 depending n and resplen2 to catch cases where answer
17428 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17430 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17431 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17433 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17437 2012-11-29 Roland McGrath <roland@hack.frob.com>
17439 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17441 2012-11-28 Jeff Law <law@redhat.com>
17444 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17445 dataset_temporary. Track alloca usage into alloca_used.
17446 If dataset is large allocate and release it via malloc/free.
17448 2012-06-04 Florian Weimer <fweimer@redhat.com>
17451 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17453 2012-11-28 David S. Miller <davem@davemloft.net>
17455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17457 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17460 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17461 of pi/2 rounded to nearest to 64 bits.
17462 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17463 nearest to 64 bits.
17464 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17467 2012-11-28 Jeff Law <law@redhat.com>
17468 Martin Osvald <mosvald@redhat.com>
17471 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17472 * sunrpc/svc.c: Include time.h.
17473 (__svc_accept_failed): New function.
17474 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17475 any reason other than EINTR, call __svc_accept_failed.
17476 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17477 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17479 2012-11-28 Andreas Schwab <schwab@suse.de>
17481 * scripts/abilist.awk: Also handle indirect functions in .opd
17484 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17487 * sysdeps/x86/fpu/powl_helper.c: New file.
17488 * sysdeps/x86/fpu/Makefile: Likewise.
17489 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17491 (__ieee754_powl): Use __powl_helper for finite arguments except
17492 integer exponents below 8.
17493 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17495 (__ieee754_powl): Use __powl_helper for finite arguments except
17496 integer exponents below 8.
17497 * math/libm-test.inc (pow_test): Add more tests and enable some
17498 previously disabled tests.
17499 * sysdeps/i386/fpu/libm-test-ulps: Update.
17500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 Carlos O'Donell <carlos_odonell@mentor.com>
17505 * nss/makedb.c (is_prime): Assert that input is odd and greater
17506 than 4. Note that fact in a comment too.
17507 (next_prime): Add 4 to input.
17509 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17512 * libio/Makefile (tests): Add test case tst-fwrite-error.
17513 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17514 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17515 * libio/tst-fwrite-error.c: New test case.
17517 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17519 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17520 before casting to void *.
17521 * include/libc-internal.h (__pointer_type): New macro.
17522 (__integer_if_pointer_type_sub): Likewise.
17523 (__integer_if_pointer_type): Likewise.
17524 (cast_to_integer): Likewise.
17525 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17526 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17527 before casting to atomic64_t.
17528 (atomic_exchange_acq): Likewise.
17529 (__arch_exchange_and_add_body): Likewise.
17530 (__arch_add_body): Likewise.
17531 (atomic_add_negative): Likewise.
17532 (atomic_add_zero): Likewise.
17534 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17536 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17537 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17538 (add_fdes): Likewise.
17539 (linear_search_fdes): Likewise.
17540 (binary_search_unencoded_fdes): Likewise.
17542 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17544 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17546 2012-11-24 Adam Conrad <adconrad@0c3.net>
17548 * configure.in: Autodetect C++ header directories.
17549 * configure: Regenerated.
17551 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17553 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17555 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17559 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17561 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17562 LDBL_MANT_DIG == 106]: Disable some tests.
17563 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17565 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17569 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17570 input for small inputs. Return +/- pi/2 for large inputs.
17571 * math/libm-test.inc (atan_test): Add more tests.
17573 * sysdeps/generic/unwind-dw2-fde-glibc.c
17574 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17575 __attribute__ ((unused)).
17578 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17579 x * y if x and y are nonzero and z is zero.
17582 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17583 nonzero exponents with absolute value below 0x1p-117 to +/-
17587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17588 up arguments below 2**-450, not just those below 2**-500.
17589 * math/libm-test.inc (hypot_test): Add another test.
17592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17593 Return a+b for ratio over 2**120, not 2**60.
17594 * math/libm-test.inc (hypot_test): Add another test.
17596 * math/libm-test.inc (clog_test): Use
17597 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17598 (clog10_test): Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17603 2012-11-22 Andreas Schwab <schwab@suse.de>
17605 * sysdeps/i386/fpu/libm-test-ulps: Update.
17607 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17609 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17610 printf output with newline.
17612 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17615 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17616 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17617 -z nodlopen, -z initfirst and -z execstack support.
17618 * configure: Regenerated.
17620 * elf/elf.h (DF_1_NODIRECT): New macro.
17621 (DF_1_IGNMULDEF): Likewise.
17622 (DF_1_NOKSYMS): Likewise.
17623 (DF_1_NOHDR): Likewise.
17624 (DF_1_EDITED): Likewise.
17625 (DF_1_NORELOC): Likewise.
17626 (DF_1_SYMINTPOSE): Likewise.
17627 (DF_1_GLOBAUDIT): Likewise.
17628 (DF_1_SINGLETON): Likewise.
17629 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17630 DT_1_SUPPORTED_MASK bits.
17631 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17633 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17635 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17637 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17639 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17642 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17643 (sendmmsg): Move declarations...
17644 * socket/sys/socket.h: ... here.
17645 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17646 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17648 * socket/recvmmsg.c: ... this new file.
17649 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17650 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17651 definition of __sendmmsg hidden.
17652 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17653 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17654 Move ENOSYS stub into and include it from...
17655 * socket/sendmmsg.c: ... this new file.
17656 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17657 (sysdep_routines): Move recvmmsg and sendmmsg...
17658 * socket/Makefile (routines): ... here.
17659 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17660 (GLIBC_PRIVATE): Add __sendmmsg.
17661 * include/sys/socket.h (__sendmmsg): Add declarations.
17662 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17665 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17668 variable I1 with __attribute__ ((unused)).
17669 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17671 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17673 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17674 DUMMY variables with __attribute__ ((unused)).
17676 * bits/byteswap.h: Include <bits/types.h>.
17677 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17679 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17681 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17682 string_t. Do not manually set errno.
17683 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17684 length with __strnlen. Make sure to both set errno and return it on
17687 2012-11-19 David S. Miller <davem@davemloft.net>
17689 With help from Joseph Myers.
17690 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17691 very large arguments properly.
17692 * math/libm-test.inc (atan_test): New tests.
17693 (atan2_test): New tests.
17694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17697 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17700 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17703 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17704 [POSIX] (EADDRNOTAVAIL): Likewise.
17705 [POSIX] (EAFNOSUPPORT): Likewise.
17706 [POSIX] (EALREADY): Likewise.
17707 [POSIX] (ECONNABORTED): Likewise.
17708 [POSIX] (ECONNREFUSED): Likewise.
17709 [POSIX] (ECONNRESET): Likewise.
17710 [POSIX] (EDESTADDRREQ): Likewise.
17711 [POSIX] (EDQUOT): Likewise.
17712 [POSIX] (EHOSTUNREACH): Likewise.
17713 [POSIX] (EIDRM): Likewise.
17714 [POSIX] (EISCONN): Likewise.
17715 [POSIX] (ELOOP): Likewise.
17716 [POSIX] (EMULTIHOP): Likewise.
17717 [POSIX] (ENETDOWN): Likewise.
17718 [POSIX] (ENETUNREACH): Likewise.
17719 [POSIX] (ENOBUFS): Likewise.
17720 [POSIX] (ENODATA): Likewise.
17721 [POSIX] (ENOLINK): Likewise.
17722 [POSIX] (ENOMSG): Likewise.
17723 [POSIX] (ENOPROTOOPT): Likewise.
17724 [POSIX] (ENOSR): Likewise.
17725 [POSIX] (ENOSTR): Likewise.
17726 [POSIX] (ENOTCONN): Likewise.
17727 [POSIX] (ENOTSOCK): Likewise.
17728 [POSIX] (EOPNOTSUPP): Likewise.
17729 [POSIX] (EOVERFLOW): Likewise.
17730 [POSIX] (EPROTO): Likewise.
17731 [POSIX] (EPROTONOSUPPORT): Likewise.
17732 [POSIX] (EPROTOTYPE): Likewise.
17733 [POSIX] (ESTALE): Likewise.
17734 [POSIX] (ETIME): Likewise.
17735 [POSIX] (ETXTBSY): Likewise.
17736 [POSIX] (EWOULDBLOCK): Likewise.
17737 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17738 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17739 [POSIX] (SEEK_CUR): Likewise.
17740 [POSIX] (SEEK_END): Likewise.
17741 [POSIX || UNIX98] (mode_t): Do not require.
17742 [POSIX] (off_t): Likewise.
17743 [POSIX] (pid_t): Likewise.
17744 [POSIX] (sys/stat.h): Do not allow header.
17745 [POSIX] (unistd.h): Likewise.
17746 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17747 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17748 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17749 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17751 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17752 sigevent): Specify elements.
17753 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17755 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17756 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17758 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17759 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17760 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17761 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17762 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17763 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17764 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17765 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17766 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17767 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17768 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17769 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17770 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17771 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17773 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17775 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17777 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17779 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17780 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17781 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17782 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17783 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17784 Specify lower bound on value.
17785 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17786 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17787 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17788 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17789 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17790 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17791 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17792 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17794 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17796 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17797 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17798 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17799 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17800 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17801 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17802 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17803 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17804 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17805 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17806 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17807 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17808 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17809 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17810 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17811 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17813 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17815 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17816 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17817 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17818 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17819 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17820 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17822 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17823 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17824 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17825 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17826 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17827 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17828 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17830 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17831 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17832 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17833 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17834 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17835 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17836 specify as optional.
17837 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17838 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17839 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17840 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17841 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17842 [XPG3] (NL_LANGMAX): Likewise.
17843 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17844 [POSIX || XPG3] (NL_NMAX): Likewise.
17845 [POSIX || XPG3] (NL_SETMAX): Likewise.
17846 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17847 [XPG3] (NZERO): Likewise.
17848 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17849 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17850 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17851 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17852 (REG_ERANGE): Expect.
17853 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17855 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17856 Use (void) in prototype.
17857 [POSIX] (*_t): Allow.
17858 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17859 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17860 (WRDE_BADVAL): Expect.
17862 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17864 [XPG3 || XPG4] (O_RSYNC): Likewise.
17865 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17867 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17868 [XPG3 || XPG4] (sigqueue): Likewise.
17869 [XPG3 || XPG4] (sigtimedwait): Likewise.
17870 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17871 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17872 [XPG3 || XPG4] (vsnprintf): Likewise.
17873 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17875 [XPG3 || XPG4] (blksize_t): Likewise.
17876 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17878 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17879 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17880 [XPG3 || XPG4] (struct itimerspec): Likewise.
17881 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17882 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17883 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17884 [XPG3 || XPG4] (clockid_t): Likewise.
17885 [XPG3 || XPG4] (timer_t): Likewise.
17886 [XPG3 || XPG4] (clock_getres): Likewise.
17887 [XPG3 || XPG4] (clock_gettime): Likewise.
17888 [XPG3 || XPG4] (clock_settime): Likewise.
17889 [XPG3 || XPG4] (nanosleep): Likewise.
17890 [XPG3 || XPG4] (timer_create): Likewise.
17891 [XPG3 || XPG4] (timer_delete): Likewise.
17892 [XPG3 || XPG4] (timer_gettime): Likewise.
17893 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17894 [XPG3 || XPG4] (timer_settime): Likewise.
17895 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17896 [XPG3 || XPG4] (getlogin_r): Likewise.
17897 [XPG3 || XPG4] (pread): Likewise.
17898 [XPG3 || XPG4] (pthread_atfork): Likewise.
17899 [XPG3 || XPG4] (pwrite): Likewise.
17902 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17905 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17907 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17908 finalizing MALLSTREAM.
17910 * sysdeps/mach/hurd/syncfs.c: New file.
17912 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17915 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17916 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17917 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17918 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17919 (_nss_dns_gethostbyname4_r): Likewise.
17920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17921 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17923 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17926 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17928 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17930 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17931 * elf/cache.c (print_entry): Print ",AArch64" for
17934 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17935 * elf/cache.c (print_entry): Print ",hard-float" for
17938 2012-11-18 David S. Miller <davem@davemloft.net>
17940 With help from Joseph Myers.
17941 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17943 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17945 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17946 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17948 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17949 * math/libm-test.inc (y0_test): New tests.
17950 (y1_test): New tests.
17951 * sysdeps/i386/fpu/libm-test-ulps: Update.
17952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17955 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17957 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17959 * configure: Regenerated.
17961 2012-11-17 David S. Miller <davem@davemloft.net>
17964 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17965 nonzero exponents with absolute value below 0x1p-128 to +/-
17968 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17970 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17972 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17974 * posix/getconf-speclist.c: New file.
17975 * posix/posix-envs.def: Likewise.
17976 * posix/confstr.c (START_ENV_GROUP): New macro.
17977 (END_ENV_GROUP): Likewise.
17978 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17979 (KNOWN_PRESENT_ENV_STRING): Likewise.
17980 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17981 (UNKNOWN_ENVIRONMENT): Likewise.
17982 (confstr): Include posix-envs.def instead of handling
17983 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17984 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17985 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17986 (END_ENV_GROUP): Likewise.
17987 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17988 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17989 (UNKNOWN_ENVIRONMENT): Likewise.
17990 (__sysconf): Include posix-envs.def instead of handling associated
17991 cases directly here.
17992 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17993 preprocessing getconf-speclist.c rather than running getconf or
17994 generating empty file.
17996 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17998 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18000 2012-11-16 Andrej Lajovic <natrij@gmail.com>
18003 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18005 2012-11-16 David S. Miller <davem@davemloft.net>
18007 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18008 smaller than LDBL_EPSILON/2.0L, just return xm1.
18010 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18012 * elf/tst-array1.c (init): Set constructor priority to 1000.
18013 (fini): Set destructor priority to 1000.
18014 * elf/tst-array2dep.c: Likewise.
18016 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18019 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18020 (_IO_new_file_xsputn): Also return EOF if none of the input
18021 data was written when overflow failed.
18022 * libio/iopadn.c (_IO_padn): Likewise.
18023 * libio/iowpadn.c (_IO_wpadn): Likewise.
18024 * stdio-common/tst-put-error.c: Add copyright notice.
18025 (do_test): Add case for printing padded string.
18026 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18027 _IO_padn returned error.
18028 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18029 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18032 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18034 * libio/libioP.h: Add comment note that the references to C++
18035 bits are now obsolete.
18037 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18039 * math/libm-test.inc (check_complex): Use asprintf.
18041 2012-11-14 Joseph Myers <joseph@codesourcery.com>
18043 * debug/pcprofiledump.c (print_version): Update copyright year.
18044 * malloc/memusagestat.c (print_version): Likewise.
18046 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18049 * elf/Makefile (tests): Add tst-audit8.
18050 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18051 ($(objpfx)tst-audit8.out): New target.
18052 (tst-audit8-ENV): New variable.
18053 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18054 audit if l_reloc_result is NULL.
18055 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18056 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18057 * elf/tst-audit8.c: New file.
18059 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18061 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18062 * misc/Makefile (CFLAGS-select.c): Define.
18063 * posix/Makefile (CFLAGS-pause.c): Define.
18065 2012-11-13 David S. Miller <davem@davemloft.net>
18067 * crypt/Makefile: Move test targets after toplevel Rules
18068 inclusion. Grab any necessary sysdep routines when linking.
18069 * crypt/md5.c (md5_process_block): Remove define, we will always
18070 name it __md5_process_block.
18071 (md5_finish_ctx): Update md5_process_block call.
18072 (md5_stream): Likewise.
18073 (md5_process_bytes): Likewise.
18074 (md5_process_block): Rename to __md5_process_block and move to ...
18075 * crypt/md5-block.c: ... here.
18076 * crypt/sha256.c (sha256_process_block): Move to ...
18077 * crypt/sha256-block.c: ... here.
18078 * crypt/sha512.c (sha512_process_block): Move to ...
18079 * crypt/sha512-block.c: ... here.
18080 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18082 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18083 * sysdeps/sparc/sparc64/multiarch/Makefile
18084 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18086 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18089 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18090 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18091 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18092 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18093 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18094 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18095 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18096 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18097 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18099 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18100 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18102 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18104 2012-11-13 Joseph Myers <joseph@codesourcery.com>
18106 * timezone/tzselect.ksh: Update from tzcode git revision
18107 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18108 * timezone/zdump.c: Likewise.
18109 * timezone/zic.c: Likewise.
18110 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18111 in TZVERSION setting, not $(PKGVERSION).
18112 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18113 REPORT_BUGS_TO settings.
18116 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18119 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18121 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18122 detection to immediately after _FP_ROUND().
18123 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18126 2012-11-11 David S. Miller <davem@davemloft.net>
18128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18130 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18131 __close rather than their public counterparts.
18133 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18135 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18137 [UNIX98] (sem_timedwait): Do not expect.
18138 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18139 [XPG4 || UNIX98] (sockatmark): Do not expect.
18140 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18141 (clock_getcpuclockid): Do not expect.
18142 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18143 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18145 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18146 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18147 [UNIX98] (vwscanf): Likewise.
18148 [UNIX98] (vswscanf): Likewise.
18150 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18152 * timezone/version.h: Remove file.
18153 * timezone/README: Do not refer to version.h.
18154 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18155 $(objpfx)version.h.
18156 ($(objpfx)zdump.o): Likewise.
18157 ($(objpfx)version.h): New target.
18159 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18161 * timezone/README: Don't mention modification to tzselect.ksh.
18162 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18163 work on unmodified tzselect.ksh. Substitute version numbers in
18166 * Makefile (format-me): Remove.
18167 (INSTALL): Adjust indentation. Use commands directly instead of
18168 using $(format-me).
18170 * aclocal.m4 (ACX_PKGVERSION): New macro.
18171 (ACX_BUGURL): Likewise.
18172 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18173 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18174 (REPORT_BUGS_TO): Likewise.
18175 * configure: Regenerated.
18176 * config.h.in (PKGVERSION): New macro.
18177 (REPORT_BUGS_TO): Likewise.
18178 * config.make.in (PKGVERSION): New variable.
18179 (PKGVERSION_TEXI): Likewise.
18180 (REPORT_BUGS_TO): Likewise.
18181 (REPORT_BUGS_TEXI): Likewise.
18182 * Makefile (format-me): Use -I$(common-objpfx)manual.
18183 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18184 ($(common-objpfx)manual/%): New target.
18185 (manual/%): Remove target.
18186 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18187 (print_version): Use PKGVERSION.
18188 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18189 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18190 and REPORT_BUGS_TO.
18191 ($(objpfx)xtrace): Likewise.
18192 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18193 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18194 (print_version): Use PKGVERSION.
18195 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18196 (do_version): Use PKGVERSION.
18197 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18199 (common-ldd-rewrite): Likewise.
18200 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18201 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18202 (print_version): Use PKGVERSION.
18203 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18204 * elf/pldd.c (argp_program_bug_address): Remove variable.
18205 (more_help): New function.
18206 (argp): Use more_help.
18207 (print_version): Use PKGVERSION.
18208 * elf/sln.c (main): Use PKGVERSION.
18209 (usage): Use REPORT_BUGS_TO.
18210 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18211 (top level): Use PKGVERSION.
18212 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18213 (print_version): Use PKGVERSION.
18214 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18215 (print_version): Use PKGVERSION.
18216 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18217 (print_version): Use PKGVERSION.
18218 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18219 (print_version): Use PKGVERSION.
18220 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18221 (print_version): Use PKGVERSION.
18222 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18223 (print_version): Use PKGVERSION.
18224 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18226 ($(objpfx)memusage): Likewise.
18227 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18228 (do_version): Use PKGVERSION.
18229 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18230 (print_version): Use PKGVERSION.
18231 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18232 ($PKGVERSION): New variable.
18233 ($REPORT_BUGS_TO): Likewise.
18234 (usage): Use $REPORT_BUGS_TO.
18235 (top level): Use $PKGVERSION.
18236 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18237 ($(objpfx)pkgvers.texi): New rule.
18238 ($(objpfx)stamp-pkgvers): Likewise.
18239 * manual/install.texi: Include pkgvers.texi.
18240 (--with-pkgversion): Document new configure option.
18241 (--with-bugurl): Likewise.
18242 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18243 than necessarily for this particular distribution. Use
18244 REPORT_BUGS_TO for where to report bugs.
18245 * INSTALL: Regenerated.
18246 * manual/libc.texinfo: Include pkgvers.texi.
18247 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18248 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18249 (print_version): Use PKGVERSION.
18250 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18251 (print_version): Use PKGVERSION.
18252 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18253 (print_version): Use PKGVERSION.
18254 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18255 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18257 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18258 (print_version): Use PKGVERSION.
18259 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18260 (print_version): Use PKGVERSION.
18261 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18264 * timezone/checktab.awk: Update from tzcode 2012i.
18265 * timezone/ialloc.c: Likewise.
18266 * timezone/private.h: Likewise.
18267 * timezone/scheck.c: Likewise.
18268 * timezone/tzfile.h: Likewise.
18269 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18270 (TZVERSION): Hardcode tzcode version number.
18271 * timezone/zdump.c: Update from tzcode 2012i.
18272 * timezone/zic.c: Likewise.
18273 * timezone/version.h: New file.
18274 * timezone/README: Describe version.h. Update upstream location.
18277 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18278 (mktemp): Enable declaration.
18279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18280 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18282 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18284 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18296 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18297 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18298 for copies of such integer values.
18299 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18300 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18302 2012-11-09 Andreas Jaeger <aj@suse.de>
18304 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18305 definitions and declarations that are provided by
18306 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18308 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18310 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18311 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18312 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18315 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18317 * elf/elf.h: Update comment before AArch64 relocations.
18319 2012-11-07 David S. Miller <davem@davemloft.net>
18321 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18322 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18323 (__start_context): Declare.
18324 (__makecontext_ret): Delete.
18325 (__makecontext): Hook up __start_context instead of
18327 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18328 (sysdep_routines): Add __start_context when in stdlib.
18330 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18332 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18333 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18334 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18336 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18337 (READELF): New variable. Use it instead of hardcoded "readelf".
18339 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18341 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18342 * sysdeps/x86/Makefile: Here.
18343 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18344 * sysdeps/x86/tst-xmmymm.sh: This.
18346 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18348 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18350 [UNIX98] (pthread_barrier_t): Do not expect.
18351 [UNIX98] (pthread_barrierattr_t): Likewise.
18352 [UNIX98] (pthread_spinlock_t): Likewise.
18353 [UNIX98] (pthread_barrier_destroy): Likewise.
18354 [UNIX98] (pthread_barrier_init): Likewise.
18355 [UNIX98] (pthread_barrier_wait): Likewise.
18356 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18357 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18358 [UNIX98] (pthread_barrierattr_init): Likewise.
18359 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18360 [UNIX98] (pthread_getcpuclockid): Likewise.
18361 [UNIX98] (pthread_mutex_timedlock): Likewise.
18362 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18363 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18364 [UNIX98] (pthread_sigmask): Likewise.
18365 [UNIX98] (pthread_spin_destroy): Likewise.
18366 [UNIX98] (pthread_spin_init): Likewise.
18367 [UNIX98] (pthread_spin_lock): Likewise.
18368 [UNIX98] (pthread_spin_trylock): Likewise.
18369 [UNIX98] (pthread_spin_unlock): Likewise.
18370 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18372 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18373 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18374 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18375 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18376 [XPG3 || XPG4] (pthread_key_t): Likewise.
18377 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18378 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18379 [XPG3 || XPG4] (pthread_once_t): Likewise.
18380 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18381 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18382 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18383 [XPG3 || XPG4] (pthread_t): Likewise.
18385 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18387 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18389 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18390 Change function return type to int.
18392 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18393 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18394 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18395 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18396 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18397 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18398 [!POSIX] (posix_madvise): Likewise.
18399 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18401 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18402 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18403 (mode_t): Likewise.
18404 (posix_mem_offset): Likewise.
18405 (posix_typed_mem_get_info): Likewise.
18406 (posix_typed_mem_open): Likewise.
18408 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18409 Change condition to [XOPEN2K8].
18411 * conform/conformtest.pl: Preprocess allow-header data with -x c
18412 instead of from stdin.
18413 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18414 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18415 [C99-based standards] (cerfc): Likewise.
18416 [C99-based standards] (cexp2): Likewise.
18417 [C99-based standards] (cexpm1): Likewise.
18418 [C99-based standards] (clog10): Likewise.
18419 [C99-based standards] (clog1p): Likewise.
18420 [C99-based standards] (clog2): Likewise.
18421 [C99-based standards] (clgamma): Likewise.
18422 [C99-based standards] (ctgamma): Likewise.
18423 [C99-based standards] (cerff): Likewise.
18424 [C99-based standards] (cerfcf): Likewise.
18425 [C99-based standards] (cexp2f): Likewise.
18426 [C99-based standards] (cexpm1f): Likewise.
18427 [C99-based standards] (clog10f): Likewise.
18428 [C99-based standards] (clog1pf): Likewise.
18429 [C99-based standards] (clog2f): Likewise.
18430 [C99-based standards] (clgammaf): Likewise.
18431 [C99-based standards] (ctgammaf): Likewise.
18432 [C99-based standards] (cerfl): Likewise.
18433 [C99-based standards] (cerfcl): Likewise.
18434 [C99-based standards] (cexp2l): Likewise.
18435 [C99-based standards] (cexpm1l): Likewise.
18436 [C99-based standards] (clog10l): Likewise.
18437 [C99-based standards] (clog1pl): Likewise.
18438 [C99-based standards] (clog2l): Likewise.
18439 [C99-based standards] (clgammal): Likewise.
18440 [C99-based standards] (ctgammal): Likewise.
18441 * conform/data/inttypes.h-data [C99-based standards]: Include
18442 stdint.h-data. Remove all expectations for stdint.h contents.
18443 [C99-based standards] (PRI*): Do not allow.
18444 [C99-based standards] (SCN*): Likewise.
18445 [C99-based standards] (*_t): Likewise.
18446 [C99-based-standards] (PRId8): Expect macro.
18447 [C99-based-standards] (PRIi8): Likewise.
18448 [C99-based-standards] (PRIo8): Likewise.
18449 [C99-based-standards] (PRIu8): Likewise.
18450 [C99-based-standards] (PRIx8): Likewise.
18451 [C99-based-standards] (PRIX8): Likewise.
18452 [C99-based-standards] (SCNd8): Likewise.
18453 [C99-based-standards] (SCNi8): Likewise.
18454 [C99-based-standards] (SCNo8): Likewise.
18455 [C99-based-standards] (SCNu8): Likewise.
18456 [C99-based-standards] (SCNx8): Likewise.
18457 [C99-based-standards] (PRIdLEAST8): Likewise.
18458 [C99-based-standards] (PRIiLEAST8): Likewise.
18459 [C99-based-standards] (PRIoLEAST8): Likewise.
18460 [C99-based-standards] (PRIuLEAST8): Likewise.
18461 [C99-based-standards] (PRIxLEAST8): Likewise.
18462 [C99-based-standards] (PRIXLEAST8): Likewise.
18463 [C99-based-standards] (SCNdLEAST8): Likewise.
18464 [C99-based-standards] (SCNiLEAST8): Likewise.
18465 [C99-based-standards] (SCNoLEAST8): Likewise.
18466 [C99-based-standards] (SCNuLEAST8): Likewise.
18467 [C99-based-standards] (SCNxLEAST8): Likewise.
18468 [C99-based-standards] (PRIdFAST8): Likewise.
18469 [C99-based-standards] (PRIiFAST8): Likewise.
18470 [C99-based-standards] (PRIoFAST8): Likewise.
18471 [C99-based-standards] (PRIuFAST8): Likewise.
18472 [C99-based-standards] (PRIxFAST8): Likewise.
18473 [C99-based-standards] (PRIXFAST8): Likewise.
18474 [C99-based-standards] (SCNdFAST8): Likewise.
18475 [C99-based-standards] (SCNiFAST8): Likewise.
18476 [C99-based-standards] (SCNoFAST8): Likewise.
18477 [C99-based-standards] (SCNuFAST8): Likewise.
18478 [C99-based-standards] (SCNxFAST8): Likewise.
18479 [C99-based-standards] (PRId16): Likewise.
18480 [C99-based-standards] (PRIi16): Likewise.
18481 [C99-based-standards] (PRIo16): Likewise.
18482 [C99-based-standards] (PRIu16): Likewise.
18483 [C99-based-standards] (PRIx16): Likewise.
18484 [C99-based-standards] (PRIX16): Likewise.
18485 [C99-based-standards] (SCNd16): Likewise.
18486 [C99-based-standards] (SCNi16): Likewise.
18487 [C99-based-standards] (SCNo16): Likewise.
18488 [C99-based-standards] (SCNu16): Likewise.
18489 [C99-based-standards] (SCNx16): Likewise.
18490 [C99-based-standards] (PRIdLEAST16): Likewise.
18491 [C99-based-standards] (PRIiLEAST16): Likewise.
18492 [C99-based-standards] (PRIoLEAST16): Likewise.
18493 [C99-based-standards] (PRIuLEAST16): Likewise.
18494 [C99-based-standards] (PRIxLEAST16): Likewise.
18495 [C99-based-standards] (PRIXLEAST16): Likewise.
18496 [C99-based-standards] (SCNdLEAST16): Likewise.
18497 [C99-based-standards] (SCNiLEAST16): Likewise.
18498 [C99-based-standards] (SCNoLEAST16): Likewise.
18499 [C99-based-standards] (SCNuLEAST16): Likewise.
18500 [C99-based-standards] (SCNxLEAST16): Likewise.
18501 [C99-based-standards] (PRIdFAST16): Likewise.
18502 [C99-based-standards] (PRIiFAST16): Likewise.
18503 [C99-based-standards] (PRIoFAST16): Likewise.
18504 [C99-based-standards] (PRIuFAST16): Likewise.
18505 [C99-based-standards] (PRIxFAST16): Likewise.
18506 [C99-based-standards] (PRIXFAST16): Likewise.
18507 [C99-based-standards] (SCNdFAST16): Likewise.
18508 [C99-based-standards] (SCNiFAST16): Likewise.
18509 [C99-based-standards] (SCNoFAST16): Likewise.
18510 [C99-based-standards] (SCNuFAST16): Likewise.
18511 [C99-based-standards] (SCNxFAST16): Likewise.
18512 [C99-based-standards] (PRId32): Likewise.
18513 [C99-based-standards] (PRIi32): Likewise.
18514 [C99-based-standards] (PRIo32): Likewise.
18515 [C99-based-standards] (PRIu32): Likewise.
18516 [C99-based-standards] (PRIx32): Likewise.
18517 [C99-based-standards] (PRIX32): Likewise.
18518 [C99-based-standards] (SCNd32): Likewise.
18519 [C99-based-standards] (SCNi32): Likewise.
18520 [C99-based-standards] (SCNo32): Likewise.
18521 [C99-based-standards] (SCNu32): Likewise.
18522 [C99-based-standards] (SCNx32): Likewise.
18523 [C99-based-standards] (PRIdLEAST32): Likewise.
18524 [C99-based-standards] (PRIiLEAST32): Likewise.
18525 [C99-based-standards] (PRIoLEAST32): Likewise.
18526 [C99-based-standards] (PRIuLEAST32): Likewise.
18527 [C99-based-standards] (PRIxLEAST32): Likewise.
18528 [C99-based-standards] (PRIXLEAST32): Likewise.
18529 [C99-based-standards] (SCNdLEAST32): Likewise.
18530 [C99-based-standards] (SCNiLEAST32): Likewise.
18531 [C99-based-standards] (SCNoLEAST32): Likewise.
18532 [C99-based-standards] (SCNuLEAST32): Likewise.
18533 [C99-based-standards] (SCNxLEAST32): Likewise.
18534 [C99-based-standards] (PRIdFAST32): Likewise.
18535 [C99-based-standards] (PRIiFAST32): Likewise.
18536 [C99-based-standards] (PRIoFAST32): Likewise.
18537 [C99-based-standards] (PRIuFAST32): Likewise.
18538 [C99-based-standards] (PRIxFAST32): Likewise.
18539 [C99-based-standards] (PRIXFAST32): Likewise.
18540 [C99-based-standards] (SCNdFAST32): Likewise.
18541 [C99-based-standards] (SCNiFAST32): Likewise.
18542 [C99-based-standards] (SCNoFAST32): Likewise.
18543 [C99-based-standards] (SCNuFAST32): Likewise.
18544 [C99-based-standards] (SCNxFAST32): Likewise.
18545 [C99-based-standards] (PRId64): Likewise.
18546 [C99-based-standards] (PRIi64): Likewise.
18547 [C99-based-standards] (PRIo64): Likewise.
18548 [C99-based-standards] (PRIu64): Likewise.
18549 [C99-based-standards] (PRIx64): Likewise.
18550 [C99-based-standards] (PRIX64): Likewise.
18551 [C99-based-standards] (SCNd64): Likewise.
18552 [C99-based-standards] (SCNi64): Likewise.
18553 [C99-based-standards] (SCNo64): Likewise.
18554 [C99-based-standards] (SCNu64): Likewise.
18555 [C99-based-standards] (SCNx64): Likewise.
18556 [C99-based-standards] (PRIdLEAST64): Likewise.
18557 [C99-based-standards] (PRIiLEAST64): Likewise.
18558 [C99-based-standards] (PRIoLEAST64): Likewise.
18559 [C99-based-standards] (PRIuLEAST64): Likewise.
18560 [C99-based-standards] (PRIxLEAST64): Likewise.
18561 [C99-based-standards] (PRIXLEAST64): Likewise.
18562 [C99-based-standards] (SCNdLEAST64): Likewise.
18563 [C99-based-standards] (SCNiLEAST64): Likewise.
18564 [C99-based-standards] (SCNoLEAST64): Likewise.
18565 [C99-based-standards] (SCNuLEAST64): Likewise.
18566 [C99-based-standards] (SCNxLEAST64): Likewise.
18567 [C99-based-standards] (PRIdFAST64): Likewise.
18568 [C99-based-standards] (PRIiFAST64): Likewise.
18569 [C99-based-standards] (PRIoFAST64): Likewise.
18570 [C99-based-standards] (PRIuFAST64): Likewise.
18571 [C99-based-standards] (PRIxFAST64): Likewise.
18572 [C99-based-standards] (PRIXFAST64): Likewise.
18573 [C99-based-standards] (SCNdFAST64): Likewise.
18574 [C99-based-standards] (SCNiFAST64): Likewise.
18575 [C99-based-standards] (SCNoFAST64): Likewise.
18576 [C99-based-standards] (SCNuFAST64): Likewise.
18577 [C99-based-standards] (SCNxFAST64): Likewise.
18578 [C99-based-standards] (PRIdMAX): Likewise.
18579 [C99-based-standards] (PRIiMAX): Likewise.
18580 [C99-based-standards] (PRIoMAX): Likewise.
18581 [C99-based-standards] (PRIuMAX): Likewise.
18582 [C99-based-standards] (PRIxMAX): Likewise.
18583 [C99-based-standards] (PRIXMAX): Likewise.
18584 [C99-based-standards] (SCNdMAX): Likewise.
18585 [C99-based-standards] (SCNiMAX): Likewise.
18586 [C99-based-standards] (SCNoMAX): Likewise.
18587 [C99-based-standards] (SCNuMAX): Likewise.
18588 [C99-based-standards] (SCNxMAX): Likewise.
18589 [C99-based-standards] (PRIdPTR): Likewise.
18590 [C99-based-standards] (PRIiPTR): Likewise.
18591 [C99-based-standards] (PRIoPTR): Likewise.
18592 [C99-based-standards] (PRIuPTR): Likewise.
18593 [C99-based-standards] (PRIxPTR): Likewise.
18594 [C99-based-standards] (PRIXPTR): Likewise.
18595 [C99-based-standards] (SCNdPTR): Likewise.
18596 [C99-based-standards] (SCNiPTR): Likewise.
18597 [C99-based-standards] (SCNoPTR): Likewise.
18598 [C99-based-standards] (SCNuPTR): Likewise.
18599 [C99-based-standards] (SCNxPTR): Likewise.
18600 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18602 * conform/data/stdint.h-data: Update comments to clarify
18604 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18606 [C99-based standards] (INT8_MAX): Likewise.
18607 [C99-based standards] (INT16_MIN): Likewise.
18608 [C99-based standards] (INT16_MAX): Likewise.
18609 [C99-based standards] (INT32_MIN): Likewise.
18610 [C99-based standards] (INT32_MAX): Likewise.
18611 [C99-based standards] (INT64_MIN): Likewise.
18612 [C99-based standards] (INT64_MAX): Likewise.
18613 [C99-based standards] (UINT8_MAX): Likewise.
18614 [C99-based standards] (UINT16_MAX): Likewise.
18615 [C99-based standards] (UINT32_MAX): Likewise.
18616 [C99-based standards] (UINT64_MAX): Likewise.
18617 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18618 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18619 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18620 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18621 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18622 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18623 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18624 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18625 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18626 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18627 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18628 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18629 [C99-based standards] (INT_FAST8_MIN): Likewise.
18630 [C99-based standards] (INT_FAST8_MAX): Likewise.
18631 [C99-based standards] (INT_FAST16_MIN): Likewise.
18632 [C99-based standards] (INT_FAST16_MAX): Likewise.
18633 [C99-based standards] (INT_FAST32_MIN): Likewise.
18634 [C99-based standards] (INT_FAST32_MAX): Likewise.
18635 [C99-based standards] (INT_FAST64_MIN): Likewise.
18636 [C99-based standards] (INT_FAST64_MAX): Likewise.
18637 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18638 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18639 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18640 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18641 [C99-based standards] (INTPTR_MIN): Likewise.
18642 [C99-based standards] (INTPTR_MAX): Likewise.
18643 [C99-based standards] (UINTPTR_MAX): Likewise.
18644 [C99-based standards] (INTMAX_MIN): Likewise.
18645 [C99-based standards] (INTMAX_MAX): Likewise.
18646 [C99-based standards] (UINTMAX_MAX): Likewise.
18647 [C99-based standards] (PTRDIFF_MIN): Likewise.
18648 [C99-based standards] (PTRDIFF_MAX): Likewise.
18649 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18650 [C99-based standards] (SIZE_MAX): Likewise.
18651 [C99-based standards] (WCHAR_MAX): Likewise.
18652 [C99-based standards] (WINT_MAX): Likewise.
18653 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18654 constraint on value.
18655 [C99-based standards] (WCHAR_MIN): Likewise.
18656 [C99-based standards] (WINT_MIN): Likewise.
18657 [C99-based standards] (*_t): Allow.
18658 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18659 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18660 Include math.h-data and complex.h-data. Remove all expectations
18661 of math.h and complex.h contents.
18662 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18664 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18665 (struct tm): Expect tag.
18666 [C99-based-standards] (wcstof): Expect function.
18667 [C99-based-standards] (wcstold): Likewise.
18668 [C99-based-standards] (wcstoll): Likewise.
18669 [C99-based-standards] (wcstoull): Likewise.
18670 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18671 macro-int-constant. Specify type.
18672 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18673 constraint on value.
18674 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18676 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18678 [ISO C standards]: Do not allow headers.
18679 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18680 wcs[abcdefghijklmnopqrstuvwxyz]*.
18681 [ISO C standards] (*_t): Do not allow.
18682 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18684 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18685 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18687 [ISO C standards]: Do not allow headers.
18688 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18689 is[abcdefghijklmnopqrstuvwxyz]*.
18690 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18691 to[abcdefghijklmnopqrstuvwxyz]*.
18692 [ISO C standards] (*_t): Do not allow.
18693 * conform/data/stdalign.h-data: New file.
18694 * conform/data/stdbool.h-data: Likewise.
18695 * conform/data/stdnoreturn.h-data: Likewise.
18697 2012-11-07 Roland McGrath <roland@hack.frob.com>
18700 * manual/filesys.texi (Directory Entries): Typo fix.
18701 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18703 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18705 * elf/elf.h (EM_AARCH64): New macro.
18706 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18707 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18708 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18709 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18710 (R_AARCH64_TLSDESC): Likewise.
18711 (NT_ARM_TLS): Likewise.
18712 (NT_ARM_HW_BREAK): Likewise.
18713 (NT_ARM_HW_WATCH): Likewise.
18715 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18718 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18719 (__ieee754_powl): Saturate nonzero exponents with absolute value
18720 below 0x1p-79 to +/- 0x1p-79.
18721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18722 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18723 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18724 nonzero exponents with absolute value below 0x1p-32 to +/-
18726 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18727 (__ieee754_powl): Saturate nonzero exponents with absolute value
18728 below 0x1p-79 to +/- 0x1p-79.
18729 * math/libm-test.inc (pow_test): Add more tests.
18731 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18733 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18734 _dl_s390_cap_flags with kernel. Increase string length.
18735 (_dl_s390_platforms): Add z196 and zEC12.
18737 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18739 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18740 Change XOPEN21K to XOPEN2K.
18742 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18744 * string/memmove.c: Use memcpy when possible.
18746 2012-11-06 Andreas Jaeger <aj@suse.de>
18748 * po/eo.po: Update from translation team.
18750 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18754 exponent and small x and y exponents, scale x or y up. Increase
18755 by 2 the exponent used in scaling up.
18756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18758 * math/libm-test.inc (fma_test): Add more tests.
18759 (fma_test_towardzero): Likewise.
18760 (fma_test_downward): Likewise.
18761 (fma_test_upward): Likewise.
18763 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18766 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18770 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18771 namespace for names of struct fields.
18772 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18774 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18775 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18777 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18780 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18782 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18784 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18788 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18791 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18795 definitely overflow as x * y not x * y + z.
18796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18798 * math/libm-test.inc (fma_test): Add more tests.
18799 (fma_test_towardzero): Likewise.
18800 (fma_test_downward): Likewise.
18801 (fma_test_upward): Likewise.
18803 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18807 * include/stub-tag.h: Remove file.
18808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18810 * manual/maint.texi (Porting): Don't reference it.
18811 * Makerules ($(objpfx)stubs): Likewise.
18812 * dirent/closedir.c: Don't include <stub-tag.h>.
18813 * dirent/dirfd.c: Likewise.
18814 * dirent/fdopendir.c: Likewise.
18815 * dirent/getdents.c: Likewise.
18816 * dirent/getdents64.c: Likewise.
18817 * dirent/opendir.c: Likewise.
18818 * dirent/readdir.c: Likewise.
18819 * dirent/readdir64.c: Likewise.
18820 * dirent/readdir64_r.c: Likewise.
18821 * dirent/readdir_r.c: Likewise.
18822 * dirent/rewinddir.c: Likewise.
18823 * dirent/seekdir.c: Likewise.
18824 * dirent/telldir.c: Likewise.
18825 * gmon/profil.c: Likewise.
18826 * grp/setgroups.c: Likewise.
18827 * inet/if_index.c: Likewise.
18828 * io/access.c: Likewise.
18829 * io/chdir.c: Likewise.
18830 * io/chmod.c: Likewise.
18831 * io/chown.c: Likewise.
18832 * io/close.c: Likewise.
18833 * io/dup.c: Likewise.
18834 * io/dup2.c: Likewise.
18835 * io/dup3.c: Likewise.
18836 * io/euidaccess.c: Likewise.
18837 * io/faccessat.c: Likewise.
18838 * io/fchdir.c: Likewise.
18839 * io/fchmod.c: Likewise.
18840 * io/fchmodat.c: Likewise.
18841 * io/fchown.c: Likewise.
18842 * io/fchownat.c: Likewise.
18843 * io/fcntl.c: Likewise.
18844 * io/flock.c: Likewise.
18845 * io/fstatfs.c: Likewise.
18846 * io/fstatfs64.c: Likewise.
18847 * io/fstatvfs.c: Likewise.
18848 * io/fstatvfs64.c: Likewise.
18849 * io/futimens.c: Likewise.
18850 * io/fxstat.c: Likewise.
18851 * io/fxstat64.c: Likewise.
18852 * io/fxstatat.c: Likewise.
18853 * io/fxstatat64.c: Likewise.
18854 * io/getcwd.c: Likewise.
18855 * io/isatty.c: Likewise.
18856 * io/lchmod.c: Likewise.
18857 * io/lchown.c: Likewise.
18858 * io/link.c: Likewise.
18859 * io/linkat.c: Likewise.
18860 * io/lseek.c: Likewise.
18861 * io/lseek64.c: Likewise.
18862 * io/lxstat64.c: Likewise.
18863 * io/mkdir.c: Likewise.
18864 * io/mkdirat.c: Likewise.
18865 * io/mkfifo.c: Likewise.
18866 * io/mkfifoat.c: Likewise.
18867 * io/open.c: Likewise.
18868 * io/open64.c: Likewise.
18869 * io/openat.c: Likewise.
18870 * io/openat64.c: Likewise.
18871 * io/pipe.c: Likewise.
18872 * io/pipe2.c: Likewise.
18873 * io/poll.c: Likewise.
18874 * io/posix_fadvise.c: Likewise.
18875 * io/posix_fadvise64.c: Likewise.
18876 * io/posix_fallocate.c: Likewise.
18877 * io/posix_fallocate64.c: Likewise.
18878 * io/read.c: Likewise.
18879 * io/readlink.c: Likewise.
18880 * io/readlinkat.c: Likewise.
18881 * io/rmdir.c: Likewise.
18882 * io/sendfile.c: Likewise.
18883 * io/sendfile64.c: Likewise.
18884 * io/statfs.c: Likewise.
18885 * io/statfs64.c: Likewise.
18886 * io/statvfs.c: Likewise.
18887 * io/statvfs64.c: Likewise.
18888 * io/symlink.c: Likewise.
18889 * io/symlinkat.c: Likewise.
18890 * io/ttyname.c: Likewise.
18891 * io/ttyname_r.c: Likewise.
18892 * io/umask.c: Likewise.
18893 * io/unlink.c: Likewise.
18894 * io/unlinkat.c: Likewise.
18895 * io/utime.c: Likewise.
18896 * io/utimensat.c: Likewise.
18897 * io/write.c: Likewise.
18898 * io/xmknod.c: Likewise.
18899 * io/xmknodat.c: Likewise.
18900 * io/xstat.c: Likewise.
18901 * io/xstat64.c: Likewise.
18902 * login/getpt.c: Likewise.
18903 * login/grantpt.c: Likewise.
18904 * login/unlockpt.c: Likewise.
18905 * math/e_acoshl.c: Likewise.
18906 * math/e_acosl.c: Likewise.
18907 * math/e_asinl.c: Likewise.
18908 * math/e_atan2l.c: Likewise.
18909 * math/e_atanhl.c: Likewise.
18910 * math/e_coshl.c: Likewise.
18911 * math/e_expl.c: Likewise.
18912 * math/e_fmodl.c: Likewise.
18913 * math/e_gammal_r.c: Likewise.
18914 * math/e_hypotl.c: Likewise.
18915 * math/e_j0l.c: Likewise.
18916 * math/e_j1l.c: Likewise.
18917 * math/e_jnl.c: Likewise.
18918 * math/e_lgammal_r.c: Likewise.
18919 * math/e_log10l.c: Likewise.
18920 * math/e_log2l.c: Likewise.
18921 * math/e_logl.c: Likewise.
18922 * math/e_powl.c: Likewise.
18923 * math/e_rem_pio2l.c: Likewise.
18924 * math/e_sinhl.c: Likewise.
18925 * math/e_sqrtl.c: Likewise.
18926 * math/fclrexcpt.c: Likewise.
18927 * math/fedisblxcpt.c: Likewise.
18928 * math/feenablxcpt.c: Likewise.
18929 * math/fegetenv.c: Likewise.
18930 * math/fegetexcept.c: Likewise.
18931 * math/fegetround.c: Likewise.
18932 * math/feholdexcpt.c: Likewise.
18933 * math/fesetenv.c: Likewise.
18934 * math/fesetround.c: Likewise.
18935 * math/feupdateenv.c: Likewise.
18936 * math/fgetexcptflg.c: Likewise.
18937 * math/fraiseexcpt.c: Likewise.
18938 * math/fsetexcptflg.c: Likewise.
18939 * math/ftestexcept.c: Likewise.
18940 * math/k_cosl.c: Likewise.
18941 * math/k_rem_pio2l.c: Likewise.
18942 * math/k_sinl.c: Likewise.
18943 * math/k_tanl.c: Likewise.
18944 * math/s_asinhl.c: Likewise.
18945 * math/s_atanl.c: Likewise.
18946 * math/s_cbrtl.c: Likewise.
18947 * math/s_erfl.c: Likewise.
18948 * math/s_expm1l.c: Likewise.
18949 * math/s_log1pl.c: Likewise.
18950 * math/s_tanhl.c: Likewise.
18951 * misc/acct.c: Likewise.
18952 * misc/brk.c: Likewise.
18953 * misc/chflags.c: Likewise.
18954 * misc/chroot.c: Likewise.
18955 * misc/fchflags.c: Likewise.
18956 * misc/fgetxattr.c: Likewise.
18957 * misc/flistxattr.c: Likewise.
18958 * misc/fremovexattr.c: Likewise.
18959 * misc/fsetxattr.c: Likewise.
18960 * misc/fsync.c: Likewise.
18961 * misc/ftruncate.c: Likewise.
18962 * misc/futimes.c: Likewise.
18963 * misc/futimesat.c: Likewise.
18964 * misc/getdomain.c: Likewise.
18965 * misc/getdtsz.c: Likewise.
18966 * misc/gethostid.c: Likewise.
18967 * misc/gethostname.c: Likewise.
18968 * misc/getloadavg.c: Likewise.
18969 * misc/getpagesize.c: Likewise.
18970 * misc/getsysstats.c: Likewise.
18971 * misc/getxattr.c: Likewise.
18972 * misc/gtty.c: Likewise.
18973 * misc/ioctl.c: Likewise.
18974 * misc/lgetxattr.c: Likewise.
18975 * misc/listxattr.c: Likewise.
18976 * misc/llistxattr.c: Likewise.
18977 * misc/lremovexattr.c: Likewise.
18978 * misc/lsetxattr.c: Likewise.
18979 * misc/lutimes.c: Likewise.
18980 * misc/madvise.c: Likewise.
18981 * misc/mincore.c: Likewise.
18982 * misc/mlock.c: Likewise.
18983 * misc/mlockall.c: Likewise.
18984 * misc/mmap.c: Likewise.
18985 * misc/mprotect.c: Likewise.
18986 * misc/msync.c: Likewise.
18987 * misc/munlock.c: Likewise.
18988 * misc/munlockall.c: Likewise.
18989 * misc/munmap.c: Likewise.
18990 * misc/preadv.c: Likewise.
18991 * misc/preadv64.c: Likewise.
18992 * misc/ptrace.c: Likewise.
18993 * misc/pwritev.c: Likewise.
18994 * misc/pwritev64.c: Likewise.
18995 * misc/readv.c: Likewise.
18996 * misc/reboot.c: Likewise.
18997 * misc/remap_file_pages.c: Likewise.
18998 * misc/removexattr.c: Likewise.
18999 * misc/revoke.c: Likewise.
19000 * misc/select.c: Likewise.
19001 * misc/setdomain.c: Likewise.
19002 * misc/setegid.c: Likewise.
19003 * misc/seteuid.c: Likewise.
19004 * misc/sethostid.c: Likewise.
19005 * misc/sethostname.c: Likewise.
19006 * misc/setregid.c: Likewise.
19007 * misc/setreuid.c: Likewise.
19008 * misc/setxattr.c: Likewise.
19009 * misc/sstk.c: Likewise.
19010 * misc/stty.c: Likewise.
19011 * misc/swapoff.c: Likewise.
19012 * misc/swapon.c: Likewise.
19013 * misc/sync.c: Likewise.
19014 * misc/syncfs.c: Likewise.
19015 * misc/syscall.c: Likewise.
19016 * misc/truncate.c: Likewise.
19017 * misc/ualarm.c: Likewise.
19018 * misc/usleep.c: Likewise.
19019 * misc/ustat.c: Likewise.
19020 * misc/utimes.c: Likewise.
19021 * misc/vhangup.c: Likewise.
19022 * misc/writev.c: Likewise.
19023 * posix/_exit.c: Likewise.
19024 * posix/alarm.c: Likewise.
19025 * posix/execve.c: Likewise.
19026 * posix/fexecve.c: Likewise.
19027 * posix/fork.c: Likewise.
19028 * posix/fpathconf.c: Likewise.
19029 * posix/getaddrinfo.c: Likewise.
19030 * posix/getegid.c: Likewise.
19031 * posix/geteuid.c: Likewise.
19032 * posix/getgid.c: Likewise.
19033 * posix/getgroups.c: Likewise.
19034 * posix/getlogin.c: Likewise.
19035 * posix/getlogin_r.c: Likewise.
19036 * posix/getpgid.c: Likewise.
19037 * posix/getpid.c: Likewise.
19038 * posix/getppid.c: Likewise.
19039 * posix/getresgid.c: Likewise.
19040 * posix/getresuid.c: Likewise.
19041 * posix/getsid.c: Likewise.
19042 * posix/getuid.c: Likewise.
19043 * posix/glob64.c: Likewise.
19044 * posix/nanosleep.c: Likewise.
19045 * posix/pathconf.c: Likewise.
19046 * posix/pause.c: Likewise.
19047 * posix/posix_madvise.c: Likewise.
19048 * posix/pread.c: Likewise.
19049 * posix/pread64.c: Likewise.
19050 * posix/pwrite.c: Likewise.
19051 * posix/pwrite64.c: Likewise.
19052 * posix/sched_getaffinity.c: Likewise.
19053 * posix/sched_getp.c: Likewise.
19054 * posix/sched_gets.c: Likewise.
19055 * posix/sched_primax.c: Likewise.
19056 * posix/sched_primin.c: Likewise.
19057 * posix/sched_rr_gi.c: Likewise.
19058 * posix/sched_setaffinity.c: Likewise.
19059 * posix/sched_setp.c: Likewise.
19060 * posix/sched_sets.c: Likewise.
19061 * posix/sched_yield.c: Likewise.
19062 * posix/setgid.c: Likewise.
19063 * posix/setlogin.c: Likewise.
19064 * posix/setpgid.c: Likewise.
19065 * posix/setresgid.c: Likewise.
19066 * posix/setresuid.c: Likewise.
19067 * posix/setsid.c: Likewise.
19068 * posix/setuid.c: Likewise.
19069 * posix/sleep.c: Likewise.
19070 * posix/spawni.c: Likewise.
19071 * posix/sysconf.c: Likewise.
19072 * posix/times.c: Likewise.
19073 * posix/wait.c: Likewise.
19074 * posix/wait3.c: Likewise.
19075 * posix/wait4.c: Likewise.
19076 * posix/waitpid.c: Likewise.
19077 * resolv/gai_sigqueue.c: Likewise.
19078 * resource/getpriority.c: Likewise.
19079 * resource/getrlimit.c: Likewise.
19080 * resource/getrusage.c: Likewise.
19081 * resource/nice.c: Likewise.
19082 * resource/setpriority.c: Likewise.
19083 * resource/setrlimit.c: Likewise.
19084 * resource/ulimit.c: Likewise.
19085 * rt/aio_cancel.c: Likewise.
19086 * rt/aio_fsync.c: Likewise.
19087 * rt/aio_read.c: Likewise.
19088 * rt/aio_sigqueue.c: Likewise.
19089 * rt/aio_suspend.c: Likewise.
19090 * rt/aio_write.c: Likewise.
19091 * rt/clock_getres.c: Likewise.
19092 * rt/clock_gettime.c: Likewise.
19093 * rt/clock_nanosleep.c: Likewise.
19094 * rt/clock_settime.c: Likewise.
19095 * rt/lio_listio.c: Likewise.
19096 * rt/mq_close.c: Likewise.
19097 * rt/mq_getattr.c: Likewise.
19098 * rt/mq_notify.c: Likewise.
19099 * rt/mq_open.c: Likewise.
19100 * rt/mq_receive.c: Likewise.
19101 * rt/mq_send.c: Likewise.
19102 * rt/mq_setattr.c: Likewise.
19103 * rt/mq_timedreceive.c: Likewise.
19104 * rt/mq_timedsend.c: Likewise.
19105 * rt/mq_unlink.c: Likewise.
19106 * rt/shm_open.c: Likewise.
19107 * rt/shm_unlink.c: Likewise.
19108 * rt/timer_create.c: Likewise.
19109 * rt/timer_delete.c: Likewise.
19110 * rt/timer_getoverr.c: Likewise.
19111 * rt/timer_gettime.c: Likewise.
19112 * rt/timer_settime.c: Likewise.
19113 * setjmp/__longjmp.c: Likewise.
19114 * setjmp/setjmp.c: Likewise.
19115 * signal/kill.c: Likewise.
19116 * signal/killpg.c: Likewise.
19117 * signal/raise.c: Likewise.
19118 * signal/sigaction.c: Likewise.
19119 * signal/sigaltstack.c: Likewise.
19120 * signal/sigblock.c: Likewise.
19121 * signal/sigignore.c: Likewise.
19122 * signal/sigintr.c: Likewise.
19123 * signal/signal.c: Likewise.
19124 * signal/sigpause.c: Likewise.
19125 * signal/sigpending.c: Likewise.
19126 * signal/sigqueue.c: Likewise.
19127 * signal/sigreturn.c: Likewise.
19128 * signal/sigset.c: Likewise.
19129 * signal/sigsetmask.c: Likewise.
19130 * signal/sigstack.c: Likewise.
19131 * signal/sigsuspend.c: Likewise.
19132 * signal/sigtimedwait.c: Likewise.
19133 * signal/sigvec.c: Likewise.
19134 * signal/sigwait.c: Likewise.
19135 * signal/sigwaitinfo.c: Likewise.
19136 * signal/sysv_signal.c: Likewise.
19137 * socket/accept.c: Likewise.
19138 * socket/accept4.c: Likewise.
19139 * socket/bind.c: Likewise.
19140 * socket/connect.c: Likewise.
19141 * socket/getpeername.c: Likewise.
19142 * socket/getsockname.c: Likewise.
19143 * socket/getsockopt.c: Likewise.
19144 * socket/isfdtype.c: Likewise.
19145 * socket/listen.c: Likewise.
19146 * socket/recv.c: Likewise.
19147 * socket/recvfrom.c: Likewise.
19148 * socket/recvmsg.c: Likewise.
19149 * socket/send.c: Likewise.
19150 * socket/sendmsg.c: Likewise.
19151 * socket/sendto.c: Likewise.
19152 * socket/setsockopt.c: Likewise.
19153 * socket/shutdown.c: Likewise.
19154 * socket/sockatmark.c: Likewise.
19155 * socket/socket.c: Likewise.
19156 * socket/socketpair.c: Likewise.
19157 * stdio-common/ctermid.c: Likewise.
19158 * stdio-common/cuserid.c: Likewise.
19159 * stdio-common/remove.c: Likewise.
19160 * stdio-common/rename.c: Likewise.
19161 * stdio-common/renameat.c: Likewise.
19162 * stdio-common/tempname.c: Likewise.
19163 * stdlib/getcontext.c: Likewise.
19164 * stdlib/makecontext.c: Likewise.
19165 * stdlib/setcontext.c: Likewise.
19166 * stdlib/swapcontext.c: Likewise.
19167 * stdlib/system.c: Likewise.
19168 * streams/fattach.c: Likewise.
19169 * streams/fdetach.c: Likewise.
19170 * streams/getmsg.c: Likewise.
19171 * streams/getpmsg.c: Likewise.
19172 * streams/putmsg.c: Likewise.
19173 * streams/putpmsg.c: Likewise.
19174 * sysdeps/unix/bsd/getpt.c: Likewise.
19175 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19176 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19177 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19180 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19181 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19182 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19183 * sysvipc/msgctl.c: Likewise.
19184 * sysvipc/msgget.c: Likewise.
19185 * sysvipc/msgrcv.c: Likewise.
19186 * sysvipc/msgsnd.c: Likewise.
19187 * sysvipc/semctl.c: Likewise.
19188 * sysvipc/semget.c: Likewise.
19189 * sysvipc/semop.c: Likewise.
19190 * sysvipc/semtimedop.c: Likewise.
19191 * sysvipc/shmat.c: Likewise.
19192 * sysvipc/shmctl.c: Likewise.
19193 * sysvipc/shmdt.c: Likewise.
19194 * sysvipc/shmget.c: Likewise.
19195 * termios/tcdrain.c: Likewise.
19196 * termios/tcflow.c: Likewise.
19197 * termios/tcflush.c: Likewise.
19198 * termios/tcgetattr.c: Likewise.
19199 * termios/tcgetpgrp.c: Likewise.
19200 * termios/tcsendbrk.c: Likewise.
19201 * termios/tcsetattr.c: Likewise.
19202 * termios/tcsetpgrp.c: Likewise.
19203 * time/adjtime.c: Likewise.
19204 * time/clock.c: Likewise.
19205 * time/getitimer.c: Likewise.
19206 * time/gettimeofday.c: Likewise.
19207 * time/setitimer.c: Likewise.
19208 * time/settimeofday.c: Likewise.
19209 * time/stime.c: Likewise.
19210 * time/time.c: Likewise.
19212 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19214 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19217 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19219 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19221 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19225 FE_TONEAREST before applying Dekker multiplication and Knuth
19226 addition. Clear inexact exceptions and check for exact zero
19227 results afterwards.
19228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19231 * math/libm-test.inc (fma_test): Add more tests.
19232 (fma_test_towardzero): Likewise.
19233 (fma_test_downward): Likewise.
19234 (fma_test_upward): Likewise.
19235 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19237 (libc_fesetround): New macro.
19238 (libc_fesetroundf): Likewise.
19239 (libc_fesetroundl): Likewise.
19240 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19242 (libc_fesetround_387): Likewise.
19243 (libc_fesetroundf): New macro.
19244 (libc_fesetround): Likewise.
19245 (libc_fesetroundl): Likewise.
19246 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19248 (libc_fesetroundf): New macro.
19249 (libc_fesetround): Likewise.
19250 (libc_fesetroundl): Likewise.
19251 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19252 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19253 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19255 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19256 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19258 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19259 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19261 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19265 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19266 integer constant usable in #if and use that to give value to enum
19268 (FE_DIVBYZERO): Likewise.
19269 (FE_UNDERFLOW): Likewise.
19270 (FE_OVERFLOW): Likewise.
19271 (FE_INVALID): Likewise.
19272 (FE_INVALID_SNAN): Likewise.
19273 (FE_INVALID_ISI): Likewise.
19274 (FE_INVALID_IDI): Likewise.
19275 (FE_INVALID_ZDZ): Likewise.
19276 (FE_INVALID_IMZ): Likewise.
19277 (FE_INVALID_COMPARE): Likewise.
19278 (FE_INVALID_SOFTWARE): Likewise.
19279 (FE_INVALID_SQRT): Likewise.
19280 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19281 (FE_TONEAREST): Likewise.
19282 (FE_TOWARDZERO): Likewise.
19283 (FE_UPWARD): Likewise.
19284 (FE_DOWNWARD): Likewise.
19285 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19286 (FE_DIVBYZERO): Likewise.
19287 (FE_OVERFLOW): Likewise.
19288 (FE_UNDERFLOW): Likewise.
19289 (FE_INEXACT): Likewise.
19290 (FE_TONEAREST): Likewise.
19291 (FE_DOWNWARD): Likewise.
19292 (FE_UPWARD): Likewise.
19293 (FE_TOWARDZERO): Likewise.
19294 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19295 (FE_UNDERFLOW): Likewise.
19296 (FE_OVERFLOW): Likewise.
19297 (FE_DIVBYZERO): Likewise.
19298 (FE_INVALID): Likewise.
19299 (FE_TONEAREST): Likewise.
19300 (FE_TOWARDZERO): Likewise.
19301 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19302 (FE_OVERFLOW): Likewise.
19303 (FE_UNDERFLOW): Likewise.
19304 (FE_DIVBYZERO): Likewise.
19305 (FE_INEXACT): Likewise.
19306 (FE_TONEAREST): Likewise.
19307 (FE_TOWARDZERO): Likewise.
19308 (FE_UPWARD): Likewise.
19309 (FE_DOWNWARD): Likewise.
19310 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19311 (FE_DIVBYZERO): Likewise.
19312 (FE_OVERFLOW): Likewise.
19313 (FE_UNDERFLOW): Likewise.
19314 (FE_INEXACT): Likewise.
19315 (FE_TONEAREST): Likewise.
19316 (FE_DOWNWARD): Likewise.
19317 (FE_UPWARD): Likewise.
19318 (FE_TOWARDZERO): Likewise.
19320 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19322 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19324 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19326 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19327 commands. Quote $PWD.
19328 (blacklist_exports): Don't use remove_newlines. Replace "declare
19330 (remove_newlines): Remove.
19332 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19334 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19335 * stdlib/stdlib.h (atof): Moved to ...
19336 * include/bits/stdlib-float.h: Here. New file.
19337 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19338 * stdlib/bits/stdlib-float.h: New file.
19339 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19344 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19346 * conform/conformtest.pl (@headers): Add fenv.h.
19347 * conform/data/fenv.h-data: New file.
19348 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19349 include of <math/fenv.h>.
19351 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19352 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19353 && !UNIX98]. Enables tests for XOPEN2K8.
19354 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19355 POSIX2008]: Likewise.
19357 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19358 (struct rusage): Do not expect type or its members.
19361 * math/math.h (FP_NAN): Define macro to integer constant usable in
19362 #if and use that to give value to enum constant.
19363 (FP_INFINITE): Likewise.
19364 (FP_ZERO): Likewise.
19365 (FP_SUBNORMAL): Likewise.
19366 (FP_NORMAL): Likewise.
19368 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19370 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19371 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19374 2012-11-02 Roland McGrath <roland@hack.frob.com>
19376 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19377 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19378 autoconf-time if not.
19379 * configure.in: Remove AC_PREREQ.
19381 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19383 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19384 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19385 of the internal implementation.
19387 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19389 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19390 except include of <misc/sys/syslog.h>.
19392 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19395 function returns with a NULL context exit with zero.
19397 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19399 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19401 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19403 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19404 (run_program_cmd): This.
19405 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19406 (tst_langinfo): New variable. Use it.
19408 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19410 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19411 floating point opcodes.
19413 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19415 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19418 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19420 * sysdeps/mach/hurd/powerpc: Remove directory.
19421 * sysdeps/mach/powerpc: Likewise.
19423 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19425 * scripts/check-local-headers.sh: Ignore c++ headers.
19427 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19429 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19430 __libc_cleanup_region_start argument.
19432 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19437 x * y using scaling, not as x * y + z.
19438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19440 * math/libm-test.inc (fma_test): Add more tests.
19441 (fma_test_towardzero): Likewise.
19442 (fma_test_downward): Likewise.
19443 (fma_test_upward): Likewise.
19445 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19447 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19449 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19451 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19454 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19456 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19458 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19465 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19468 Fix the order of the list for glibc 2.17.
19469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19472 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19476 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19479 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19480 for low part of x being zero before using __atanl (y).
19481 * math/libm-test.inc (atan2_test): Add another test.
19483 * manual/install.texi (Configuring and compiling): Document
19484 general use of test-wrapper and test-wrapper-env.
19485 * INSTALL: Regenerated.
19487 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19488 (__fma): Do not extract and scale down low bits on after-rounding
19489 systems when result rounded to normal precision would have normal
19491 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19492 (__fmal): Do not extract and scale down low bits on after-rounding
19493 systems when result rounded to normal precision would have normal
19495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19496 (__fmal): Do not extract and scale down low bits on after-rounding
19497 systems when result rounded to normal precision would have normal
19499 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19501 (fma_test): Add more tests.
19502 (fma_test_towardzero): Likewise.
19503 (fma_test_downward): Likewise.
19504 (fma_test_upward): Likewise.
19506 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19508 * sysdeps/i386/tininess.h: Renamed to ...
19509 * sysdeps/x86/tininess.h: This.
19510 * sysdeps/x86_64/tininess.h: Removed.
19512 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19514 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19515 input. Use $(build-program-cmd).
19516 ($(objpfx)tst-array1-static.out): Likewise.
19517 ($(objpfx)tst-array2.out): Likewise.
19518 ($(objpfx)tst-array3.out): Likewise.
19519 ($(objpfx)tst-array4.out): Likewise.
19520 ($(objpfx)tst-array5.out): Likewise.
19521 ($(objpfx)tst-array5-static.out): Likewise.
19523 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19525 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19528 * nss/nsswitch.h (nss_interface_function): Provide new
19529 macro for use with NSS functions.
19530 * grp/initgroups.c: Use new macro.
19531 * nss/getXXbyYY.c: Likewise.
19532 * nss/getXXbyYY_r.c: Likewise.
19533 * nss/getXXent.c: Likewise.
19534 * nss/getXXent_r.c: Likewise.
19535 * sysdeps/posix/getaddrinfo.c: Likewise.
19537 2012-10-30 Andreas Jaeger <aj@suse.de>
19539 * po/ru.po: Update Russion translation from translation project.
19541 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19546 result and shift together with sticky bit instead of replicating
19547 round-to-nearest rounding.
19548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19550 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19551 missing underflow exceptions.
19552 (fma_test_towardzero): Add more tests.
19553 (fma_test_downward): Likewise.
19554 (fma_test_upward): Likewise.
19557 * sysdeps/generic/tininess.h: New file.
19558 * sysdeps/i386/tininess.h: Likewise.
19559 * sysdeps/sh/tininess.h: Likewise.
19560 * sysdeps/x86_64/tininess.h: Likewise.
19561 * stdlib/tst-strtod-underflow.c: Likewise.
19562 * stdlib/tst-tininess.c: Likewise.
19563 * stdlib/strtod_l.c: Include <tininess.h>.
19564 (round_and_return): Do not set errno for exact underflow cases.
19565 Force an underflow exception when setting errno for underflow.
19566 Determine underflow based on rounding to normal precision if
19567 TININESS_AFTER_ROUNDING.
19568 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19569 ERANGE for exact underflow cases.
19570 * stdlib/Makefile (tests): Add tst-tininess and
19571 tst-strtod-underflow.
19572 ($(objpfx)tst-tininess): Use $(link-libm).
19573 ($(objpfx)tst-strtod-underflow): Likewise.
19575 2012-10-30 Andreas Jaeger <aj@suse.de>
19578 * elf/Makefile (tests): Remove conditional for have-initfini-array
19579 since this is now always required and the variable does not exist
19581 (tests-static): Likewise.
19582 (modules-names): Likewise.
19584 * po/eo.po: Add Esperanto translation from translation project.
19586 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19587 merged with constructor/destructor.
19588 (init_array): Likewise.
19589 * elf/tst-array2dep.c (fini_array): Likewise.
19590 (init_array): Likewise.
19592 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19594 * manual/message.texi: Delete @cartouche tags.
19596 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19598 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19600 * sysdeps/mach/hurd/fsync.c: Likewise.
19602 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19603 [_POSIX_REALTIME_SIGNALS]: Change condition to
19604 [_POSIX_REALTIME_SIGNALS > 0].
19606 2012-10-27 Andreas Jaeger <aj@suse.de>
19608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19609 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19611 [__WORDSIZE != 64]: Likewise.
19613 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19615 * iconvdata/tst-table.sh: Remove ${SHELL}.
19616 * iconvdata/tst-tables.sh: Likewise.
19618 2012-10-25 David S. Miller <davem@davemloft.net>
19620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19621 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19626 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19627 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19628 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19631 2012-10-25 Roland McGrath <roland@hack.frob.com>
19633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19634 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19637 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19638 Jim Blandy <jimb@codesourcery.com>
19640 * scripts/cross-test-ssh.sh: New file.
19641 * manual/install.texi (Configuring and compiling): Document use of
19643 * INSTALL: Regenerated.
19645 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19647 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19650 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19652 * Makeconfig (run-program-prefix): Fix comment.
19654 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19655 Jim Blandy <jimb@codesourcery.com>
19657 * Makeconfig (test-wrapper): New variable,
19658 (test-wrapper-env): Likewise.
19659 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19660 (run-built-tests): Define to yes.
19661 (run-program-prefix): Use $(test-wrapper).
19662 (built-program-cmd): Likewise.
19663 * Rules (make-test-out): Use $(test-wrapper-env) and
19664 $(host-built-program-cmd).
19665 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19666 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19668 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19669 $(test-wrapper-env) to tst-rtld-load-self.sh.
19670 ($(objpfx)order2.out): Use $(test-wrapper).
19671 ($(objpfx)tst-initorder.out): Likewise.
19672 ($(objpfx)tst-initorder2.out): Likewise.
19673 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19674 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19675 (test_wrapper_env): New variable. Use it to run ld.so.
19676 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19677 Use it to run ld.so.
19678 (test_wrapper_env): Likewise.
19679 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19680 $(test-wrapper) to run-iconv-test.sh.
19681 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19682 (ICONV): Use $test_wrapper.
19683 * posix/Makefile ($(objpfx)globtest.out): Pass
19684 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19685 globtest.sh, not $(run-program-prefix).
19686 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19687 (test_wrapper): Likewise.
19688 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19689 set together with run_via_rtld_prefix.
19690 (run_program_prefix): Define in terms of test_wrapper and
19691 run_via_rtld_prefix.
19693 2012-10-24 Roland McGrath <roland@hack.frob.com>
19695 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19696 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19700 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19701 Declare __clock_getres, __clock_gettime, __clock_settime,
19702 __clock_nanosleep, and __clock_getcpuclockid.
19703 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19704 Remove librt_hidden_def (clock_gettime).
19705 * sysdeps/unix/clock_gettime.c: Likewise.
19706 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19708 * rt/clock_getres.c: Define __clock_getres as an alias.
19709 * sysdeps/posix/clock_getres.c: Likewise.
19710 * rt/clock_settime.c: Define __clock_settime as an alias.
19711 * sysdeps/unix/clock_settime.c: Likewise.
19712 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19713 * sysdeps/unix/clock_nanosleep.c: Likewise.
19714 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19715 * rt/clock-compat.c: New file.
19716 * rt/Makefile (librt-routines): Add clock-compat and move
19717 $(clock-routines) to ...
19718 (routines): ... here, new variable.
19719 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19720 Don't add get_clockfreq here.
19721 * rt/Versions (libc: GLIBC_2.17): New version set.
19722 Add clock_* symbols here.
19723 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19725 (GLIBC_2.17): Add clock_* symbols.
19726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19737 * NEWS: Mention the move.
19739 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19740 Use __open, __read, __close rather than their public counterparts.
19741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19742 (__get_clockfreq_via_cpuinfo): Likewise.
19743 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19744 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19746 * config.h.in (HAVE_IFUNC): New #undef.
19747 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19749 * configure: Regenerated.
19751 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19753 * configure.in: Move READELF check to start of file.
19754 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19755 libc_cv_asm_gnu_indirect_function in the process.
19756 * configure: Regenerated.
19758 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19760 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19761 send the output to /dev/null.
19762 (libc_cv_cc_with_libunwind): Likewise.
19763 (libc_cv_as_noexecstack): Likewise.
19764 * configure: Regenerate.
19766 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19768 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19770 * posix/globtest.sh (TMPDIR): Do not set.
19771 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19772 (testout): Likewise.
19774 2012-10-24 Andreas Jaeger <aj@suse.de>
19776 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19777 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19778 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19779 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19780 posix_fadvise64, posix_fallocate64.
19782 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19783 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19784 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19786 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19788 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19791 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19792 <bits/fcntl-linux.h>.
19793 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19796 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19797 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19798 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19799 [__WORDSIZE != 64]: Likewise.
19801 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19803 * Makeconfig (run-built-tests): New variable.
19804 * Rules [$(cross-compiling) = yes]: Change condition to
19805 [$(run-built-tests) = no].
19806 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19807 to [$(run-built-tests) = yes].
19808 * elf/Makefile [$(cross-compiling) = no]: Likewise
19809 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19810 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19811 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19812 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19813 * io/Makefile [$(cross-compiling) = no]: Likewise.
19814 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19815 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19816 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19817 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19818 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19819 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19820 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19821 * string/Makefile [$(cross-compiling) = no]: Likewise.
19823 * posix/Makefile ($(objpfx)globtest.out): Pass
19824 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19825 $(rtld-installed-name).
19826 * posix/globtest.sh (elf_objpfx): Remove variable.
19827 (rtld_installed_name): Likewise.
19828 (library_path): Likewise.
19829 (run_program_prefix): New variable. Use for running globtest
19832 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19833 Joseph Myers <joseph@codesourcery.com>
19835 * Makeconfig (host-built-program-cmd): New variable.
19836 * elf/Makefile (tst-stackguard1-ARGS): Use
19837 $(host-built-program-cmd).
19838 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19839 (tst-spawn-ARGS): Likewise.
19840 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19842 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19843 Jim Blandy <jimb@codesourcery.com>
19845 * Makeconfig (run-via-rtld-prefix): New variable.
19846 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19847 (built-program-cmd): Likewise.
19849 2012-10-22 Andreas Jaeger <aj@suse.de>
19851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19852 __O_RSYNC if it exists, otherwise to O_SYNC.
19854 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19855 Joseph Myers <joseph@codesourcery.com>
19857 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19859 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19861 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19864 2012-10-22 Andreas Jaeger <aj@suse.de>
19866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19871 bits/fcntl-linux.h.
19873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19874 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19881 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19882 Joseph Myers <joseph@codesourcery.com>
19884 * config.make.in (NM): New variable.
19886 2012-10-21 Andreas Jaeger <aj@suse.de>
19888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19889 definitions and declarations that are provided by
19890 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19892 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19895 * elf/Makefile (tests-static): Add tst-leaks1-static.
19896 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19897 ($(objpfx)tst-leaks1-static): New rule.
19898 ($(objpfx)tst-leaks1-static-mem): Likewise.
19899 (tst-leaks1-static-ENV): New macro.
19900 * elf/dl-open.c (dl_open_worker): Check the main application
19901 only if SHARED is defined.
19902 * elf/tst-leaks1-static.c: New file.
19904 2012-10-20 Andreas Jaeger <aj@suse.de>
19906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19907 generic values for Linux.
19908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19909 and declarations that are provided by <bits/fcntl-linux.h> and
19910 include <bits/fcntl-linux.h>.
19911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19914 2012-10-20 Roland McGrath <roland@hack.frob.com>
19916 * io/fcntl.h: Move include of <bits/types.h> to the top and
19917 include it unconditionally.
19919 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19921 * wcsmbs/Makefile (tests-ifunc): New variable.
19922 (tests): Add $(tests-ifunc).
19923 * wcsmbs/test-wcschr-ifunc.c: New file.
19924 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19925 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19926 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19927 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19928 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19930 * string/Makefile (tests-ifunc): New variable.
19931 (tests): Add $(tests-ifunc).
19932 * string/test-memccpy.c (TEST_NAME): New macro.
19933 * string/test-memchr.c (TEST_NAME): Likewise.
19934 * string/test-memcmp.c (TEST_NAME): Likewise.
19935 * string/test-memcpy.c (TEST_NAME): Likewise.
19936 * string/test-memmem.c (TEST_NAME): Likewise.
19937 * string/test-memmove.c (TEST_NAME): Likewise.
19938 * string/test-memset.c (TEST_NAME): Likewise.
19939 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19940 * string/test-stpcpy.c (TEST_NAME): Likewise.
19941 * string/test-stpncpy.c (TEST_NAME): Likewise.
19942 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19943 * string/test-strcasestr.c (TEST_NAME): Likewise.
19944 * string/test-strcat.c (TEST_NAME): Likewise.
19945 * string/test-strchr.c (TEST_NAME): Likewise.
19946 * string/test-strcmp.c(TEST_NAME): Likewise.
19947 * string/test-strcpy.c (TEST_NAME): Likewise.
19948 * string/test-strcspn.c (TEST_NAME): Likewise.
19949 * string/test-strlen.c (TEST_NAME): Likewise.
19950 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19951 * string/test-strncmp.c (TEST_NAME): Likewise.
19952 * string/test-strncpy.c (TEST_NAME): Likewise.
19953 * string/test-strnlen.c (TEST_NAME): Likewise.
19954 * string/test-strpbrk.c (TEST_NAME): Likewise.
19955 * string/test-strrchr.c (TEST_NAME): Likewise.
19956 * string/test-strspn.c (TEST_NAME): Likewise.
19957 * string/test-strstr.c (TEST_NAME): Likewise.
19958 * string/test-bcopy-ifunc.c: New file.
19959 * string/test-bzero-ifunc.c: Likewise.
19960 * string/test-memccpy-ifunc.c: Likewise.
19961 * string/test-memchr-ifunc.c: Likewise.
19962 * string/test-memcmp-ifunc.c: Likewise.
19963 * string/test-memcpy-ifunc.c: Likewise.
19964 * string/test-memmem-ifunc.c: Likewise.
19965 * string/test-memmove-ifunc.c: Likewise.
19966 * string/test-mempcpy-ifunc.c: Likewise.
19967 * string/test-memset-ifunc.c: Likewise.
19968 * string/test-rawmemchr-ifunc.c: Likewise.
19969 * string/test-stpcpy-ifunc.c: Likewise.
19970 * string/test-stpncpy-ifunc.c: Likewise.
19971 * string/test-strcasecmp-ifunc.c: Likewise.
19972 * string/test-strcasestr-ifunc.c: Likewise.
19973 * string/test-strcat-ifunc.c: Likewise.
19974 * string/test-strchr-ifunc.c: Likewise.
19975 * string/test-strchrnul-ifunc.c: Likewise.
19976 * string/test-strcmp-ifunc.c: Likewise.
19977 * string/test-strcpy-ifunc.c: Likewise.
19978 * string/test-strcspn-ifunc.c: Likewise.
19979 * string/test-strlen-ifunc.c: Likewise.
19980 * string/test-strncasecmp-ifunc.c: Likewise.
19981 * string/test-strncat-ifunc.c: Likewise.
19982 * string/test-strncmp-ifunc.c: Likewise.
19983 * string/test-strncpy-ifunc.c: Likewise.
19984 * string/test-strnlen-ifunc.c: Likewise.
19985 * string/test-strpbrk-ifunc.c: Likewise.
19986 * string/test-strrchr-ifunc.c: Likewise.
19987 * string/test-strspn-ifunc.c: Likewise.
19988 * string/test-strstr-ifunc.c: Likewise.
19990 * debug/Makefile (tests-ifunc): New variable.
19991 (tests): Add $(tests-ifunc).
19992 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19993 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19994 * debug/test-stpcpy_chk-ifunc.c: New file.
19995 * debug/test-strcpy_chk-ifunc.c: Likewise.
19997 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20000 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20001 header is not read in.
20003 2012-10-19 Joseph Myers <joseph@codesourcery.com>
20005 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20006 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20007 directly. Pass built executable to script as
20008 $(built-program-cmd).
20009 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20010 $testprogram without using LD_LIBRARY_PATH and $ldso.
20012 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20013 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20014 $(rtld-installed-name).
20015 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20016 (rtld_installed_name): Likewise.
20017 (library_path): Likewise.
20018 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20019 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20020 $(run-program-prefix) to tst-tables.sh.
20021 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20022 it to run tst-table-from and tst-table-to.
20023 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20024 Pass it to tst-table.sh.
20025 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20026 $(run-program-prefix) to tst-gettext.sh.
20027 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20029 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20031 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20032 to run tst-gettext.
20033 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20034 to run tst-gettext2.
20035 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20036 to run tst-translit.
20037 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20038 $(run-program-prefix) to tst-mtrace.sh.
20039 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20041 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20042 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20043 $(rtld-installed-name).
20044 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20045 (rtld_installed_name): Likewise.
20046 (run_program_prefix): New variable. Use it to run wordexp-test.
20048 * Makeconfig (ARCH): Remove all definitions.
20049 (machine): Likewise.
20050 [ARCH]: Remove conditional code.
20051 [!objdir]: Give error.
20052 [!objdir] (objpfx): Remove.
20053 [!objdir] (common-objpfx): Likewise.
20054 [!objdir] (common-objdir): Likewise.
20055 * configure.in (config_makefile): Remove. Hardcode Makefile in
20056 AC_CONFIG_FILES call.
20057 * configure: Regenerated.
20060 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20062 (testout): Likewise.
20064 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20065 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20066 $(rtld-installed-name).
20067 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20068 (rtld_installed_name): Likwise.
20069 (runit): Remove function.
20070 (run_getconf): New variable, Use it for running getconf binary.
20072 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20075 * string/test-memmem.c (check_result): New function.
20076 (do_one_test): Use it.
20077 (check1): New function.
20078 (test_main): Use it.
20080 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20082 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20084 2012-10-18 Joseph Myers <joseph@codesourcery.com>
20086 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20087 (_G_LSEEK64): Likewise.
20088 (_G_MMAP64): Likewise.
20089 (_G_FSTAT64): Likewise.
20090 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20091 (_G_LSEEK64): Likewise.
20092 (_G_MMAP64): Likewise.
20093 (_G_FSTAT64): Likewise.
20094 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20095 unconditional. Call __mmap64 directly.
20096 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20097 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20098 __lseek64 directly.
20099 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20100 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20102 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20103 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20104 __lseek64 directly.
20105 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20106 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20107 __lseek64 directly.
20108 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20109 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20110 __lseek64 directly.
20111 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20112 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20113 __fxstat64 directly.
20114 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20115 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20117 (freopen64) [!_G_OPEN64]: Remove conditional code.
20118 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20120 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20121 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20123 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20124 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20126 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20127 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20129 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20130 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20132 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20133 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20135 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20136 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20138 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20140 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20143 * manual/memory.texi (Malloc Tunable Parameters): Add note
20144 about free list pointers overwriting some perturb bytes.
20145 Wording suggested by Roland McGrath.
20147 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20149 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20150 (lgamma_test): Likewise.
20151 (tgamma_test): Likewise.
20153 2012-10-16 Florian Weimer <fweimer@redhat.com>
20156 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20157 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20159 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20161 * NEWS: Mention BZ #14716.
20162 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20163 when removing AVAILABLE1_USES_J macro.
20165 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20167 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20168 (__bswap_64): __uint64_t for unsigned 64-bit int.
20170 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20172 * include/string.h (memmem): Declare libc hidden alias.
20173 * string/memmem.c (memmem): Define libc hidden alias.
20174 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20175 __read, __close instead of open, read, close.
20177 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20180 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20182 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20183 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20184 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20186 (__rawmemchr_sse2): Likewise.
20187 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20188 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20189 (__strchr_sse2): Likewise.
20190 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20191 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20192 (__strcasecmp_sse2): Likewise.
20193 (__strncasecmp_sse2): Likewise.
20194 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20195 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20196 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20197 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20198 (__strrchr_sse2): Likewise.
20199 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20201 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20202 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20203 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20204 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20205 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20206 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20207 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20208 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20209 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20210 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20211 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20212 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20213 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20214 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20215 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20216 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20217 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20218 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20219 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20220 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20221 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20222 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20223 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20224 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20225 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20226 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20227 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20228 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20229 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20230 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20232 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20234 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20235 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20236 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20237 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20239 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20241 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20242 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20243 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20244 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20246 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20247 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20248 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20249 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20250 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20251 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20252 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20253 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20254 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20255 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20256 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20257 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20258 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20259 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20260 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20261 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20262 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20263 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20264 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20265 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20266 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20267 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20268 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20269 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20270 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20271 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20272 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20273 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20274 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20275 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20276 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20277 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20278 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20279 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20280 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20281 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20282 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20283 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20284 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20285 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20286 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20288 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20289 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20290 * include/ifunc-impl-list.h: New file.
20291 * misc/ifunc-impl-list.c: Likewise.
20292 * misc/Makefile (routines): Add ifunc-impl-list.
20293 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20294 * string/test-string.h: Include <ifunc-impl-list.h>.
20295 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20296 impl_array): New variables.
20297 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20299 (test_init): Call __libc_ifunc_impl_list to initialize
20300 func_list if TEST_IFUNC and TEST_NAME are defined.
20302 * string/Makefile (strop-tests): Add bcopy and bzero.
20303 * string/test-bcopy.c: New file.
20304 * string/test-bzero.c: Likewise.
20305 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20307 * string/test-memset.c: Support bzero test if TEST_BZERO is
20309 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20311 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20313 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20316 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20318 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20319 * configure: Regenerated.
20321 * Makeconfig (+link-static-before-libc): Don't include
20322 $(link-static-libc).
20324 * libio/libio.h (_IO_pos_t): Remove.
20326 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20328 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20331 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20333 * crypt/crypt-entry.c: Include fips-private.h.
20334 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20335 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20336 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20337 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20339 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20341 * crypt/crypt-private.h: Include stdbool.h.
20342 (_ufc_setup_salt_r): Return bool.
20343 * crypt/crypt-entry.c: Include errno.h.
20344 (__crypt_r): Return NULL with EINVAL for bad salt.
20345 * crypt/crypt_util.c (bad_for_salt): New.
20346 (_ufc_setup_salt_r): Check that salt is long enough and within
20347 the specified alphabet.
20348 * crypt/badsalttest.c: New file.
20349 * crypt/Makefile (tests): Add it.
20350 ($(objpfx)badsalttest): New.
20352 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20354 * NEWS: Add entry for BZ #14602.
20356 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20358 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20360 * math/libm-test.inc: Update comment listing what functions and
20362 (isgreater_test): New function.
20363 (isgreaterequal_test): Likewise.
20364 (isless_test): Likewise.
20365 (islessequal_test): Likewise.
20366 (islessgreater_test): Likewise.
20367 (isunordered_test): Likewise.
20368 (main): Call the new functions.
20370 2012-10-09 Roland McGrath <roland@hack.frob.com>
20372 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20373 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20374 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20375 * sysdeps/i386/configure: Regenerated.
20376 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20377 * sysdeps/mach/configure: Regenerated.
20378 * sysdeps/mach/hurd/configure: Regenerated.
20379 * sysdeps/powerpc/configure: Regenerated.
20380 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20381 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20382 * sysdeps/s390/s390-32/configure: Regenerated.
20383 * sysdeps/s390/s390-64/configure: Regenerated.
20384 * sysdeps/sh/configure: Regenerated.
20385 * sysdeps/sparc/configure: Regenerated.
20386 * sysdeps/unix/sysv/linux/configure: Regenerated.
20387 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20388 * sysdeps/x86_64/configure: Regenerated.
20390 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20391 defined. Don't check if MAP is NULL.
20393 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20395 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20396 (_G_stat64): Likewise.
20397 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20398 (_G_stat64): Likewise.
20399 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20400 instead of struct _G_stat64.
20401 * libio/fileops.c (mmap_remap_check): Likewise.
20402 (decide_maybe_mmap): Likewise.
20403 (_IO_new_file_seekoff): Likewise.
20404 (_IO_file_stat): Likewise.
20405 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20407 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20408 instead of struct _G_stat64.
20409 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20411 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20414 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20416 (CHECK_EOL): New macro.
20417 (two_way_short_needle): Check beginning of haystack for EOL. Use
20419 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20420 Replace with CHECK_EOL.
20421 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20422 Replace with CHECK_EOL.
20424 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20426 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20428 * math/libm-test.inc: Update comment listing what functions and
20430 (finite_test): New function.
20431 (isinf_test): Likewise.
20432 (isnan_test): Likewise.
20433 (fpclassify_test): Test subnormal input.
20434 (isfinite_test): Likewise.
20435 (isnormal_test): Likewise.
20436 (main): Call the new functions.
20438 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20441 * Makerules (%.dynsym): Force C locale when running
20442 $(OBJDUMP) --dynamic-syms.
20444 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20446 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20449 2012-10-06 David S. Miller <davem@davemloft.net>
20451 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20452 upper 32-bits of the length value in %o2 since we use branch-on-register
20453 tests which consider the entire 64-bit register.
20455 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20457 * string/test-strstr.c (check2): Add a test for page boundary.
20459 2012-10-05 David S. Miller <davem@davemloft.net>
20461 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20462 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20464 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20467 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20468 and bzero when HWCAP_SPARC_CRYPTO is present.
20470 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20473 * string/test-strstr.c (check2): New function.
20474 (test_main): Call check2.
20476 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20478 * string/bug-strcasestr1.c (do_test): Moved to ...
20479 * string/test-strcasestr.c (check1): Here. New function.
20480 (do_one_test): Break out result checking code into ...
20481 (check_result): This. New function.
20482 (do_one_test): Call check_result.
20483 (test_main): Call check1.
20484 * string/bug-strchr1.c (do_test): Moved to ...
20485 * string/test-strchr.c (check1): Here. New function.
20486 (do_one_test): Break out result checking code into ...
20487 (check_result): This. New function.
20488 (do_one_test): Call check_result.
20489 (test_main): Call check1.
20490 * string/bug-strstr1.c (main): Moved to ...
20491 * string/test-strstr.c (check1): Here. New function.
20492 (do_one_test): Break out result checking code into ...
20493 (check_result): This. New function.
20494 (do_one_test): Call check_result.
20495 (test_main): Call check1.
20496 * string/bug-strcasestr1.c: Removed.
20497 * string/bug-strchr1.c: Likewise.
20498 * string/bug-strstr1.c: Likewise.
20500 * elf/Makefile (dl-routines): Add hwcaps.
20501 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20502 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20503 (_dl_important_hwcaps): Moved to ...
20504 * elf/dl-hwcaps.c: Here. New file.
20505 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20508 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20509 if IS_IN_rtld isn't defined.
20511 * elf/dl-support.c (_dl_sysinfo_map): New.
20512 Include "get-dynamic-info.h" and "setup-vdso.h".
20513 (_dl_non_dynamic_init): Call setup_vdso.
20514 * elf/dynamic-link.h: Don't include <assert.h>.
20515 (elf_get_dynamic_info): Moved to ...
20516 * elf/get-dynamic-info.h: Here. New file.
20517 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20518 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20519 * elf/setup-vdso.h: Here. New file.
20520 * elf/rtld.c: Include "setup-vdso.h".
20521 (dl_main): Call setup_vdso.
20523 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20525 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20526 creal in comment listing functions tested. List finite, isinf,
20527 isnan, isless, islessequal, isgreater, isgreaterequal,
20528 islessgreater, isunordered, lgamma_r and pow10 as functions and
20529 macros not tested. Mention which functions not tested are aliases
20530 for other functions. Fix typo. Note that signs of NaNs are not
20533 * scripts/config.guess: Update from config.git.
20534 * scripts/config.sub: Likewise.
20536 2012-10-04 Roland McGrath <roland@hack.frob.com>
20538 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20539 * misc/madvise.c (madvise): Renamed to __madvise.
20540 Make madvise a weak alias.
20541 * include/sys/mman.h: Declare __madvise.
20542 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20543 * sysdeps/unix/syscalls.list
20544 (madvise): Make __madvise the strong name, and madvise a weak alias.
20545 * sysdeps/unix/sysv/linux/syscalls.list
20546 (madvise, mmap): Remove redundant entries.
20547 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20548 * malloc/malloc.c (mtrim): Likewise.
20549 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20551 2012-10-03 Roland McGrath <roland@hack.frob.com>
20553 * sysdeps/mach/hurd/dl-cache.c: File removed.
20554 * config.h.in (USE_LDCONFIG): New #undef.
20555 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20556 * configure: Regenerated.
20557 * elf/Makefile (dl-routines): Add dl-cache only under
20558 [$(use-ldconfig) = yes].
20559 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20560 cache on [USE_LDCONFIG].
20561 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20563 * elf/rtld.c (dl_main): Likewise.
20565 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20567 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20568 _SC_LEVEL4_CACHE_LINESIZE.
20570 2012-10-03 Roland McGrath <roland@hack.frob.com>
20572 * sysdeps/unix/bsd/confstr.h: File removed.
20574 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20576 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20579 2012-10-02 Roland McGrath <roland@hack.frob.com>
20581 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20582 Make 'mapoff' field ElfW(Off) rather than off_t.
20584 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20586 * nscd/Makefile: Remove nscd-cflags and all its users.
20587 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20588 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20591 * malloc.c (malloc_printerr): Clarify error message.
20593 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20597 Set bit_FMA_Usable if FMA is supported.
20598 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20600 (bit_FMA4_Usable): Updated.
20601 (index_FMA_Usable): New macro.
20602 (CPUID_FMA): Likewise
20603 (HAS_FMA): Defined with bit_FMA_Usable.
20605 2012-10-01 Roland McGrath <roland@hack.frob.com>
20607 * bits/types.h (__swblk_t): Type removed.
20608 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20609 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20611 (__SWBLK_T_TYPE): Likewise.
20612 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20613 (__SWBLK_T_TYPE): Likewise.
20614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20615 (__SWBLK_T_TYPE): Likewise.
20616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20617 (__SWBLK_T_TYPE): Likewise.
20619 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20620 Honza Horak <hhorak@redhat.com>
20622 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20623 (xdr_mapname): Use YPMAXMAP as maxsize.
20624 (xdr_peername): Use YPMAXPEER as maxsize.
20625 (xdr_keydat): Use YPAXRECORD as maxsize.
20626 (xdr_valdat): Use YPMAXRECORD as maxsize.
20628 2012-10-01 Roland McGrath <roland@hack.frob.com>
20630 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20632 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20633 * csu/init-first.c: ... here.
20634 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20635 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20636 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20637 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20638 * sysdeps/i386/init-first.c: File removed.
20639 * sysdeps/sh/init-first.c: File removed.
20641 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20645 if x * y might underflow to zero and z is zero.
20646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20648 * math/libm-test.inc (min_subnorm_value): New variable.
20649 (fma_test): Add more tests.
20650 (fma_test_towardzero): Likewise.
20651 (fma_test_downward): Likewise
20652 (fma_test_upward): Likewise.
20653 (initialize): Set min_subnorm_value.
20655 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20661 mode for addition resulting in exact zero.
20662 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20667 * math/libm-test.inc (fma_test): Add more tests.
20668 (fma_test_towardzero): New function.
20669 (fma_test_downward): Likewise.
20670 (fma_test_upward): Likewise.
20671 (main): Call the new functions.
20673 2012-09-28 David S. Miller <davem@davemloft.net>
20675 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20677 2012-09-28 Roland McGrath <roland@hack.frob.com>
20679 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20680 instead of SIGALRM.
20682 * sysdeps/gnu/_G_config.h: Moved to ...
20683 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20684 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20685 * sysdeps/generic/_G_config.h: ... here.
20687 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20689 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20691 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20692 Conditionalize target on [libnss_test1.so-version].
20694 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20696 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20697 (elfobjdir): Move out of conditionals.
20699 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20700 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20701 (__nss_lookup_function): Conditionalize label remove_from_tree on
20702 [!DO_STATIC_NSS || SHARED], matching its only use.
20704 2012-09-28 David S. Miller <davem@davemloft.net>
20706 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20707 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20709 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20711 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20713 when HWCAP_SPARC_CRYPTO is present.
20715 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20717 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20719 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20722 * stdio-common/vfprintf.c (process_string_arg): Revert
20725 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20727 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20729 * stdio-common/tst-sprintf.c: Include <locale.h>
20730 (main): Test sprintf's handling of incomplete multibyte
20733 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20735 * elf/dl-runtime.c (VERSYMIDX): Removed.
20736 * elf/dl-version.c (VERSYMIDX): Likewise.
20737 * elf/do-rel.h (VERSYMIDX): Likewise.
20738 (VALIDX): Likewise.
20739 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20740 * elf/rtld.c (VALIDX): Likewise.
20741 (ADDRIDX): Likewise.
20742 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20743 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20744 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20745 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20746 (VALIDX): Likewise.
20747 (ADDRIDX): Likewise.
20749 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20751 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20753 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20756 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20758 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20759 addresses are in the same scope as 192.0.2/24.
20760 * posix/gai.conf: Document new scope table defaults.
20762 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20765 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20766 for ftell. Compute offsets from write pointers instead.
20767 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20769 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20772 * libio/Makefile (tests): New test case tst-fseek.
20773 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20774 combination works in wide mode.
20775 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20776 state when the external buffer state changes.
20778 2012-09-27 David S. Miller <davem@davemloft.net>
20781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20782 pass reloc->r_addend in as the 'high' argument to
20783 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20787 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20789 * rt/tst-aio2.c: Include <pthread.h>.
20790 * rt/tst-aio3.c: Likewise.
20792 2012-09-27 Steve Ellcey <sellcey@mips.com>
20794 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20796 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20798 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20799 contents on [SHARED].
20801 2012-09-26 Marek Polacek <polacek@redhat.com>
20805 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20806 for C++ and GCC <4.3 as well as for non GCC compilers.
20808 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20812 2012-09-25 Roland McGrath <roland@hack.frob.com>
20814 * Makefile.in (all, install): Declare with .PHONY.
20815 Reported by Michael Hope <michael.hope@linaro.org>.
20817 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20819 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20820 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20822 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20824 (sydep_routines): Add the new and the internal functions.
20825 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20826 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20828 (GLIBC_2.17): Add the new function.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20830 (GLIBC_2.17): Likewise.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20832 (GLIBC_2.17): Likewise.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20834 (GLIBC_2.17): Likewise.
20835 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20837 2012-09-25 Alan Modra <amodra@gmail.com>
20839 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20840 Add release barrier before setting once_control to say
20841 initialisation is done. Add hints on lwarx. Use macro in
20843 (clear_once_control): Add release barrier.
20845 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20848 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20850 * math/s_clog10.c (__clog10): Likewise.
20851 * math/s_clog10f.c (__clog10f): Likewise.
20852 * math/s_clog10l.c (__clog10l): Likewise.
20853 * math/s_clogf.c (__clogf): Likewise.
20854 * math/s_clogl.c (__clogl): Likewise.
20855 * math/Makefile (libm-calls): Add x2y2m1.
20856 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20857 (__x2y2m1): Likewise.
20858 (__x2y2m1l): Likewise.
20859 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20860 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20861 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20863 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20864 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20865 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20866 * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20870 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20871 int as type of variable DEPTH.
20872 (glob): Use size_t instead of int as type of variables NEWCOUNT
20875 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20877 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20878 Add s_sincosf-sse2.
20879 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20880 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20881 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20882 macros for using routine as __sincosf_ia32.
20883 Use macro for function declaration and weak_alias.
20884 * sysdeps/i386/fpu/libm-test-ulps: Update.
20886 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20889 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20890 subnormal argument.
20891 * math/s_cexpf.c (__cexpf): Likewise.
20892 * math/s_csinf.c (__csinf): Likewise.
20893 * math/s_csinhf.c (__csinhf): Likewise.
20894 * math/s_ctanf.c (__ctanf): Likewise.
20895 * math/s_ctanhf.c (__ctanhf): Likewise.
20896 * math/s_ccosh.c (__ccoshf): Likewise.
20897 * math/s_cexp.c (__cexpl): Likewise.
20898 * math/s_csin.c (__csin): Likewise.
20899 * math/s_csinh.c (__csinh): Likewise.
20900 * math/s_ctan.c (__ctan): Likewise.
20901 * math/s_ctanh.c (ctanh): Likewise.
20902 * math/s_ccoshl.c (__ccoshl): Likewise.
20903 * math/s_cexpl.c (__cexpl): Likewise.
20904 * math/s_csinl.c (__csinl): Likewise.
20905 * math/s_csinhl.c (__csinhl): Likewise.
20906 * math/s_ctanl.c (__ctanl): Likewise.
20907 * math/s_ctanhl.c (__ctanhl): Likewise.
20909 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20911 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20912 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20913 (_IO_off_t): Define to __off_t, not _G_off_t.
20914 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20915 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20916 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20917 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20918 type of __dummy and __dummy2 fields.
20919 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20920 (_G_ssize_t): Likewise.
20921 (_G_off_t): Likewise.
20922 (_G_pid_t): Likewise.
20923 (_G_uid_t): Likewise.
20924 (_G_wchar_t): Likewise.
20925 (_G_wint_t): Likewise.
20926 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20927 (_G_ssize_t): Likewise.
20928 (_G_off_t): Likewise.
20929 (_G_pid_t): Likewise.
20930 (_G_uid_t): Likewise.
20931 (_G_wchar_t): Likewise.
20932 (_G_wint_t): Likewise.
20933 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20934 (_G_ssize_t): Likewise.
20935 (_G_off_t): Likewise.
20936 (_G_pid_t): Likewise.
20937 (_G_uid_t): Likewise.
20938 (_G_wchar_t): Likewise.
20939 (_G_wint_t): Likewise.
20941 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20943 * malloc/arena.c: Include malloc-sysdep.h.
20944 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20945 is sufficient to shrink the heap or an unmap is needed.
20946 * sysdeps/generic/malloc-sysdep.h: New file. Define
20947 new function check_may_shrink_heap.
20948 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20949 new function check_may_shrink_heap.
20951 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20953 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20956 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20958 * catgets/test-gencat.sh: Add "set -e".
20959 * elf/tst-pathopt.sh: Likewise.
20960 * grp/tst_fgetgrent.sh: Likewise.
20961 * iconvdata/run-iconv-test.sh: Likewise.
20962 * intl/tst-gettext.sh: Likewise.
20963 * intl/tst-gettext2.sh: Likewise.
20964 * intl/tst-gettext4.sh: Likewise.
20965 * intl/tst-gettext6.sh: Likewise.
20966 * intl/tst-translit.sh: Likewise.
20967 * io/ftwtest-sh: Likewise.
20968 * libio/test-freopen.sh: Likewise.
20969 * malloc/tst-mtrace.sh: Likewise.
20970 * posix/globtest.sh: Likewise.
20971 * posix/tst-getconf.sh: Likewise.
20972 * posix/wordexp-tst.sh: Likewise.
20973 * stdio-common/tst-printf.sh: Likewise.
20974 * stdio-common/tst-unbputc.sh: Likewise.
20975 * stdlib/tst-fmtmsg.sh: Likewise.
20976 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20977 * catgets/Makefile: Do not specify -e option when running
20978 testsuite shell scripts.
20979 * elf/Makefile: Likewise.
20980 * grp/Makefile: Likewise.
20981 * iconvdata/Makefile: Likewise.
20982 * intl/Makefile: Likewise.
20983 * io/Makefile: Likewise.
20984 * libio/Makefile: Likewise.
20985 * malloc/Makefile: Likewise.
20986 * posix/Makefile: Likewise.
20987 * stdio-common/Makefile: Likewise.
20988 * stdlib/Makefile: Likewise.
20989 * sysdeps/x86_64/Makefile: Likewise.
20991 * io/ftwtest-sh: Add copyright header.
20992 * posix/globtest.sh: Likewise.
20993 * posix/tst-getconf.sh: Likewise.
20994 * posix/wordexp-tst.sh: Likewise.
20995 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20997 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21000 * Makeconfig (+link): Defined as $(+link-static) if
21001 $(build-shared) isn't yes.
21002 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21004 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21006 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21009 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21010 new chunk size with MALLOC_ALIGN_MASK.
21012 2012-09-24 Joseph Myers <joseph@codesourcery.com>
21015 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21017 (__printf_fphex): Determine rounding using get_rounding_mode and
21019 * stdio-common/tst-printf-round.c (struct hex_test): New
21021 (hex_tests): New variable.
21022 (test_hex_in_one_mode): New function.
21023 (do_test): Also run tests for hex float output.
21025 2012-09-21 Joseph Myers <joseph@codesourcery.com>
21027 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21028 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21029 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21030 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21031 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21032 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21033 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21034 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21036 2012-09-20 Joseph Myers <joseph@codesourcery.com>
21038 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21039 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21040 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21041 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21043 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21046 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21048 * elf/tst-rtld-load-self.sh: New test.
21049 * elf/Makefile: Run it.
21051 2012-09-18 Joseph Myers <joseph@codesourcery.com>
21053 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21054 (tst-writev-ENV): Remove.
21055 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21057 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21059 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21061 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21063 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21065 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21067 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21068 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21069 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21072 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21075 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21076 * config.make.in (have-cpp-asm-debuginfo): Removed.
21077 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21078 * configure: Regenerated.
21080 2012-09-14 Joseph Myers <joseph@codesourcery.com>
21083 * stdio-common/printf_fp.c: Include <stdbool.h> and
21085 (___printf_fp): Determine rounding using get_rounding_mode and
21087 * stdio-common/tst-printf-round.c: New file.
21088 * stdio-common/Makefile (tests): Add tst-printf-round.
21089 (link-libm): New variable.
21090 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21092 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21095 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21096 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21098 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21101 2012-09-13 Joseph Myers <joseph@codesourcery.com>
21103 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21104 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21105 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21106 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21108 2012-09-12 Joseph Myers <joseph@codesourcery.com>
21111 * include/rounding-mode.h: New file.
21112 * sysdeps/generic/get-rounding-mode.h: Likewise.
21113 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21114 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21115 (MAX_VALUE): New macro.
21116 (MIN_VALUE): Likewise.
21117 (overflow_value): New function.
21118 (underflow_value): Likewise.
21119 (round_and_return): Use overflow_value and underflow_value to
21120 determine return values in overflow and underflow cases. Use
21121 round_away to determine rounding depending on rounding mode.
21122 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21123 determine return values in overflow and underflow cases.
21124 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21125 (struct test_results): New structure.
21126 (struct test): Use struct test_results to store expected results
21127 for all rounding modes.
21128 (TEST): Include expected results for all rounding modes.
21129 (test_in_one_mode): New function.
21130 (do_test): Use test_in_one_mode to compute and check results.
21131 Check results for all rounding modes.
21132 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21135 2012-12-09 Allan McRae <allan@archlinux.org>
21137 * sysdeps/i386/fpu/libm-test-ulps: Update
21139 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21141 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21142 (_G_int32_t): Likewise.
21143 (_G_uint16_t): Likewise.
21144 (_G_uint32_t): Likewise.
21145 (_G_HAVE_BOOL): Likewise.
21146 (_G_HAVE_ATEXIT): Likewise.
21147 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21148 (_G_HAVE_IO_FILE_OPEN): Likewise.
21149 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21150 (_G_int32_t): Likewise.
21151 (_G_uint16_t): Likewise.
21152 (_G_uint32_t): Likewise.
21153 (_G_HAVE_BOOL): Likewise.
21154 (_G_HAVE_ATEXIT): Likewise.
21155 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21156 (_G_HAVE_IO_FILE_OPEN): Likewise.
21157 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21158 (_G_int32_t): Likewise.
21159 (_G_uint16_t): Likewise.
21160 (_G_uint32_t): Likewise.
21161 (_G_HAVE_BOOL): Likewise.
21162 (_G_HAVE_ATEXIT): Likewise.
21163 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21164 (_G_HAVE_IO_FILE_OPEN): Likewise.
21166 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21168 * csu/libc-tls.c: Update copyright years.
21170 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21172 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21173 [!_G_USING_THUNKS]: Remove conditional code.
21174 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21175 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21177 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21178 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21179 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21180 (_G_VTABLE_LABEL_PREFIX): Likewise.
21181 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21182 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21183 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21184 (_G_VTABLE_LABEL_PREFIX): Likewise.
21185 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21186 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21187 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21188 (_G_VTABLE_LABEL_PREFIX): Likewise.
21189 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21191 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21193 * libio/Makefile: Include ../Makeconfig before tests.
21194 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21195 only if $(build-shared) is yes.
21197 * iconv/gconv_db.c: Update copyright years.
21199 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21201 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21202 unwind info if defined PIC. Fix special cases description.
21203 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21205 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21207 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21209 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21211 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21213 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21216 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21217 (LDLIBS-tst-chk4): This.
21218 (LDFLAGS-tst-chk5): Renamed to ...
21219 (LDLIBS-tst-chk5): This.
21220 (LDFLAGS-tst-chk6): Renamed to ...
21221 (LDLIBS-tst-chk6): This.
21222 (LDFLAGS-tst-lfschk4): Renamed to ...
21223 (LDLIBS-tst-lfschk4): This.
21224 (LDFLAGS-tst-lfschk5): Renamed to ...
21225 (LDLIBS-tst-lfschk5): This.
21226 (LDFLAGS-tst-lfschk6): Renamed to ...
21227 (LDLIBS-tst-lfschk6): This.
21229 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21230 on $(common-objpfx)soversions.mk.
21232 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21235 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21238 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21240 * malloc/arena.c (arena_get_retry): New function that gets
21241 another arena for the caller to try its request on.
21242 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21243 current arena cannot fulfill the request.
21244 (__libc_memalign): Likewise.
21245 (__libc_memalign): Likewise.
21246 (__libc_pvalloc): Likewise.
21247 (__libc_calloc): Likewise.
21249 2012-09-05 John Tobey <john.tobey@gmail.com>
21252 * manual/arith.texi (Operations on Complex): Fix description
21253 of carg branch cut.
21255 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21258 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21262 * manual/memory.texi (Memory): Make order of menu items match
21265 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21267 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21268 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21269 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21271 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21273 * csu/libc-tls.c (static_dtv): Renamed to ...
21274 (_dl_static_dtv): This. Make it global.
21275 (_dl_initial_dtv): Removed.
21276 (__libc_setup_tls): Updated.
21277 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21278 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21281 2012-09-06 Petr Machata <pmachata@redhat.com>
21283 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21284 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21285 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21286 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21288 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21291 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21292 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21295 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21298 * Makeconfig (link-static-before-libc): Replace $(+prector)
21300 (link-static-after-libc): Replace $(+postctor) with
21302 (link-bounded): Replace $(+prector)/$(+postctor) with
21303 $(+prectorT)/$(+postctorT).
21304 (+prectorT): New macro.
21305 (+postctorT): Likewise.
21307 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21309 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21310 (round_str): Handle values above the maximum for IBM long double
21312 * stdlib/tst-strtod-round.c (tests): Regenerated.
21314 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21316 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21318 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21319 zarch_nohighgprs around the zarch optimized routines.
21320 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21321 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21325 2012-09-05 David S. Miller <davem@davemloft.net>
21327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21329 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21330 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21331 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21332 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21337 * malloc/arena.c: Fold copyright years.
21338 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21342 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21344 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21346 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21350 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21351 change internal state upon failure.
21353 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21355 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21356 * malloc/memusage.c (mmap): Likewise.
21357 (mmap64, mremap): Likewise. Adjust name in comment.
21359 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21361 * libio/fileops.c: Fix typos in comments.
21362 * libio/oldfileops.c: Likewise.
21363 * libio/wfileops.c: Likewise.
21365 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21368 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21369 (tst-malloc-usable-ENV): Set environment for test case.
21370 * malloc/hooks.c (malloc_check_get_size): New function to get
21372 * malloc/malloc.c (musable): Use malloc_check_get_size.
21373 * malloc/tst-malloc-usable.c: New test case.
21375 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21377 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21379 2012-09-05 Allan McRae <allan@archlinux.org>
21382 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21383 determine header location.
21384 * configure: Regenerated.
21386 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21388 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21390 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21391 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21393 (test): Regenerate.
21395 2012-09-04 David S. Miller <davem@davemloft.net>
21397 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21398 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21399 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21401 2012-09-04 Florian Weimer <fweimer@redhat.com>
21403 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21406 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21408 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21411 * libio/iogetdelim.c: Include <limits.h>.
21412 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21413 + len + 1 would overflow.
21415 2012-09-03 Andreas Jaeger <aj@suse.de>
21417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21418 * sysdeps/i386/fpu/libm-test-ulps: Update.
21420 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21422 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21423 Add s_sinf-sse2, s_conf-sse2.
21425 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21426 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21427 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21428 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21430 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21431 for using routine as __sinf_ia32.
21432 Use macro for function declaration and weak_alias.
21433 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21434 for using routine as __cosf_ia32.
21435 Use macro for function declaration and weak_alias.
21437 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21438 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21440 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21441 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21444 * math/libm-test.inc (cos_test): Add more test cases.
21445 (sin_test): Likewise.
21446 (sincos_test): Likewise.
21448 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21451 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21455 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21458 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21459 first element of the GOT.
21460 (elf_machine_load_address): Return the difference between
21461 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21463 2012-09-01 Allan McRae <allan@archlinux.org>
21466 * configure.in (AWK): Require gawk version 3.0 or later.
21467 * configure: Regenerated.
21469 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21471 * sysdeps/unix/sysv/linux/kernel-features.h
21472 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21474 [__NR_clock_getres]: Make code unconditional.
21475 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21476 (clock_getcpuclockid): Remove code left unreachable by removal of
21478 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21479 code unconditional.
21480 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21481 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21482 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21483 Make code unconditional.
21484 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21485 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21486 * sysdeps/unix/sysv/linux/clock_settime.c
21487 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21489 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21490 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21492 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21495 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21496 scripts/test-installation.pl.
21498 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21499 and $ld_so_version if it is set.
21501 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21504 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21505 failure if reading from procfs failed.
21506 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21508 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21510 * sysdeps/unix/sysv/linux/kernel-features.h
21511 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21512 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21513 Remove conditional code.
21514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21515 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21516 Remove conditional code.
21517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21518 * sysdeps/unix/sysv/linux/i386/fxstat.c
21519 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21521 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21522 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21523 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21524 * sysdeps/unix/sysv/linux/i386/lxstat.c
21525 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21527 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21528 Remove conditional code.
21529 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21530 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21531 Remove conditional code.
21532 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21533 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21534 <kernel-features.h>.
21535 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21537 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21538 Remove conditional code.
21539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21540 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21541 Remove conditional.
21543 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21546 * NEWS: Add fixed bug number.
21548 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21551 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21552 underflowing exponent in case of negative sign.
21553 * stdlib/tst-strtod-round-data: Add more tests.
21554 * stdlib/tst-strtod-round.c (tests): Regenerated.
21557 * stdlib/strtod_l.c (NDIG): Remove.
21558 (HEXNDIG): Likewise.
21559 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21560 smallest representable value.
21561 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21562 lie within an exact representation of 1/2 ulp of the result.
21563 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21565 (TENS_P9_IDX): Define unconditionally.
21566 (TENS_P9_SIZE): Likewise.
21567 (TENS_P10_IDX): Likewise.
21568 (TENS_P10_SIZE): Likewise.
21569 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21570 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21571 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21572 entries for 10^2^13 and 10^2^14.
21573 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21574 (TENS_P13_IDX): Define.
21575 (TENS_P13_SIZE): Likewise.
21576 (TENS_P14_IDX): Likewise.
21577 (TENS_P14_SIZE): Likewise.
21578 (_fpioconst_pow10): Change array size to
21579 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21581 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21582 1024]: Add entries for 10^2^13 and 10^2^14.
21583 [LAST_POW10 > _LAST_POW10]: Remove #error.
21584 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21585 (_fpioconst_pow10): Change array size to
21586 FPIOCONST_POW10_ARRAY_SIZE.
21587 * stdlib/gen-fpioconst.c: New file.
21588 * stdlib/gen-tst-strtod-round.c: Likewise.
21589 * stdlib/tst-strtod-round-data: Likewise.
21590 * stdlib/tst-strtod-round.c: Likewise.
21591 * stdlib/Makefile (tests): Add tst-strtod-round.
21594 * stdlib/strtod_l.c: Include <stdint.h>.
21595 (NDEBUG): Do not define.
21596 (round_and_return): Change EXPONENT parameter to type intmax_t.
21597 Rearrange calculations to avoid internal overflow possibilities.
21598 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21599 Rearrange calculations to avoid internal overflow possibilities.
21600 Assert that number fits inside MPNSIZE limbs.
21601 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21602 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21603 calculations and add assertions to avoid internal overflow
21604 possibilities. Add casts to avoid signed/unsigned operations.
21605 * stdlib/tst-strtod-overflow.c: New file.
21606 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21608 2012-08-25 Marek Polacek <polacek@redhat.com>
21610 * time/time.h: Fix some typos in comments.
21612 2012-08-23 Roland McGrath <roland@hack.frob.com>
21614 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21615 * posix/tst-rfc3484-2.c: Likewise.
21616 * posix/tst-rfc3484-3.c: Likewise.
21618 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21620 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21621 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21623 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21625 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21626 #include of fxstatat64.c.
21628 2012-08-22 Roland McGrath <roland@hack.frob.com>
21630 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21631 * shadow/getspent_r.c: Likewise.
21632 * shadow/getspnam.c: Likewise.
21633 * shadow/getspnam_r.c: Likewise.
21634 * gshadow/getsgent.c: Likewise.
21635 * gshadow/getsgent_r.c: Likewise.
21636 * gshadow/getsgnam.c: Likewise.
21637 * gshadow/getsgnam_r.c: Likewise.
21638 * inet/getnetbyad.c: Likewise.
21639 * inet/getnetbyad_r.c: Likewise.
21640 * inet/getnetbynm.c: Likewise.
21641 * inet/getnetbynm_r.c: Likewise.
21642 * inet/getnetent.c: Likewise.
21643 * inet/getnetent_r.c: Likewise.
21644 * inet/getproto.c: Likewise.
21645 * inet/getproto_r.c: Likewise.
21646 * inet/getprtent.c: Likewise.
21647 * inet/getprtent_r.c: Likewise.
21648 * inet/getprtname.c: Likewise.
21649 * inet/getprtname_r.c: Likewise.
21650 * inet/getrpcbyname.c: Likewise.
21651 * inet/getrpcbyname_r.c: Likewise.
21652 * inet/getrpcbynumber.c: Likewise.
21653 * inet/getrpcbynumber_r.c: Likewise.
21654 * inet/getrpcent.c: Likewise.
21655 * inet/getrpcent_r.c: Likewise.
21656 * inet/getaliasent.c: Likewise.
21657 * inet/getaliasent_r.c: Likewise.
21658 * inet/getaliasname.c: Likewise.
21659 * inet/getaliasname_r.c: Likewise.
21660 * nscd/getgrgid_r.c: Likewise.
21661 * nscd/getgrnam_r.c: Likewise.
21662 * nscd/gethstbyad_r.c: Likewise.
21663 * nscd/gethstbynm3_r.c: Likewise.
21664 * nscd/getpwnam_r.c: Likewise.
21665 * nscd/getpwuid_r.c: Likewise.
21666 * nscd/getsrvbynm_r.c: Likewise.
21667 * nscd/getsrvbypt_r.c: Likewise.
21668 * nscd/gai.c: Likewise.
21670 * configure.in (build_nscd): New substituted variable, set
21671 by --disable-build-nscd and defaults to $use_nscd.
21672 * configure: Regenerated.
21673 * config.make.in (build-nscd): New substituted variable.
21674 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21675 Change conditional to require [$(build-nscd) = yes] as well.
21676 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21679 * configure.in (use_nscd): New substituted variable, set by
21680 --disable-nscd. If enabled, define USE_NSCD.
21681 * configure: Regenerated.
21682 * config.h.in: Add USE_NSCD.
21683 * config.make.in (use-nscd): New substituted variable.
21684 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21685 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21686 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21687 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21688 (CFLAGS-getgrnam_r.c): Likewise.
21689 (CFLAGS-initgroups.c): Likewise.
21690 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21691 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21693 * inet/getnetgrent_r.c
21694 (nscd_setnetgrent): New function, broken out of ...
21695 (setnetgrent): ... here. Call it.
21696 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21697 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21698 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21699 * nscd/Makefile (routines, aux): Move definitions after include of
21700 Makeconfig. Conditionalize on [$(use-nscd) != no].
21701 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21702 Conditionalize on [USE_NSCD].
21703 (is_nscd, nscd_init_cb): Likewise.
21704 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21705 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21706 * nss/nss_db/db-init.c: Likewise.
21707 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21709 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21710 (make_request): Use it.
21711 (cache_valid_p): New function.
21712 (__check_pf): Use it.
21713 * NEWS: Add item for --disable-nscd.
21715 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21717 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21718 to support sed >= 4.2.1-20-ga9bf076.
21719 * configure: Regenerated.
21721 2012-08-22 Roland McGrath <roland@hack.frob.com>
21723 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21724 Conditionalize whole body on [IREL].
21726 2012-08-22 Jeff Law <law@redhat.com>
21729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21730 if the family is PF_UNSPEC.
21732 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21734 * Makerules (lib-version): Rename from V.
21735 (install-lib-nosubdir): Change V to lib-version.
21737 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21740 * powerpc32/power6/wcschr.c: New file.
21741 * powerpc32/power6/wcscpy.c: New file.
21742 * powerpc32/power6/wcsrchr.c: New file.
21743 * powerpc64/power6/wcschr.c: New file.
21744 * powerpc64/power6/wcscpy.c: New file.
21745 * powerpc64/power6/wcsrchr.c: New file.
21747 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21749 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21750 (two_way_short_needle): Use it.
21751 * string/strstr.c (AVAILABLE1_USES_J): Define.
21752 * string/strcasestr.c: Likewise.
21754 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21756 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21759 * NEWS: Add an entry.
21760 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21761 define their defaults.
21762 (two_way_short_needle): Detect end-of-string on-the-fly.
21763 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21764 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21765 * string/bug-strcasestr1.c: New test.
21766 * string/Makefile: Run it.
21768 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21771 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21772 the first character.
21774 2012-08-21 Roland McGrath <roland@hack.frob.com>
21776 * csu/elf-init.c (__libc_csu_irel): Function removed.
21777 * csu/libc-start.c (apply_irel): New function.
21778 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21780 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21782 * sysdeps/unix/sysv/linux/kernel-features.h
21783 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21784 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21785 <kernel-features.h>.
21786 [__NR_fadvise64_64]: Make code unconditional.
21787 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21788 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21789 !__NR_fadvise64_64)]: Likewise.
21790 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21791 !__NR_fadvise64_64))]: Likewise.
21792 [__NR_fadvise64]: Make code unconditional.
21793 [!__NR_fadvise64]: Remove conditional code.
21794 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21795 <kernel-features.h>.
21796 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21798 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21801 not include <kernel-features.h>.
21802 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21804 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21806 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21807 include <kernel-features.h>.
21808 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21810 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21813 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21815 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21816 slight instruction rearrangements per scrollpipe analysis.
21817 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21819 2012-08-20 Roland McGrath <roland@hack.frob.com>
21821 * manual/syslog.texi (syslog; vsyslog, closelog):
21822 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21823 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21825 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21826 DSOCAPS to match condition on defining it.
21828 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21830 * sysdeps/unix/sysv/linux/kernel-features.h
21831 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21833 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21834 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21836 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21837 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21839 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21840 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21842 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21843 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21845 * sysdeps/unix/sysv/linux/kernel-features.h
21846 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21847 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21849 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21850 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21851 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21852 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21853 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21854 Make code unconditional.
21855 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21856 (__mmap64) [!__NR_mmap2]: Likewise.
21857 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21858 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21859 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21860 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21861 [__NR_mmap2]: Make code unconditional.
21862 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21863 (__mmap64) [!__NR_mmap2]: Likewise.
21865 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21867 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21869 2012-08-18 Andreas Jaeger <aj@suse.de>
21871 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21873 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21875 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21876 * include/unistd.h (__have_sock_cloexec): Likewise.
21877 (__have_pipe2): Likewise.
21878 (__have_dup3): Likewise.
21880 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21883 * include/unistd.h (__have_pipe2): Change define into an extern int.
21884 (__have_dup3): Likewise.
21885 * socket/have_sock_cloexec.c: Include fcntl.h.
21886 (__have_pipe2): New variable.
21887 (__have_dup3): Likewise.
21889 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21891 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21893 2012-08-17 Marek Polacek <polacek@redhat.com>
21895 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21896 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21898 2012-08-17 Roland McGrath <roland@hack.frob.com>
21900 * configure.in: Add AC_SUBST for sysheaders.
21901 * configure: Regenerated.
21902 * config.make.in (sysheaders): New substituted variable.
21904 * sysdeps/unix/mkfifo.c: Moved ...
21905 * sysdeps/posix/mkfifo.c: ... here.
21906 * sysdeps/unix/mkfifoat.c: Moved ...
21907 * sysdeps/posix/mkfifoat.c: ... here.
21909 * sysdeps/unix/utime.c: Moved ...
21910 * sysdeps/posix/utime.c: ... here.
21912 * sysdeps/unix/time.c: Moved ...
21913 * sysdeps/posix/time.c: ... here.
21914 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21915 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21917 * sysdeps/unix/nice.c: Moved ...
21918 * sysdeps/posix/nice.c: ... here.
21920 * sysdeps/unix/alarm.c: Moved ...
21921 * sysdeps/posix/alarm.c: ... here.
21923 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21925 2012-08-17 Jeff Law <law@redhat.com>
21927 * intl/Makefile (codeset_mo): New variable.
21928 ($(codeset_mo)): New target.
21929 (tst-codeset.out): Depend on that. Remove explicit rule.
21930 (tst-gettext3.out, tst-gettext5.out): Likewise.
21931 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21932 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21933 * intl/tst-codeset.sh: Remove.
21934 * intl/tst-gettext3.sh: Likewise.
21935 * intl/tst-gettext5.sh: Likewise.
21937 2012-08-17 Roland McGrath <roland@hack.frob.com>
21939 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21940 * sysdeps/unix/syscalls.list: ... here.
21942 * sysdeps/posix/getaddrinfo.c
21943 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21944 (gaiconf_init, gaiconf_reload): Use them.
21945 [!_STATBUF_ST_NSEC]
21946 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21947 Define using time_t rather than struct timespec.
21949 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21950 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21952 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21954 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21955 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21958 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21959 __libc_cleanup_push argument.
21961 * bits/param.h: New file.
21962 * misc/sys/param.h: New file.
21963 * include/sys/param.h: New file.
21964 * misc/Makefile (headers): Add bits/param.h.
21965 * sysdeps/generic/sys/param.h: File removed.
21966 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21967 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21968 * sysdeps/mach/hurd/bits/param.h: New file.
21969 * sysdeps/mach/hurd/sys/param.h: File removed.
21971 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21974 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21976 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21977 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21980 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21981 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21982 rather than -D_IO_MTSAFE_IO conditionally.
21983 * stdio-common/Makefile (CPPFLAGS): Likewise.
21984 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21985 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21986 Use $(libio-mtsafe).
21987 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21988 of -D_IO_MTSAFE_IO.
21989 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21990 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21991 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21992 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21993 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21994 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21995 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21996 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21997 (CFLAGS-fread_u_chk.c): Likewise.
21998 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21999 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22000 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22001 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22002 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22003 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22004 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22005 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22006 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22008 * libio/Makefile: Test [$(libc-reentrant) = yes]
22009 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22012 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22013 * sysdeps/pthread/configure: File removed.
22014 * sysdeps/pthread/Makeconfig: New file.
22015 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22016 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22018 2012-08-16 Gary Benson <gbenson@redhat.com>
22020 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22021 unmapping the first object in a namespace.
22023 2012-08-16 Roland McGrath <roland@hack.frob.com>
22025 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22026 (__internal_setnetgrent): ... this. Add internal_function to
22027 definition. Add libc_hidden_def.
22028 (setnetgrent): Update caller.
22029 (internal_endnetgrent): Renamed to ...
22030 (__internal_endnetgrent): ... this. Add internal_function to
22031 definition. Add libc_hidden_def.
22032 (endnetgrent): Update caller.
22033 (internal_getnetgrent_r): Renamed to ...
22034 (__internal_getnetgrent_r): ... this. Add internal_function to
22035 definition. Add libc_hidden_def.
22036 (__getnetgrent_r): Update caller.
22037 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22039 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22041 * stdlib/longlong.h: Update from GCC.
22043 2012-08-16 Roland McGrath <roland@hack.frob.com>
22045 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22046 on _QL, which is set by umul_ppmm but never used.
22047 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22048 variables, which are set by GMP macros but never used.
22049 * stdio-common/_itowa.c (_itowa): Likewise.
22050 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22051 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22053 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22055 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22056 struct La_sh_regs is not constant.
22057 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22058 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22059 and struct La_sparc64_regs are not constant.
22061 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22063 * sysdeps/unix/sysv/linux/kernel-features.h
22064 (__ASSUME_POSIX_TIMERS): Remove.
22065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22066 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22067 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22068 Make code unconditional.
22069 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22070 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22071 Make code unconditional.
22072 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22073 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22074 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22075 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22076 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22077 Make code unconditional.
22078 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22079 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22080 (__libc_missing_posix_timers): Remove.
22082 2012-08-15 Roland McGrath <roland@hack.frob.com>
22084 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22085 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22087 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22089 * elf/dl-sym.c: Include <stdlib.h>.
22091 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22092 constants, which avoids warnings in 32-bit builds.
22094 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22095 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22097 * misc/lseek.c: File moved to ...
22098 * io/lseek.c: ... here.
22100 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22102 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22103 shifting LEN more than 31 bits at once.
22105 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22108 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22109 segmentation fault for a case of two empty input strings.
22110 * string/test-strncasecmp.c (check1): Renamed to...
22111 (bz12205): ...this.
22112 (bz14195): Add new testcase for two empty input strings and N > 0.
22113 (test_main): Call new testcase, adapt for renamed function.
22115 2012-08-15 Andreas Jaeger <aj@suse.de>
22118 * crypt/md5test2.c: New test, based on test supplied by Serge
22119 Belyshev <belyshev@depni.sinp.msu.ru>.
22120 * crypt/Makefile (xtests): Add md5test-giant..
22121 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22123 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22126 * crypt/md5.c (md5_process_block): Don't assume the buffer
22127 length is less than 2**32.
22128 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22129 length is less than 2**64.
22131 2012-08-15 Roland McGrath <roland@hack.frob.com>
22133 * string/str-two-way.h: Include <sys/param.h>.
22134 (MAX): Macro removed.
22136 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22137 Move #define and #undef of memmove to just before and after
22138 including <string.h>.
22140 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22141 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22142 and after including <string.h>. Move declarations of
22143 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22144 to before #include "string/memmove.c".
22146 * include/dirent.h: Declare __getdirentries.
22148 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22149 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22151 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22153 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22154 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22155 * sysdeps/i386/configure: Regenerated.
22156 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22157 STABS_CURRENT_FILE, and STABS_FUN.
22158 (END): Remove call to STABS_FUN_END.
22159 (STABS_CURRENT_FILE1): Delete.
22160 (STABS_CURRENT_FILE): Likewise.
22161 (STABS_FUN): Likewise.
22162 (STABS_FUN_END): Likewise.
22163 (STABS_FUN2): Likewise.
22164 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22165 * sysdeps/x86_64/configure: Regenerated.
22167 2012-08-14 Roland McGrath <roland@hack.frob.com>
22169 * elf/dl-open.c: Include <atomic.h>.
22170 * elf/dl-lookup.c: Likewise.
22172 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22174 * sysdeps/unix/sysv/linux/kernel-features.h
22175 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22176 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22178 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22180 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22181 condition on __ASSUME_CLONE_THREAD_FLAGS.
22183 2012-08-14 Andreas Jaeger <aj@suse.de>
22185 * sysdeps/i386/fpu/libm-test-ulps: Update.
22187 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22189 * include/atomic.h (atomic_exchange_and_add): Split into ...
22190 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22193 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22197 2012-08-13 Jeff Law <law@redhat.com>
22199 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22200 null byte in the output string.
22202 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22204 * sysdeps/unix/sysv/linux/kernel-features.h
22205 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22206 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22207 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22208 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22209 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22210 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22211 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22213 2012-08-09 Jeff Law <law@redhat.com>
22216 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22217 When avoid_arena is set, don't retry in the that arena. Pick the
22218 next one, whatever it might be.
22219 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22220 (arena_lock): Pass in new parameter to arena_get2.
22221 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22223 (__libc_malloc): Unify retrying after main arena failure with
22224 __libc_memalign version.
22225 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22227 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22230 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22231 to __redirect_strstr.
22232 (__strstr_sse42): Use typeof __redirect_strstr.
22233 (__strstr_ia32): Likewise.
22234 (__libc_strstr): New prototype.
22235 (strstr): Renamed to ...
22236 (__libc_strstr): This.
22237 (strstr): New strong alias of __libc_strstr.
22238 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22242 (__libc_time): New prototype.
22243 (time_ifunc): Replace time with __libc_time.
22244 (time): New strong alias and hidden definition of __libc_time.
22245 (__GI_time): Remove strong alias.
22246 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22247 Include <stddef.h>.
22248 (memmove): Redefined to __redirect_memmove.
22249 (__memmove_sse2): Use typeof __redirect_memmove.
22250 (__memmove_ssse3): Likewise.
22251 (__memmove_ssse3_back): Likewise.
22252 (__libc_memmove): New prototype.
22253 (memmove): Renamed to ...
22254 (__libc_memmove): This.
22255 (memmove): New strong alias of __libc_memmove.
22257 2012-08-08 Mark Salter <msalter@redhat.com>
22260 (R_MN10300_TLS_GD): Define.
22261 (R_MN10300_TLS_LD): Likewise.
22262 (R_MN10300_TLS_LDO): Likewise.
22263 (R_MN10300_TLS_GOTIE): Likewise.
22264 (R_MN10300_TLS_IE): Likewise.
22265 (R_MN10300_TLS_LE): Likewise.
22266 (R_MN10300_TLS_DTPMOD): Likewise.
22267 (R_MN10300_TLS_DTPOFF): Likewise.
22268 (R_MN10300_TLS_TPOFF): Likewise.
22269 (R_MN10300_SYM_DIFF): Likewise.
22270 (R_MN10300_ALIGN): Likewise.
22271 (R_MN10300_NUM): Update.
22273 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22278 2012-08-08 Roland McGrath <roland@hack.frob.com>
22280 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22282 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22283 sysdeps/unix -> sysdeps/posix move.
22284 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22286 2012-08-07 Allan McRae <allan@archlinux.org>
22289 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22290 (SUNOS_CPP): Likewise.
22291 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22293 (open_input): Call CPP using execvp.
22295 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22297 * sysdeps/unix/sysv/linux/kernel-features.h
22298 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22299 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22300 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22301 (__ASSUME_WAITID_SYSCALL): Likewise.
22302 * sysdeps/unix/sysv/linux/dl-execstack.c
22303 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22304 code unconditional.
22305 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22307 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22308 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22309 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22311 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22313 [__ASSUME_WAITID_SYSCALL]: Likewise.
22314 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22316 2012-08-07 Roland McGrath <roland@hack.frob.com>
22318 * sysdeps/unix/closedir.c: Renamed to ...
22319 * sysdeps/posix/closedir.c: ... here.
22320 * sysdeps/unix/dirfd.c: Renamed to ...
22321 * sysdeps/posix/dirfd.c: ... here.
22322 * sysdeps/unix/dirstream.h: Renamed to ...
22323 * sysdeps/posix/dirstream.h: ... here.
22324 * sysdeps/unix/fdopendir.c: Renamed to ...
22325 * sysdeps/posix/fdopendir.c: ... here.
22326 * sysdeps/unix/opendir.c: Renamed to ...
22327 * sysdeps/posix/opendir.c: ... here.
22328 * sysdeps/unix/readdir.c: Renamed to ...
22329 * sysdeps/posix/readdir.c: ... here.
22330 * sysdeps/unix/readdir_r.c: Renamed to ...
22331 * sysdeps/posix/readdir_r.c: ... here.
22332 * sysdeps/unix/rewinddir.c: Renamed to ...
22333 * sysdeps/posix/rewinddir.c: ... here.
22334 * sysdeps/unix/seekdir.c: Renamed to ...
22335 * sysdeps/posix/seekdir.c: ... here.
22336 * sysdeps/unix/telldir.c: Renamed to ...
22337 * sysdeps/posix/telldir.c: ... here.
22338 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22339 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22340 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22341 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22343 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22344 * bits/fcntl.h: ... here.
22346 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22348 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22349 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22350 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22351 (struct flock): Move l_start, l_len to the beginning.
22352 Use __pid_t for l_pid.
22353 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22354 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22355 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22356 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22357 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22358 [__USE_LARGEFILE64] (struct flock64): New type.
22359 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22361 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22362 * bits/dirent.h: ... here.
22364 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22365 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22367 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22370 Change from 2.6.0 to 2.6.16.
22371 * sysdeps/unix/sysv/linux/configure: Regenerated.
22372 * sysdeps/unix/sysv/linux/kernel-features.h
22373 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22374 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22376 (__ASSUME_UTIMES): Likewise.
22377 (__ASSUME_CLONE_STOPPED): Remove.
22378 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22379 architectures, not kernel version.
22380 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22381 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22382 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22383 (__ASSUME_WAITID_SYSCALL): Likewise.
22384 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22385 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22386 * README: State 2.6.16 as minimum Linux kernel version. Do not
22387 refer to older versions.
22389 2012-08-06 Roland McGrath <roland@hack.frob.com>
22391 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22392 Define alphasort64 as an alias.
22393 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22394 Define versionsort64 as an alias.
22395 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22396 Define scandir64 as an alias.
22397 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22398 Define scandirat64 as an alias.
22399 * dirent/alphasort64.c (alphasort64):
22400 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22401 * dirent/versionsort64.c: Likewise.
22402 * dirent/scandir64.c: Likewise.
22403 * dirent/scandirat64.c: Likewise.
22404 * sysdeps/wordsize-64/alphasort.c: File removed.
22405 * sysdeps/wordsize-64/alphasort64.c: File removed.
22406 * sysdeps/wordsize-64/scandir.c: File removed.
22407 * sysdeps/wordsize-64/scandir64.c: File removed.
22408 * sysdeps/wordsize-64/scandirat.c: File removed.
22409 * sysdeps/wordsize-64/scandirat64.c: File removed.
22410 * sysdeps/wordsize-64/versionsort.c: File removed.
22411 * sysdeps/wordsize-64/versionsort64.c: File removed.
22412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22414 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22415 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22416 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22417 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22418 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22419 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22421 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22423 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22425 [defined __arch64__ || defined __sparcv9]
22426 (__INO_T_MATCHES_INO64_T): New macro.
22427 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22428 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22429 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22430 * sysdeps/unix/sysv/linux/bits/dirent.h
22431 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22432 (_DIRENT_MATCHES_DIRENT64): New macro.
22434 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22435 Define lockf64 as an alias.
22436 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22437 Define fseeko64 as an alias.
22438 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22439 Define ftello64 as an alias.
22440 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22441 Define _IO_fgetpos64 and fgetpos64 as aliases.
22442 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22443 Define _IO_fsetpos64 and fsetpos64 as aliases.
22444 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22445 Conditionalize body on this.
22446 * libio/fseeko64.c: Likewise.
22447 * libio/ftello64.c: Likewise.
22448 * libio/iofgetpos64.c: Likewise.
22449 * libio/iofsetpos64.c: Likewise.
22450 * sysdeps/wordsize-64/lockf.c: File removed.
22451 * sysdeps/wordsize-64/lockf64.c: File removed.
22452 * sysdeps/wordsize-64/fseeko.c: File removed.
22453 * sysdeps/wordsize-64/fseeko64.c: File removed.
22454 * sysdeps/wordsize-64/ftello.c: File removed.
22455 * sysdeps/wordsize-64/ftello64.c: File removed.
22456 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22457 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22458 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22459 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22460 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22461 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22462 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22463 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22464 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22465 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22466 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22469 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22471 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22473 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22475 [defined __arch64__ || defined __sparcv9]
22476 (__OFF_T_MATCHES_OFF64_T): New macro.
22477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22478 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22480 (__OFF_T_MATCHES_OFF64_T): New macro.
22482 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22484 * stdlib/secure-getenv.c (__secure_getenv): Replace
22485 GLIBC_2_16 with GLIBC_2_17.
22487 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22489 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22490 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22492 2012-08-03 David S. Miller <davem@davemloft.net>
22494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22496 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22498 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22500 (__ASSUME_CORRECT_SI_PID): Likewise.
22501 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22502 (__ASSUME_TMPFS_NAME): Likewise.
22503 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22504 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22505 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22506 (HAVE_AUX_SECURE): Make definition unconditional.
22507 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22508 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22510 2012-08-03 Roland McGrath <roland@hack.frob.com>
22512 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22513 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22514 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22516 __eloop_threshold instead of SYMLOOP_MAX.
22518 * sysdeps/generic/eloop-threshold.h: New file.
22519 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22521 * elf/chroot_canon.c (chroot_canon): Likewise.
22523 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22527 Change to 2.6.0 everywhere.
22528 * sysdeps/unix/sysv/linux/configure: Regenerated.
22529 * sysdeps/unix/sysv/linux/kernel-features.h
22530 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22531 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22533 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22534 (__ASSUME_FUTEX_REQUEUE): Remove.
22535 (__ASSUME_STATFS64): Define unconditionally.
22536 (__ASSUME_AT_SECURE): Likewise.
22537 (__ASSUME_CORRECT_SI_PID): Likewise.
22538 (__ASSUME_TGKILL): Define without depending on kernel version for
22540 (__ASSUME_UTIMES): Likewise.
22541 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22543 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22544 (__ASSUME_TMPFS_NAME): Likewise.
22545 * README: Update reference to Linux kernel versions.
22547 2012-08-02 Marek Polacek <polacek@redhat.com>
22550 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22551 libc_cv_asm_type_prefix with %.
22552 * configure: Regenerated.
22553 * include/libc-symbols.h: Remove comment about
22554 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22555 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22556 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22557 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22558 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22559 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22560 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22561 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22562 * elf/tst-unique2mod1.c: Likewise.
22563 * elf/tst-unique1mod2.c: Likewise.
22564 * elf/tst-unique1mod1.c: Likewise.
22565 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22566 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22567 Replace ASM_TYPE_DIRECTIVE with .type.
22568 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22569 * sysdeps/i386/sysdep.h: Likewise.
22570 * sysdeps/x86_64/sysdep.h: Likewise.
22571 * sysdeps/sh/sysdep.h: Likewise.
22572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22573 Do not define ASM_TYPE_DIRECTIVE.
22574 * sysdeps/powerpc/sysdep.h: Likewise.
22575 * sysdeps/powerpc/powerpc32/sysdep.h:
22576 Replace ASM_TYPE_DIRECTIVE with .type.
22577 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22578 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22579 * sysdeps/i386/fpu/e_powf.S: Likewise.
22580 * sysdeps/i386/fpu/e_expl.S: Likewise.
22581 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22582 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22583 * sysdeps/i386/fpu/e_pow.S: Likewise.
22584 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22585 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22586 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22587 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22588 * sysdeps/i386/fpu/e_log2.S: Likewise.
22589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22590 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22591 * sysdeps/i386/fpu/e_powl.S: Likewise.
22592 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22593 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22594 * sysdeps/i386/fpu/e_logl.S: Likewise.
22595 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22596 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22597 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22598 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22599 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22600 * sysdeps/i386/fpu/e_log.S: Likewise.
22601 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22602 * sysdeps/i386/fpu/e_logf.S: Likewise.
22603 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22604 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22605 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22606 * sysdeps/i386/fpu/e_log10.S: Likewise.
22607 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22609 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22610 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22611 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22612 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22613 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22614 * sysdeps/i386/i686/strtok.S: Likewise.
22615 * sysdeps/i386/i386-mcount.S: Likewise.
22616 * sysdeps/i386/strtok.S: Likewise.
22617 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22619 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22621 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22622 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22623 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22624 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22625 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22626 * sysdeps/x86_64/_mcount.S: Likewise.
22627 * sysdeps/x86_64/strtok.S: Likewise.
22628 * sysdeps/sh/_mcount.S: Likewise.
22630 2012-08-01 Roland McGrath <roland@hack.frob.com>
22632 * libio/iofopen.c: Include <fcntl.h>.
22633 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22634 (_IO_fopen64, fopen64): Define as aliases.
22635 * libio/iofopen64.c: Include <fcntl.h>.
22636 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22637 Conditionalize body on this.
22638 * sysdeps/wordsize-64/iofopen.c: File removed.
22639 * sysdeps/wordsize-64/iofopen64.c: File removed.
22641 2012-08-01 Marek Polacek <polacek@redhat.com>
22643 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22644 Use dlfcn directly instead of a variable.
22645 (binfmt-subdir): Do not define.
22648 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22650 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22651 Remove all definitions.
22652 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22653 <kernel-features.h>.
22654 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22655 (miss_F_GETOWN_EX): Remove all definitions.
22656 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22658 [!__ASSUME_FCNTL64]: Remove conditional code.
22659 [__ASSUME_FCNTL64]: Make code unconditional.
22660 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22661 <kernel-features.h>.
22662 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22663 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22664 (lockf64) [__NR_fcntl64]: Make code unconditional.
22665 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22667 * sysdeps/unix/sysv/linux/kernel-features.h
22668 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22669 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22670 Make code unconditional.
22671 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22672 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22674 [__NR_vfork]: Make code unconditional.
22675 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22676 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22678 [__NR_vfork]: Make code unconditional.
22679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22682 2012-08-01 Roland McGrath <roland@hack.frob.com>
22684 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22685 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22687 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22688 Define mkstemp64 as an alias.
22689 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22690 Define mkstemps64 as an alias.
22691 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22692 Define mkostemp64 as an alias.
22693 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22694 Define mkostemps64 as an alias.
22695 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22696 Conditionalize body on this.
22697 * misc/mkostemp64.c: Likewise.
22698 * misc/mkostemps64.c: Likewise.
22699 * misc/mkstemps64.c: Likewise.
22700 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22701 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22702 * sysdeps/wordsize-64/mkostemp.c: File removed.
22703 * sysdeps/wordsize-64/mkstemp.c: File removed.
22704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22705 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22706 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22707 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22710 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22711 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22712 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22713 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22715 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22716 compat_symbol macros from <shlib-compat.h> rather than the underlying
22717 default_symbol_version and symbol_version macros, so that DEFAULT
22718 lines in shlib-versions are respected.
22719 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22721 2012-08-01 Florian Weimer <fweimer@redhat.com>
22723 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22724 Declare with warn_unused_result.
22725 (setgid, setregid, setegid, setresgid): Likewise.
22726 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22728 * WUR-REPORT: Remove set*id functions.
22730 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22732 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22734 2012-07-31 Roland McGrath <roland@hack.frob.com>
22737 * include/sys/socket.h (__libc_accept, __libc_accept4):
22738 Add attribute_hidden.
22739 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22741 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22743 * inet/getnetgrent_r.c (setup): Likewise.
22745 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22747 2012-07-31 David S. Miller <davem@davemloft.net>
22749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22751 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22754 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22755 value between 1.0 and 2.0 and smaller part has absolute value less
22757 * math/s_clog10.c (__clog10): Likewise.
22758 * math/s_clog10f.c (__clog10f): Likewise.
22759 * math/s_clog10l.c (__clog10l): Likewise.
22760 * math/s_clogf.c (__clogf): Likewise.
22761 * math/s_clogl.c (__clogl): Likewise.
22762 * math/libm-test.inc (clog_test): Add more tests.
22763 (clog10_test): Likewise.
22764 * sysdeps/i386/fpu/libm-test-ulps: Update.
22765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22767 2012-07-31 Florian Weimer <fweimer@redhat.com>
22769 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22770 Exit with zero in case no suitable GID is found, and write a
22771 message to standard error.
22773 2012-07-30 Roland McGrath <roland@hack.frob.com>
22775 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22777 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22778 (MAXPATHLEN): Removed.
22779 (NOGROUP, NODEV): New macros.
22780 (setbit, clrbit, isset, isclr): New macros.
22781 (howmany, roundup, powerof2): New macros.
22782 (DEV_BSIZE): New macro.
22784 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22785 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22787 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22788 definition on [!__NO_LONG_DOUBLE_MATH].
22790 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22791 PTR_MANGLE and PTR_DEMANGLE.
22793 * socket/accept4.c (accept4): Rename to __libc_accept4.
22794 Define accept4 as a weak alias.
22796 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22797 on [_DIRENT_HAVE_D_TYPE].
22798 * io/ftw.c (ftw_dir): Likewise.
22800 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22802 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22804 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22805 Use the BSD numbers rather than the arbitrary ones we had.
22806 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22807 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22808 (SIGXCPU, SIGXFSZ): New macros.
22811 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22812 initializer on [_LIBC_REENTRANT].
22814 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22815 definitions inside [_POSIX_MAPPED_FILES].
22817 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22819 * dirent/opendir.c: Include <fcntl.h>.
22821 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22822 (__libc_getspecific): Likewise.
22823 (__libc_key_create): Likewise.
22825 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22826 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22827 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22828 (tmpfile64): Define as alias.
22829 * sysdeps/wordsize-64/tmpfile.c: File removed.
22830 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22831 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22834 * stdio-common/vfscanf.c: Include <stdbool.h>.
22835 * nss/makedb.c: Likewise.
22836 * stdio-common/_i18n_number.h: Likewise.
22837 * argp/argp-help.c: Likewise.
22838 * posix/wordexp.c: Likewise.
22839 * sysdeps/posix/spawni.c: Likewise.
22840 * nss/nss_files/files-initgroups.c: Likewise.
22841 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22842 * nss/nss_files/files-initgroups.c: Likewise.
22843 * nss/nss_db/db-netgrp.c: Likewise.
22844 * nss/nss_db/db-initgroups.c: Likewise.
22845 * io/fchmodat.c: Include <sys/stat.h>.
22847 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22848 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22850 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22853 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22854 Add multiple inclusion protection.
22856 2012-07-27 David S. Miller <davem@davemloft.net>
22858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22860 2012-07-27 Gary Benson <gbenson@redhat.com>
22863 * elf/rtld.c: Include <stap-probe.h>.
22864 (dl_main): Added static probes "init_start" and "init_complete".
22865 * elf/dl-load.c: Include <stap-probe.h>.
22866 (lose): Take new parameter "nsid".
22867 Added static probe "map_failed".
22868 (_dl_map_object_from_fd): Pass namespace id to lose.
22869 Added static probe "map_start".
22870 (open_verify): Pass namespace id to lose.
22871 * elf/dl-open.c: Include <stap-probe.h>.
22872 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22873 and "reloc_complete".
22874 * elf/dl-close.c: Include <stap-probe.h>.
22875 (_dl_close_worker): Added static probes "unmap_start" and
22877 * elf/rtld-debugger-interface.txt: New file documenting the above.
22879 2012-07-26 Roland McGrath <roland@hack.frob.com>
22881 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22882 rather than a string variable.
22883 * sunrpc/rpc_main.c (h_output): Likewise.
22884 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22886 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22888 * inet/check_native.c: New file.
22890 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22893 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22894 if larger part has absolute value 1.0.
22895 * math/s_clog10.c (__clog10): Likewise.
22896 * math/s_clog10f.c (__clog10f): Likewise.
22897 * math/s_clog10l.c (__clog10l): Likewise.
22898 * math/s_clogf.c (__clogf): Likewise.
22899 * math/s_clogl.c (__clogl): Likewise.
22900 * math/libm-test.inc (clog_test): Add more tests.
22901 (clog10_test): Likewise.
22902 * sysdeps/i386/fpu/libm-test-ulps: Update.
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22905 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22906 (pltexit): Likewise.
22907 (La_regs): Likewise.
22908 (La_retval): Likewise.
22909 (int_retval): Likewise.
22910 Update #error for removed macros to refer only to definitions in
22912 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22914 (pltexit): Likewise.
22915 (La_regs): Likewise.
22916 (La_retval): Likewise.
22917 (int_retval): Likewise.
22918 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22920 (pltexit): Likewise.
22921 (La_regs): Likewise.
22922 (La_retval): Likewise.
22923 (int_retval): Likewise.
22924 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22926 (pltexit): Likewise.
22927 (La_regs): Likewise.
22928 (La_retval): Likewise.
22929 (int_retval): Likewise.
22930 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22932 (pltexit): Likewise.
22933 (La_regs): Likewise.
22934 (La_retval): Likewise.
22935 (int_retval): Likewise.
22936 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22938 (pltexit): Likewise.
22939 (La_regs): Likewise.
22940 (La_retval): Likewise.
22941 (int_retval): Likewise.
22942 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22944 (pltexit): Likewise.
22945 (La_regs): Likewise.
22946 (La_retval): Likewise.
22947 (int_retval): Likewise.
22948 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22949 macro definitions in tst-audit.h.
22950 * sysdeps/i386/tst-audit.h: New file.
22951 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22952 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22953 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22954 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22955 * sysdeps/sh/tst-audit.h: Likewise.
22956 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22957 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22958 * sysdeps/x86_64/tst-audit.h: Likewise.
22960 2012-07-26 Andreas Jaeger <aj@suse.de>
22962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22965 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22966 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22967 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22969 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22970 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22971 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22973 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22976 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22978 (si_call_addr, si_syscall, si_arch): Define new macro.
22979 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22981 (si_call_addr, si_syscall, si_arch): Define new marcro.
22982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22984 (si_call_addr, si_syscall, si_arch): Define new macro.
22985 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22987 (si_call_addr, si_syscall, si_arch): Define new macro.
22989 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22993 Change to 2.4.21 where previously 2.4.1.
22994 * sysdeps/unix/sysv/linux/configure: Regenerated.
22995 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22996 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22997 Linux kernel version.
22998 (__ASSUME_STD_AUXV): Remove.
22999 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23001 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23002 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23003 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23004 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23005 (__ASSUME_NETLINK_SUPPORT): Likewise.
23006 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23007 (__no_netlink_support): Remove conditional definition.
23008 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23010 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23011 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23012 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23013 (if_nameindex_ioctl): Remove.
23014 (if_nameindex_netlink): Do not handle __no_netlink_support.
23015 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23017 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23018 Remove conditional code.
23019 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23021 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23023 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23024 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23025 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23027 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23028 [!__ASSUME_STD_AUXV]: Remove conditional code.
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23030 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23031 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23033 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23034 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23036 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23038 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23039 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23041 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23043 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23046 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23049 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23050 code unconditional.
23051 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23053 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23055 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23058 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23060 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23063 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23064 code unconditional.
23065 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23067 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23069 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23072 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23073 code unconditional.
23074 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23076 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23078 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23081 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23083 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23084 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23085 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23086 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23087 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23088 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23089 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23090 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23091 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23092 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23093 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23094 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23095 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23096 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23097 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23098 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23099 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23100 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23101 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23103 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23104 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23105 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23107 2012-07-25 Florian Weimer <fweimer@redhat.com>
23109 * Versions.def: Add GLIBC_2.17.
23110 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23111 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23112 Introduce __libc_secure_getenv.
23113 * stdlib/Versions (2.17): Add secure_getenv
23114 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23115 * stdlib/secure-getenv.c: Rename __secure_getenv to
23116 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23117 symbol __secure_getenv for GLIBC_2.0.
23118 * stdlib/tst-secure-getenv.c: New.
23119 * stdlib/Makefile (tests): Add testcase.
23120 * manual/startup.texi (Environment Access): Document
23122 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23123 __libc_secure_getenv.
23124 * inet/ruserpass.c (ruserpass): Likewise.
23125 * malloc/mtrace.c (mtrace): Likewise.
23126 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23127 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23128 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23129 * sysdeps/posix/tempname.c: Likewise. Evaluate
23130 HAVE_SECURE_GETENV.
23131 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23132 __secure_getenv to __libc_secure_getenv.
23133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23146 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23148 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23149 (struct La_i86_retval): Likewise.
23150 (struct La_x86_64_regs): Likewise.
23151 (struct La_x86_64_retval): Likewise.
23152 (struct La_x32_regs): Likewise.
23153 (struct La_x32_retval): Likewise.
23154 (struct La_ppc32_regs): Likewise.
23155 (struct La_ppc32_retval): Likewise.
23156 (struct La_ppc64_regs): Likewise.
23157 (struct La_ppc64_retval): Likewise.
23158 (struct La_sh_regs): Likewise.
23159 (struct La_sh_retval): Likewise.
23160 (struct La_s390_32_regs): Likewise.
23161 (struct La_s390_32_retval): Likewise.
23162 (struct La_s390_64_regs): Likewise.
23163 (struct La_s390_64_retval): Likewise.
23164 (struct La_sparc32_regs): Likewise.
23165 (struct La_sparc32_retval): Likewise.
23166 (struct La_sparc64_regs): Likewise.
23167 (struct La_sparc64_retval): Likewise.
23168 (struct audit_ifaces): Remove architecture-specific pltenter and
23170 * sysdeps/i386/ldsodefs.h: New file.
23171 * sysdeps/powerpc/ldsodefs.h: Likewise.
23172 * sysdeps/s390/ldsodefs.h: Likewise.
23173 * sysdeps/sh/ldsodefs.h: Likewise.
23174 * sysdeps/sparc/ldsodefs.h: Likewise.
23175 * sysdeps/x86_64/ldsodefs.h: Likewise.
23177 2012-07-25 Marek Polacek <polacek@redhat.com>
23180 * math/libm-test.inc (yn_test): Add another test.
23181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23182 to ERANGE when the result is +-Inf.
23183 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23184 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23185 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23186 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23188 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23190 * conform/data/time.h-data (NULL): Use macro-constant. Require
23192 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23194 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23196 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23198 * configure.in <sysdeps resolving>: Correct printing
23200 * configure: Regenerate.
23202 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23204 * math/w_ilogb.c: Include <limits.h>.
23205 * math/w_ilogbl.c: Likewise.
23207 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23209 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23210 va_copy. Document allowing for unavailable va_copy only as
23211 pre-C99 compatibility.
23212 * manual/string.texi (Copying and Concatenation): Use va_copy
23213 instead of __va_copy in concat example.
23215 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23217 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23218 (__sendto): Use create_address_port. Initialize APORT and deallocate
23221 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23222 with O_NOLINK passed to __file_name_lookup.
23224 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23225 with O_NOLINK passed to __file_name_lookup.
23227 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23228 negative N or less than NGIDS.
23230 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23231 type to string_t. Set ERANGE as errno and return it if NAME is not big
23232 enough. Use memcpy instead of strncpy.
23234 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23236 * elf/Makefile (check-data): Remove.
23237 (localplt.data): New vpath directive.
23238 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23239 instead of $(check-data).
23240 * scripts/data/localplt-generic.data: Move to ...
23241 * sysdeps/generic/localplt.data: ... here.
23242 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23243 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23244 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23247 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23250 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23253 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23256 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23259 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23263 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23265 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23266 PPC32 and PPC64 files.
23267 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23268 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23270 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23272 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23273 __makecontext_ret to ...
23274 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23275 ... here and call exit if uc_link is NULL. New file.
23276 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23277 __makecontext_ret.S.
23278 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23279 __makecontext_ret to ...
23280 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23281 ... here and call exit if uc_link is NULL. New file.
23282 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23283 __makecontext_ret.S.
23285 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23287 * elf/elf.h (R_390_IRELATIVE): New definition.
23288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23289 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23290 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23292 (elf_machine_lazy_rel): Likewise.
23293 * sysdeps/s390/dl-irel.h: New file.
23294 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23295 * sysdeps/s390/s390-64/memset.S: New asm code.
23296 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23297 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23299 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23300 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23301 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23302 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23303 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23304 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23305 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23306 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23307 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23308 * sysdeps/s390/s390-32/memset.S: New asm code.
23309 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23311 2012-07-17 Marek Polacek <polacek@redhat.com>
23314 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23315 * sysdeps/s390/s390-64/configure.in: Likewise.
23316 * sysdeps/sparc/configure.in: Likewise.
23317 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23318 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23319 * sysdeps/i386/configure.in: Likewise.
23320 * sysdeps/x86_64/configure.in: Likewise.
23321 * sysdeps/sh/configure.in: Likewise.
23322 * sysdeps/s390/s390-32/configure: Regenerated.
23323 * sysdeps/s390/s390-64/configure: Likewise.
23324 * sysdeps/x86_64/configure: Likewise.
23325 * sysdeps/sh/configure: Likewise.
23326 * sysdeps/powerpc/powerpc64/configure: Likewise.
23327 * sysdeps/powerpc/powerpc32/configure: Likewise.
23328 * sysdeps/sparc/configure: Likwise.
23329 * sysdeps/i386/configure: Likewise.
23331 * elf/dl-open.c: Comment fixes.
23333 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23335 * Makefile [CXX] (check-data): Remove.
23336 [CXX] (c++-types.data): New vpath directive.
23337 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23338 vpath. Do not allow for C++ type data being missing.
23339 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23340 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23341 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23342 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23343 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23344 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23345 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23348 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23351 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23354 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23357 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23360 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23363 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23366 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23369 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23370 definitions to architecture-specific files.
23371 (TLS_IE): Likewise.
23372 (TLS_LD): Likewise.
23373 (TLS_GD): Likewise.
23374 * sysdeps/i386/tls-macros.h: New file.
23375 * sysdeps/powerpc/tls-macros.h: Likewise.
23376 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23377 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23378 * sysdeps/sh/tls-macros.h: Likewise.
23379 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23380 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23381 * sysdeps/x86_64/tls-macros.h: Likewise.
23383 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23386 zero value for regular exit case.
23388 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23389 (__start_context): Preserve zero value for regular exit case.
23391 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23392 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23394 * manual/setjmp.texi (setcontext): Clarify normal process
23395 termination when uc_link is the null pointer.
23396 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23399 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23401 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23402 preprocessor. Test for each exception mask separately.
23404 2012-07-16 Andreas Jaeger <aj@suse.de>
23406 * po/ru.po: Update from translation team.
23408 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23410 * conform/data/string.h-data (NULL): Use macro-constant. Require
23412 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23413 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23414 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23415 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23418 2012-07-13 Andreas Jaeger <aj@suse.de>
23420 * po/fr.po: Update from translation team.
23422 2012-07-12 Marek Polacek <polacek@redhat.com>
23425 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23426 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23429 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23432 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23433 Change to 2.4.1 where previously 2.4.0.
23434 * sysdeps/unix/sysv/linux/configure: Regenerated.
23435 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23436 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23438 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23439 (__ASSUME_AT_CLKTCK): Remove.
23440 (__ASSUME_AT_PAGESIZE): Likewise.
23441 (__ASSUME_AT_XID): Likewise.
23442 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23443 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23444 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23446 (HAVE_AUX_PAGESIZE): Likewise.
23447 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23448 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23449 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23451 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23455 the temporary buffer used to invoke __gethostbyname2_r,
23456 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23457 host_data / struct gaih_addrtuple.
23458 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23459 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23460 header file nss/nsswitch.h.
23461 * nss/nsswitch.h (global scope): Add definition of implementation
23462 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23463 resolv/nss_dns/dns-host.c).
23465 2012-07-11 Andreas Jaeger <aj@suse.de>
23467 * po/fr.po: Update from translation team.
23469 * po/sv.po: Update from translation team
23470 * po/fr.po: Another update from translation team.
23472 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23474 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23475 for subnormals or multiply small sinh result by itself.
23476 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23479 2012-07-11 David S. Miller <davem@davemloft.net>
23481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23483 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23486 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23487 (INTERNAL_MARK): Shift it here.
23489 2012-07-10 Marek Polacek <polacek@redhat.com>
23492 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23493 libc_cv_asm_global_directive with .globl.
23494 * configure: Regenerated.
23495 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23497 * sysdeps/i386/configure: Regenerated.
23498 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23500 * sysdeps/x86_64/configure: Regenerated.
23501 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23502 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23503 * elf/tst-unique2mod2.c: Likewise.
23504 * elf/tst-unique2mod1.c: Likewise.
23505 * elf/tst-unique1mod2.c: Likewise.
23506 * elf/tst-unique1mod1.c: Likewise.
23507 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23508 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23510 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23511 * sysdeps/mach/sysdep.h: Likewise.
23512 * sysdeps/i386/sysdep.h: Likewise.
23513 * sysdeps/i386/i386-mcount.S: Likewise.
23514 * sysdeps/x86_64/_mcount.S: Likewise.
23515 * sysdeps/x86_64/sysdep.h: Likewise.
23516 * sysdeps/sh/_mcount.S: Likewise.
23517 * sysdeps/sh/sysdep.h: Likewise.
23518 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23519 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23520 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23521 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23522 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23523 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23524 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23525 * locale/localeinfo.h: Likewise.
23526 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23527 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23529 2012-07-09 Roland McGrath <roland@hack.frob.com>
23532 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23534 * manual/message.texi (The Uniforum approach): Likewise.
23535 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23536 (glibc iconv Implementation): Likewise.
23538 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23541 * math/s_clog.c (__clog): Avoid scaling a value down where that
23542 could result in underflow.
23543 * math/s_clog10.c (__clog10): Likewise.
23544 * math/s_clog10f.c (__clog10f): Likewise.
23545 * math/s_clog10l.c (__clog10l): Likewise.
23546 * math/s_clogf.c (__clogf): Likewise.
23547 * math/s_clogl.c (__clogl): Likewise.
23548 * math/libm-test.inc (clog_test): Add more tests.
23549 (clog10_test): Likewise.
23550 * sysdeps/i386/fpu/libm-test-ulps: Update.
23551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23553 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23556 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23557 by 7 not 8 to examine high bit of fractional part.
23560 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23561 for call to __mcount_internal.
23562 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23563 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23564 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23566 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23569 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23570 approximation for values within 0x1p-13f of an odd multiple of
23572 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23573 exception. Add more tests.
23574 * sysdeps/i386/fpu/libm-test-ulps: Update.
23577 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23578 inputs and return -1 for them. Do not check for +Inf in case not
23579 reachable for +Inf.
23580 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23581 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23582 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23583 and return -1 for them. Do not check for +Inf in case not
23584 reachable for +Inf.
23585 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23587 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23588 and return -1 for them. Do not check for +Inf in case not
23589 reachable for +Inf.
23590 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23591 spurious underflow.
23592 * sysdeps/i386/fpu/libm-test-ulps: Update.
23593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23595 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23597 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23599 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23603 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23604 could result in spurious underflow. Scale down values above
23605 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23606 * math/s_csqrtf.c (__csqrtf): Likewise.
23607 * math/s_csqrtl.c (__csqrtl): Likewise.
23608 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23609 spurious underflow.
23610 * sysdeps/i386/fpu/libm-test-ulps: Update.
23611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23613 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23615 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23617 * catgets/xopen-msg.awk: New file.
23618 * catgets/xopen-msg.sed: Removed.
23620 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23622 * intl/po2test.awk: New file.
23623 * intl/po2test.sed: Removed.
23625 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23628 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23629 or multiply small sinh result by itself.
23630 * math/s_ctanf.c (__ctanf): Likewise.
23631 * math/s_ctanh.c (__ctanh): Likewise.
23632 * math/s_ctanhf.c (__ctanhf): Likewise.
23633 * math/s_ctanhl.c (__ctanhl): Likewise.
23634 * math/s_ctanl.c (__ctanl): Likewise.
23635 * math/libm-test.inc (ctan_test_tonearest): New function.
23636 (ctan_test_towardzero): Likewise.
23637 (ctan_test_downward): Likewise.
23638 (ctan_test_upward): Likewise.
23639 (ctanh_test_tonearest): Likewise.
23640 (ctanh_test_towardzero): Likewise.
23641 (ctanh_test_downward): Likewise.
23642 (ctanh_test_upward): Likewise.
23643 (main): Call these new functions.
23644 * sysdeps/i386/fpu/libm-test-ulps: Update.
23645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23647 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23649 * .gitignore: Delete /ports entry.
23651 2012-07-03 Andreas Jaeger <aj@suse.de>
23653 * po/bg.po: Update from translation team.
23654 * po/cs.po: Likewise.
23655 * po/de.po: Likewise.
23656 * po/hr.po: Likewise.
23657 * po/nl.pl: Likewise.
23658 * po/pl.po: Likewise.
23659 * po/vi.po: Likewise.
23661 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23663 * Makeconfig [!+link] (+link-before-libc): New variable.
23664 [!+link] (+link-after-libc): Likewise.
23665 [!+link] (+link-tests): Likewise.
23666 [!+link] (+link): Define in terms of $(+link-before-libc) and
23667 $(+link-after-libc).
23668 [!+link-static] (+link-static-before-libc): New variable.
23669 [!+link-static] (+link-static-after-libc): Likewise.
23670 [!+link-static] (+link-static-tests): Likewise.
23671 [!+link-static] (+link-static): Define in terms of
23672 $(+link-static-before-libc) and $(+link-static-after-libc).
23673 [build-shared] (link-libc-before-gnulib): New variable.
23674 [build-shared] (link-libc-tests): Likewise.
23675 [build-shared] (link-libc): Define in terms of
23676 $(link-libc-before-gnulib).
23677 [!build-shared] (link-libc-tests): New variable.
23678 (link-libc-static-tests): New variable.
23679 [!gnulib] (gnulib-arch): New variable.
23680 [!gnulib] (gnulib-tests): Likewise.
23681 [!gnulib] (static-gnulib-arch): Likewise.
23682 [!gnulib] (static-gnulib-tests): Likewise.
23683 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23684 Define with "=" instead of ":=".
23685 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23686 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23687 * Rules (binaries-all-notests): New variable.
23688 (binaries-all-tests): Likewise.
23689 (binaries-static-notests): Likewise.
23690 (binaries-static-tests): Likewise.
23691 (binaries-all): Define using $(binaries-all-notests) and
23692 $(binaries-all-tests).
23693 (binaries-static): Define using $(binaries-static-notests) and
23694 $(binaries-static-tests).
23695 (binaries-shared-tests): New variable.
23696 (binaries-shared-notests): Likewise.
23697 (binaries-shared): Remove variable.
23698 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23699 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23700 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23701 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23702 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23703 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23704 * elf/Makefile (sln-modules): New variable.
23705 (extra-objs): Add $(sln-modules:=.o).
23706 (ldconfig-modules): Add static-stubs.
23707 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23708 * elf/static-stubs.c: New file.
23711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23712 by 7 not 8 to examine high bit of fractional part. Use volatile
23713 variables when splitting into final array of floats if
23714 __FLT_EVAL_METHOD__ != 0.
23715 * math/libm-test.inc (cos_test): Add another test.
23716 (sin_test): Likewise.
23717 * sysdeps/i386/fpu/libm-test-ulps: Update.
23720 * math/libm-test.inc (cosh_test): Add more tests.
23722 * version.h (RELEASE): Set to "development".
23723 (VERSION): Set to "2.16.90".
23725 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23727 * NEWS: Update copyright. Remove last-updated date.
23728 Mention math library bug fixes and timezone data changes.
23729 * README: Mention GNU/Hurd, x32, and HPPA support status.
23731 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23733 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23735 2012-06-27 Andreas Jaeger <aj@suse.de>
23737 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23739 2012-06-25 Andreas Jaeger <aj@suse.de>
23741 * sysdeps/s390/fpu/libm-test-ulps: Update.
23743 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23744 Thomas Schwinge <thomas@codesourcery.com>
23746 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23747 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23751 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23753 * sysdeps/mach/start.c: Remove file.
23754 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23755 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23756 * sysdeps/sh/init-first.c: Likewise.
23758 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23759 registers for frame unwinding purposes, add CFI directives.
23760 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23762 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23765 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23766 __fortify_fail returning.
23767 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23769 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23770 sysdeps/sh/____longjmp_chk.S.
23771 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23772 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23773 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23774 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23776 * sysdeps/sh/abort-instr.h: New file.
23777 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23778 process in case exit returns.
23780 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23781 initialize the GOT register before use.
23783 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23784 calculation of ARGC > 4.
23786 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23787 meaningful names to some local labels.
23789 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23790 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23792 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23793 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23794 (__arch_compare_and_exchange_val_16_acq): Likewise.
23795 (__arch_compare_and_exchange_val_32_acq): Likewise.
23796 (atomic_exchange_and_add): Fix gUSA sequence.
23797 (atomic_add): Likewise.
23798 (atomic_add_negative): Likewise.
23799 (atomic_add_zero): Likewise.
23800 (atomic_bit_test_set): Likewise.
23802 2012-06-22 Andreas Schwab <schwab@redhat.com>
23805 * include/link.h (struct link_map): Add l_free_initfini.
23806 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23808 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23809 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23810 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23813 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23815 * configure.in: Use AC_LANG_SOURCE.
23816 * configure: Regenerate.
23818 2012-06-22 Roland McGrath <roland@hack.frob.com>
23820 * configure.in (libc_cv_localstatedir): New substituted variable.
23821 * configure: Regenerated.
23822 * config.make.in (localstatedir): New variable, substituted from
23823 libc_cv_localstatedir.
23824 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23825 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23826 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23827 * sysdeps/gnu/configure: Regenerated.
23829 2012-06-21 Jeff Law <law@redhat.com>
23832 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23833 free. Simplify list management for _LIBC case.
23835 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23839 Clear sign bit of 64-bit integer value before comparing against
23842 * sysdeps/mach/configure: Regenerated.
23844 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23847 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23849 2012-06-21 Jeff Law <law@redhat.com>
23852 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23853 uint16_t for elements in the "seen" array to avoid char overflows.
23854 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23855 * elf/dl-open.c (dl_open_worker): Likewise.
23857 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23859 * scripts/list-sources.sh: Scan PORTS for translations.
23860 * po/libc.pot: Regenerated.
23862 2012-06-21 Andreas Jaeger <aj@suse.de>
23865 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23867 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23868 * bits/byteswap-16.h (__bswap_16): Likewise.
23869 * bits/byteswap.h (__bswap_constant_16): Likewise.
23871 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23874 * sysdeps/i386/fpu_control.h: Removed.
23875 * sysdeps/x86_64/fpu_control.h: Moved to ...
23876 * sysdeps/x86/fpu_control.h: Here.
23878 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23879 (_FPU_SETCW): Likewise.
23881 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23884 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23885 * sysdeps/x86/fpu/bits/mathinline.h: This.
23886 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23890 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23891 functions if __x86_64__ is defined.
23893 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23895 * string/endian.h: Add !__ASSEMBLER__ condition for including
23896 conversion interfaces.
23898 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23902 of ABS(x) in calculating zero to negative powers other than odd
23904 * math/libm-test.inc (pow_test): Add more tests.
23906 2012-06-15 Andreas Jaeger <aj@suse.de>
23908 * manual/contrib.texi (Contributors): Update entry of Liubov
23909 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23912 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23914 * string/string.h: Add __wur to GNU version of strerror_r.
23916 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23919 * string/Makefile (tests): Add tst-strtok_r.
23920 * string/tst-strtok_r.c: New file.
23921 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23922 RAX_LP/RDX_LP on SAVE_PTR.
23924 2012-06-14 Roland McGrath <roland@hack.frob.com>
23926 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23928 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23930 * libm_test.inc (csqrt_test): Allow more spurious underflow
23932 (j0_test): Likewise.
23933 (j1_test): Likewise.
23934 (y0_test): Likewise.
23935 (y1_test): Likewise.
23937 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23939 * po/Makefile (libc.pot): Use UTF-8 charset.
23941 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23944 Suppress sign-conversion warning from FD_SET.
23945 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23946 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23947 not unsigned long int.
23948 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23950 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23954 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23955 __extern_always_inline instead of __extern_inline.
23956 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23957 (__signbit): Likewise.
23958 (__signbitl): Support C++ namespace.
23959 (lrintf): New inline function.
23961 (llrintf): Likewise.
23962 (llrint): Likewise.
23972 (floorf): Likewise.
23973 (nearbyint): Likewise.
23974 (nearbyintf): Likewise.
23976 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23978 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23979 non-default versions.
23981 2012-06-11 Roland McGrath <roland@hack.frob.com>
23984 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23986 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23988 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23989 (FE_UPWARD, FE_DOWNWARD): Don't define.
23990 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23991 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23995 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23996 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23998 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24000 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24002 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24003 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24005 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24008 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24009 * sysdeps/i386/fpu/Implies: New file.
24010 * sysdeps/x86_64/fpu/Implies: Likewise.
24011 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24012 * sysdeps/x86/fpu/bits/fenv.h: This.
24014 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24017 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24020 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24021 character 0xffff that matches the last element of the
24024 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24029 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24031 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24032 values higher than 25.6283.
24034 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24036 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24037 subnormal exponent extraction and add some __builtin_expect.
24038 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24039 Fix for subnormal mantissa calculation.
24041 2012-06-04 Mike Frysinger <vapier@gentoo.org>
24043 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24044 cpu2 is -1 and errno is not ENOSYS.
24046 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24049 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24050 * sysdeps/x86/bits/string.h: This.
24051 * sysdeps/x86_64/bits/string.h: Removed.
24053 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24054 if not compiling for x86-64, but compiling for >= i486.
24056 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24057 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24059 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24060 New macro from Linux kernel 3.4.0.
24061 (FP_XSTATE_MAGIC2): Likewise.
24062 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24063 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24064 (struct _fpx_sw_bytes): New struct.
24065 (struct _xsave_hdr): Likewise.
24066 (struct _ymmh_state): Likewise.
24067 (struct _xstate): Likewise.
24069 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24070 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24072 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24074 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24076 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24077 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24078 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24079 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24080 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24081 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24083 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24086 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24087 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24088 (sysdep_headers): Include sys/platform/ppc.h.
24089 * sysdeps/powerpc/test-gettimebase.c: Test for
24090 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24091 * manual/Makefile (appendices): Include platform.texi.
24092 * manual/contrib.texi (Contributors): Update @node pointers.
24093 * manual/maint.texi (Maintenance): Likewise.
24094 (Platform): New node.
24095 * manual/platform.texi: New file. Document the new features.
24097 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24098 Jakub Jelinek <jakub@redhat.com>
24101 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24102 where __builtin_expect is unavailable.
24104 2012-06-03 David S. Miller <davem@davemloft.net>
24106 * stdlib/longlong.h: Updated from GCC.
24108 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24111 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24112 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24115 (GLIBC_2.16): Likewise.
24117 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24119 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24121 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24124 (default-abi): New variable.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24126 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24128 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24130 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24132 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24135 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24136 definition. Document in comment.
24138 2012-06-01 David S. Miller <davem@davemloft.net>
24140 * stdlib/longlong.h: Updated from GCC.
24142 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24145 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24146 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24147 sys/debugreg.h sys/io.h here.
24148 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24149 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24151 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24152 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24153 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24154 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24155 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24156 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24158 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24159 Define only if __x86_64__ is defined.
24161 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24165 Use int64_t for variable i.
24166 * math/libm-test.inc (fmod_test): Add more tests.
24168 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24169 z computation is not scheduled after fetestexcept.
24170 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24171 Use math_force_eval instead of asm to ensure calculation scheduled
24172 before exception test.
24173 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24174 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24176 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24179 computation is not scheduled after fetestexcept.
24181 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24184 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24185 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24187 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24189 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24190 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24192 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24195 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24197 (__WCHAR_MIN): Support __WORDSIZE == 64.
24198 (__WCHAR_MAX): Likewise.
24200 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24204 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24205 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24208 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24209 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24211 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24212 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24214 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24215 Defined to 1 if __x86_64__ isn't defined.
24216 (_STAT_VER_LINUX_OLD): New.
24217 (st_atime): Remove duplicate.
24218 (st_mtime): Likewise.
24219 (st_ctime): Likewise.
24221 2012-05-31 David S. Miller <davem@davemloft.net>
24223 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24226 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24228 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24232 * elf/dl-reloc.c: Include <_itoa.h>.
24233 (_dl_reloc_bad_type): Remove use of INTUSE.
24234 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24235 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24236 * stdio-common/psiginfo.c (psiginfo): Likewise.
24237 * stdio-common/psignal.c (psignal): Likewise.
24238 * string/strsignal.c (strsignal): Likewise.
24239 * include/signal.h (_sys_siglist): Declare hidden proto.
24240 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24241 INTVARDEF with libc_hidden_data_def.
24242 * stdio-common/itoa-udigits.c: Likewise.
24243 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24244 (_itoa_lower_digits_internal): Remove declaration.
24245 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24246 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24247 (_sys_sigabbrev_internal): Remove aliases.
24248 (_sys_siglist): Define hidden alias.
24250 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24255 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24258 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24259 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24261 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24262 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24263 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24264 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24265 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24266 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24268 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24269 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24270 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24272 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24282 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24284 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24285 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24287 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24288 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24289 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24291 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24292 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24294 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24295 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24299 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24301 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24302 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24304 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24306 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24307 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24308 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24310 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24312 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24314 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24316 * math/math.h (M_El): Use two more decimal places.
24317 (M_LOG2El): Likewise.
24318 (M_LOG10El): Likewise.
24319 (M_LN2l): Likewise.
24320 (M_LN10l): Likewise.
24322 (M_PI_2l): Likewise.
24323 (M_PI_4l): Likewise.
24324 (M_1_PIl): Likewise.
24325 (M_2_PIl): Likewise.
24326 (M_2_SQRTPIl): Likewise.
24327 (M_SQRT2l): Likewise.
24328 (M_SQRT1_2l): Likewise.
24330 2012-05-31 David S. Miller <davem@davemloft.net>
24332 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24333 values between float registers.
24334 * sysdeps/sparc/sparc64/memset.S: Likewise.
24335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24337 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24339 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24340 -D_FORTIFY_SOURCE=1.
24341 (CPPFLAGS-tst-longjmp_chk.c): Define.
24342 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24343 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24344 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24345 CFLAGS-tst-wchar-h.c.
24347 2012-05-31 Marek Polacek <polacek@redhat.com>
24350 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24351 __endmntent_internal): Remove declaration.
24352 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24353 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24354 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24356 2012-05-30 David S. Miller <davem@davemloft.net>
24358 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24359 (___Q_simulate_exceptions): Use real FP ops rather than writing
24361 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24364 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24367 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24368 * sysdeps/x86/bits/xtitypes.h: This.
24370 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24371 * sysdeps/x86/bits/wordsize.h: This.
24373 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24374 * sysdeps/x86/bits/huge_vall.h: This.
24376 * sysdeps/i386/bits/select.h: Removed.
24377 * sysdeps/x86_64/bits/select.h: Renamed to ...
24378 * sysdeps/x86/bits/select.h: This.
24380 * sysdeps/i386/bits/setjmp.h: Removed.
24381 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24382 * sysdeps/x86/bits/setjmp.h: This.
24384 * sysdeps/i386/bits/mathdef.h: Removed.
24385 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24386 * sysdeps/x86/bits/mathdef.h: This.
24388 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24391 * include/sys/socket.h (__connect_internal)
24392 (__libc_sa_len_internal): Remove declaration.
24393 (__connect, __libc_sa_len): Declare hidden_proto.
24394 (SA_LEN): Remove use of INTUSE.
24395 * socket/connect.c: Add libc_hidden_def.
24396 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24397 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24398 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24400 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24401 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24402 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24403 of adding _internal alias.
24405 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24408 * sysdeps/i386/bits/link.h: Removed.
24409 * sysdeps/i386/bits/linkmap.h: Likewise.
24410 * sysdeps/x86_64/bits/link.h: Renamed to ...
24411 * sysdeps/x86/bits/link.h: This.
24412 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24413 * sysdeps/x86/bits/linkmap.h: This.
24415 * sysdeps/i386/bits/endian.h: Removed.
24416 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24417 * sysdeps/x86/bits/endian.h: This.
24419 * sysdeps/i386/bits/byteswap.h: Removed.
24420 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24421 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24422 * sysdeps/x86/bits/byteswap.h: This.
24423 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24424 * sysdeps/x86/bits/byteswap-16.h: This.
24425 * sysdeps/i386/Implies: Add x86.
24426 * sysdeps/x86_64/Implies: Likewise.
24428 2012-05-30 David S. Miller <davem@davemloft.net>
24430 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24431 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24433 (FP_TRAPPING_EXCEPTIONS): Define.
24434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24435 (FP_TRAPPING_EXCEPTIONS): Define.
24436 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24437 subnormals only when inexact has been signalled or underflow
24438 exceptions are enabled.
24439 (_FP_PACK_CANONICAL): Likewise.
24441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24445 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24447 2012-05-30 Richard Henderson <rth@twiddle.net>
24449 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24450 with #ifndef NOT_IN_libc.
24452 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24453 marked to avoid plt entry.
24455 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24458 * Makeconfig (default-abi): New macro.
24459 (abi-includes): Likewise.
24460 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24461 $(abi-$(default-abi)-lib-soname) for soname if defined.
24462 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24464 * Makefile (installed-stubs): Likewise.
24465 * include/stubs-biarch.h: Removed.
24466 * scripts/lib-names.awk: Only handle one library at a time.
24467 * scripts/soversions.awk: Remove WORDSIZE support.
24468 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24470 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24472 (syscall-list-default-condition): Likewise.
24473 (syscall-list-default-condition): Likewise.
24474 (syscall-list-includes): Likewise.
24475 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24476 syscall-list-* with abi-*. Handle undefined abi-variants.
24477 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24478 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24479 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24480 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24481 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24482 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24484 (syscall-list-32-options): Likewise.
24485 (syscall-list-32-condition): Likewise.
24486 (syscall-list-64-options): Likewise.
24487 (syscall-list-64-condition): Likewise.
24488 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24490 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24493 (abi-64-ld-soname): New macro.
24494 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24495 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24498 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24499 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24501 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24503 * sysdeps/unix/sysv/linux/kernel-features.h
24504 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24505 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24506 include <kernel-features.h>.
24507 [!__NR_ftruncate64]: Remove conditional code.
24508 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24509 [__NR_ftruncate64]: Make code unconditional.
24510 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24511 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24512 include <kernel-features.h>.
24513 [!__NR_ftruncate64]: Remove conditional code.
24514 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24515 [__NR_ftruncate64]: Make code unconditional.
24516 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24518 include <kernel-features.h>.
24519 [!__NR_ftruncate64]: Remove conditional code.
24520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24521 [__NR_ftruncate64]: Make code unconditional.
24522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24524 include <kernel-features.h>.
24525 [!__NR_ftruncate64]: Remove conditional code.
24526 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24527 [__NR_ftruncate64]: Make code unconditional.
24528 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24530 * configure.in (libc_cv_fpie): Weaken to a compile test using
24531 LIBC_TRY_CC_OPTION.
24532 * configure: Regenerated.
24534 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24549 2012-05-27 David S. Miller <davem@davemloft.net>
24551 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24553 (__Q_simulate_exceptions): Return void. Change to simulate
24554 exceptions by writing into the %fsr.
24555 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24556 (__Qp_handle_exceptions): Likewise.
24558 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24559 __Qp_handle_exceptions.
24560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24561 __Qp_handle_exceptions.
24562 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24563 as unused and give dummy FP_RND_NEAREST initializer.
24564 (FP_INHIBIT_RESULTS): Define.
24565 (___Q_simulate_exceptions): Update declaration.
24566 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24568 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24569 as unused and give dummy FP_RND_NEAREST initializer.
24570 (__Qp_handle_exceptions): Update declaration.
24571 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24574 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24576 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24577 the temporary FPU control word.
24578 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24579 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24580 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24581 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24582 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24583 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24584 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24585 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24586 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24587 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24590 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24592 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24595 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24597 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24598 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24599 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24600 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24602 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24603 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24606 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24608 * po/h.po: Update from translation team.
24610 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24612 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24614 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24615 handling of denormals.
24616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24617 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24618 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24619 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24625 2012-05-26 Marek Polacek <polacek@redhat.com>
24628 * math/libm-test.inc (fma_test): Don't always expect underflow
24631 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24634 * elf/tst-execstack.c: Include stackinfo.h.
24635 (do_test): Adjust test case to ensure that pthread_getattr_np
24636 behaviour remains the same after marking stack executable.
24638 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24640 * sysdeps/unix/sysv/linux/kernel-features.h
24641 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24642 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24644 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24645 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24646 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24648 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24649 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24651 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24653 * configure.in: Define the default includes to being none.
24654 * configure: Regenerated.
24656 2012-05-25 Roland McGrath <roland@hack.frob.com>
24658 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24659 * sysdeps/x86_64/setjmp.S: Likewise.
24660 * sysdeps/i386/bsd-setjmp.S: Likewise.
24661 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24662 * sysdeps/i386/setjmp.S: Likewise.
24663 * sysdeps/i386/__longjmp.S: Likewise.
24664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24665 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24667 * include/stap-probe.h: New file.
24668 * configure.in: Handle --enable-systemtap.
24669 * configure: Regenerated.
24670 * config.h.in (USE_STAP_PROBE): New #undef.
24671 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24672 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24673 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24675 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24678 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24679 to 2.4.0 where earlier.
24680 * sysdeps/unix/sysv/linux/configure: Regenerated.
24681 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24682 <kernel-features.h>.
24683 [__ASSUME_32BITUIDS]: Make code unconditional.
24684 [!__ASSUME_32BITUIDS]: Remove conditional code.
24685 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24686 <kernel-features.h>.
24687 [__ASSUME_32BITUIDS]: Make code unconditional.
24688 [!__ASSUME_32BITUIDS]: Remove conditional code.
24689 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24690 [__ASSUME_32BITUIDS]: Make code unconditional.
24691 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24692 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24693 <kernel-features.h>.
24694 [__ASSUME_32BITUIDS]: Make code unconditional.
24695 [!__ASSUME_32BITUIDS]: Remove conditional code.
24696 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24697 <kernel-features.h>.
24698 [__ASSUME_32BITUIDS]: Make code unconditional.
24699 [!__ASSUME_32BITUIDS]: Remove conditional code.
24700 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24701 <kernel-features.h>.
24702 [__ASSUME_32BITUIDS]: Make code unconditional.
24703 [!__ASSUME_32BITUIDS]: Remove conditional code.
24704 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24705 <kernel-features.h>.
24706 [__ASSUME_32BITUIDS]: Make code unconditional.
24707 [!__ASSUME_32BITUIDS]: Remove conditional code.
24708 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24709 <kernel-features.h>.
24710 [__ASSUME_32BITUIDS]: Make code unconditional.
24711 [!__ASSUME_32BITUIDS]: Remove conditional code.
24712 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24713 <kernel-features.h>.
24714 [__ASSUME_32BITUIDS]: Make code unconditional.
24715 [!__ASSUME_32BITUIDS]: Remove conditional code.
24716 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24717 <kernel-features.h>.
24718 [__ASSUME_32BITUIDS]: Make code unconditional.
24719 [!__ASSUME_32BITUIDS]: Remove conditional code.
24720 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24721 <kernel-features.h>.
24722 [__ASSUME_32BITUIDS]: Make code unconditional.
24723 [!__ASSUME_32BITUIDS]: Remove conditional code.
24724 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24725 <kernel-features.h>.
24726 [__ASSUME_32BITUIDS]: Make code unconditional.
24727 [!__ASSUME_32BITUIDS]: Remove conditional code.
24728 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24729 <kernel-features.h>.
24730 [__ASSUME_32BITUIDS]: Make code unconditional.
24731 [!__ASSUME_32BITUIDS]: Remove conditional code.
24732 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24733 <kernel-features.h>.
24734 [__NR_setresgid] (__setresgid): Do not declare.
24735 [__ASSUME_32BITUIDS]: Make code unconditional.
24736 [!__ASSUME_32BITUIDS]: Remove conditional code.
24737 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24738 <kernel-features.h>.
24739 [__NR_setresuid] (__setresuid): Do not declare.
24740 [__ASSUME_32BITUIDS]: Make code unconditional.
24741 [!__ASSUME_32BITUIDS]: Remove conditional code.
24742 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24743 <kernel-features.h>.
24744 [__ASSUME_32BITUIDS]: Make code unconditional.
24745 [!__ASSUME_32BITUIDS]: Remove conditional code.
24746 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24747 <kernel-features.h>.
24748 [__ASSUME_32BITUIDS]: Make code unconditional.
24749 [!__ASSUME_32BITUIDS]: Remove conditional code.
24750 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24751 <kernel-features.h>.
24752 [__ASSUME_32BITUIDS]: Make code unconditional.
24753 [!__ASSUME_32BITUIDS]: Remove conditional code.
24754 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24755 <kernel-features.h>.
24756 [__ASSUME_32BITUIDS]: Make code unconditional.
24757 [!__ASSUME_32BITUIDS]: Remove conditional code.
24758 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24759 <kernel-features.h>.
24760 [__ASSUME_32BITUIDS]: Make code unconditional.
24761 [!__ASSUME_32BITUIDS]: Remove conditional code.
24762 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24763 <kernel-features.h>.
24764 [__ASSUME_32BITUIDS]: Make code unconditional.
24765 [!__ASSUME_32BITUIDS]: Remove conditional code.
24766 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24767 <kernel-features.h>.
24768 [__ASSUME_32BITUIDS]: Make code unconditional.
24769 [!__ASSUME_32BITUIDS]: Remove conditional code.
24770 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24771 <kernel-features.h>.
24772 [__ASSUME_32BITUIDS]: Make code unconditional.
24773 [!__ASSUME_32BITUIDS]: Remove conditional code.
24774 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24775 <kernel-features.h>.
24776 [__ASSUME_32BITUIDS]: Make code unconditional.
24777 [!__ASSUME_32BITUIDS]: Remove conditional code.
24778 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24779 <kernel-features.h>.
24780 [__ASSUME_32BITUIDS]: Make code unconditional.
24781 [!__ASSUME_32BITUIDS]: Remove conditional code.
24782 * sysdeps/unix/sysv/linux/kernel-features.h
24783 (__ASSUME_SETRESUID_SYSCALL): Remove.
24784 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24785 (__ASSUME_32BITUIDS): Likewise.
24786 (__ASSUME_LDT_WORKS): Likewise.
24787 (__ASSUME_O_DIRECTORY): Likewise.
24788 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24789 architecture but not kernel version.
24790 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24791 (__ASSUME_MMAP2_SYSCALL): Likewise.
24792 (__ASSUME_STAT64_SYSCALL): Likewise.
24793 (__ASSUME_IPC64): Likewise.
24794 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24795 <kernel-features.h>.
24796 [__ASSUME_32BITUIDS]: Make code unconditional.
24797 [!__ASSUME_32BITUIDS]: Remove conditional code.
24798 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24799 <kernel-features.h>.
24800 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24801 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24802 132096]: Remove conditional code.
24803 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24804 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24805 <kernel-features.h>.
24806 [__ASSUME_32BITUIDS]: Make code unconditional.
24807 [!__ASSUME_32BITUIDS]: Remove conditional code.
24808 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24809 <kernel-features.h>.
24810 [__ASSUME_32BITUIDS]: Make code unconditional.
24811 [!__ASSUME_32BITUIDS]: Remove conditional code.
24812 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24813 <kernel-features.h>.
24814 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24816 (__setresgid): Do not declare.
24817 [__ASSUME_32BITUIDS]: Make code unconditional.
24818 [!__ASSUME_32BITUIDS]: Remove conditional code.
24819 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24820 <kernel-features.h>.
24821 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24823 (__setresuid): Do not declare.
24824 [__ASSUME_32BITUIDS]: Make code unconditional.
24825 [!__ASSUME_32BITUIDS]: Remove conditional code.
24826 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24827 <kernel-features.h>.
24828 [__ASSUME_32BITUIDS]: Make code unconditional.
24829 [!__ASSUME_32BITUIDS]: Remove conditional code.
24830 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24831 <kernel-features.h>.
24832 [__ASSUME_32BITUIDS]: Make code unconditional.
24833 [!__ASSUME_32BITUIDS]: Remove conditional code.
24835 2012-05-25 Richard Henderson <rth@twiddle.net>
24837 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24838 dl_hwcap to ifunc resolver.
24839 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24841 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24842 dl_hwcap to ifunc resolver.
24843 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24845 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24848 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24849 for |x| <= 2**-26, not 2**-57.
24850 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24853 2012-05-24 Jeff Law <law@redhat.com>
24855 * stdio-common/Makefile (tests): Add bug25.
24856 * stdio-common/bug25.c: New test.
24858 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24861 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24862 multiple of MALLOC_ALIGNMENT in size.
24863 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24865 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24867 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24869 (FILENAME_MAX): Use macro-int-constant.
24870 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24871 (_IOFBF): Use macro-int-constant.
24872 (_IOLBF): Likewise.
24873 (_IONBF): Likewise.
24874 (SEEK_CUR): Likewise.
24875 (SEEK_END): Likewise.
24876 (SEEK_SET): Likewise.
24877 (TMP_MAX): Likewise.
24878 (EOF): Use macro-int-constant. Require < 0.
24879 (NULL): Use macro-constant. Require == 0.
24880 (stdin): Require type to be FILE *.
24881 (stdout): Likewise.
24882 (stderr): Likewise.
24883 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24884 macro-int-constant.
24885 (EXIT_SUCCESS): Likewise.
24886 (NULL): Use macro-constant. Require == 0.
24887 (RAND_MAX): Use macro-int-constant.
24888 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24889 [C99-based standards] (strtof): Require function.
24890 [C99-based standards] (strtold): Likewise.
24891 [C99-based standards] (strtoll): Likewise.
24892 [C99-based standards] (strtoull): Likewise.
24893 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24894 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24895 [ISO || ISO99 || ISO11] (math.h): Likewise.
24896 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24897 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24900 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24903 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24904 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24905 * intl/dgettext.c (DCGETTEXT): Likewise.
24906 * intl/gettext.c (DCGETTEXT): Likewise.
24907 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24908 * posix/regex_internal.h (gettext): Likewise.
24909 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24910 Remove declaration.
24911 * include/argz.h (__argz_count_internal)
24912 (__argz_stringify_internal): Remove declaration.
24913 (__argz_count, __argz_stringify): Declare hidden proto.
24914 * intl/dcgettext.c: Remove use of INTDEF.
24915 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24916 * string/argz-stringify.c: Likewise.
24917 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24918 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24919 Declare hidden proto.
24920 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24921 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24922 Declare hidden proto.
24923 * include/stdio.h (__asprintf_internal): Don't declare.
24924 (__asprintf): Don't define as macro. Declare hidden proto.
24925 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24926 (__fsetlocking): Declare hidden proto.
24927 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24928 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24930 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24931 (_IO_setlinebuf): Remove use of INTUSE.
24932 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24933 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24934 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24935 Remove declaration.
24936 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24937 (_IO_do_flush): Remove use of INTUSE.
24938 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24939 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24940 (_IO_adjust_column, _IO_least_wmarker)
24941 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24942 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24943 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24944 (_IO_default_doallocate, _IO_wdefault_doallocate)
24945 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24946 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24947 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24948 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24949 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24950 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24951 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24952 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24953 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24954 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24955 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24956 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24957 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24959 (_IO_flush_all_internal, _IO_adjust_column_internal)
24960 (_IO_default_uflow_internal, _IO_default_finish_internal)
24961 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24962 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24963 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24964 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24965 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24966 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24967 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24968 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24969 (_IO_file_close_internal, _IO_file_close_it_internal)
24970 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24971 (_IO_file_init_internal, _IO_file_attach_internal)
24972 (_IO_file_fopen_internal, _IO_file_read_internal)
24973 (_IO_file_sync_internal, _IO_file_seek_internal)
24974 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24975 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24976 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24977 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24978 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24979 (_IO_list_all_internal, _IO_link_in_internal)
24980 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24981 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24982 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24983 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24984 (_IO_do_write_internal, _IO_padn_internal)
24985 (_IO_getline_info_internal, _IO_getline_internal)
24986 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24987 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24988 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24989 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24990 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24991 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24992 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24993 with libc_hidden_ver, remove use of INTUSE.
24994 * libio/genops.c: Likewise.
24995 * libio/freopen.c: Likewise.
24996 * libio/freopen64.c: Likewise.
24997 * libio/iofclose.c: Likewise.
24998 * libio/iofdopen.c: Likewise.
24999 * libio/iofflush.c: Likewise.
25000 * libio/iofflush_u.c: Likewise.
25001 * libio/iofgets.c: Likewise.
25002 * libio/iofgets_u.c: Likewise.
25003 * libio/iofopen.c: Likewise.
25004 * libio/iofopncook.c: Likewise.
25005 * libio/iofread.c: Likewise.
25006 * libio/iofread_u.c: Likewise.
25007 * libio/ioftell.c: Likewise.
25008 * libio/iofwrite.c: Likewise.
25009 * libio/iogetline.c: Likewise.
25010 * libio/iogets.c: Likewise.
25011 * libio/iogetwline.c: Likewise.
25012 * libio/iopadn.c: Likewise.
25013 * libio/iopopen.c: Likewise.
25014 * libio/ioseekoff.c: Likewise.
25015 * libio/ioseekpos.c: Likewise.
25016 * libio/iosetbuffer.c: Likewise.
25017 * libio/iosetvbuf.c: Likewise.
25018 * libio/ioungetc.c: Likewise.
25019 * libio/ioungetwc.c: Likewise.
25020 * libio/iovdprintf.c: Likewise.
25021 * libio/iovsprintf.c: Likewise.
25022 * libio/iovsscanf.c: Likewise.
25023 * libio/memstream.c: Likewise.
25024 * libio/obprintf.c: Likewise.
25025 * libio/oldfileops.c: Likewise.
25026 * libio/oldiofclose.c: Likewise.
25027 * libio/oldiofdopen.c: Likewise.
25028 * libio/oldiofopen.c: Likewise.
25029 * libio/oldiopopen.c: Likewise.
25030 * libio/oldstdfiles.c: Likewise.
25031 * libio/putc.c: Likewise.
25032 * libio/setbuf.c: Likewise.
25033 * libio/setlinebuf.c: Likewise.
25034 * libio/stdfiles.c: Likewise.
25035 * libio/strops.c: Likewise.
25036 * libio/vasprintf.c: Likewise.
25037 * libio/vscanf.c: Likewise.
25038 * libio/vsnprintf.c: Likewise.
25039 * libio/vswprintf.c: Likewise.
25040 * libio/wfiledoalloc.c: Likewise.
25041 * libio/wfileops.c: Likewise.
25042 * libio/wgenops.c: Likewise.
25043 * libio/wmemstream.c: Likewise.
25044 * libio/wstrops.c: Likewise.
25045 * libio/__fpurge.c: Likewise.
25046 * libio/__fsetlocking.c: Likewise.
25047 * assert/assert.c: Likewise.
25048 * debug/fgets_chk.c: Likewise.
25049 * debug/fgets_u_chk.c: Likewise.
25050 * debug/fread_chk.c: Likewise.
25051 * debug/fread_u_chk.c: Likewise.
25052 * debug/gets_chk.c: Likewise.
25053 * debug/obprintf_chk.c: Likewise.
25054 * debug/vasprintf_chk.c: Likewise.
25055 * debug/vdprintf_chk.c: Likewise.
25056 * debug/vsnprintf_chk.c: Likewise.
25057 * debug/vsprintf_chk.c: Likewise.
25058 * malloc/mtrace.c: Likewise.
25059 * misc/error.c: Likewise.
25060 * misc/syslog.c: Likewise.
25061 * stdio-common/asprintf.c: Likewise.
25062 * stdio-common/fxprintf.c: Likewise.
25063 * stdio-common/getw.c: Likewise.
25064 * stdio-common/isoc99_fscanf.c: Likewise.
25065 * stdio-common/isoc99_scanf.c: Likewise.
25066 * stdio-common/isoc99_vfscanf.c: Likewise.
25067 * stdio-common/isoc99_vscanf.c: Likewise.
25068 * stdio-common/isoc99_vsscanf.c: Likewise.
25069 * stdio-common/printf-prs.c: Likewise.
25070 * stdio-common/printf_fp.c: Likewise.
25071 * stdio-common/printf_fphex.c: Likewise.
25072 * stdio-common/printf_size.c: Likewise.
25073 * stdio-common/putw.c: Likewise.
25074 * stdio-common/scanf.c: Likewise.
25075 * stdio-common/sprintf.c: Likewise.
25076 * stdio-common/tmpfile.c: Likewise.
25077 * stdio-common/vfprintf.c: Likewise.
25078 * stdio-common/vfscanf.c: Likewise.
25079 * stdlib/strfmon_l.c: Likewise.
25080 * sunrpc/openchild.c: Likewise.
25081 * sunrpc/xdr_stdio.c: Likewise.
25082 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25083 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25085 2012-05-24 Roland McGrath <roland@hack.frob.com>
25087 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25089 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25090 in the third column, to generate for the shared library an IFUNC
25091 that uses _dl_vdso_vsym.
25092 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25093 * Makeconfig (object-suffixes-noshared): New variable.
25095 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25096 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25097 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25098 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25101 * include/sys/time.h (__gettimeofday): Remove macro.
25102 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25103 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25105 (__gettimeofday): Add libc_hidden_def.
25106 (gettimeofday): Add libc_hidden_weak.
25107 * sysdeps/mach/gettimeofday.c: Likewise.
25108 * sysdeps/posix/gettimeofday.c: Likewise.
25109 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25110 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25112 (__gettimeofday_internal): Remove strong_alias.
25113 (__gettimeofday): Add libc_hidden_def.
25114 (gettimeofday): Add libc_hidden_weak.
25115 * sysdeps/unix/syscalls.list (gettimeofday):
25116 Remove __gettimeofday_internal alias.
25118 2012-05-24 Daniel Jacobowitz <drow@false.org>
25119 H.J. Lu <hongjiu.lu@intel.com>
25122 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25123 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25124 (largebin_index_32_big): New.
25125 (largebin_index): Use it for 16-byte alignment.
25126 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25127 correction with front_misalign.
25129 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25157 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25158 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25160 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25164 * math/libm-test.inc (exp_test): Add test from bug 14036.
25165 (pow_test): Add test from bug 10846.
25167 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25169 (special_function): Do not include flags in test name.
25170 (parse_args): Likewise.
25171 * sysdeps/i386/fpu/libm-test-ulps: Update.
25172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25173 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25177 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25179 * math/libm-test.inc ("Philosophy"): Update comment about
25181 (UNDERFLOW_EXCEPTION): New macro.
25182 (UNDERFLOW_EXCEPTION_OK): Likewise.
25183 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25184 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25185 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25186 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25187 (INVALID_EXCEPTION_OK): Update value.
25188 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25189 (OVERFLOW_EXCEPTION_OK): Likewise.
25190 (IGNORE_ZERO_INF_SIGN): Likewise.
25191 (test_exceptions): Handle underflow exceptions.
25192 (acos_test): Update for underflow exception expectations.
25193 (cexp_test): Likewise.
25194 (clog_test): Likewise.
25195 (clog10_test): Likewise.
25196 (csqrt_test): Likewise.
25197 (ctan_test): Likewise.
25198 (ctanh_test): Likewise.
25199 (exp_test): Likewise.
25200 (exp10_test): Likewise.
25201 (exp2_test): Likewise.
25202 (expm1_test): Likewise.
25203 (fma_test): Likewise.
25204 (j0_test): Likewise.
25205 (jn_test): Likewise.
25206 (nexttoward_test): Likewise.
25207 (pow_test): Likewise.
25208 (scalbn_test): Likewise.
25209 (scalbln_test): Likewise.
25210 (tan_test): Likewise.
25211 (y1_test): Likewise.
25212 * sysdeps/i386/fpu/libm-test-ulps: Update.
25213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25215 2012-05-23 David S. Miller <davem@davemloft.net>
25217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25218 (__libc_sigaction): Remove unused local variables.
25220 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25222 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25224 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25226 mktime: avoid signed integer overflow
25227 * time/mktime.c (__mktime_internal): Do not mishandle the case
25228 where diff == INT_MIN.
25230 mktime: simplify computation of average
25231 * time/mktime.c (ranged_convert): Use new time_t_avg function
25232 instead of rolling our own (probably-slower) code.
25234 mktime: do not assume signed right shift propagates sign bit
25235 * time/mktime.c (isdst_differ): New static function.
25236 (__mktime_internal): No need to normalize tm_isdst now.
25237 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25240 mktime: merge another wrapv change from gnulib
25241 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25242 from some compilers.
25244 mktime: remove incorrect attempt at unusual arithmetics
25245 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25246 The code didn't really work on such machines anyway.
25247 (TYPE_MINIMUM): Assume two's complement.
25248 (twos_complement_arithmetic): Verify that long_int and time_t
25249 are two's complement (or unsigned, in the latter case).
25251 mktime: check signed shifts on long_int and time_t, too
25252 * time/mktime.c (SHR): Check that shifts work as desired
25253 on the types long_int and time_t too, as SHR is used on
25256 mktime: do not assume 'long' is wide enough
25257 * time/mktime.c (verify): Move decl up.
25258 (long_int): New type.
25259 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25260 to remove assumption in the code that 'long' is wide enough to
25261 store year values. This assumption is not true on x32 and on
25262 some non-glibc platforms.
25264 mktime: merge wrapv change from gnulib
25265 * time/mktime.c (WRAPV): New macro.
25266 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25267 (guess_time_tm, __mktime_internal): Do not assume that signed
25268 integer overflow wraps around; modern compilers generate code
25269 where this assumption is no longer valid.
25271 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25273 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25274 Replace "jmp L(pseudo_end)" with "ret".
25275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25278 2012-05-23 Andreas Jaeger <aj@suse.de>
25280 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25281 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25283 2012-05-23 Andreas Jaeger <aj@suse.de>
25284 Maximilian Attems <max@stro.at>
25286 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25289 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25292 code so that pseudo_end is just ret and the stack pointer is
25293 correct also for static library in error case.
25295 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25297 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25298 move to syscalls.list.
25299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25304 * manual/install.texi (Running make install): Do not mention Linux
25305 kernel version for which pt_chown is not needed.
25306 (Linux): Do not mention problems with nscd with 2.0 kernels.
25307 * INSTALL: Regenerated.
25309 2012-05-23 Andreas Jaeger <aj@suse.de>
25311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25312 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25314 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25316 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25317 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25318 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25319 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25321 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25322 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25324 * sysdeps/unix/sysv/linux/bits/in.h
25325 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25327 2012-05-22 Roland McGrath <roland@hack.frob.com>
25329 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25330 (PREPARE_VERSION): Just use assert instead, it will be elided
25331 under [NDEBUG] anyway.
25333 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25335 * sysdeps/unix/sysv/linux/Makefile: Include
25336 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25337 (sysdep_routines): Remove sysctl.
25338 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25339 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25340 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25341 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25342 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25344 2012-05-22 Andreas Jaeger <aj@suse.de>
25346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25347 that pseudo_end is just ret and the stack pointer is correct also
25348 for static library in error case.
25350 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25353 * nss/nsswitch.c (defconfig_entries): New variable.
25354 (__nss_database_lookup): Don't leak defconfig entries.
25355 (nss_parse_service_list): Don't leak on error paths.
25356 (free_database_entries): New function.
25357 (free_defconfig): New function.
25358 (free_mem): Move common code to free_database_entries.
25360 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25362 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25364 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25366 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25367 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25370 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25371 (INTERNAL_SYSCALL_TYPES): Likewise.
25372 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25373 (LOAD_REGS_TYPES_[1-6]): Likewise.
25374 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25375 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25377 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25379 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25380 copysignl for GLIBC_2_0.
25381 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25382 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25384 logbl for GLIBC_2_0.
25385 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25388 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25391 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25393 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25396 * time/mktime.c: Update copyright years.
25398 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25400 mktime: merge comment-quoting-style change from gnulib
25401 * time/mktime.c: Quote 'like this' in comments.
25402 The GNU coding standards suggest that we no longer quote `like this',
25403 as "`" and "'" are typically rendered asymmetrically nowadays.
25404 The typical gnulib style is to quote 'like this' when quoting
25405 code, and "like this" when quoting English.
25407 * time/mktime.c (compile-command): Add "-I.".
25409 mktime: merge mktime-internal.h change from gnulib
25410 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25412 mktime: merge time_r change from gnulib
25413 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25415 mktime: merge DEBUG change from gnulib
25416 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25417 case system <time.h> has a #define.
25419 mktime: merge <sys/types.h> change from gnulib
25420 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25421 since <time.t> is now guaranteed to define time_t.
25423 mktime: merge HAVE_CONFIG_H change from gnulib
25424 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25426 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25431 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25433 (struct rusage): Use anonymous union to pad each field to
25436 2012-05-21 David S. Miller <davem@davemloft.net>
25438 * Makefules (o-iterator): Remove .s cases.
25439 (compile-command.s): Delete.
25440 (COMPILE.s): Delete.
25441 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25443 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25445 * configure.in (libc_cv_predef_stack_protector): Only consider
25446 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25447 * configure: Regenerated.
25449 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25452 New macro. Use R*LP on int and pointer.
25453 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25455 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25456 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25458 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25459 [__WORDSIZE_TIME64_COMPAT32] instead of
25460 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25461 (struct utmp): Likewise.
25462 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25463 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25465 (__WORDSIZE_TIME64_COMPAT32): This.
25466 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25467 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25468 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25469 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25470 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25471 (__WORDSIZE_TIME64_COMPAT32): New macro.
25473 2012-05-21 Andreas Jaeger <aj@suse.de>
25475 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25476 only if [SHARED]. Add prototype for __wcschr_ia32.
25478 2012-05-21 Roland McGrath <roland@hack.frob.com>
25480 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25481 of %rbp unmolested in the jmp_buf while mangling the low bits.
25482 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25483 unmolested high bits of %rbp while demangling the low bits.
25484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25486 2012-05-21 Andreas Jaeger <aj@suse.de>
25488 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25489 * sunrpc/svc_simple.c: Use it for registerrpc.
25490 * sunrpc/xcrypt.c: Use it for passwd2des.
25492 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25494 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25496 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25497 Don't define if [__SYSCALL_WORDSIZE != 32].
25498 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25501 2012-05-21 Bruno Haible <bruno@clisp.org>
25502 Andreas Jaeger <aj@suse.de>
25504 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25505 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25506 inptr and inend for must_buffer_ch.
25507 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25508 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25509 * stdio-common/Makefile (tests): Remove bug15.
25510 (bug15-ENV): Remove macro.
25511 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25514 2012-05-19 Andreas Jaeger <aj@suse.de>
25515 Roland McGrath <roland@hack.frob.com>
25517 * manual/contrib.texi: Completely rewritten. It contains now an
25518 alphabetical list of contributors and their contributions.
25520 2012-05-21 Richard Henderson <rth@twiddle.net>
25522 * misc/getauxval.c (__getauxval): Use unsigned long int.
25523 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25524 (getauxval): Use unsigned long int.
25526 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25528 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25530 2012-05-21 Roland McGrath <roland@hack.frob.com>
25532 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25533 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25534 __alignof__ (long double).
25536 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25540 2012-05-20 Richard Henderson <rth@twiddle.net>
25542 * misc/getauxval.c: New file.
25543 * misc/sys/auxv.h: New file.
25544 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25545 (routines): Add getauxval.
25546 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25547 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25548 * elf/dl-sysdep.c (_dl_auxv): Remove.
25549 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25550 * elf/dl-support.c (_dl_auxv): New variable.
25551 (_dl_aux_init): Initialize it.
25552 * manual/startup.texi (Auxiliary Vector): New node.
25553 * sysdeps/generic/bits/hwcap.h: New file.
25554 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25555 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25556 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25557 * sysdeps/sparc/sysdep.h: ... here. Include it.
25558 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25571 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25575 2012-05-19 David S. Miller <davem@davemloft.net>
25577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25579 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25582 * math/s_ccosh.c: Include <float.h>
25583 (__ccosh): Avoid internal overflow calculating sinh and cosh
25584 values before multiplying by sin and cos values.
25585 * math/s_ccoshf.c: Likewise.
25586 * math/s_ccoshl.c: Likewise.
25587 * math/s_csin.c: Likewise.
25588 * math/s_csinf.c: Likewise.
25589 * math/s_csinl.c: Likewise.
25590 * math/s_csinh.c: Likewise.
25591 * math/s_csinhf.c: Likewise.
25592 * math/s_csinhl.c: Likewise.
25593 * math/libm-test.inc (ccos_test): Add more tests.
25594 (ccosh_test): Likewise.
25595 (csin_test): Likewise.
25596 (csinh_test): Likewise.
25597 * sysdeps/i386/fpu/libm-test-ulps: Update.
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25602 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25603 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25605 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25607 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25609 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25610 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25611 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25612 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25613 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25614 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25615 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25616 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25617 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25618 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25619 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25620 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25621 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25622 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25623 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25624 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25625 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25626 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25627 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25628 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25629 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25630 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25631 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25632 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25633 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25634 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25635 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25636 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25637 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25638 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25639 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25641 2012-05-18 Andreas Jaeger <aj@suse.de>
25643 * csu/.gitignore: Delete.
25645 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25647 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25648 (timex): Use __syscall_slong_t.
25650 2012-05-18 Andreas Jaeger <aj@suse.de>
25651 Carlos O'Donell <carlos_odonell@mentor.com>
25653 * manual/install.texi (Configuring and compiling): Update
25654 description about files modified in the source directory.
25655 * INSTALL: Regenerated.
25657 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25659 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25660 value. Use "or" to set return value to -1.
25661 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25662 negate return value.
25664 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25666 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25667 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25668 failure if the compiler has Graphite support disabled.
25669 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25671 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25672 CFLAGS-memmove.c): Likewise.
25673 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25676 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25678 * sysdeps/x86_64/x32/_itoa.h: New file.
25680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25681 getdents system call only if kernel and user dirents have the
25682 same d_ino and d_off.
25684 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25685 LLONG_MAX != LONG_MAX.
25686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25687 (_fitoa_word): Likewise.
25689 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25691 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25692 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25693 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25695 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25696 include <bits/wordsize.h>. Check __x86_64__ instead of
25698 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25699 if __x86_64__ is defined. Use anonymous union on fpstate.
25701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25704 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25706 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25707 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25708 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25709 Refer to _rtld_local_ro instead of _rtld_global_ro.
25710 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25712 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25714 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25716 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25717 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25718 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25720 * sysdeps/powerpc/powerpc32/dl-machine.c
25721 (__elf_machine_runtime_setup) [PROF]: Don't reference
25724 2012-05-18 Andreas Jaeger <aj@suse.de>
25726 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25727 function only available for GCCs before 3.4 since GCC 3.4
25728 introduced a builtin.
25730 (llrintf): Likewise.
25731 (llrint): Likewise.
25738 (nearbyint): Likewise.
25739 (nearbyintf): Likewise.
25743 (floorf): Likewise.
25745 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25747 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25748 on both fields and cast pointer to __syscall_ulong_t.
25750 * bits/types.h (__fsword_t): New type.
25751 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25752 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25754 (__FSWORD_T_TYPE): Likewise.
25755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25756 (__FSWORD_T_TYPE): Likewise.
25757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25758 (__FSWORD_T_TYPE): Likewise.
25759 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25760 (__FSWORD_T_TYPE): Likewise.
25761 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25762 __SWORD_TYPE with __fsword_t.
25763 (statfs64): Likewise.
25765 2012-05-17 David S. Miller <davem@davemloft.net>
25767 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25769 2012-05-17 Andreas Jaeger <aj@suse.de>
25771 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25774 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25776 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25778 2012-05-17 Andreas Jaeger <aj@suse.de>
25780 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25783 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25785 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25787 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25789 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25790 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25792 2012-05-17 Andreas Jaeger <aj@suse.de>
25793 Carlos O'Donell <carlos_odonell@mentor.com>
25796 * sysdeps/x86_64/multiarch/init-arch.h
25797 (bit_YMM_Usable): Rename to...
25798 (bit_AVX_Usable): ... this.
25799 (bit_FMA4_Usable): New macro.
25800 (bit_XMM_state): New macro.
25801 (bit_YMM_state): New macro.
25802 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25803 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25804 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25805 (CPUID_OSXSAVE): New macro.
25806 (CPUID_AVX): New macro.
25807 (CPUID_FMA4): New macro.
25808 (index_YMM_Usable): Rename to...
25809 (index_AVX_Usable): ... this.
25810 (HAS_AVX): Use HAS_ARCH_FEATURE.
25811 (HAS_FMA4): Likewise.
25812 (HAS_YMM_USABLE): Remove.
25813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25814 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25816 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25817 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25818 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25819 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25820 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25822 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25824 * math/libm-test.c: Support platforms without multiple rounding modes.
25825 * math/bug-nextafter.c: Support platforms without FP exceptions.
25826 * math/bug-nexttoward.c: Likewise.
25827 * math/test-fenv.c: Likewise.
25828 * math/test-misc.c: Likewise.
25829 * stdlib/bug-getcontext.c: Likewise.
25831 2012-05-17 Andreas Jaeger <aj@suse.de>
25833 * manual/examples/search.c (critter_cmp): Change signature to
25835 * manual/string.texi (Collation Functions): Likewise.
25837 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25839 * bits/types.h: Fold copyright years.
25840 * bits/typesizes.h: Likewise.
25841 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25845 * time/time.h: Likewise.
25847 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25850 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25851 in instead of returning them. Return void.
25852 (__libc_mallinfo): Accumulate over all arenas.
25853 (__malloc_stats): Adjust for change in int_mallinfo interface.
25855 2012-05-16 Roland McGrath <roland@hack.frob.com>
25858 * configure.in (NM): Add AC_CHECK_TOOL for it.
25859 (libc_extra_cflags): New substituted variable.
25860 Check for -fstack-protector being used implicitly.
25861 * configure: Regenerated.
25862 * config.make.in (config-extra-cflags): New variable,
25863 gets @libc_extra_cflags@.
25864 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25867 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25868 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25869 * configure: Regenerated.
25870 * config.make.in (CPPUNDEFS): New substituted variable.
25871 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25872 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25873 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25877 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25878 (mq_attr): Use __syscall_slong_t.
25880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25883 Check __x86_64__ instead of __WORDSIZE.
25884 (_STAT_VER_LINUX): Likewise.
25885 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25886 __syscall_ulong_t and __syscall_slong_t.
25887 (stat64): Likewise.
25889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25893 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25895 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25899 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25902 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25903 include <bits/wordsize.h>. Check __x86_64__ instead of
25905 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25907 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25910 include <bits/wordsize.h>. Check __x86_64__ instead of
25912 (user_regs_struct): Use "__extension__ unsigned long long"
25913 instead of "unsigned long" if __x86_64__ is defined.
25914 (user): Likewise. Pad after pointer field if __ILP32__ is
25917 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25919 * configure.in (makeinfo): Require version 4.5 or later. Allow
25921 * configure: Regenerated.
25922 * manual/install.texi (texinfo): Increase version requirement to
25924 * INSTALL: Regenerated.
25926 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25928 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25930 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25932 * sysdeps/x86_64/x32/ffs.c: New file.
25934 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25936 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25937 defined. Use __syscall_ulong_t.
25938 (shminfo): Use __syscall_ulong_t.
25939 (shm_info): Likewise.
25941 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25944 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25946 (msgqnum_t): Use __syscall_ulong_t.
25947 (msglen_t): Likewise.
25948 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25951 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25952 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25954 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25956 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25957 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25959 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25962 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25963 include <bits/wordsize.h>. Check __x86_64__ instead of
25966 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25967 "unsigned long long int" if __x86_64__ is defined.
25968 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25971 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25972 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25976 (GET_PC): Cast to uintptr_t first.
25977 (GET_FRAME): Likewise.
25978 (GET_STACK): Likewise.
25980 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25982 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25987 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25988 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25989 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25990 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25991 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25992 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25993 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25995 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25996 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25997 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25998 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25999 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26000 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26005 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26007 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26010 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26012 * Makerules (+depfiles): Also collect depfiles from .oS in
26014 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26015 .oS, $(libnldbl-routines)).
26017 * Makerules (native-compile-mkdep-flags): Define.
26018 * sunrpc/Makefile (extra-objs): Add $(addprefix
26019 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26020 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26021 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26022 calling $(make-target-directory).
26024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26026 * bits/types.h (__snseconds_t): Removed.
26027 * time/time.h (struct timespec): Replace __snseconds_t with
26029 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26030 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26033 (__SNSECONDS_T_TYPE): Likewise.
26034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26035 (__SNSECONDS_T_TYPE): Likewise.
26036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26037 (__SNSECONDS_T_TYPE): Likewise.
26039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26041 * sysdeps/mach/hurd/bits/typesizes.h
26042 (__SYSCALL_SLONG_TYPE): New macro.
26043 (__SYSCALL_ULONG_TYPE): Likewise.
26045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26047 * bits/types.h (__syscall_slong_t): New type.
26048 (__syscall_ulong_t): Likewise.
26050 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26051 (__SYSCALL_ULONG_TYPE): Likewise.
26052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26053 (__SYSCALL_SLONG_TYPE): Likewise.
26054 (__SYSCALL_ULONG_TYPE): Likewise.
26055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26056 (__SYSCALL_SLONG_TYPE): Likewise.
26057 (__SYSCALL_ULONG_TYPE): Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26059 (__SYSCALL_SLONG_TYPE): Likewise.
26060 (__SYSCALL_ULONG_TYPE): Likewise.
26062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26064 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26065 Add sigaltstack-offsets.sym.
26066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26067 <sigaltstack-offsets.h>.
26068 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26069 longjmp_msg pointer.
26070 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26071 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26073 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26075 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26077 * elf/stackguard-macros.h: Remove file.
26078 * sysdeps/generic/stackguard-macros.h: New file.
26079 * sysdeps/i386/stackguard-macros.h: Likewise.
26080 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26081 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26082 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26083 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26084 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26085 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26086 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26087 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26088 <elf/stackguard-macros.h>.
26091 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26092 __aligned__ in attribute.
26093 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26094 (gregset_t): Likewise.
26096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26098 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26099 * sysdeps/x86_64/64/Implies-after: Here. New file.
26100 * sysdeps/x86_64/x32/Implies-after: New file.
26102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26104 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26105 and access return value for _dl_profile_fixup. Use R10_LP to
26108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26110 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26114 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26115 * sysdeps/x86_64/x32/sysdep.h: New file.
26117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26119 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26120 * sysdeps/x86_64/setjmp.S: Likewise.
26122 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26124 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26125 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26126 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26128 remove unused global constant.
26130 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26132 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26133 include of <not-cancel.h>.
26135 2012-05-15 Roland McGrath <roland@hack.frob.com>
26137 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26139 2012-05-15 Jeff Law <law@redhat.com>
26140 Andreas Jaeger <aj@suse.de>
26143 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26145 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26146 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26147 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26148 code changing __hst_map_handle.map.
26150 2012-05-15 Roland McGrath <roland@hack.frob.com>
26152 * configure.in (sysnames): Look for Implies-before and Implies-after
26154 * configure: Regenerated.
26156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26158 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26159 8-byte data alignment with LP_SIZE alignment.
26161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26163 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26168 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26172 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26173 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26174 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26176 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26180 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26181 (stackinfo_sub_sp): Likewise.
26183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26200 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26204 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26205 into R11_LP and load __x86_64_shared_cache_size_half into
26208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26210 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26213 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26221 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26222 powerpc32/power7/fpu/s_logb.c via #include.
26223 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26224 powerpc32/power7/fpu/s_logbf.c via #include.
26225 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26226 powerpc32/power7/fpu/s_logbl.c via #include.
26228 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26230 * README.libm: Remove file.
26232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26234 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26235 count for x32. Use R*_LP and omit operand-size suffix.
26237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26239 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26240 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26241 * sysdeps/x86_64/x32/shlib-versions: New file.
26243 2012-05-14 Roland McGrath <roland@hack.frob.com>
26245 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26246 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26247 Use _dl_fatal_printf instead.
26249 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26251 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26252 set if not set by the user. Do not allow for being unset.
26253 * sysdeps/unix/sysv/linux/configure: Regenerated.
26255 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26257 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26258 the `q' suffix from lea and replace .quad with ASM_ADDR.
26260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26263 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26265 (PTR_DEMANGLE): Likewise.
26267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26269 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26271 (ASM_ADDR): Likewise.
26272 (RAX_LP): Likewise.
26273 (RBP_LP): Likewise.
26274 (RBX_LP): Likewise.
26275 (RCX_LP): Likewise.
26276 (RDI_LP): Likewise.
26277 (RSI_LP): Likewise.
26278 (RSP_LP): Likewise.
26281 (R10_LP): Likewise.
26282 (R10_LP): Likewise.
26283 (R11_LP): Likewise.
26284 (R12_LP): Likewise.
26285 (R13_LP): Likewise.
26286 (R14_LP): Likewise.
26287 (R15_LP): Likewise.
26289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26291 * sysdeps/x86_64/x32/dl-machine.h: New file.
26293 2012-05-14 Andreas Jaeger <aj@suse.de>
26295 * manual/Makefile (subdir): Remove export of subdir.
26296 (all): Remove target.
26297 (.PHONY): Remove all from list.
26298 (mkinstalldirs): Remove.
26299 (.PHONY): Remove installdirs from list.
26300 ($(inst_infodir)/libc.info): Use make-target-directory.
26301 (installdirs): Remove.
26302 (subdir_%): Remove.
26303 (glibc-targets): Remove.
26306 ($(objpfx)stubs ../po/manual.pot): Remove.
26307 ($(objpfx)stamp%): Remove.
26308 (make-target-directory): Remove.
26309 (subdir_install): Remove.
26310 (routines): Remove.
26317 * manual/.gitignore: Remove, it's not needed anymore.
26318 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26320 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26322 (texis): Renamed to $(objpfx)texis.
26323 (texis-path): New, contains path to generated files.
26324 (chapters.%): Use texis-path for complete path, add extra argument
26326 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26327 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26328 (summary,texi, stamp-summary): Use complete path of
26329 files. Generate files in build dir.
26330 (dir-add.texi): Build in build dir.
26331 (libm-err.texi,stamp-libm-err): Likewise.
26332 (version.texi, stamp-version): Likewise.
26333 (.%c.texi): Likewise.
26334 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26335 (mostlyclean): Remove target.
26336 (realclean): Remove target.
26337 (generated): Add new variable with contents from mostlyclean and
26338 realclean, remove entries duplicated in common-mostlyclean, add
26339 stamp-libm-err and stamp-version.
26340 (generated-dirs): Add libc directory.
26341 ($(inst_infodir)/libc.info): Install files from build dir.
26343 * manual/install.texi (Configuring and compiling): Adjust since
26344 the info files are not part of the tar ball anymore.
26346 2012-05-14 Andreas Jaeger <aj@suse.de>
26348 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26351 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26355 to 2.2.0 where earlier.
26356 * sysdeps/unix/sysv/linux/configure: Regenerated.
26357 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26358 Remove conditional code.
26359 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26360 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26361 Remove conditional code.
26362 [!__NR_lchown]: Likewise.
26363 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26364 [__NR_lchown]: Likewise.
26365 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26366 comment referencing __ASSUME_LCHOWN_SYSCALL.
26367 * sysdeps/unix/sysv/linux/i386/sigaction.c
26368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26370 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26371 Remove conditional code.
26372 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26373 (__protocol_available): Remove #if 0 code.
26374 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26376 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26377 * sysdeps/unix/sysv/linux/kernel-features.h
26378 (__ASSUME_GETCWD_SYSCALL): Don't define.
26379 (__ASSUME_REALTIME_SIGNALS): Likewise.
26380 (__ASSUME_PREAD_SYSCALL): Likewise.
26381 (__ASSUME_PWRITE_SYSCALL): Likewise.
26382 (__ASSUME_POLL_SYSCALL): Likewise.
26383 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26384 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26386 (__ASSUME_SIOCGIFNAME): Don't define.
26387 (__ASSUME_MSG_NOSIGNAL): Likewise.
26388 (__ASSUME_SENDFILE): Define unconditionally.
26389 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26390 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26392 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26393 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26394 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26395 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26396 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26397 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26398 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26400 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26403 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26406 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26409 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26412 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26413 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26418 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26423 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26424 Remove conditional code.
26425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26426 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26427 Remove conditional code.
26428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26429 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26430 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26431 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26432 Remove conditional code.
26433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26434 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26435 Remove conditional code.
26436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26437 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26438 Remove conditional code.
26439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26440 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26441 Remove conditional code.
26442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26443 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26444 Remove conditional code.
26445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26446 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26447 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26449 * sysdeps/unix/sysv/linux/sigaction.c
26450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26452 * sysdeps/unix/sysv/linux/sigpending.c
26453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26455 * sysdeps/unix/sysv/linux/sigprocmask.c
26456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26458 * sysdeps/unix/sysv/linux/sigsuspend.c
26459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26462 (__libc_missing_rt_sigs): Remove.
26463 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26464 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26465 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26466 Remove conditional code.
26467 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26468 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26471 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26472 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26473 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26475 2012-05-14 Andreas Jaeger <aj@suse.de>
26477 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26478 it's not used in glibc.
26479 (__coshm1): Likewise.
26480 (__acosh1p): Likewise.
26483 * manual/string.texi (Copying and Concatenation): Add missing
26484 variable in concat example.
26485 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26491 __builtin_clzl with __builtin_clzll.
26493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26496 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26499 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26501 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26502 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26503 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26504 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26506 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26508 * NEWS: Update ia64 info.
26510 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26512 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26515 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26517 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26518 * sysdeps/unix/syscalls.list (dup3): Likewise.
26519 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26520 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26522 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26524 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26525 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26527 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26529 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26531 (TLS_IE): Use mov/add instead of movq/addq to load thread
26533 (TLS_GD_PREFIX): New.
26536 2012-05-11 David S. Miller <davem@davemloft.net>
26538 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26539 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26540 (_FPU_SETCW): Likewise.
26542 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26544 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26545 is 32-byte aligned.
26547 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26550 * iconvdata/gb18030.c: Update tables.
26551 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26552 characters specially.
26553 (BODY for TO_LOOP): Add encoding of missing ranges.
26555 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26558 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26559 * sysdeps/mach/hurd/dup3.c: Likewise.
26560 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26561 * sysdeps/powerpc/memmove.c:: Likewise.
26563 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26566 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26568 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26570 * elf/elf.h (R_X86_64_RELATIVE64): New.
26571 (R_X86_64_NUM): Updated.
26572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26573 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26574 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26575 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26576 tst-quad1pie tst-quad2pie
26577 (modules-names): Add tst-quadmod1 tst-quadmod2.
26578 ($(objpfx)tst-quad1): New dependency.
26579 ($(objpfx)tst-quad2): Likewise.
26580 ($(objpfx)tst-quad1pie): Likewise.
26581 ($(objpfx)tst-quad2pie): Likewise.
26582 * sysdeps/x86_64/tst-quad1.c: New file.
26583 * sysdeps/x86_64/tst-quad1pie.c: New file.
26584 * sysdeps/x86_64/tst-quad2.c: Likewise.
26585 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26586 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26587 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26588 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26589 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26593 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26594 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26595 * streams/stropts.h (t_scalar_t): Define type.
26597 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26598 (_PATH_PRESERVE): Set to "/var/lib".
26599 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26601 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26604 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26605 if __dir_mkfile succeeded.
26607 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26608 checking for _hurd_dtablesize. Unlock it right after having
26609 finished _hurd_dtable allocation.
26611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26613 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26614 * sysdeps/mach/hurd/configure: Regenerated.
26615 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26616 special-casing to...
26617 * sysdeps/gnu/configure.in: ... this new file.
26618 * sysdeps/unix/sysv/linux/configure: Regenerated.
26619 * sysdeps/gnu/configure: New generated file.
26621 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26622 for Linux: use nsec instead of usec, as well as:
26623 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26624 members of type struct timespec.
26625 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26627 (struct stat64): Likewise.
26628 (_STATBUF_ST_NSEC): New macro.
26629 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26631 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26632 __strtoul_internal rather than strtoul.
26634 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26636 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26639 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26641 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26642 which preserves existing values.
26643 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26645 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26647 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26648 TIMEOUT values. Return EINVAL for NFDS values either negative or
26649 greater than FD_SETSIZE.
26651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26653 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26654 allocated, call __vm_protect to finish enabling the existing space, and
26655 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26656 allocate the remainder.
26658 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26660 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26661 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26665 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26666 sysdeps/mach/hurd/readlink.c.
26668 * posix/tst-sysconf.c (posix_options): Only use
26669 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26670 _POSIX_SYNCHRONIZED_IO when they are defined
26671 * sysdeps/mach/hurd/bits/posix_opt.h:
26672 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26673 (_XOPEN_REALTIME): Undefine macro.
26674 (_XOPEN_REALTIME_THREADS): Undefine macro.
26675 (_XOPEN_SHM): Undefine macro.
26676 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26678 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26680 (_POSIX_ASYNC_IO): Undefine macro.
26681 (_POSIX_PRIORITIZED_IO): Undefine macro.
26682 (_POSIX_SPIN_LOCKS): Define macro to -1.
26684 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26685 SA_NODEFER, SA_RESETHAND.
26686 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26687 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26692 * elf/Makefile (pldd-modules): Define unconditionally.
26694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26696 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26700 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26701 Return ENOENT when name is empty.
26702 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26706 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26708 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26712 Fix mlock in all cases except non-readable pages.
26713 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26714 instead of VM_PROT_ALL as parameter to __vm_wire function.
26716 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26717 (__mkdir): When path is `/', just fail with EEXIST.
26718 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26720 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26722 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26723 <sys/uio.h> (for writev).
26724 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26725 and <sys/param.h> (for MIN).
26727 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26729 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26730 REQUESTED_TIME. Properly set the remaining time and return EINTR
26733 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26735 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26736 Depend on against $(link-rpcuserlibs).
26738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26740 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26741 (__libc_stack_end): Do not use attribute_relro.
26742 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26743 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26744 to libthread-provided value.
26745 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26751 * bits/libc-lock.h (__libc_once_get): New macro.
26752 * sysdeps/mach/bits/libc-lock.h: Likewise.
26753 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26755 instead of using implementation details.
26757 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26758 * libio/freopen.c: Likewise.
26759 * libio/freopen64.c: Likewise.
26760 * misc/syslog.c: Likewise.
26761 * nscd/connections.c: Likewise.
26762 * nscd/netgroupcache.c: Likewise.
26763 * sysdeps/posix/getcwd.c: Likewise.
26765 2012-05-10 Roland McGrath <roland@hack.frob.com>
26767 * math/w_ilogbf.c: Add #include <limits.h>.
26769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26771 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26772 path instead of returning without unlocking.
26774 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26775 immediate-write ioctls.
26776 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26778 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26780 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26781 __builtin_frame_address instead of making assumptions about the
26782 location of the return address relative to DATA. Force early load of
26783 the return address.
26784 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26785 __builtin_frame_address.
26788 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26789 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26790 implement dup3 and do some further code clean-ups.
26791 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26792 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26796 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26798 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26799 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26800 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26801 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26802 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26805 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26806 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26807 when handler == SIG_ERR, not when handler != SIG_ERR.
26809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26811 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26812 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26815 accept4 for GNU Hurd.
26816 * include/sys/socket.h (__libc_accept4): New prototype.
26817 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26818 to implement __libc_accept4.
26819 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26821 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26823 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26824 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26825 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26826 signal-defines.sym.
26828 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26830 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26834 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26835 assertion on O_CLOEXEC flag.
26836 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26837 * hurd/intern-fd.c: Likewise.
26838 * hurd/port2fd.c: Likewise.
26840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26843 * bits/in.h (IPV6_PKTINFO): Define new macro.
26844 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26846 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26851 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26853 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26854 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26856 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26857 * math/libm-test.inc (logb_test) : Additional logb tests.
26859 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26860 Andreas Jaeger <aj@suse.de>
26862 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26863 * configure: Regenerated.
26864 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26865 * config.make.in (link-obsolete-rpc): New substituted variable.
26866 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26867 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26868 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26869 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26870 so that libc.a contains the symbols.
26871 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26872 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26873 * sunrpc/auth_none.c: Likewise.
26874 * sunrpc/auth_unix.c: Likewise.
26875 * sunrpc/authdes_prot.c: Likewise.
26876 * sunrpc/authuxprot.c: Likewise.
26877 * sunrpc/clnt_gen.c: Likewise.
26878 * sunrpc/clnt_perr.c: Likewise.
26879 * sunrpc/clnt_raw.c: Likewise.
26880 * sunrpc/clnt_simp.c: Likewise.
26881 * sunrpc/clnt_tcp.c: Likewise.
26882 * sunrpc/clnt_udp.c: Likewise.
26883 * sunrpc/clnt_unix.c: Likewise.
26884 * sunrpc/des_crypt.c: Likewise.
26885 * sunrpc/des_soft.c: Likewise.
26886 * sunrpc/get_myaddr.c: Likewise.
26887 * sunrpc/key_call.c: Likewise.
26888 * sunrpc/key_prot.c: Likewise.
26889 * sunrpc/netname.c: Likewise.
26890 * sunrpc/pm_getmaps.c: Likewise.
26891 * sunrpc/pm_getport.c: Likewise.
26892 * sunrpc/pmap_clnt.c: Likewise.
26893 * sunrpc/pmap_prot.c: Likewise.
26894 * sunrpc/pmap_prot2.c: Likewise.
26895 * sunrpc/pmap_rmt.c: Likewise.
26896 * sunrpc/publickey.c: Likewise.
26897 * sunrpc/rpc_cmsg.c: Likewise.
26898 * sunrpc/rpc_common.c: Likewise.
26899 * sunrpc/rpc_dtable.c: Likewise.
26900 * sunrpc/rpc_prot.c: Likewise.
26901 * sunrpc/rpc_thread.c: Likewise.
26902 * sunrpc/rtime.c: Likewise.
26903 * sunrpc/svc.c: Likewise.
26904 * sunrpc/svc_auth.c: Likewise.
26905 * sunrpc/svc_raw.c: Likewise.
26906 * sunrpc/svc_run.c: Likewise.
26907 * sunrpc/svc_tcp.c: Likewise.
26908 * sunrpc/svc_udp.c: Likewise.
26909 * sunrpc/svc_unix.c: Likewise.
26910 * sunrpc/svcauth_des.c: Likewise.
26911 * sunrpc/xcrypt.c: Likewise.
26912 * sunrpc/xdr.c: Likewise.
26913 * sunrpc/xdr_array.c: Likewise.
26914 * sunrpc/xdr_float.c: Likewise.
26915 * sunrpc/xdr_intXX_t.c: Likewise.
26916 * sunrpc/xdr_mem.c: Likewise.
26917 * sunrpc/xdr_rec.c: Likewise.
26918 * sunrpc/xdr_ref.c: Likewise.
26919 * sunrpc/xdr_sizeof.c: Likewise.
26920 * sunrpc/xdr_stdio.c: Likewise.
26922 2012-05-10 Roland McGrath <roland@hack.frob.com>
26924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26925 change. Update copyright years.
26927 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26929 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26931 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26932 Joseph Myers <joseph@codesourcery.com>
26933 Paul Pluzhnikov <ppluzhnikov@google.com>
26936 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26938 [cross-compiling] (extra-libs): Likewise.
26939 [cross-compiling] (extra-libs-others): Likewise.
26940 [cross-compiling] (librpcsvc-routines): Likewise.
26941 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26942 [cross-compiling] (omit-deps): Likewise.
26943 (sunrpc-CPPFLAGS): New variable.
26944 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26945 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26946 (cross-rpcgen-objs): New variable.
26947 (extra-objs): Append $(cross-rpcgen-objs).
26948 ($(cross-rpcgen-objs)): New rule.
26949 ($(objpfx)cross-rpcgen): Likewise.
26950 (rpcgen-cmd): Define to use $(built-program-file). Expand
26952 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26953 ($(objpfx)x%.stmp): Likewise.
26954 * sunrpc/proto.h [IS_IN_build] (_): Define.
26955 [IS_IN_build] (_libc_intl_domainname): Likewise.
26957 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26960 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26961 and R_X86_64_TPOFF64.
26963 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26965 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26966 sysdeps/unix/sysv/syscalls.list.
26969 * sysdeps/unix/sysv/syscalls.list: Remove file.
26971 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26974 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26975 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26976 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26977 (__LC_IDENTIFICATION): Make these macros useful in #if
26978 expressions, as required by C99.
26980 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26982 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26983 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26986 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26988 * stdlib/longlong.h: Updated from GCC.
26990 2012-05-09 Andreas Jaeger <aj@suse.de>
26992 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26993 default is first entry.
26994 (run_mode): Set type.
26995 (main): Remove informal message about syslog.
26996 (options): Fix typo.
26999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27002 (llrintf): Likewise.
27003 (llrint): Likewise.
27006 (nearbyint): Likewise.
27007 (nearbyintf): Likewise.
27009 2012-05-09 Andreas Jaeger <aj@suse.de>
27010 Pedro Alves <palves@redhat.com>
27012 * nscd/nscd.c (run_mode): Use enum.
27013 (main): Cleanup coding style issue.
27015 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
27016 Andreas Jaeger <aj@suse.de>
27018 * nscd/nscd.c (go_background): Replaced with...
27019 (run_mode): ... this.
27020 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27021 (options): Add -F --foreground.
27022 (main): Implement it.
27023 (parse_opt): Parse it.
27025 2012-05-09 Andreas Jaeger <aj@suse.de>
27028 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27029 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27030 -Wconversion warning.
27031 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27034 2012-05-09 Joseph Myers <joseph@codesourcery.com>
27036 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27038 (LC_ALL): Use macro-int-constant.
27039 (LC_COLLATE): Likewise.
27040 (LC_CTYPE): Likewise.
27041 (LC_MESSAGES): Likewise.
27042 (LC_MONETARY): Likewise.
27043 (LC_NUMERIC): Likewise.
27044 (LC_TIME): Likewise.
27045 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27046 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27048 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27050 [C99-based standards] (float_t): Expect type.
27051 [C99-based standards] (double_t): Expect type.
27052 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27054 [C99-based standards] (HUGE_VALL): Likewise.
27055 [C99-based standards] (INFINITY): Likewise.
27056 [C99-based standards] (NAN): Likewise.
27057 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27058 [C99-based standards] (FP_NAN): Likewise.
27059 [C99-based standards] (FP_NORMAL): Likewise.
27060 [C99-based standards] (FP_SUBNORMAL): Likewise.
27061 [C99-based standards] (FP_ZERO): Likewise.
27062 [C99-based standards] (FP_FAST_FMA): Use
27063 optional-macro-int-constant. Specify type. Require == 1.
27064 [C99-based standards] (FP_FAST_FMAF): Likewise.
27065 [C99-based standards] (FP_FAST_FMAL): Likewise.
27066 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27067 [C99-based standards] (FP_ILOGBNAN): Likewise.
27068 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27070 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27071 [C99-based standards] (math_errhandling): Specify type.
27072 [ISO99 || ISO11] (signgam): Do not allow.
27073 [non-C99-based standards] (copysignf): Do not allow.
27074 [non-C99-based standards] (exp2f): Likewise.
27075 [non-C99-based standards] (log2f): Likewise.
27076 [non-C99-based standards] (modff): Allow.
27077 [non-C99-based standards] (erff): Do not allow.
27078 [non-C99-based standards] (erfcf): Likewise.
27079 [non-C99-based standards] (gammaf): Likewise.
27080 [non-C99-based standards] (hypotf): Likewise.
27081 [non-C99-based standards] (j0f): Likewise.
27082 [non-C99-based standards] (j1f): Likewise.
27083 [non-C99-based standards] (jnf): Likewise.
27084 [non-C99-based standards] (lgammaf): Likewise.
27085 [non-C99-based standards] (tgammaf): Likewise.
27086 [non-C99-based standards] (y0f): Likewise.
27087 [non-C99-based standards] (y1f): Likewise.
27088 [non-C99-based standards] (ynf): Likewise.
27089 [non-C99-based standards] (isnanf): Likewise.
27090 [non-C99-based standards] (acoshf): Likewise.
27091 [non-C99-based standards] (asinhf): Likewise.
27092 [non-C99-based standards] (atanhf): Likewise.
27093 [non-C99-based standards] (cbrtf): Likewise.
27094 [non-C99-based standards] (expm1f): Likewise.
27095 [non-C99-based standards] (ilogbf): Likewise.
27096 [non-C99-based standards] (log1pf): Likewise.
27097 [non-C99-based standards] (logbf): Likewise.
27098 [non-C99-based standards] (nextafterf): Likewise.
27099 [non-C99-based standards] (remainderf): Likewise.
27100 [non-C99-based standards] (rintf): Likewise.
27101 [non-C99-based standards] (scalbf): Likewise.
27102 [non-C99-based standards] (copysignl): Likewise.
27103 [non-C99-based standards] (exp2l): Likewise.
27104 [non-C99-based standards] (log2l): Likewise.
27105 [non-C99-based standards] (modfl): Allow.
27106 [non-C99-based standards] (erfl): Do not allow.
27107 [non-C99-based standards] (erfcl): Likewise.
27108 [non-C99-based standards] (gammal): Likewise.
27109 [non-C99-based standards] (hypotl): Likewise.
27110 [non-C99-based standards] (j0l): Likewise.
27111 [non-C99-based standards] (j1l): Likewise.
27112 [non-C99-based standards] (jnl): Likewise.
27113 [non-C99-based standards] (lgammal): Likewise.
27114 [non-C99-based standards] (tgammal): Likewise.
27115 [non-C99-based standards] (y0l): Likewise.
27116 [non-C99-based standards] (y1l): Likewise.
27117 [non-C99-based standards] (ynl): Likewise.
27118 [non-C99-based standards] (isnanl): Likewise.
27119 [non-C99-based standards] (acoshl): Likewise.
27120 [non-C99-based standards] (asinhl): Likewise.
27121 [non-C99-based standards] (atanhl): Likewise.
27122 [non-C99-based standards] (cbrtl): Likewise.
27123 [non-C99-based standards] (expm1l): Likewise.
27124 [non-C99-based standards] (ilogbl): Likewise.
27125 [non-C99-based standards] (log1pl): Likewise.
27126 [non-C99-based standards] (logbl): Likewise.
27127 [non-C99-based standards] (nextafterl): Likewise.
27128 [non-C99-based standards] (remainderl): Likewise.
27129 [non-C99-based standards] (rintl): Likewise.
27130 [non-C99-based standards] (scalbl): Likewise.
27131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27132 [non-C99-based standards] (FP_*): Do not allow.
27133 [C99-based standards] (FP_*): Change to
27134 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27135 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27137 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27138 (SIG_ERR): Likewise.
27139 [X/Open-based standards] (SIG_HOLD): Likewise.
27140 (SIG_IGN): Likewise.
27141 (SIGABRT): Use macro-int-constant. Specify type. Require
27143 (SIGFPE): Likewise.
27144 (SIGILL): Likewise.
27145 (SIGINT): Likewise.
27146 (SIGSEGV): Likewise.
27147 (SIGTER): Likewise.
27148 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27149 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27150 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27151 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27152 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27153 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27154 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27155 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27156 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27157 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27158 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27159 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27160 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27161 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27162 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27163 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27164 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27165 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27166 [X/Open-based standards] (SIGTRAP): Likewise.
27167 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27168 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27169 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27170 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27171 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27174 2012-05-08 Ian Wienand <ianw@vmware.com>
27177 * time/tzset.c (__tzset_parse_tz): Update default rules for
27178 daylight time changes in the Energy Policy Act of 2005.
27180 2012-05-09 Andreas Jaeger <aj@suse.de>
27183 * elf/ldconfig.c (parse_conf): Change string to make clear that
27184 ldconfig only issued a warning if ld.so.conf does not exist.
27186 2012-05-08 David S. Miller <davem@davemloft.net>
27188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27189 movxtod instead of popping the value on the stack.
27191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27193 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27195 * config.h.in: Add HAVE_ARM_PCS_VFP.
27197 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27200 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27201 checking but the checks are disabled for any reason.
27203 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27205 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27206 and ELF64_R_TYPE with ELFW(R_TYPE).
27208 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27210 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27211 (ulimit): Likewise.
27213 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27214 (settimeofday): Likewise.
27216 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27218 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27219 a struct th_u2 inside the union, and move tu_block/tu_code into
27220 a new th_u3 union of tu_block/tu_code inside of that. Move
27221 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27222 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27223 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27224 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27225 (th_stuff): Change to th_u1.tu_stuff.
27227 (th_msg): Change to th_u1.th_u2.tu_data.
27229 2012-05-07 David S. Miller <davem@davemloft.net>
27231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27234 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27235 (SETUP_PIC_REG): Use it.
27236 (SETUP_PIC_REG_LEAF): Use it.
27238 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27244 (EXPL_FINITE): Likewise.
27245 (FLDLOG): Likewise.
27246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27247 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27251 (EXPL_FINITE): Likewise.
27252 (FLDLOG): Likewise.
27253 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27254 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27256 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27257 test of -max_value argument for long double.
27258 * sysdeps/i386/fpu/libm-test-ulps: Update.
27259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27261 2012-05-06 David S. Miller <davem@davemloft.net>
27263 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27264 quad soft-float symbols whose references which are compiler
27266 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27268 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27272 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27274 (EXPL_FINITE): Likewise.
27275 (FLDLOG): Likewise.
27278 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27279 Adjust comments for base varying.
27280 (__expl_finite): Change alias to EXPL_FINITE.
27281 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27283 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27284 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27286 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27289 (EXPL_FINITE): Likewise.
27290 (FLDLOG): Likewise.
27293 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27294 Adjust comments for base varying.
27295 (__expl_finite): Change alias to EXPL_FINITE.
27296 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27301 * math/libm-test.inc (check_float_internal): Correct ulp
27302 calculation for subnormal expected results.
27304 2012-05-06 Andreas Jaeger <aj@suse.de>
27306 * Makeconfig (+math-flags): New, set to -frounding-math.
27307 (+cflags): Add +math-flags so that all of glibc gets compiled with
27310 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27312 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27314 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27320 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27321 (__ieee754_expl): Allow for and saturate large arguments.
27322 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27323 (u_threshold): Likewise.
27324 (__exp): Call __ieee754_exp before checking for overflow and
27326 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27327 (u_threshold): Likewise.
27328 (__expf): Call __ieee754_expf before checking for overflow and
27330 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27331 (u_threshold): Likewise.
27332 (__expl): Call __ieee754_expl before checking for overflow and
27334 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27335 (__ieee754_expl): Allow for and saturate large arguments.
27336 * math/libm-test.inc (exp_test): Add another test. Do not allow
27337 missing overflow exception on overflow.
27338 (expm1_test): Do not allow missing overflow exception on overflow.
27340 * sysdeps/i386/fpu/e_expl.c: Move to ...
27341 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27342 rather than using inline asm.
27343 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27344 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27345 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27347 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27350 (signal): Likewise.
27354 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27356 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27357 sysdeps/unix/common/syscalls.list.
27358 (fchmod): Likewise.
27359 (fchown): Likewise.
27360 (ftruncate): Likewise.
27361 (getrusage): Likewise.
27362 (gettimeofday): Likewise.
27363 (setpgid): Likewise.
27364 (setregid): Likewise.
27365 (setreuid): Likewise.
27366 (sigaction): Likewise.
27367 (truncate): Likewise.
27368 (vhangup): Likewise.
27369 * sysdeps/unix/common/syscalls.list: Remove file.
27370 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27371 * sysdeps/unix/sysv/linux/Implies: Likewise.
27373 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27375 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27377 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27381 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27384 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27387 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27390 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27393 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27396 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27399 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27403 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27407 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27410 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27414 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27418 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27420 * sysdeps/unix/common/bits/dirent.h: Remove file.
27421 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27423 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27424 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27425 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27426 * sysdeps/unix/bsd/isatty.c: Likewise.
27427 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27428 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27429 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27431 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27435 long double comparison inaccuracies.
27436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27439 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27441 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27444 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27447 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27448 nonzero digits before rounding a hex value.
27449 * stdlib/tst-strtod.c (tests): Add another test.
27451 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27453 * sysdeps/s390/fpu/libm-test-ulps: Update.
27455 2012-05-03 Andreas Jaeger <aj@suse.de>
27457 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27458 does not get optimized out.
27459 (malloc_opt_barrier): New.
27461 2012-05-03 Andreas Jaeger <aj@suse.de>
27462 Roland McGrath <roland@hack.frob.com>
27464 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27465 intermediate file deletion.
27466 (generated): Add .symlist files.
27468 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27471 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27472 Redirect under this condition.
27473 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27474 [__USE_GNU] (__dprintf_chk): Not under this condition.
27475 [__USE_GNU] (__vdprintf_chk): Likewise.
27476 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27477 under this condition.
27478 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27479 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27480 [__USE_XOPEN2K8] (vdprintf): Likewise.
27481 [__USE_GNU] (__dprintf_chk): Not under this condition.
27482 [__USE_GNU] (__vdprintf_chk): Likewise.
27483 [__USE_GNU] (dprintf): Likewise.
27484 [__USE_GNU] (vdprintf): Likewise.
27486 2012-05-03 Roland McGrath <roland@hack.frob.com>
27488 * elf/Makefile (common-generated): Set this instead of generated for
27489 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27490 $(all-built-dso)-derived lists.
27492 2012-05-03 Andreas Jaeger <aj@suse.de>
27494 * sysdeps/i386/fpu/libm-test-ulps: Update.
27497 * FAQ.in: Likewise.
27498 * scripts/gen-FAQ.pl: Likewise.
27499 * manual/install.texi (Installation): Point to online location of
27501 * Makefile (files-for-dist): Remove FAQ.
27504 2012-05-02 Allan McRae <allan@archlinux.org>
27506 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27507 (LDFLAGS-reldepmod5.so): Likewise.
27508 (LDFLAGS-reldep6mod1.so): Likewise.
27509 (LDFLAGS-reldep6mod4.so): Likewise.
27510 (LDFLAGS-reldep8mod3.so): Likewise.
27511 (LDFLAGS-unload4mod1.so): Likewise.
27512 (LDFLAGS-unload4mod2.so): Likewise.
27513 (LDFLAGS-tst-initorder): Likewise.
27514 (LDFLAGS-tst-initordera2.so): Likewise.
27515 (LDFLAGS-tst-initordera3.so): Likewise.
27516 (LDFLAGS-tst-initordera4.so): Likewise.
27517 (LDFLAGS-tst-initorderb2.so): Likewise.
27518 (LDFLAGS-noload): Likewise.
27519 (LDFLAGS-next): Likewise.
27520 (LDFLAGS-order2mod1.so): Likewise.
27521 (LDFLAGS-order2mod2.so): Likewise.
27522 (LDFLAGS-tst-initorder2): Likewise.
27523 (LDFLAGS-tst-initorder2a.so): Likewise.
27524 (LDFLAGS-tst-initorder2b.so): Likewise.
27525 (LDFLAGS-tst-initorder2c.so): Likewise.
27526 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27528 2012-05-02 David S. Miller <davem@davemloft.net>
27530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27532 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27535 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27537 2012-05-02 Andreas Jaeger <aj@suse.de>
27539 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27540 since we manipulate rounding mode.
27541 (CPPFLAGS-test-idouble.c): Likewise.
27542 (CPPFLAGS-test-ifloat.c): Likewise.
27543 (CFLAGS-test-ldouble.c): Likewise.
27544 (CFLAGS-test-double.c): Likewise.
27545 (CFLAGS-test-float.c): Likewise.
27546 (CFLAGS-test-misc.c): Likewise.
27547 (CFLAGS-test-test-fenv.c): Likewise.
27549 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27553 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27554 comparisons to determine direction to adjust input.
27556 2012-05-01 Roland McGrath <roland@hack.frob.com>
27558 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27559 output to the target.
27561 * scripts/localplt.awk: New file.
27562 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27563 (check-localplt-CFLAGS): Variable removed.
27564 ($(all-built-dso:=.jmprel)): New static pattern rule.
27565 (generated): Add those targets.
27566 (localplt-built-dso): New variable.
27567 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27569 * elf/check-localplt.c: File removed.
27571 * scripts/check-execstack.awk: New file.
27572 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27573 (check-execstack-CFLAGS): Variable removed.
27574 ($(objpfx)check-execstack.h): Target removed.
27575 ($(objpfx)execstack-default): New target.
27576 (generated): Add that instead of check-execstack.h.
27577 ($(all-built-dso:=.phdr)): New static pattern rule.
27578 (generated): Add those targets.
27579 * elf/check-execstack.c: File removed.
27581 * scripts/check-textrel.awk: New file.
27582 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27583 (check-textrel-CFLAGS): Variable removed.
27584 (all-built-dso): Use := to define.o
27585 ($(all-built-dso:=.dyn)): New static pattern rule.
27586 (generated): Add those targets.
27587 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27588 * config.make.in (READELF): New substituted variable.
27589 * elf/check-textrel.c: File removed.
27591 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27593 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27595 * conform/data/ctype.h-data [C99-based standards] (isblank):
27597 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27598 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27600 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27601 Specify type. Require positive value.
27602 (EILSEQ): Likewise.
27603 (ERANGE): Likewise.
27604 [ISO || POSIX] (EILSEQ): Do not expect.
27605 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27606 Specify type. Require positive value.
27607 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27608 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27609 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27610 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27611 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27612 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27613 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27614 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27615 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27616 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27617 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27618 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27619 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27620 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27621 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27622 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27623 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27624 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27625 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27626 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27627 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27628 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27629 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27630 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27631 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27632 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27633 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27634 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27635 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27636 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27637 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27638 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27639 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27640 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27641 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27642 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27643 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27644 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27645 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27646 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27647 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27648 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27649 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27650 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27651 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27652 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27653 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27654 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27655 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27656 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27657 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27658 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27659 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27660 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27661 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27662 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27663 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27664 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27665 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27666 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27667 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27668 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27669 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27670 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27671 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27672 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27673 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27674 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27675 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27676 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27677 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27678 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27679 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27680 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27681 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27682 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27683 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27685 (FLT_ROUNDS): Expect as macro, not constant.
27686 (FLT_MANT_DIG): Use macro-int-constant.
27687 (DBL_MANT_DIG): Likewise.
27688 (LDBL_MANT_DIG): Likewise.
27689 (FLT_DIG): Likewise.
27690 (DBL_DIG): Likewise.
27691 (LDBL_DIG): Likewise.
27692 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27693 (DBL_MIN_EXP): Likewise.
27694 (LDBL_MIN_EXP): Likewise.
27695 (FLT_MAX_EXP): Use macro-int-constant.
27696 (DBL_MAX_EXP): Likewise.
27697 (LDBL_MAX_EXP): Likewise.
27698 (FLT_MAX_10_EXP): Likewise.
27699 (DBL_MAX_10_EXP): Likewise.
27700 (LDBL_MAX_10_EXP): Likewise.
27701 (FLT_MAX): Use macro-constant.
27702 (DBL_MAX): Likewise.
27703 (LDBL_MAX): Likewise.
27704 (FLT_EPSILON): Use macro-constant. Give upper bound.
27705 (DBL_EPSILON): Likewise.
27706 (LDBL_EPSILON): Likewise.
27707 (FLT_MIN): Likewise.
27708 (DBL_MIN): Likewise.
27709 (LDBL_MIN): Likewise.
27710 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27711 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27712 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27713 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27714 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27715 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27716 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27717 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27718 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27719 [ISO11] (FLT_TRUE_MIN): Likewise.
27720 [ISO11] (LDBL_TRUE_MIN): Likewise.
27721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27722 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27723 (SCHAR_MIN): Use macro-int-constant. Specify type.
27724 (SCHAR_MAX): Likewise.
27725 (UCHAR_MAX): Likewise.
27726 (CHAR_MIN): Likewise.
27727 (CHAR_MAX): Likewise.
27728 (MB_LEN_MAX): Use macro-int-constant.
27729 (SHRT_MIN): Use macro-int-constant. Specify type.
27730 (SHRT_MAX): Likewise.
27731 (USHRT_MAX): Likewise.
27732 (INT_MAX): Likewise.
27733 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27735 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27737 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27739 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27740 bound negative. Suffix upper bound with "L".
27741 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27743 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27745 [C99-based standards] (LLONG_MAX): Likewise.
27746 [C99-based standards] (ULLONG_MAX): Likewise.
27747 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27749 [ISO11] (max_align_t): Require type.
27750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27752 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27753 from $CFLAGS, without defining away __attribute__ calls.
27754 (checknamespace): Use $CFLAGS_namespace.
27756 * conform/conformtest.pl (@keywords): Only include C99 keywords
27757 for standards based on C99 or C11.
27759 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27761 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27764 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27765 usability of symbols in #if.
27767 * conform/conformtest.pl: If macro or constant types start
27768 "promoted:", expect the symbol to be of the following type
27769 promoted by the integer promotions.
27771 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27772 in one place. Also handle "macro-constant".
27774 * conform/conformtest.pl: Only accept expected macro values with
27775 "==". Parse all "macro" lines in one place.
27776 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27778 * conform/conformtest.pl: Handle braced types on "constant" lines
27779 instead of handling "typed-constant".
27780 * conform/data/signal.h-data: Use "constant" instead of
27783 * conform/conformtest.pl: Handle "optional-" at start of lines in
27784 one place rather than duplicating several cases. Handle each
27785 format of "macro" line with initial "optional-".
27787 * conform/conformtest.pl: Only accept expected constant or
27788 optional-constant values with "==". Parse all "constant" lines in
27789 one place. Parse all "optional-constant" lines in one place.
27790 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27791 * conform/data/fmtmsg.h-data: Likewise.
27792 * conform/data/netinet/in.h-data: Likewise.
27793 * conform/data/tar.h-data: Likewise.
27794 * conform/data/limits.h-data: Use "==" form on "constant" and
27795 "optional-constant" lines.
27797 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27798 Use -std=c99 for XOPEN2K.
27799 (@knownproblems): Remove.
27800 (newtoken): Don't check %isknown.
27802 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27803 Do not expect macro.
27804 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27805 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27806 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27807 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27808 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27809 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27810 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27811 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27812 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27813 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27814 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27815 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27816 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27817 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27818 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27819 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27820 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27821 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27822 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27823 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27824 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27825 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27826 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27827 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27828 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27829 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27830 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27831 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27832 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27833 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27834 [XPG3] (acosh): Likewise.
27835 [XPG3] (asinh): Likewise.
27836 [XPG3] (atanh): Likewise.
27837 [XPG3] (cbrt): Likewise.
27838 [XPG3] (expm1): Likewise.
27839 [XPG3] (ilogb): Likewise.
27840 [XPG3] (log1p): Likewise.
27841 [XPG3] (logb): Likewise.
27842 [XPG3] (nextafter): Likewise.
27843 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27844 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27845 [XPG3] (remainder): Likewise.
27846 [XPG3] (rint): Likewise.
27847 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27848 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27849 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27850 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27851 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27852 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27853 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27854 [UNIX98 || XOPEN2K] (scalb): Expect.
27855 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27856 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27857 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27858 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27859 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27860 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27861 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27862 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27863 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27864 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27865 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27866 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27867 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27868 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27869 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27870 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27871 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27872 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27873 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27874 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27875 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27876 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27877 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27878 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27879 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27880 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27881 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27882 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27883 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27884 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27885 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27886 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27887 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27888 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27889 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27890 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27891 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27892 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27893 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27894 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27895 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27896 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27897 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27898 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27899 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27900 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27901 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27902 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27903 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27904 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27905 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27906 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27907 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27908 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27909 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27910 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27911 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27912 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27913 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27914 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27915 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27916 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27917 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27918 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27919 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27920 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27921 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27922 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27923 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27924 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27925 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27926 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27927 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27928 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27929 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27930 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27931 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27932 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27933 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27934 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27935 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27936 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27937 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27938 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27939 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27940 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27941 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27942 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27943 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27944 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27945 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27946 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27947 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27948 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27949 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27950 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27951 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27952 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27953 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27954 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27955 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27956 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27957 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27958 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27959 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27960 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27961 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27962 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27963 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27964 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27967 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27968 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27969 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27970 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27971 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27972 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27973 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27974 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27975 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27976 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27977 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27978 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27979 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27980 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27981 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27982 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27983 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27984 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27985 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27986 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27987 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27988 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27989 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27990 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27991 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27993 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27994 _XOPEN_SOURCE_EXTENDED for XPG4.
27996 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27998 * Makeconfig (localtime): Remove variable.
27999 (inst_localtime-file): Likewise.
28001 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28022 2012-05-01 Joseph Myers <joseph@codesourcery.com>
28026 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28027 comparisons to determine direction to adjust input.
28028 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28029 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28032 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28034 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28036 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28037 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28039 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28041 * math/libm-test.inc (nexttoward_test): Add more tests.
28043 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28047 in version GLIBC_2.1, not GLIBC_2.0.
28048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28051 2012-04-30 Joseph Myers <joseph@codesourcery.com>
28054 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28056 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28057 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28058 * math/libm-test.inc (acos_test): Add more tests.
28059 (asin_test): Likewise.
28060 * sysdeps/i386/fpu/libm-test-ulps: Update.
28061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28064 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28066 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28067 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28068 * math/libm-test.inc (acos_test_tonearest): New function.
28069 (acos_test_towardzero): Likewise.
28070 (acos_test_downward): Likewise.
28071 (acos_test_upward): Likewise.
28072 (asin_test_tonearest): Likewise.
28073 (asin_test_towardzero): Likewise.
28074 (asin_test_downward): Likewise.
28075 (asin_test_upward): Likewise.
28076 (main): Call the new functions.
28077 * sysdeps/i386/fpu/libm-test-ulps: Update.
28078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28082 * math/e_exp10.c: Include <float.h>.
28083 (__ieee754_exp10): Handle underflow here rather than multiplying
28084 large negative argument by M_LN10.
28085 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28087 * math/e_exp10l.c: Include <float.h>.
28088 (__ieee754_exp10l): Handle underflow here rather than multiplying
28089 large negative argument by M_LN10l.
28090 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28091 spurious overflow exception on underflow.
28093 2012-04-29 Marek Polacek <polacek@redhat.com>
28095 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28096 (__fortify_function): New macro.
28097 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28098 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28099 __extern_always_inline.
28100 * libio/bits/stdio2.h: Likewise.
28101 * libio/bits/stdio.h: Likewise.
28102 * string/string.h: Likewise.
28103 * string/bits/string3.h: Likewise.
28104 * include/stdio.h: Likewise.
28105 * stdlib/bits/stdlib.h: Likewise.
28106 * stdlib/stdlib.h: Likewise.
28107 * rt/bits/mqueue2.h: Likewise.
28108 * rt/mqueue.h: Likewise.
28109 * posix/bits/unistd.h: Likewise.
28110 * posix/unistd.h: Likewise.
28111 * io/bits/poll2.h: Likewise.
28112 * io/bits/fcntl2.h: Likewise.
28113 * io/fcntl.h: Likewise.
28114 * io/sys/poll.h: Likewise.
28115 * misc/bits/syslog.h: Likewise.
28116 * misc/bits/syslog-ldbl.h: Likewise.
28117 * misc/sys/syslog.h: Likewise.
28118 * socket/bits/socket2.h: Likewise.
28119 * socket/sys/socket.h: Likewise.
28120 * debug/tst-chk1.c: Likewise.
28121 * wcsmbs/bits/wchar2.h: Likewise.
28122 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28123 * wcsmbs/wchar.h: Likewise.
28125 2012-04-29 Andreas Jaeger <aj@suse.de>
28127 * Makerules (tests): Remove enable-check-abi protection.
28128 (check-abi-warn): Remove.
28129 (check-abi-%): Remove check-abi-warn usage.
28131 * configure.in: Remove check-abi configure option.
28132 * configure: Regenerated.
28133 * config.make.in (enable-check-abi): Remove.
28135 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28138 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28139 double functions to double *_finite functions.
28142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28143 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28145 * stdio-common/Makefile (tests): Add tst-sprintf3.
28146 * stdio-common/tst-sprintf3.c: New file.
28148 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28149 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28151 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28153 * conform/conformtest.pl: Remove duplicate typed-constant
28156 2012-04-28 David S. Miller <davem@davemloft.net>
28158 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28159 (check-abi-%): Remove AWK script prerequisite and explicit
28161 (check-abi): Rewrite to just diff the symlist with the abilist.
28162 (config-tls, config-abi-config): Delete, no longer used.
28163 (update-abi-%): Remove AWK script and explicit abilist directory.
28164 (update-abi): Rewrite to simply compare and conditionally copy the
28165 symlist and the sysdep abilist file. Remove update-abi-config
28167 * abilist/ld.abilist: Remove.
28168 * abilist/libBrokenLocale.abilist: Remove.
28169 * abilist/libanl.abilist: Remove.
28170 * abilist/libcrypt.abilist: Remove.
28171 * abilist/libdl.abilist: Remove.
28172 * abilist/librt.abilist: Remove.
28173 * abilist/libthread_db.abilist: Remove.
28174 * abilist/libutil.abilist: Remove.
28175 * scripts/extract-abilist.awk: Remove.
28176 * scripts/merge-abilist.awk: Remove.
28177 * sysdeps/generic/libcidn.abilist: New file.
28178 * sysdeps/generic/libnss_compat.abilist: New file.
28179 * sysdeps/generic/libnss_db.abilist: New file.
28180 * sysdeps/generic/libnss_dns.abilist: New file.
28181 * sysdeps/generic/libnss_files.abilist: New file.
28182 * sysdeps/generic/libnss_hesiod.abilist: New file.
28183 * sysdeps/generic/libnss_nis.abilist: New file.
28184 * sysdeps/generic/libnss_nisplus.abilist: New file.
28185 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28186 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28187 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28189 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28190 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28191 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28192 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28193 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28194 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28195 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28196 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28197 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28199 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28200 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28201 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28202 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28204 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28205 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28206 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28207 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28208 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28209 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28211 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28212 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28213 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28215 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28318 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28319 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28320 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28323 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28324 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28325 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28326 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28327 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28328 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28329 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28330 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28331 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28383 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28385 * conform/conformtest.pl: Fix typo in handling typed-constant from
28388 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28390 * README: Cut down references to pre-2.6 Linux kernels and
28391 Linuxthreads. Update lists of configurations in libc and ports
28392 and sort alphabetically. Say "or newer" with Linux kernel version
28395 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28397 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28400 * math/libm-test.inc (logb_test_downward): New test to expose
28401 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28404 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28407 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28409 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28410 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28412 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28414 * sysdeps/unix/i386/brk.S: Remove file.
28415 * sysdeps/unix/i386/dl-brk.S: Likewise.
28416 * sysdeps/unix/i386/pipe.S: Likewise.
28417 * sysdeps/unix/i386/sigreturn.S: Likewise.
28418 * sysdeps/unix/i386/syscall.S: Likewise.
28419 * sysdeps/unix/i386/vfork.S: Likewise.
28420 * sysdeps/unix/i386/wait.S: Likewise.
28422 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28423 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28425 * configure.in (arm*-none*): Do not allow without
28426 --enable-hacker-mode.
28427 (netbsd*): Remove case setting base_os.
28428 (386bsd*): Likewise.
28429 (freebsd*): Likewise.
28432 (sunos*): Likewise.
28433 (ultrix*): Likewise.
28434 (newsos*): Likewise.
28435 (dynix*): Likewise.
28441 (minix*): Likewise.
28442 (irix4*): Likewise.
28443 (irix6*): Likewise.
28444 (solaris[2-9]*): Likewise.
28446 * configure: Regenerated.
28448 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28451 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28452 overflow or cancellation in calculating denominator.
28453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28455 down expression to avoid unexpected rounding in newer GCCs.
28456 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28458 2012-04-26 David S. Miller <davem@davemloft.net>
28460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28461 long-double compat symbols.
28462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28476 2012-04-25 David S. Miller <davem@davemloft.net>
28478 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28479 HWCAP_* values only after the memory barriers have been defined.
28480 (atomic_full_barrier): Define.
28481 (atomic_read_barrier): Define.
28482 (atomic_write_barrier): Define.
28484 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28486 * shlib-versions: Add libgcc_s version information.
28487 * sysdeps/generic/libgcc_s.h: Remove.
28488 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28490 * sysdeps/gnu/unwind-resume.c: Likewise.
28491 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28493 2012-04-25 David S. Miller <davem@davemloft.net>
28495 * sysdeps/unix/sparc/brk.S: Delete.
28496 * sysdeps/unix/sparc/dl-brk.S: Delete.
28497 * sysdeps/unix/sparc/pipe.S: Delete.
28498 * sysdeps/unix/sparc/sysdep.S: Delete.
28499 * sysdeps/unix/sparc/sysdep.h: Delete.
28500 * sysdeps/unix/sparc/vfork.S: Delete.
28501 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28502 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28504 ret_ERRVAL, r0, r1, MOVE): Define.
28505 (JUMPTARGET): Remove.
28506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28507 sysdeps/unix/sparc/sysdep.h
28508 (ENTRY, END): Remove.
28509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28511 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28513 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28514 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28517 * timezone/README: Update upstream location and email address for
28519 * timezone/zdump.c: Update from tzcode 2012b.
28520 * timezone/zic.c: Likewise.
28522 * configure.in (libc_cv_as_needed): Remove test.
28523 * configure: Regenerated.
28524 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28525 conditional definition.
28526 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28527 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28528 * config.make.in (have-as-needed): Remove variable.
28530 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28531 Paul Pluzhnikov <ppluzhnikov@google.com>
28533 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28536 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28538 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28539 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28540 * sysdeps/sh/strlen.S: Likewise.
28542 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28544 * sysdeps/unix/fork.S: Remove file.
28545 * sysdeps/unix/i386/fork.S: Likewise.
28546 * sysdeps/unix/sparc/fork.S: Likewise.
28548 * sysdeps/unix/system.c: Remove file.
28549 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28551 * sysdeps/unix/getegid.S: Remove file.
28552 * sysdeps/unix/geteuid.S: Likewise.
28554 2012-04-24 Roland McGrath <roland@hack.frob.com>
28556 * scripts/check-localplt.awk: New file.
28557 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28559 * scripts/data/localplt-generic.data: Add a comment.
28561 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28562 NODE when __dir_mkfile failed.
28563 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28564 Reported by Ludovic Courtès <ludo@gnu.org>.
28566 2012-04-24 Andreas Jaeger <aj@suse.de>
28568 * Makerules (common-clean): Also remove gen-as-const-headers
28571 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28573 * Makerules (native-compile): Do not change working directory for
28574 build. Use $(OUTPUT_OPTION) in command.
28575 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28577 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28580 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28581 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28582 * math/libm-test.inc (floor_test): Add more tests.
28583 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28585 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28587 * sysdeps/unix/getdents.c: Remove file.
28588 * sysdeps/unix/sysv/getdents.c: Likewise.
28589 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28591 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28592 sysdeps/unix/mman/syscalls.list.
28594 (mprotect): Likewise.
28596 (munmap): Likewise.
28597 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28598 * sysdeps/unix/mman/syscalls.list: Remove.
28599 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28601 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28602 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28603 * configure: Regenerated.
28604 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28605 $(libgcc_s_suffix).
28606 * config.make.in (libgcc_s_suffix): Remove variable.
28608 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28610 * sysdeps/unix/sysv/gethostname.c: Move to ...
28611 * sysdeps/posix/gethostname.c: ... here.
28613 * sysdeps/unix/execve.S: Remove file.
28615 * sysdeps/unix/_exit.S: Remove file.
28617 2012-04-23 Andreas Jaeger <aj@suse.de>
28620 * manual/Makefile: Remove make dist support, there's no
28621 need for a stand-alone documentation tar ball.
28622 (TEXI2DVI): Define always, it's not in Makeconfig.
28625 (edition): Removed.
28626 (glibc-doc-$(edition).tar): Removed
28630 (ETAGS): Remove, it's in Makeconfig.
28631 (move-if-change): Remove, it's in Makeconfig.
28633 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28636 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28637 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28638 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28639 (strtod_l, strtof_l, strtold_l): Remove __wur.
28640 It is not necessarily an error to ignore strtol's return value.
28641 One can reliably look at the stored endptr to decide whether
28642 the number had valid syntax.
28644 2012-04-21 Andreas Jaeger <aj@suse.de>
28647 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28649 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28651 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28652 * sysdeps/unix/sysv/Versions: Remove file.
28654 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28659 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28663 version from __vm86.
28665 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28667 * sysdeps/unix/common/lxstat.c: Remove file.
28668 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28670 * sysdeps/unix/sysv/Makefile: Remove file.
28672 * sysdeps/unix/sysv/direct.h: Remove file.
28674 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28675 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28676 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28677 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28678 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28679 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28680 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28682 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28684 * sysdeps/unix/xmknod.c: Remove file.
28685 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28687 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28689 * sysdeps/unix/sysv/i386/time.S: Remove file.
28691 * sysdeps/unix/fxstat.c: Remove file.
28692 * sysdeps/unix/xstat.c: Likewise.
28693 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28695 * sysdeps/unix/sysv/sigaction.c: Remove file.
28697 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28698 (sysdep_headers): Remove variable.
28699 [termio.h not in sysdep_headers] (generated): Likewise.
28700 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28701 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28702 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28703 * sysdeps/unix/sysv/tcflow.c: Likewise.
28704 * sysdeps/unix/sysv/tcflush.c: Likewise.
28705 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28706 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28707 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28708 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28709 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28711 * sysdeps/unix/siglist.c: Remove file.
28713 * sysdeps/unix/getppid.S: Remove file.
28715 * sysdeps/unix/mkdir.c: Remove file.
28716 * sysdeps/unix/rmdir.c: Likewise.
28718 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28720 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28722 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28723 errlist-compat value.
28725 2012-04-18 David S. Miller <davem@davemloft.net>
28727 * sysdeps/generic/memcopy.h (reg_char): Delete.
28728 * debug/strcat_chk.c: Use char, not reg_char.
28729 * debug/strcpy_chk.c: Likewise.
28730 * debug/strncat_chk.c: Likewise.
28731 * debug/strncpy_chk.c: Likewise.
28732 * string/memchr.c: Likewise.
28733 * string/memrchr.c: Likewise.
28734 * string/rawmemchr.c: Likewise.
28735 * string/strcat.c: Likewise.
28736 * string/strchr.c: Likewise.
28737 * string/strchrnul.c: Likewise.
28738 * string/strcmp.c: Likewise.
28739 * string/strcpy.c: Likewise.
28740 * string/strncat.c: Likewise.
28741 * string/strncmp.c: Likewise.
28742 * string/strncpy.c: Likewise.
28744 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28746 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28747 __builtin_memcopy is called when src and dest ranges are known to not
28750 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28752 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28753 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28754 fwd_align_merge macro call.
28755 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28756 bwd_align_merge macro call.
28757 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28759 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28761 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28762 bwd_align_merge macros.
28763 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28764 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28767 2012-04-18 David S. Miller <davem@davemloft.net>
28769 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28771 2012-04-18 Andreas Jaeger <aj@suse.de>
28774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28775 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28776 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28778 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28779 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28780 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28782 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28783 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28784 Adjust for changed ldbl-128 files.
28786 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28787 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28790 2012-04-17 David S. Miller <davem@davemloft.net>
28792 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28794 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28796 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28797 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28798 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28799 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28800 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28801 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28803 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28806 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28807 * math/libm-test.inc: Add ilogb errno and exception tests.
28808 * math/w_ilogb.c: New file: ilogb wrapper.
28809 * math/w_ilogbf.c: New file: ilogbf wrapper.
28810 * math/w_ilogbl.c: New file: ilogbl wrapper.
28811 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28812 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28813 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28814 exception being thrown with 0.0 as argument.
28815 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28816 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28817 exception being thrown with 0.0 as argument.
28818 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28819 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28820 exception being thrown with 0.0 as argument.
28821 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28822 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28823 exception being thrown with 0.0 as argument.
28824 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28825 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28826 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28827 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28828 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28829 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28830 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28831 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28832 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28834 2012-04-17 Petr Baudis <pasky@ucw.cz>
28836 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28839 2012-04-16 Marek Polacek <polacek@redhat.com>
28841 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28843 2012-04-16 Marek Polacek <polacek@redhat.com>
28845 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28846 operands of fdivp instruction.
28848 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28850 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28851 * elf/tst-auditmod3b.c: Likewise.
28852 * elf/tst-auditmod4b.c: Likewise.
28853 * elf/tst-auditmod5b.c: Likewise.
28854 * elf/tst-auditmod6b.c: Likewise.
28855 * elf/tst-auditmod6c.c: Likewise.
28856 * elf/tst-auditmod7b.c: Likewise.
28857 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28858 * sysdeps/x86_64/preconfigure.in: Likewise.
28859 * sysdeps/x86_64/preconfigure: Regenerated.
28861 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28863 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28866 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28869 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28871 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28874 * locale/iso-639.def: Fix gl language name. Spotted by
28877 2012-04-12 Roland McGrath <roland@hack.frob.com>
28880 * libio/libio.h (__io_write_fn): Update comment.
28882 2012-04-12 Petr Baudis <pasky@ucw.cz>
28885 * stdio.texi (Hook Functions): The user provided writer function
28886 is not allowed to return -1.
28888 2012-04-11 David S. Miller <davem@davemloft.net>
28890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28892 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28894 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28895 Add a leading slash to rtkaio.
28897 2012-04-11 Jim Meyering <meyering@redhat.com>
28900 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28901 It is not necessarily an error to ignore fwrite's return
28902 value. One can reliably use ferror to test for errors after
28905 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28907 * bits/types.h (__snseconds_t): New type.
28908 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28910 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28912 (__SNSECONDS_T_TYPE): Likewise.
28913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28914 (__SNSECONDS_T_TYPE): Likewise.
28915 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28916 (__SNSECONDS_T_TYPE): Likewise.
28918 2012-04-10 Andreas Jaeger <aj@suse.de>
28921 * manual/time.texi (Processor Time): Return type of times is
28922 elapsed real time since an arbitrary point in the past.
28923 (CPU Time): Move CLK_TCK from here...
28924 (Processor Time): ...to here. Correct description.
28925 * manual/conf.texi (Constants for Sysconf): Correct description of
28928 2012-04-10 David S. Miller <davem@davemloft.net>
28931 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28932 where the is a gap between DT_REL(A) and DT_JMPREL.
28934 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28936 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28937 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28938 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28940 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28942 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28943 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28944 (dl_main): Handle --inhibit-cache.
28945 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28947 * elf/dl-load.c (_dl_map_object): Use it.
28948 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28950 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28953 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28954 (__ieee754_powl): Saturate large exponents rather than testing for
28955 overflow of y*log2(x).
28956 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28957 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28961 * math/s_ctan.c: Include <float.h>.
28962 (__ctan): Avoid internal overflow or cancellation in calculating
28964 * math/s_ctanf.c: Likewise.
28965 * math/s_ctanl.c: Likewise.
28966 * math/s_ctanh.c: Likewise.
28967 * math/s_ctanhf.c: Likewise.
28968 * math/s_ctanhl.c: Likewise.
28969 * math/libm-test.inc (ctan_test): Add more tests.
28970 (ctanh_test): Likewise.
28971 * sysdeps/i386/fpu/libm-test-ulps: Update.
28972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28974 2012-04-09 Andreas Jaeger <aj@suse.de>
28977 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28978 is an optional BSD extension.
28981 * manual/stdio.texi (Opening Streams): Document additional fopen
28984 2012-04-09 Roland McGrath <roland@hack.frob.com>
28986 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28987 %eax without telling the compiler.
28989 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28992 * manual/install.texi: Use sourceware.org.
28994 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28997 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28998 (__ieee754_pow): Generate overflow and underflow using huge*huge
28999 and tiny*tiny rather than just returning constant infinity or zero
29000 for large exponents.
29001 * math/libm-test.inc (pow_test): Require overflow exceptions for
29002 applicable cases of large exponents.
29005 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29006 (__ieee754_pow): Use iterative multiplication algorithm only for
29007 integer exponents with absolute value below 1024. Check for odd
29008 integer exponents when using algorithm for real exponents.
29009 * math/libm-test.inc (pow_test): Add more tests.
29010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29012 2012-04-08 Joseph Myers <joseph@codesourcery.com>
29015 * math/libm-test.inc (exp_test): Do not allow overflow exception
29018 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29021 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29022 instead of __kernel_standard_f.
29024 2012-04-08 Mike Frysinger <vapier@gentoo.org>
29026 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29027 * sysdeps/x86_64/memset_chk.S: Likewise.
29029 2012-04-08 Andreas Jaeger <aj@suse.de>
29032 * manual/startup.texi (Environment Access): Describe return value
29033 for putenv and setenv.
29036 * manual/filesys.texi (Directory Entries): Add description for
29040 * manual/filesys.texi (Directory Entries): Clarify that it's file
29041 system not operating system in the description of DT_UNKNOWN.
29044 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29046 2012-04-08 Stephen Compall <s11@member.fsf.org>
29049 * manual/llio.texi (Opening and Closing Files): Add cross
29050 reference to explain mode argument.
29052 2012-04-07 Mike Frysinger <vapier@gentoo.org>
29054 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29055 * sysdeps/x86_64/memset_chk.S: Likewise.
29057 2012-04-07 David S. Miller <davem@davemloft.net>
29059 * elf/elf.h (R_SPARC_WDISP10): Define.
29060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29063 R_SPARC_SIZE64 and R_SPARC_H34.
29065 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29067 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29068 conditions and remove no longer applicable assertion.
29070 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29072 * bits/byteswap.h: Include <features.h>.
29073 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29074 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29076 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29078 * bits/byteswap.h (__bswap_16): Removed.
29079 Include <bits/byteswap-16.h> to get __bswap_16.
29080 * sysdeps/i386/bits/byteswap.h: Likewise.
29081 * sysdeps/s390/bits/byteswap.h: Likewise.
29082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29083 * bits/byteswap-16.h: New file.
29084 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29085 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29086 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29087 * string/Makefile (headers): Add bits/byteswap-16.h.
29089 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29092 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29094 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29095 * nss/tst-nss-static.c: New.
29097 2012-04-06 Robert Millan <rmh@gnu.org>
29100 * manual/llio.texi (File Position Primitive): lseek
29101 refers to WHENCE when it really means OFFSET.
29103 2012-04-06 Andreas Jaeger <aj@suse.de>
29105 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29106 strncmp declarations.
29108 * abilist/libc.abilist: Add __poll and __ppoll.
29110 2012-04-05 David S. Miller <davem@davemloft.net>
29112 * scripts/check-local-headers.sh: Accept a host triplet in the
29113 path matched by the exclude regexp.
29115 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29117 * sysdeps/powerpc/powerpc32/dl-machine.h
29118 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29119 * sysdeps/s390/s390-32/dl-machine.h
29120 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29121 * sysdeps/sparc/sparc32/dl-machine.h
29122 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29123 * sysdeps/sparc/sparc64/dl-machine.h
29124 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29126 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29128 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29129 undefined symbol errors.
29131 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29134 2012-04-05 Michael Matz <matz@suse.de>
29137 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29139 2012-04-05 Andreas Jaeger <aj@suse.de>
29142 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29145 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29147 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29148 which ROUND is no valid rounding mode.
29150 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29152 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29154 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29156 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29158 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29159 an exception using FPU order intentionally.
29161 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29163 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29164 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29165 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29166 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29168 2012-04-05 Simon Josefsson <simon@josefsson.org>
29171 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29172 EINVAL when BUFLEN is too smal.
29174 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29177 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29178 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29180 2012-04-03 Andreas Jaeger <aj@suse.de>
29183 * manual/setjmp.texi (System V contexts): Fix sentence.
29186 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29187 New macro for this case.
29188 [!__GNUC__] (__bswap_64): New inline function for this case.
29189 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29190 * bits/byteswap.h: Likewise.
29191 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29192 ull, guard with __GLIBC_HAVE_LONG_LONG.
29194 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29195 __GLIBC_HAVE_LONG_LONG.
29197 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29198 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29200 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29203 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29204 inptr and inend, rather than using last_ch.
29206 2012-04-02 David S. Miller <davem@davemloft.net>
29208 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29209 * stdio-common/printf-parse.h (read_int): Change return type to
29210 'int', return -1 on INT_MAX overflow.
29211 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29212 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29213 overflows INT_MAX. Check for overflow of in-format-string precision
29214 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29215 SIZE_MAX not INT_MAX for integer overflow test.
29216 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29217 skip the construct in the format string but do not record anything.
29218 * stdio-common/bug22.c: Adjust to test both width/prevision
29219 INT_MAX overflow as well as total length INT_MAX overflow. Check
29220 explicitly for proper errno values.
29222 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29224 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29226 * string/test-strcmp.c [! WIDE]: Likewise.
29227 * time/tst-mktime2.c: Likewise for INT_MAX.
29228 * string/test-string.h: #include <sys/param.h> for MIN.
29230 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29231 * sysdeps/i386/init-first.c (init): Likewise.
29232 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29233 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29234 * sysdeps/sh/init-first.c (init): Likewise.
29236 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29238 * po/ru.po: Update from translation team.
29239 * po/vi.po: Likewise.
29241 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29243 * resolv/nss_dns/dns-host.c: Merge copyright years.
29245 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29248 Optimize memcpy with prefetch if
29249 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29250 src, dst pointers have unequal 16 byte alignments.
29252 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29255 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29256 from a CNAME entry and return the minimum ttl for the query.
29257 (gaih_getanswer_slice): Likewise.
29259 2012-03-30 Jeff Law <law@redhat.com>
29261 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29263 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29264 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29266 * resolv/nss_dns/dns-host.c: Update copyright year.
29268 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29270 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29271 requests to save a system call. Fix check that all bytes are sent.
29273 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29274 comments for sendmmsg.
29276 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29279 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29280 with only 1 character between 0x0041 and 0x01b0.
29281 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29282 * wcsmbs/tst-mbsnrtowcs.c: New file.
29284 2012-03-29 David S. Miller <davem@davemloft.net>
29286 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29287 small copies by hand.
29289 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29292 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29293 _nss_compat_initgroups_dyn): Fall back to malloc/free
29294 for large group memberships.
29296 2012-03-28 David S. Miller <davem@davemloft.net>
29298 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29299 that branches into memcpy.
29300 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29303 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29306 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29307 implementation too.
29308 * sysdeps/sparc/mempcpy.S: New file.
29310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29311 the IFUNC routine in the libc case.
29312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29314 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29315 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29316 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29317 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29318 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29319 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29320 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29321 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29323 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29324 loop to 256 bytes instead of 64 bytes and fix test signedness.
29326 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29327 * sysdeps/sparc/sparc32/Makefile: rather than here...
29328 * sysdeps/sparc/sparc64/Makefile: and here.
29330 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29332 * malloc/mallocbug.c: Avoid warnings about unused variables.
29334 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29337 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29338 in the right place. Discard and retry query if response is
29339 larger than input buffer size.
29341 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29346 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29347 x for large integer exponent.
29348 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29349 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29350 sign of result as needed afterwards.
29351 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29352 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29353 result for underflowing pow the same as for overflow.
29354 (__kernel_standard_l): Handle powl overflow and underflow here
29355 rather than calling __kernel_standard.
29356 * math/libm-test.inc (pow_test): Add more tests.
29371 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29372 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29373 (__kernel_standard_l): New function.
29374 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29376 * math/w_acosl.c (__acosl): Likewise.
29377 * math/w_asinl.c (__asinl): Likewise.
29378 * math/w_atan2l.c (__atan2l): Likewise.
29379 * math/w_atanhl.c (__atanhl): Likewise.
29380 * math/w_coshl.c (__coshl): Likewise.
29381 * math/w_exp10l.c (__exp10l): Likewise.
29382 * math/w_exp2l.c (__exp2l): Likewise.
29383 * math/w_fmodl.c (__fmodl): Likewise.
29384 * math/w_hypotl.c (__hypotl): Likewise.
29385 * math/w_j0l.c (__j0l, __y0l): Likewise.
29386 * math/w_j1l.c (__j1l, __y1l): Likewise.
29387 * math/w_jnl.c (__jnl, __ynl): Likewise.
29388 * math/w_lgammal.c (__lgammal): Likewise.
29389 * math/w_log10l.c (__log10l): Likewise.
29390 * math/w_log2l.c (__log2l): Likewise.
29391 * math/w_logl.c (__logl): Likewise.
29392 * math/w_powl.c (__powl): Likewise.
29393 * math/w_remainderl.c (__remainderl): Likewise.
29394 * math/w_scalbl.c (sysv_scalbl): Likewise.
29395 * math/w_sinhl.c (__sinhl): Likewise.
29396 * math/w_sqrtl.c (__sqrtl): Likewise.
29397 * math/w_tgammal.c (__tgammal): Likewise.
29398 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29399 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29400 * math/libm-test.inc (acos_test): Add more tests.
29401 (acosh_test): Likewise.
29402 (asin_test): Likewise.
29403 (atanh_test): Likewise.
29404 (exp_test): Likewise.
29405 (exp10_test): Likewise.
29406 (exp2_test): Likewise.
29407 (expm1_test): Likewise.
29408 (lgamma_test): Likewise.
29409 (log_test): Likewise.
29410 (log10_test): Likewise.
29411 (log1p_test): Likewise.
29412 (log2_test): Likewise.
29413 (pow_test): Do not allow some spurious overflow exceptions.
29414 (sqrt_test): Add more tests.
29415 (tgamma_test): Likewise.
29416 (y0_test): Likewise.
29417 (y1_test): Likewise.
29418 (yn_test): Likewise.
29420 2012-03-27 Anton Blanchard <anton@samba.org>
29422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29425 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29428 2012-03-27 David S. Miller <davem@davemloft.net>
29430 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29432 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29433 have-as-vis3 check.
29435 2012-03-27 Andreas Jaeger <aj@suse.de>
29437 * sysdeps/x86_64/elf/configure.in: Moved to ...
29438 * sysdeps/x86_64/configure.in: ... here.
29439 * sysdeps/x86_64/elf/start.S: Moved to ...
29440 * sysdeps/x86_64/start.S: ... here.
29441 * sysdeps/x86_64/elf/configure: Delete.
29443 * sysdeps/x86_64/configure.in: Merge contents from
29444 sysdeps/i386/configure.in (without i686 check).
29446 * sysdeps/i386/elf/Versions: Merge into ...
29447 * sysdeps/i386/Versions: ... this.
29448 * sysdeps/i386/elf/Versions: Delete file.
29449 * sysdeps/i386/elf/start.S: Moved to ...
29450 * sysdeps/i386/start.S: ...here.
29451 * sysdeps/i386/elf/configure.in: Merge into...
29452 * sysdeps/i386/configure.in: ...here.
29453 * sysdeps/i386/elf/configure.in: Delete file.
29454 * sysdeps/i386/elf/configure: Delete file.
29456 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29457 * debug/backtracesyms.c: ... here.
29458 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29459 * debug/backtracesymsfd.c: ... here.
29460 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29461 * sysdeps/generic/ifunc-sel.h: ... here.
29463 * sysdeps/unix/i386/start.c: Delete file.
29464 * sysdeps/unix/sparc/start.c: Delete file.
29465 * sysdeps/unix/start.c: Delete file.
29467 * sysdeps/sh/elf/configure.in: Moved to ...
29468 * sysdeps/sh/configure.in: ... here.
29469 * sysdeps/sh/elf/start.S: Moved to ...
29470 * sysdeps/sh/start.S: ... here.
29471 * sysdeps/sh/elf/configure: Delete file.
29473 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29474 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29475 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29476 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29477 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29478 * sysdeps/powerpc/powerpc64/start.S: here.
29479 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29480 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29481 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29482 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29483 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29485 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29486 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29487 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29488 * sysdeps/powerpc/powerpc32/start.S: ... here.
29489 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29490 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29491 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29493 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29494 * sysdeps/powerpc/ifunc-sel.h: ... here.
29495 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29496 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29498 * sysdeps/sparc/elf/configure.in: Moved to ...
29499 * sysdeps/sparc/configure.in: ... here.
29500 * sysdeps/sparc/elf/configure: Delete file.
29501 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29502 * sysdeps/sparc/sparc32/start.S: ... here.
29503 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29504 * sysdeps/sparc/sparc64/start.S: ... here.
29505 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29506 * sysdeps/sparc/sparc32/Makefile: ... this.
29507 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29508 * sysdeps/sparc/sparc64/Makefile: ... this.
29510 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29511 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29512 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29513 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29514 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29515 * sysdeps/s390/s390-32/setjmp.S: ... here.
29516 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29517 * sysdeps/s390/s390-32/configure.in: ... here.
29518 * sysdeps/s390/s390-32/elf/configure: Delete file.
29519 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29520 * sysdeps/s390/s390-32/start.S: ... here.
29522 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29523 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29524 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29525 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29526 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29527 * sysdeps/s390/s390-64/setjmp.S: ... here.
29528 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29529 * sysdeps/s390/s390-64/configure.in: ... here
29530 * sysdeps/s390/s390-64/elf/configure: Delete file.
29531 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29532 * sysdeps/s390/s390-64/start.S: ... here.
29533 * sysdeps/s390/s390-64/elf/configure: Delete.
29535 * configure.in: Remove support for elf directories in sysdeps.
29537 * configure: Regenerated.
29538 * sysdeps/i386/configure: Regenerated.
29539 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29540 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29541 * sysdeps/s390/s390-32/configure: Regenerated.
29542 * sysdeps/s390/s390-64/configure: Regenerated.
29543 * sysdeps/sh/configure: Regenerated.
29544 * sysdeps/sparc/configure: Regenerated.
29545 * sysdeps/x86_64/configure: Regenerated.
29547 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29551 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29552 denormal result into account.
29554 2012-03-25 Roland McGrath <roland@hack.frob.com>
29556 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29557 Reported by Allan McRae <allan@archlinux.org>.
29559 2012-03-23 Jeff Law <law@redhat.com>
29561 * nss/getnssent.c (__nss_getent): Fix typo.
29563 2012-03-23 David S. Miller <davem@davemloft.net>
29565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29567 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29569 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29570 to pad to uint64_t for each field.
29571 (dl_tls_index): Replace unsigned long with uint64_t.
29573 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29574 Paul Pluzhnikov <ppluzhnikov@google.com>
29577 * grp/Makefile (otherlibs): Don't set it.
29578 * inet/Makefile (otherlibs): Likewise.
29579 * login/Makefile (otherlibs): Likewise.
29580 * nscd/Makefile (otherlibs): Likewise.
29581 * posix/Makefile (otherlibs): Likewise.
29582 * pwd/Makefile (otherlibs): Likewise.
29583 * rt/Makefile (otherlibs): Likewise.
29584 * sunrpc/Makefile (otherlibs): Likewise.
29585 * nss/Makefile (otherlibs): Likewise.
29586 Add libnss_files to routines and static-only-routines.
29587 ($(objpfx)getent): Remove rule.
29588 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29589 static-only-routines.
29591 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29594 * math/s_cexp.c: Include <float.h>.
29595 (__cexp): Handle exp result overflowing not necessarily
29596 overflowing both real and imaginary parts of result.
29597 * math/s_cexpf.c: Likewise.
29598 * math/s_cexpl.c: Likewise.
29599 * math/libm-test.inc (cexp_test): Add more tests.
29600 * sysdeps/i386/fpu/libm-test-ulps: Update.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29603 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29605 * include/link.h (ELFW): New macro.
29606 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29607 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29609 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29611 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29618 (struct La_x32_retval): Likewise.
29620 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29622 * sysdeps/x86_64/preconfigure.in: New file.
29623 * sysdeps/x86_64/preconfigure: New generated file.
29625 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29628 * math/e_exp2l.c: Include <float.h>.
29629 (__ieee754_exp2l): Handle overflow and underflow cases
29630 separately. Only pass fractional part of argument to
29632 * math/libm-test.inc (exp2_test): Add more tests.
29634 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29635 negating x to take absolute value.
29636 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29638 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29639 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29641 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29642 computing low part if x was negated.
29643 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29645 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29647 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29648 la_x32_gnu_pltexit.
29649 (pltexit): Cast int_retval to ptrdiff_t.
29650 * elf/tst-auditmod3b.c: Likewise.
29651 * elf/tst-auditmod4b.c: Likewise.
29652 * elf/tst-auditmod5b.c: Likewise.
29653 * elf/tst-auditmod6b.c: Likewise.
29654 * elf/tst-auditmod6c.c: Likewise.
29655 * elf/tst-auditmod7b.c: Likewise.
29657 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29658 and x32_gnu_pltexit.
29660 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29661 __ELF_NATIVE_CLASS.
29662 (La_x32_regs): New macro.
29663 (La_x32_retval): Likewise.
29664 (la_x32_gnu_pltenter): New function prototype.
29665 (la_x32_gnu_pltexit): Likewise.
29667 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29674 * configure.in (libc_cv_cc_nofma): Check for option to disable
29675 generation of FMA instructions.
29676 * configure: Regenerate.
29677 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29678 * sysdeps/ieee754/dbl-64/Makefile: New file.
29679 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29680 Remove brandred-fma4.
29681 (CFLAGS-brandred-fma4.c): Remove.
29682 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29683 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29685 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29688 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29690 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29691 LLONG_MAX != LONG_MAX.
29692 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29693 (_fitoa_word): Likewise.
29694 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29695 LLONG_MAX != LONG_MAX.
29696 * stdio-common/_itowa.h: Include <_itoa.h>.
29697 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29698 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29699 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29700 only if not defined.
29701 (_ITOA_WORD_TYPE): Likewise.
29702 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29703 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29705 2012-03-21 David S. Miller <davem@davemloft.net>
29707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29709 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29711 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29712 of x86_64 when setting libc_cv_slibdir, libdir and
29714 * sysdeps/unix/sysv/linux/configure: Regenerated.
29716 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29718 * manual/lang.texi (Old Varargs): Remove section.
29719 (How Variadic): Update menu.
29720 (va_start): Do not mention varargs.h.
29722 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29723 Joseph Myers <joseph@codesourcery.com>
29725 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29727 * configure: Regenerated.
29729 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29731 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29732 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29735 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29738 * Makefile (files-for-dist): Remove NOTES.
29739 (NOTES): Remove rule.
29740 * README: Don't refer to NOTES.
29741 * manual/creature.texi: Don't include macros.texi.
29742 * manual/intro.texi (creature.texi): Remove comment referring to
29745 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29746 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29747 * configure: Regenerated.
29748 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29749 LIBC_TRY_CC_OPTION.
29750 (libc_cv_as_i686): Likewise.
29751 (libc_cv_cc_avx): Likewise.
29752 (libc_cv_cc_sse2avx): Likewise.
29753 (libc_cv_cc_fma4): Likewise.
29754 (libc_cv_cc_novzeroupper): Likewise.
29755 * sysdeps/i386/configure: Regenerated.
29758 * sysdeps/i386/fpu/s_cexp.S: Remove.
29759 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29760 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29761 * math/libm-test.inc (cexp_test): Add more tests.
29762 * sysdeps/i386/fpu/libm-test-ulps: Update.
29763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29765 2012-03-21 Allan McRae <allan@archlinux.org>
29767 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29769 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29772 * math/w_exp2.c: Do not include <float.h>.
29773 (o_threshold, u_threshold): Remove.
29774 (__exp2): Calculate result before checking finiteness and calling
29776 * math/w_exp2f.c: Likewise.
29777 * math/w_exp2l.c: Likewise.
29778 * math/libm-test.inc (exp2_test): Require overflow exception for
29782 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29783 range of signed 64-bit integers before using fistpll. Remove
29784 checks for whether integers fit in mantissa bits.
29785 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29786 the range of signed 32-bit integers before using fistpl. Remove
29787 checks for whether integers fit in mantissa bits.
29788 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29789 (__ieee754_powl): Test for y outside the range of signed 64-bit
29790 integers before using fistpll. Reduce 64-bit values to 63-bit
29792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29793 divide-by-zero is raised for zero to large negative powers.
29794 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29795 (__ieee754_powl): Test for y outside the range of signed 64-bit
29796 integers before using fistpll. Reduce 64-bit values to 63-bit
29798 * math/libm-test.inc (pow_test): Add more tests.
29800 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29802 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29803 <stdio-common/_itoa.h>.
29804 * debug/segfault.c: Likewise.
29805 * elf/dl-cache.c: Likewise.
29806 * elf/dl-minimal.c: Likewise.
29807 * elf/dl-misc.c: Likewise.
29808 * elf/dl-sysdep.c: Likewise.
29809 * elf/dl-version.c: Likewise.
29810 * elf/rtld.c: Likewise.
29811 * hurd/hurdsock.c: Likewise.
29812 * hurd/lookup-retry.c: Likewise.
29813 * malloc/malloc.c: Likewise.
29814 * malloc/mtrace.c: Likewise.
29815 * nscd/nscd_getgr_r.c: Likewise.
29816 * nscd/nscd_getpw_r.c: Likewise.
29817 * nscd/nscd_getserv_r.c: Likewise.
29818 * posix/getopt_init.c: Likewise.
29819 * posix/wordexp.c: Likewise.
29820 * stdio-common/_itoa.c: Likewise.
29821 * stdio-common/printf_fphex.c: Likewise.
29822 * stdio-common/vfprintf.c: Likewise.
29823 * string/_strerror.c: Likewise.
29824 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29825 * sysdeps/i386/i686/hp-timing.h: Likewise.
29826 * sysdeps/mach/_strerror.c: Likewise.
29827 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29828 * sysdeps/mach/hurd/sethostid.c: Likewise.
29829 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29830 * sysdeps/mach/xpg-strerror.c: Likewise.
29831 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29833 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29834 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29835 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29836 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29837 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29838 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29839 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29840 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29841 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29842 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29843 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29844 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29845 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29846 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29847 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29848 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29849 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29850 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29851 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29853 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29855 * stdio-common/_itoa.h: Moved to ...
29856 * sysdeps/generic/_itoa.h: Here.
29858 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29860 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29861 instead of "_itoa.h" and "_itowa.h".
29862 * stdio-common/vfprintf.: Likewise.
29864 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29866 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29868 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29869 (__signbit): Likwise.
29870 (llrintf): Likwise.
29873 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29875 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29878 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29880 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29881 OVERFLOW_EXCEPTION_OK.
29882 * math/libm-test.inc ("Philosophy"): Update comment about
29884 (OVERFLOW_EXCEPTION): Define.
29885 (OVERFLOW_EXCEPTION_OK): Likewise.
29886 (INVALID_EXCEPTION_OK): Renumber.
29887 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29888 (IGNORE_ZERO_INF_SIGN): Likewise.
29889 (test_exceptions): Handle FE_OVERFLOW.
29890 (exp10_test): Expect overflow exceptions.
29891 (exp2_test): Likewise.
29892 (expm1_test): Likewise.
29893 (nextafter_test): Likewise.
29894 (pow_test): Likewise.
29895 (scalbn_test): Likewise.
29896 (scalbln_test): Likewise.
29898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29900 * sysdeps/x86_64/bits/atomic.h
29901 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29903 (atomic_exchange_acq): Likewise.
29904 (__arch_exchange_and_add_body): Likewise.
29905 (__arch_add_body): Likewise.
29906 (atomic_add_negative): Likewise.
29907 (atomic_add_zero): Likewise.
29909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29911 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29912 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29916 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29917 Check __x86_64__ instead of __WORDSIZE.
29919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29921 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29923 2012-03-19 David S. Miller <davem@davemloft.net>
29925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29927 * sysdeps/sparc/fpu/fenv_private.h: New file.
29928 * sysdeps/sparc/fpu/math_private.h: Use it.
29929 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29931 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29932 (libc_feholdexcept_setroundl): Remove.
29933 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29935 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29936 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29940 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29941 int64_t instead of long int.
29942 (INSERT_WORDS64): Likwise.
29944 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29946 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29947 _Unwind_GetCFA return to _Unwind_Ptr first.
29949 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29952 * math/s_clog.c: Include <float.h>.
29953 (__clog): Scale large or subnormal inputs.
29954 * math/s_clogf.c: Likewise.
29955 * math/s_clogl.c: Likewise.
29956 * math/s_clog10.c: Include <float.h>.
29957 (M_LOG10_2): Define.
29958 (__clog10): Scale large or subnormal inputs.
29959 * math/s_clog10f.c: Likewise.
29960 * math/s_clog10l.c: Likewise.
29961 * math/libm-test.inc (clog_test): Add more tests.
29962 (clog10_test): Likewise.
29963 * sysdeps/i386/fpu/libm-test-ulps: Update.
29964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29967 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29969 * math/libm-test.inc (atan2_test): Add another test.
29971 * Makerules (common-objdir-compile): Remove.
29972 * sysdeps/unix/Makefile (config-generated): Do not add
29973 $(unix-generated) to variable.
29974 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29975 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29977 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29979 [generic bits/local_lim.h] (before-compile): Do not append to
29981 [generic bits/local_lim.h] (common-generated): Likewise.
29982 [generic sys/param.h] (before-compile): Do not append to variable.
29983 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29984 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29985 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29986 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29988 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29989 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29990 [generic sys/param.h] ($(addprefix
29991 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29992 [generic sys/param.h] (common-generated): Do not append to
29994 [generic sys/param.h] (sysdep_headers): Likewise.
29995 [generic bits/errno.h] (before-compile): Do not append to
29997 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29999 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30000 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30001 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30002 [generic bits/errno.h] (common-generated): Do not append to
30004 [generic bits/ioctls.h] (before-compile): Do not append to
30006 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30008 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30009 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30010 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30012 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30013 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30014 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30015 [generic bits/ioctls.h] (common-generated): Do not append to
30017 [generic sys/syscall.h] (syscall.h): Remove variable.
30018 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30020 [generic sys/syscall.h] (before-compile): Do not append to
30022 [generic sys/syscall.h] (common-generated): Likewise.
30023 * sysdeps/unix/errnos-tmpl.c: Remove file.
30024 * sysdeps/unix/errnos.awk: Likewise.
30025 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30026 * sysdeps/unix/ioctls.awk: Likewise.
30027 * sysdeps/unix/mk-local_lim.c: Likewise.
30028 * sysdeps/unix/snarf-ioctls: Likewise.
30030 2012-03-19 Richard Henderson <rth@twiddle.net>
30032 * sysdeps/i386/fpu/fenv_private.h: New file.
30033 * sysdeps/i386/fpu/math_private.h: Use it.
30034 (math_opt_barrier, math_force_eval): Remove.
30035 (libc_feholdexcept_setround_53bit): Remove.
30036 (libc_feupdateenv_53bit): Remove.
30037 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30038 (math_opt_barrier, math_force_eval): Remove.
30039 (libc_feholdexcept): Remove.
30040 (libc_feholdexcept_setround): Remove.
30041 (libc_fetestexcept, libc_fesetenv): Remove.
30042 (libc_feupdateenv_test): Remove.
30043 (libc_feupdateenv, libc_feholdsetround): Remove.
30044 (libc_feresetround): Remove.
30046 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30047 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30049 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30050 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30051 (libc_feupdateenv_testl): New.
30052 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30053 (libc_feupdateenv_testf): New.
30054 (libc_feupdateenv): Use libc_feupdateenv_test.
30055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30056 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30058 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30059 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30060 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30061 (libc_feresetround_noex): New.
30062 (libc_feresetround_noexf): New.
30063 (libc_feresetround_noexl): New.
30064 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30065 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30066 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30067 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30072 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30073 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30074 SET_RESTORE_ROUND_NOEX.
30075 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30076 SET_RESTORE_ROUND_NOEXF.
30077 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30078 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30079 (libc_feholdsetroundf): New.
30080 (libc_feresetround, libc_feresetroundf): New.
30082 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30083 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30084 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30086 * sysdeps/generic/math_private.h: Include <fenv.h>.
30087 (default_libc_feholdexcept): New.
30088 (default_libc_feholdexcept_setround): New.
30089 (default_libc_fesetenv, default_libc_feupdateenv): New.
30090 (libc_feholdexcept): Only define if undefined.
30091 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30092 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30093 (libc_feholdexcept_setroundl): Likewise.
30094 (libc_feholdexcept_setround_53bit): Likewise.
30095 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30096 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30097 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30098 (libc_feupdateenv_53bit): Likewise.
30099 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30100 (libc_feholdexcept): Convert from macro to inline function.
30101 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30102 (libc_fesetenv, libc_feupdateenv): Likewise.
30104 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30105 not previously defined.
30106 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30107 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30108 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30109 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30110 * sysdeps/ieee754/flt-32/math_private.h: New file.
30111 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30112 math_private.h below SET_FLOAT_WORD.
30113 (__isnan, __isinf_ns, __finite): Remove.
30114 (__isnanf, __isinf_nsf, __finitef): Remove.
30116 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30120 2012-03-17 David S. Miller <davem@davemloft.net>
30123 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30126 2012-03-16 David S. Miller <davem@davemloft.net>
30128 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30132 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30134 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30135 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30136 sysdep_routines when subdir is sysvipc.
30137 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30138 __getshmlba helper.
30140 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30144 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30149 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30150 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30151 (__lround): Renamed to ...
30152 (__llround): This. Replace long int with long long int.
30153 Define lround functions as aliases of llround functions.
30154 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30156 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30158 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30159 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30160 adresses to uintptr_t. Replace "long int" and "unsigned long
30161 int" with "greg_t" on va_arg.
30163 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30165 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30166 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30168 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30169 Move e_machine check before EI_CLASS check. Handle x32
30170 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30171 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30172 SKIP_EM_IA_64 and include
30173 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30175 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30176 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30177 (add_system_dir): New macro.
30179 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30180 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30182 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30193 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30195 * math/w_j0f.c (j0f): Likewise.
30197 * math/w_j0l.c (__j0l): Likewise.
30199 * math/w_j1.c (j1): Likewise.
30201 * math/w_j1f.c (j1f): Likewise.
30203 * math/w_j1l.c (__j1l): Likewise.
30205 * math/w_jn.c (jn): Likewise.
30207 * math/w_jnf.c (jnf): Likewise.
30209 * math/w_jnl.c (__jnl): Likewise.
30211 * math/libm-test.inc (j0_test): Add more tests.
30212 (j1_test): Likewise.
30213 (jn_test): Likewise. Add trailing semicolon to existing test.
30214 (y0_test): Likewise.
30215 (y1_test): Likewise.
30216 * sysdeps/i386/fpu/libm-test-ulps: Update.
30217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30221 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30222 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30223 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30224 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30225 (__tanl): Set errno for infinite argument.
30226 * sysdeps/i386/fpu/mptan.c: Remove.
30227 * sysdeps/i386/fpu/s_tan.S: Likewise.
30228 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30229 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30230 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30231 * math/libm-test.inc (tan_test): Add more tests and enable more
30232 tests for double and long double.
30233 * sysdeps/i386/fpu/libm-test-ulps: Update.
30234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30236 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30238 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30239 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30241 2012-03-16 Roland McGrath <roland@hack.frob.com>
30243 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30244 * configure.in: Use it for both main tree and add-ons.
30245 * configure: Regenerated.
30247 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30249 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30251 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30253 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30257 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30258 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30259 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30261 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30263 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30265 != 0 for prec == 2.
30266 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30267 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30268 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30269 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30270 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30271 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30272 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30273 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30274 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30275 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30276 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30277 * math/libm-test.inc (cos_test): Add more tests and enable more
30278 tests for long double.
30279 (sin_test): Likewise.
30280 (sincos_test): Likewise.
30281 * sysdeps/i386/fpu/libm-test-ulps: Update.
30282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30284 2012-03-16 David S. Miller <davem@davemloft.net>
30286 * sysdeps/sparc/fpu/math_private.h: New file.
30288 2012-03-15 David S. Miller <davem@davemloft.net>
30290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30304 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30305 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30307 * sysdeps/sparc/sparc-ifunc.h: New file.
30308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30353 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30355 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30359 2012-03-15 Andreas Jaeger <aj@suse.de>
30362 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30363 ieee754/flt-32 implementation for sin, cos and sincos.
30364 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30365 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30366 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30367 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30368 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30369 ieee754/flt-32 implementation for tan.
30371 * math/libm-test.inc (cos_test): Enable some large input tests for
30373 (sin_test): Likewise.
30374 (sincos_test): Likewise.
30375 (tan_test): Add tests for large input.
30377 * sysdeps/i386/fpu/libm-test-ulps: Update.
30379 2012-03-15 Andreas Jaeger <aj@suse.de>
30382 * math/libm-test.inc (cos_test): Add more test cases.
30383 (sin_test): Likewise.
30384 (sincos_test): Likewise.
30386 2012-03-15 Andreas Jaeger <aj@suse.de>
30389 * math/libm-test.inc (cos_test): Add a test case for large input
30391 (sin_test): Likewise.
30392 (sincos_test): Likewise.
30394 2012-03-15 Andreas Jaeger <aj@suse.de>,
30395 Joseph Myers <joseph@codesourcery.com>
30398 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30399 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30400 * sysdeps/i386/fpu/branred.c: Likewise.
30401 * sysdeps/i386/fpu/dosincos.c: Likewise.
30402 * sysdeps/i386/fpu/mpa.c: Likewise.
30403 * sysdeps/i386/fpu/s_cos.S: Likewise.
30404 * sysdeps/i386/fpu/s_sin.S: Likewise.
30405 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30406 * sysdeps/i386/fpu/sincos32.c: Likewise.
30408 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30410 (libc_feupdateenv_53bit): Define.
30411 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30413 (libc_feupdateenv_53bit): Define.
30415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30416 53 bit (without extend i386 double precision).
30418 * math/libm-test.inc (sincos_test): Add tests for large input.
30422 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30424 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30428 2012-03-15 David S. Miller <davem@davemloft.net>
30430 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30431 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30432 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30433 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30458 fmin/fmax sysdep routines.
30459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30461 2012-03-14 David S. Miller <davem@davemloft.net>
30463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30535 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30540 * sysdeps/sparc/configure.in: New file.
30541 * sysdeps/sparc/configure: Generate.
30542 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30543 * configure: Regenerate.
30544 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30545 * config.make.in (have-as-vis3): New.
30546 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30547 available use -Av9d instead of -Av9a.
30548 * sysdeps/sparc/sparc64/Makefile: Likewise.
30549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30564 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30565 fzeros/fnegs to load 0x80000000 into a float register instead of
30567 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30569 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30573 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30574 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30575 ($(inst_includedir)/bits/syscall.h): Remove rule.
30576 ($(objpfx)bits/syscall.d): Include instead of
30577 $(objpfx)syscall-list.d.
30578 (generated): Change syscall-list.h and syscall-list.d to
30579 bits/syscall.h and bits/syscall.d.
30581 2012-03-14 Roland McGrath <roland@hack.frob.com>
30584 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30586 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30589 * math/s_csqrt.c: Include <float.h>.
30590 (__csqrt): Scale large or subnormal inputs.
30591 * math/s_csqrtf.c: Likewise.
30592 * math/s_csqrtl.c: Likewise.
30593 * math/libm-test.inc (csqrt_test): Add more tests.
30594 * sysdeps/i386/fpu/libm-test-ulps: Update.
30595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30598 * math/libm-test.inc (hypot_test): Add more tests.
30600 2012-03-13 David S. Miller <davem@davemloft.net>
30603 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30604 double-precision for the calculation instead of scaling.
30606 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30608 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30609 manipulate bits before adding and subtracting TWO52[sx].
30610 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30611 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30613 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30615 2012-03-13 David S. Miller <davem@davemloft.net>
30617 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30618 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30620 rtld-global-offsets.h
30621 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30623 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30626 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30628 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30629 'err' in the ifdef scope in which it is actually used.
30631 * nss/nss_db/db-init.c: Include string.h
30633 2012-03-12 David S. Miller <davem@davemloft.net>
30635 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30636 masking out of the most significant byte of random value used.
30637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30638 Fix coding style in previous change.
30640 * sysdeps/unix/sysv/linux/kernel-features.h
30641 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30642 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30644 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30647 2012-03-11 David S. Miller <davem@davemloft.net>
30649 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30650 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30652 for 'resultvar' otherwise things get truncated on 64-bit.
30654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30655 Fix masking out of the most significant byte of random value used.
30657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30659 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30663 2012-03-09 David S. Miller <davem@davemloft.net>
30665 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30666 variables with appropriate CPP guards.
30667 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30668 frame pointer, not the stack pointer. Correct layout comments. Fix test
30669 on resulting framesize and the management of the outregs buffer for pltexit.
30670 Preserve floating point return values across _dl_call_pltexit call.
30671 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30672 framesize and the management of the outregs buffer for pltexit.
30673 Preserve floating point return values across _dl_call_pltexit
30675 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30676 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30677 (print_exit): Fix format string for return register value.
30679 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30681 * sunrpc/Makefile (others): Add rpcgen.
30682 ($(objpfx)rpcgen): Remove special build rule and dependency on
30684 * sunrpc/rpcgen.c: New file.
30686 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30689 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30690 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30691 * sysdeps/i386/crti.S: Likewise.
30692 * sysdeps/i386/crtn.S: Likewise.
30693 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30694 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30695 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30696 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30697 * sysdeps/sh/crti.S: Likewise.
30698 * sysdeps/sh/crtn.S: Likewise.
30699 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30702 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30704 * locale/programs/locfile-kw.gperf: Likewise.
30705 * locale/programs/charmap-kw.h: Regenerated.
30706 * locale/programs/locfile-kw.h: Likewise.
30709 * intl/plural.y: Replace FSF snail mail address with URL.
30710 * intl/plural.c: Regenerated.
30712 2012-03-09 Richard Henderson <rth@twiddle.net>
30714 * include/math_private.h: Remove file.
30715 * math/math_private.h: Move file ...
30716 * sysdeps/generic/math_private.h: ... here.
30718 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30719 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30720 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30722 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30723 and <math_private.h>.
30724 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30725 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30726 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30727 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30728 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30740 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30748 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30750 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30756 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30774 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30775 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30776 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30778 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30790 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30791 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30792 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30793 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30794 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30795 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30796 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30798 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30803 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30811 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30812 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30813 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30814 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30815 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30817 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30818 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30819 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30824 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30825 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30826 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30827 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30828 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30829 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30830 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30831 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30836 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30837 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30838 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30839 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30840 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30841 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30843 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30845 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30847 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30848 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30849 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30850 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30851 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30852 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30853 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30854 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30855 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30856 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30857 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30858 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30859 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30860 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30861 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30862 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30863 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30864 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30865 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30866 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30867 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30868 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30869 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30870 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30871 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30872 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30873 * sysdeps/ieee754/k_standard.c: Likewise.
30874 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30875 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30876 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30877 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30878 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30879 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30880 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30881 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30882 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30883 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30887 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30888 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30889 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30890 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30891 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30892 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30893 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30899 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30901 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30905 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30907 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30909 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30911 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30912 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30913 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30916 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30917 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30918 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30919 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30920 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30922 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30924 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30930 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30931 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30936 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30944 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30946 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30947 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30977 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30989 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30991 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30993 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30994 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30996 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31001 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31006 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31022 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31023 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31024 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31034 * sysdeps/ieee754/s_lib_version.c: Likewise.
31035 * sysdeps/ieee754/s_matherr.c: Likewise.
31036 * sysdeps/ieee754/s_signgam.c: Likewise.
31037 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31039 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31040 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31041 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31042 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31043 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31044 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31045 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31046 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31047 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31048 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31049 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31050 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31051 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31052 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31053 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31054 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31059 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31061 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31062 * sunrpc/rpc_main.c: Likewise.
31063 * sunrpc/rpc_svcout.c: Likewise.
31065 2012-03-09 David S. Miller <davem@davemloft.net>
31067 * include/math_private.h: New file.
31069 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31071 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31072 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31073 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31074 from <bits/socket_type.h>.
31075 (enum __socket_type): Don't define here.
31076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31078 bits/socket_type.h.
31081 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31082 checking __USE_GNU.
31084 * Makerules ($(inst_includedir)/%.h): New rule.
31085 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31086 (install-others): Remove variable setting.
31087 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31089 2012-03-08 Richard Henderson <rth@twiddle.net>
31091 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31092 from macro to inline function; merge with the
31093 !__LIBC_INTERNAL_MATH_INLINES version.
31094 (__ieee754_sqrtf): Likewise.
31096 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31097 to inline function.
31098 (__rintf, __floor, __floorf): Likewise.
31100 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31101 macro to inline function.
31102 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31104 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31105 not <math/math_private.h>.
31107 2012-03-08 David S. Miller <davem@davemloft.net>
31109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31111 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31113 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31115 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31117 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31118 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31120 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31122 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31123 be defined individually, they must be defined as a block. Define
31124 S for printing a string instead of hidint the different by using a
31125 macro for adding the 'l'.
31126 * stdio-common/tst-fphex-wide.c: Adjust.
31128 2012-03-07 Marek Polacek <polacek@redhat.com>
31130 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31132 2012-03-08 Marek Polacek <polacek@redhat.com>
31135 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31136 * stdio-common/tst-fphex.c: Define a few macros to make the
31137 test reusable. Use them.
31138 * stdio-common/tst-fphex-wide.c: New file.
31140 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31143 * manual/macros.texi (gnusystems): New macro.
31144 (nongnusystems): Likewise.
31145 (gnulinuxhurdsystems): Likewise.
31146 (gnuhurdsystems): Likewise..
31147 (gnulinuxsystems): Likewise.
31148 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31149 variants of the GNU system, not "GNU system".
31150 * manual/conf.texi: Likewise.
31151 * manual/errno.texi: Likewise. Update example of errno macro
31153 * manual/filesys.texi: Likewise.
31154 (getumask): Document as specific to GNU/Hurd.
31155 * manual/install.texi: Likewise. Reword some references to
31157 * manual/intro.texi: Likewise.
31158 * manual/io.texi: Likewise.
31159 (File Name Portability): Detail which constraints are inapplicable
31160 to all GNU systems and which are only inapplicable to GNU/Hurd.
31161 * manual/job.texi: Likewise.
31162 * manual/llio.texi: Likewise.
31163 (O_NOCTTY): Document as present on GNU/Linux.
31164 * manual/maint.texi: Likewise.
31165 * manual/memory.texi: Likewise.
31166 * manual/pattern.texi: Likewise.
31167 * manual/pipe.texi: Likewise.
31168 * manual/process.texi: Likewise.
31169 * manual/resource.texi: Likewise.
31170 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31172 * manual/setjmp.texi: Likewise.
31173 * manual/signal.texi: Likewise.
31174 * manual/startup.texi: Likewise.
31175 * manual/stdio.texi: Likewise.
31176 * manual/terminal.texi: Likewise.
31177 (ONLCR): Document as POSIX.
31178 (OXTABS): Document availability on GNU/Linux as XTABS.
31179 (ONOEOT): Document availability separately from other bits.
31180 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31181 * manual/time.texi: Likewise.
31182 * manual/users.texi: Likewise.
31183 * INSTALL: Regenerated.
31184 * sysdeps/gnu/errlist.c: Regenerated.
31186 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31187 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31188 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31190 * configure: Regenerated.
31192 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31194 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31195 default includes instead of AC_HEADER_CHECK.
31196 * sysdeps/i386/configure: Regenerated.
31199 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31200 * math/s_cacoshf.c (__cacoshf): Likewise.
31201 * math/s_cacoshl.c (__cacoshl): Likewise.
31202 * math/s_casinh.c (__casinh): Set signs of result from argument.
31203 * math/s_casinhf.c (__casinhf): Likewise.
31204 * math/s_casinhl.c (__casinhl): Likewise.
31205 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31206 (casinh_test): Add more tests.
31207 * sysdeps/i386/fpu/libm-test-ulps: Update.
31208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31210 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31212 * po/zh_TW.po: Update from translation team.
31214 * login/Makefile (distribute): Remove variable.
31215 * catgets/Makefile: Likewise.
31216 * mach/Makefile: Likewise.
31217 * malloc/Makefile: Likewise.
31218 * misc/Makefile: Likewise.
31219 * iconv/Makefile: Likewise.
31220 * nscd/Makefile: Likewise.
31221 * hurd/Makefile: Likewise.
31222 * manual/Makefile: Likewise.
31223 * locale/Makefile: Likewise.
31224 * intl/Makefile: Likewise.
31225 * conform/Makefile: Likewise.
31226 * nss/Makefile: Likewise.
31227 * time/Makefile: Likewise.
31228 * soft-fp/Makefile: Likewise.
31229 * dirent/Makefile: Likewise.
31230 * gmon/Makefile: Likewise.
31231 * po/Makefile: Likewise.
31232 * rt/Makefile: Likewise.
31233 * socket/Makefile: Likewise.
31234 * math/Makefile: Likewise.
31235 * signal/Makefile: Likewise.
31236 * debug/Makefile: Likewise.
31237 * elf/Makefile: Likewise.
31238 * timezone/Makefile: Likewise.
31239 * stdlib/Makefile: Likewise.
31240 * iconvdata/Makefile: Likewise.
31241 * sunrpc/Makefile: Likewise.
31242 * io/Makefile: Likewise.
31243 * argp/Makefile: Likewise.
31244 * inet/Makefile: Likewise.
31245 * hesiod/Makefile: Likewise.
31246 * grp/Makefile: Likewise.
31247 * csu/Makefile: Likewise.
31248 * wctype/Makefile: Likewise.
31249 * crypt/Makefile: Likewise.
31250 * libio/Makefile: Likewise.
31251 * string/Makefile: Likewise.
31252 * nis/Makefile: Likewise.
31253 * resolv/Makefile: Likewise.
31254 * stdio-common/Makefile: Likewise.
31255 * wcsmbs/Makefile: Likewise.
31256 * dlfcn/Makefile: Likewise.
31257 * posix/Makefile: Likewise.
31260 * timezone/Makefile: Don't install timezone files, just the programs
31263 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31265 * nss/databases.def: Add missing gshadow entry.
31267 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31269 2012-03-06 Marek Polacek <polacek@redhat.com>
31272 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31273 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31274 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31275 * stdio-common/tst-long-dbl-fphex.c: New file.
31277 2012-03-06 David S. Miller <davem@davemloft.net>
31279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31280 (set_obp_int): New function.
31281 (get_obp_int): New function.
31282 (__get_clockfreq_via_dev_openprom): Likewise.
31283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31284 Avoid unused variable warnings on 'val' and use builtin_expect.
31285 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31287 (INLINE_CLONE_SYSCALL): Likewise.
31289 2012-03-05 David S. Miller <davem@davemloft.net>
31291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31293 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31297 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31298 only for |x| >= 40.
31299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31301 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31304 Replace gettimeofday with __vdso_gettimeofday.
31306 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31307 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31308 __vdso_clock_gettime and __vdso_getcpu.
31310 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31311 time with __vdso_time.
31313 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31315 * manual/lang.texi (size_t): Note types to which size_t may be
31316 equivalent with the GNU C Library, but do not describe when
31317 differences between them are significant.
31319 2012-03-05 Andreas Jaeger <aj@suse.de>
31321 * sysdeps/i386/fpu/libm-test-ulps: Update.
31323 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31326 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31327 (__ieee754_pow): Save and restore rounding mode and use
31328 round-to-nearest for main computations.
31329 * math/libm-test.inc (pow_test_tonearest): New function.
31330 (pow_test_towardzero): Likewise.
31331 (pow_test_downward): Likewise.
31332 (pow_test_upward): Likewise.
31333 (main): Call the new functions.
31334 * sysdeps/i386/fpu/libm-test-ulps: Update.
31335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31338 * math/libm-test.inc (cosh_test_tonearest): New function.
31339 (cosh_test_towardzero): Likewise.
31340 (cosh_test_downward): Likewise.
31341 (cosh_test_upward): Likewise.
31342 (sinh_test_tonearest): Likewise.
31343 (sinh_test_towardzero): Likewise.
31344 (sinh_test_downward): Likewise.
31345 (sinh_test_upward): Likewise.
31346 (main): Call the new functions.
31347 * sysdeps/i386/fpu/libm-test-ulps: Update.
31348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31350 2012-03-05 Tom de Vries <tom@codesourcery.com>
31352 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31353 default stack guard is set in last bytes.
31354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31356 2012-03-05 Kees Cook <keescook@chromium.org>
31358 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31361 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31362 possibly allocate from heap instead of stack.
31363 * stdio-common/bug-vfprintf-nargs.c: New file.
31364 * stdio-common/Makefile (tests): Add nargs overflow test.
31366 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31370 2012-03-03 Marek Polacek <polacek@redhat.com>
31372 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31373 * math/math_private.h: Likewise.
31374 * stdlib/tst-strtod.c: Likewise.
31375 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31376 * sysdeps/x86_64/bits/atomic.h: Likewise.
31378 2012-03-02 David S. Miller <davem@davemloft.net>
31380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31384 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31385 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31386 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31387 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31389 2012-03-02 Roland McGrath <roland@hack.frob.com>
31392 * manual/examples/README: New file, says the example source files
31393 can be used under GPL>=2.
31394 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31395 line containing just "*/".
31396 * manual/examples/add.c: Add copyright header (GPL>=2).
31397 * manual/examples/argp-ex1.c: Likewise.
31398 * manual/examples/argp-ex2.c: Likewise.
31399 * manual/examples/argp-ex3.c: Likewise.
31400 * manual/examples/argp-ex4.c: Likewise.
31401 * manual/examples/atexit.c: Likewise.
31402 * manual/examples/db.c: Likewise.
31403 * manual/examples/dir.c: Likewise.
31404 * manual/examples/dir2.c: Likewise.
31405 * manual/examples/execinfo.c: Likewise.
31406 * manual/examples/filecli.c: Likewise.
31407 * manual/examples/filesrv.c: Likewise.
31408 * manual/examples/fmtmsgexpl.c: Likewise.
31409 * manual/examples/genpass.c: Likewise.
31410 * manual/examples/inetcli.c: Likewise.
31411 * manual/examples/inetsrv.c: Likewise.
31412 * manual/examples/isockad.c: Likewise.
31413 * manual/examples/longopt.c: Likewise.
31414 * manual/examples/memopen.c: Likewise.
31415 * manual/examples/memstrm.c: Likewise.
31416 * manual/examples/mkfsock.c: Likewise.
31417 * manual/examples/mkisock.c: Likewise.
31418 * manual/examples/mygetpass.c: Likewise.
31419 * manual/examples/pipe.c: Likewise.
31420 * manual/examples/popen.c: Likewise.
31421 * manual/examples/rprintf.c: Likewise.
31422 * manual/examples/search.c: Likewise.
31423 * manual/examples/select.c: Likewise.
31424 * manual/examples/setjmp.c: Likewise.
31425 * manual/examples/sigh1.c: Likewise.
31426 * manual/examples/sigusr.c: Likewise.
31427 * manual/examples/stpcpy.c: Likewise.
31428 * manual/examples/strdupa.c: Likewise.
31429 * manual/examples/strftim.c: Likewise.
31430 * manual/examples/strncat.c: Likewise.
31431 * manual/examples/subopt.c: Likewise.
31432 * manual/examples/swapcontext.c: Likewise.
31433 * manual/examples/termios.c: Likewise.
31434 * manual/examples/testopt.c: Likewise.
31435 * manual/examples/testpass.c: Likewise.
31436 * manual/examples/timeval_subtract.c: Likewise.
31439 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31441 * manual/timeval_subtract.c.texi: ... here, new file.
31443 2012-03-02 David S. Miller <davem@davemloft.net>
31445 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31447 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31450 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31451 (__sin): Save and restore rounding mode and use round-to-nearest
31452 for all computations.
31453 (__cos): Save and restore rounding mode and use round-to-nearest
31454 for all computations.
31455 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31457 (tan): Save and restore rounding mode and use round-to-nearest for
31459 * math/libm-test.inc (cos_test_tonearest): New function.
31460 (cos_test_towardzero): Likewise.
31461 (cos_test_downward): Likewise.
31462 (cos_test_upward): Likewise.
31463 (sin_test_tonearest): Likewise.
31464 (sin_test_towardzero): Likewise.
31465 (sin_test_downward): Likewise.
31466 (sin_test_upward): Likewise.
31467 (tan_test_tonearest): Likewise.
31468 (tan_test_towardzero): Likewise.
31469 (tan_test_downward): Likewise.
31470 (tan_test_upward): Likewise.
31471 (main): Call the new functions.
31472 * sysdeps/i386/fpu/libm-test-ulps: Update.
31473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31476 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31477 small n, then large n, before computing and testing k+n.
31478 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31483 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31484 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31485 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31486 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31487 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31488 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31490 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31491 * math/libm-test.inc (scalbn_test): Add more tests.
31492 (scalbln_test): Likewise.
31494 * manual/filesys.texi (mode_t): Describe constraints on size and
31495 signedness, not exact equivalence to a particular type.
31497 (ino64_t): Likewise.
31499 (nlink_t): Likewise.
31500 (blkcnt_t): Likewise.
31501 (blkcnt64_t): Likewise.
31502 * manual/llio.texi (off_t): Likewise.
31505 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31506 (__ieee754_exp): Save and restore rounding mode and use
31507 round-to-nearest for all computations.
31508 * math/libm-test.inc (exp_test_tonearest): New function.
31509 (exp_test_towardzero): Likewise.
31510 (exp_test_downward): Likewise.
31511 (exp_test_upward): Likewise.
31512 (main): Call the new functions.
31513 * sysdeps/i386/fpu/libm-test-ulps: Update.
31514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31516 2012-03-01 Chris Demetriou <cgd@google.com>
31518 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31519 have predictable order.
31521 2012-03-01 David S. Miller <davem@davemloft.net>
31523 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31525 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31526 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31527 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31528 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31530 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31531 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31532 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31534 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31535 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31536 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31537 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31538 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31543 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31544 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31546 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31547 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31548 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31549 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31550 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31552 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31553 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31555 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31556 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31559 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31560 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31562 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31563 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31564 * sysdeps/sparc/elf/configure: Regenerated.
31566 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31568 * configure.in (AS, LD): Require binutils 2.20 or later.
31569 * configure: Regenerated.
31570 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31571 as required minimum version.
31572 * INSTALL: Regenerated.
31576 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31577 before squaring exponent.
31578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31579 bottom long double and 27 bits of top long double before squaring
31581 * math/libm-test.inc (erfc_test): Add more tests.
31582 * sysdeps/i386/fpu/libm-test-ulps: Update.
31583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31586 2012-03-01 Kai Tietz <ktietz@redhat.com>
31588 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31589 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31590 containing bit-fields.
31591 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31592 * soft-fp/single.h (_FP_UNION_S): Likewise.
31593 * soft-fp/double.h (_FP_UNION_D): Likewise.
31595 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31598 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31599 not include ../strcmp.S.
31600 [USE_AS_STRNCASECMP_L]: Likewise.
31601 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31602 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31603 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31604 (__strncasecmp_l_ia32): Define as alias to
31605 __strncasecmp_l_nonascii.
31608 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31609 * sysdeps/i386/fpu/libm-test-ulps: Update.
31610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31612 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31615 2012-02-29 Jeff Law <law@redhat.com>
31617 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31618 out of bounds read.
31620 2012-02-29 Marek Polacek <polacek@redhat.com>
31623 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31624 * elf/Makefile: Add rules to run tst-unused-dep.out.
31626 2012-02-28 David S. Miller <davem@davemloft.net>
31628 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31629 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31632 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31633 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31635 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31637 * math/libm-test.inc (llround_test): Move one test from
31638 lround_test. Use TEST_f_L in moved test.
31639 (lround_test): Move misplaced test to llround_test. Add testcase
31642 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31644 * sysdeps/x86_64/fpu/e_expf.S: New file.
31645 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31647 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31650 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31651 of remain_len that may cause incomplete multi-byte character and
31653 * posix/bug-regex33.c: New file.
31654 * posix/Makefile (tests): Add bug-regex33.
31656 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31658 * manual/macros.texi: New file.
31659 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31660 * manual/libc.texinfo: Include macros.texi.
31661 * manual/creatute.texi: Likewise.
31662 * manual/install.texi: Likewise.
31663 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31664 @glibcadj{} in references to the GNU C Library.
31665 * manual/charset.texi: Likewise.
31666 * manual/conf.texi: Likewise.
31667 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31668 when not using those macros.
31669 * manual/creature.texi: Likewise.
31670 * manual/crypt.texi: Likewise.
31671 * manual/errno.texi: Likewise.
31672 * manual/filesys.texi: Likewise.
31673 * manual/header.texi: Likewise.
31674 * manual/install.texi: Likewise.
31675 * manual/intro.texi: Likewise.
31676 * manual/io.texi: Likewise.
31677 * manual/job.texi: Likewise.
31678 * manual/lang.texi: Likewise.
31679 * manual/libc.texiinfo: Likewise.
31680 * manual/llio.texi: Likewise.
31681 * manual/locale.texi: Likewise.
31682 * manual/maint.texi: Likewise.
31683 * manual/math.texi: Likewise.
31684 * manual/memory.texi: Likewise.
31685 * manual/message.texi: Likewise.
31686 * manual/nss.texi: Likewise.
31687 * manual/pattern.texi: Likewise.
31688 * manual/process.texi: Likewise.
31689 * manual/resource.texi: Likewise.
31690 * manual/search.texi: Likewise.
31691 * manual/setjmp.texi: Likewise.
31692 * manual/signal.texi: Likewise.
31693 * manual/socket.texi: Likewise.
31694 * manual/startup.texi: Likewise.
31695 * manual/stdio.texi: Likewise.
31696 * manual/string.texi: Likewise.
31697 * manual/sysinfo.texi: Likewise.
31698 * manual/syslog.texi: Likewise.
31699 * manual/terminal.texi: Likewise.
31700 * manual/time.texi: Likewise.
31701 * manual/users.texi: Likewise.
31702 * INSTALL: Regenerated.
31703 * NOTES: Regenerated.
31704 * sysdeps/gnu/errlist.c: Regenerated.
31706 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31708 * include/dirent.h: Include <dirstream.h> before
31711 2012-02-28 David S. Miller <davem@davemloft.net>
31713 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31714 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31715 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31716 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31718 2012-02-27 David S. Miller <davem@davemloft.net>
31720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31722 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31723 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31726 frame pointer instead of stack pointer relative arg slot.
31727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31731 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31734 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31736 2012-02-27 David S. Miller <davem@davemloft.net>
31738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31744 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31747 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31749 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31750 later. Allow versions 5-9.
31751 * configure: Regenerated.
31752 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31753 required minimum version and 4.6 as recommended version. Do not
31754 mention bugs in GCC 2.7 and 2.8.
31755 * INSTALL: Regenerated.
31757 2012-02-27 David S. Miller <davem@davemloft.net>
31759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31763 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31764 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31765 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31766 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31769 manipulate bits before adding and subtracting TWO112[sx].
31770 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31772 2012-02-27 Roland McGrath <roland@hack.frob.com>
31775 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31776 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31777 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31778 being in POSIX, because they are in 1003.1-2008.
31780 * rt/tst-aio.c: Include <fcntl.h>.
31781 * rt/tst-aio7.c: Likewise.
31782 * rt/tst-aio64.c: Likewise.
31784 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31786 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31788 * manual/install.texi (--with-headers): Describe headers as
31789 interface headers, not private headers.
31790 (Specific advice for GNU/Linux systems): Describe use of headers
31791 from "make headers_install", not private headers from older
31793 * INSTALL: Regenerated.
31794 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31796 * sysdeps/unix/sysv/linux/configure: Regenerated.
31798 * manual/llio.texi (fclean): Remove documentation.
31800 * manual/Makefile (libc-texi-generated): New variable. Include
31802 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31803 $(libc-texi-generated), not duplicated list of files.
31804 (version.texi, stamp-version): New rules.
31805 (realclean): Remove $(libc-texi-generated), not individual files
31806 from that list. Do not remove dir-add.texinfo.
31807 * manual/libc.texinfo: Comment out uses of edition numbers and
31808 references to printed manual. Remove last-updated dates.
31809 (EDITION): Comment out.
31811 (VERSION, UPDATED): Remove.
31812 (version.texi): Include.
31814 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31816 * sysdeps/posix/spawni.c: Include <signal.h>.
31817 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31818 * sysdeps/pthread/aio_fsync.c: Likewise.
31820 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31822 * conform/Makefile (tests): Run only when not cross-compiling and
31823 when fast-check is not defined.
31825 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31826 * conform/data/limits.h-data: Fixes for POSIX2008.
31827 * conform/run-conformtest.sh: Run all tests.
31828 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31830 * include/bits/dlfcn.h: Likewise.
31831 * include/langinfo.h: Likewise.
31832 * include/monetary.h: Likewise.
31833 * include/sys/poll.h: Likewise.
31835 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31837 * posix/spawn.h: Define __need_sigset_t.
31838 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31839 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31840 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31841 to get sigevent_t only.
31842 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31843 only for __USE_GNU.
31844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31845 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31846 process_vm_writev only for __USE_GNU.
31847 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31849 * conform/Makefile: For now ignore errors from run-conformtest.
31850 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31851 POSIX to avoid namespace pollution. Don't prepend headers.
31852 * conform/data/aio.h-data: Fixes for POSIX testing.
31853 * conform/data/fcntl.h-data: Likewise.
31854 * conform/data/glob.h-data: Likewise.
31855 * conform/data/grp.h-data: Likewise.
31856 * conform/data/pthread.h-data: Likewise.
31857 * conform/data/pwd.h-data: Likewise.
31858 * conform/data/signal.h-data: Likewise.
31859 * conform/data/spawn.h-data: Likewise.
31860 * conform/data/stdio.h-data: Likewise.
31861 * conform/data/stdlib.h-data: Likewise.
31862 * conform/data/stropts.h-data: Likewise.
31863 * conform/data/sys/mman.h-data: Likewise.
31864 * conform/data/sys/stat.h-data: Likewise.
31865 * conform/data/sys/types.h-data: Likewise.
31866 * conform/data/sys/wait.h-data: Likewise.
31867 * conform/data/time.h-data: Likewise.
31868 * conform/data/unistd.h-data: Likewise.
31869 * conform/data/utime.h-data: Likewise.
31871 * io/sys/stat.h: fchmod was always in POSIX.
31872 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31873 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31874 * rt/aio.h: Define __need_timespec before including <time.h>.
31875 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31876 struct. Add forward declaration of pthread_attr_t and use it in
31878 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31880 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31881 always remove CLK_TCK definition.
31883 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31885 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31887 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31889 * conform/run-conformtest.sh: New file.
31890 * conform/Makefile: Run run-conformtest for tests.
31891 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31894 * conform/data/uchar.h-data: New file.
31895 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31896 * conform/data/arpa/inet.h-data: Likewise.
31897 * conform/data/assert.h-data: Likewise.
31898 * conform/data/complex.h-data: Likewise.
31899 * conform/data/cpio.h-data: Likewise.
31900 * conform/data/ctype.h-data: Likewise.
31901 * conform/data/dirent.h-data: Likewise.
31902 * conform/data/dlfcn.h-data: Likewise.
31903 * conform/data/errno.h-data: Likewise.
31904 * conform/data/fcntl.h-data: Likewise.
31905 * conform/data/float.h-data: Likewise.
31906 * conform/data/fmtmsg.h-data: Likewise.
31907 * conform/data/fnmatch.h-data: Likewise.
31908 * conform/data/ftw.h-data: Likewise.
31909 * conform/data/glob.h-data: Likewise.
31910 * conform/data/grp.h-data: Likewise.
31911 * conform/data/iconv.h-data: Likewise.
31912 * conform/data/inttypes.h-data: Likewise.
31913 * conform/data/langinfo.h-data: Likewise.
31914 * conform/data/libgen.h-data: Likewise.
31915 * conform/data/limits.h-data: Likewise.
31916 * conform/data/locale.h-data: Likewise.
31917 * conform/data/math.h-data: Likewise.
31918 * conform/data/monetary.h-data: Likewise.
31919 * conform/data/mqueue.h-data: Likewise.
31920 * conform/data/ndbm.h-data: Likewise.
31921 * conform/data/net/if.h-data: Likewise.
31922 * conform/data/netdb.h-data: Likewise.
31923 * conform/data/netinet/in.h-data: Likewise.
31924 * conform/data/nl_types.h-data: Likewise.
31925 * conform/data/poll.h-data: Likewise.
31926 * conform/data/pthread.h-data: Likewise.
31927 * conform/data/pwd.h-data: Likewise.
31928 * conform/data/regex.h-data: Likewise.
31929 * conform/data/sched.h-data: Likewise.
31930 * conform/data/search.h-data: Likewise.
31931 * conform/data/semaphore.h-data: Likewise.
31932 * conform/data/setjmp.h-data: Likewise.
31933 * conform/data/signal.h-data: Likewise.
31934 * conform/data/spawn.h-data: Likewise.
31935 * conform/data/stdarg.h-data: Likewise.
31936 * conform/data/stdio.h-data: Likewise.
31937 * conform/data/stdlib.h-data: Likewise.
31938 * conform/data/string.h-data: Likewise.
31939 * conform/data/strings.h-data: Likewise.
31940 * conform/data/stropts.h-data: Likewise.
31941 * conform/data/sys/ipc.h-data: Likewise.
31942 * conform/data/sys/mman.h-data: Likewise.
31943 * conform/data/sys/msg.h-data: Likewise.
31944 * conform/data/sys/resource.h-data: Likewise.
31945 * conform/data/sys/select.h-data: Likewise.
31946 * conform/data/sys/sem.h-data: Likewise.
31947 * conform/data/sys/shm.h-data: Likewise.
31948 * conform/data/sys/socket.h-data: Likewise.
31949 * conform/data/sys/stat.h-data: Likewise.
31950 * conform/data/sys/statvfs.h-data: Likewise.
31951 * conform/data/sys/time.h-data: Likewise.
31952 * conform/data/sys/timeb.h-data: Likewise.
31953 * conform/data/sys/times.h-data: Likewise.
31954 * conform/data/sys/types.h-data: Likewise.
31955 * conform/data/sys/uio.h-data: Likewise.
31956 * conform/data/sys/un.h-data: Likewise.
31957 * conform/data/sys/utsname.h-data: Likewise.
31958 * conform/data/sys/wait.h-data: Likewise.
31959 * conform/data/syslog.h-data: Likewise.
31960 * conform/data/tar.h-data: Likewise.
31961 * conform/data/termios.h-data: Likewise.
31962 * conform/data/utime.h-data: Likewise.
31963 * conform/data/utmpx.h-data: Likewise.
31964 * conform/data/varargs.h-data: Likewise.
31965 * conform/data/wchar.h-data: Likewise.
31966 * conform/data/wctype.h-data: Likewise.
31967 * conform/data/wordexp.h-data: Likewise.
31969 * include/stropts.h: New file.
31970 * include/uchar.h: New file.
31971 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31972 * include/assert.h: Likewise.
31973 * include/ctype.h: Likewise.
31974 * include/dirent.h: Likewise.
31975 * include/dlfcn.h: Likewise.
31976 * include/fcntl.h: Likewise.
31977 * include/fnmatch.h: Likewise.
31978 * include/glob.h: Likewise.
31979 * include/grp.h: Likewise.
31980 * include/libio.h: Likewise.
31981 * include/locale.h: Likewise.
31982 * include/math.h: Likewise.
31983 * include/net/if.h: Likewise.
31984 * include/netdb.h: Likewise.
31985 * include/netinet/in.h: Likewise.
31986 * include/pthread.h: Likewise.
31987 * include/pwd.h: Likewise.
31988 * include/regex.h: Likewise.
31989 * include/sched.h: Likewise.
31990 * include/search.h: Likewise.
31991 * include/setjmp.h: Likewise.
31992 * include/signal.h: Likewise.
31993 * include/stdio.h: Likewise.
31994 * include/stdlib.h: Likewise.
31995 * include/string.h: Likewise.
31996 * include/sys/cdefs.h: Likewise.
31997 * include/sys/mman.h: Likewise.
31998 * include/sys/msg.h: Likewise.
31999 * include/sys/resource.h: Likewise.
32000 * include/sys/select.h: Likewise.
32001 * include/sys/socket.h: Likewise.
32002 * include/sys/stat.h: Likewise.
32003 * include/sys/statvfs.h: Likewise.
32004 * include/sys/time.h: Likewise.
32005 * include/sys/times.h: Likewise.
32006 * include/sys/uio.h: Likewise.
32007 * include/sys/utsname.h: Likewise.
32008 * include/sys/wait.h: Likewise.
32009 * include/termios.h: Likewise.
32010 * include/time.h: Likewise.
32011 * include/ulimit.h: Likewise.
32012 * include/unistd.h: Likewise.
32013 * include/utime.h: Likewise.
32014 * include/wchar.h: Likewise.
32015 * include/wctype.h: Likewise.
32016 * include/wordexp.h: Likewise.
32018 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32020 * time/time.h: TIME_UTC must be a macro.
32021 Make timespec_get available for ISO C11 only as well.
32023 2012-02-24 Ulrich Drepper <drepper@gmail.com>
32025 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32026 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32028 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32030 * configure.in: Use -o not -a in test for unsupported multi-arch.
32032 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32034 * manual/texinfo.tex: Update to version 2012-01-19.16.
32036 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32038 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32040 2012-02-24 Roland McGrath <roland@hack.frob.com>
32043 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32044 * manual/fdl-1.3.texi: New file.
32045 * manual/fdl-1.1.texi: File removed.
32048 * manual/libc.texinfo (FDL_VERSION): New @set.
32049 Use it for mention of FDL in cover text.
32050 (Documentation License): Use it in @include file name.
32052 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32053 Roland McGrath <roland@hack.frob.com>
32056 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32057 not LONG_LONG_MAX and LONG_LONG_MIN.
32058 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32059 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32061 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32067 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32068 manipulate bits before adding and subtracting TWO23[sx].
32069 * math/libm-test.inc (nearbyint_test): Add more tests.
32071 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32074 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32075 bits before adding and subtracting TWO23[sx].
32076 * math/libm-test.inc (rint_test): Add more tests.
32077 (rint_test_tonearest): Likewise.
32078 (rint_test_towardzero): Likewise.
32079 (rint_test_downward): Likewise.
32080 (rint_test_upward: Likewise.
32082 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32085 * include/stdc-predef.h: New file. Extracted from features.h.
32086 * include/features.h: Include stdc-predef.h.
32087 * Makefile (headers): Add stdc-predef.h.
32088 * CONFORMANCE (Compiler limitations): Update.
32090 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32092 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32094 2012-02-21 David S. Miller <davem@davemloft.net>
32096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32097 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32099 2012-02-20 David S. Miller <davem@davemloft.net>
32101 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32102 using a normal save/restore sequence, rather than allocating a
32103 dummy stack frame just to store a frame pointer and restore.
32104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32106 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32108 * manual/install.texi: Fix stray word in line-wrapped comment.
32110 2012-02-20 David S. Miller <davem@davemloft.net>
32112 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32113 both binutils and gcc support GOTDATA.
32115 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32116 "rd %pc" in the PIC register setup sequences.
32118 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32119 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32120 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32121 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32122 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32124 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32127 (SYSCALL_ERROR_HANDLER): Likewise.
32128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32129 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32131 (SYSCALL_ERROR_HANDLER): Likewise.
32133 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32134 (HAVE_GCC_GOTDATA): New.
32135 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32136 relocation support in both binutils and gcc.
32137 * sysdeps/sparc/elf/configure: Regenerate.
32139 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32140 * sysdeps/sparc/sparc32/elf/configure: Delete.
32141 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32142 * sysdeps/sparc/sparc64/elf/configure: Delete.
32143 * sysdeps/sparc/elf/configure.in: New file.
32144 * sysdeps/sparc/elf/configure: Generate.
32146 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32147 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32148 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32149 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32150 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32152 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32154 * manual/install.texi: Do not mention specific glibc version
32156 * manual/libc.texinfo (VERSION, UPDATED): Update.
32157 (@copying): Use @copyright{} and range of years.
32159 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32162 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32163 [crti.S not in sysdirs] (generated): Do not append.
32164 [crti.S not in sysdirs] (omit-deps): Likewise.
32165 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32166 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32167 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32168 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32169 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32171 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32172 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32173 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32174 * csu/defs.awk: Remove file.
32175 * sysdeps/generic/initfini.c: Likewise.
32176 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32178 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32181 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32183 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32184 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32185 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32188 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32190 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32191 (__EPOLL_PACKED): Define to empty if not defined by
32193 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32197 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32199 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32200 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32201 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32202 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32204 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32208 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32210 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32213 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32214 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32217 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32220 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32222 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32224 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32225 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32227 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32229 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32232 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32234 * math/w_acos.c: Use non-signaling floating-point comparisons.
32235 * math/w_acosf.c: Likewise.
32236 * math/w_acosh.c: Likewise.
32237 * math/w_acoshf.c: Likewise.
32238 * math/w_acoshl.c: Likewise.
32239 * math/w_acosl.c: Likewise.
32240 * math/w_asin.c: Likewise.
32241 * math/w_asinf.c: Likewise.
32242 * math/w_asinl.c: Likewise.
32243 * math/w_atanh.c: Likewise.
32244 * math/w_atanhf.c: Likewise.
32245 * math/w_atanhl.c: Likewise.
32246 * math/w_exp2.c: Likewise.
32247 * math/w_exp2f.c: Likewise.
32248 * math/w_exp2l.c: Likewise.
32249 * math/w_j0.c: Likewise.
32250 * math/w_j0f.c: Likewise.
32251 * math/w_j0l.c: Likewise.
32252 * math/w_j1.c: Likewise.
32253 * math/w_j1f.c: Likewise.
32254 * math/w_j1l.c: Likewise.
32255 * math/w_jn.c: Likewise.
32256 * math/w_jnf.c: Likewise.
32257 * math/w_log.c: Likewise.
32258 * math/w_log10.c: Likewise.
32259 * math/w_log10f.c: Likewise.
32260 * math/w_log10l.c: Likewise.
32261 * math/w_log2.c: Likewise.
32262 * math/w_log2f.c: Likewise.
32263 * math/w_log2l.c: Likewise.
32264 * math/w_logf.c: Likewise.
32265 * math/w_logl.c: Likewise.
32266 * math/w_sqrt.c: Likewise.
32267 * math/w_sqrtf.c: Likewise.
32268 * math/w_sqrtl.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32275 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32278 * manual/string.texi (strnlen): Use correct parameter name in
32279 equivalent expression.
32281 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32284 * manual/users.texi (seteuid): Consistently use neweuid for
32287 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32290 * manual/nss.texi (Services in the NSS configuration): Correct
32291 list of services in example configuration file.
32293 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32296 * manual/arith.texi: Remove statements about negative zero
32297 behaving identically to zero.
32299 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32302 * manual/install.texi: Do not document upgrading from libc5.
32304 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32307 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32309 2012-02-18 David S. Miller <davem@davemloft.net>
32311 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32312 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32313 %o7 across the call.
32314 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32317 SETUP_PIC_REG_LEAF.
32318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32319 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32320 * sysdeps/sparc/crtn.S: Likewise.
32322 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32324 * aout/Makefile: Remove.
32326 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32329 * manual/examples/argp-ex1.c (main): Format definition in GNU
32331 * manual/examples/argp-ex2.c (main): Likewise.
32332 * manual/examples/argp-ex3.c (main): Likewise.
32333 * manual/examples/argp-ex4.c (main): Likewise.
32334 * manual/examples/longopt.c (main): Use new-style prototype
32336 * manual/examples/strncat.c (main): Specify return type and use
32337 (void) for arguments.
32338 * manual/examples/subopt.c (main): Use char **argv argument.
32340 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32343 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32346 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32349 * manual/string.texi (strchr): Change when strchrnul is
32352 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32355 * manual/locale.texi (setlocale): Document LOCPATH.
32357 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32360 * manual/process.texi (execle): Move @dots{} before last argument.
32362 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32365 * manual/charset.texi (Generic Charset Conversion): Fix typo
32366 (LC_TYPE -> LC_CTYPE).
32368 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32371 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32372 (scalbnf): Likewise.
32373 (scalbnl): Likewise.
32374 (scalbln): Likewise.
32375 (scalblnf): Likewise.
32376 (scalblnl): Likewise.
32377 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32378 (vwarnx): Likewise.
32381 * manual/filesys.texi (telldir): Use braces around return type.
32382 * manual/llio.texi (mmap): Add space after comma.
32383 (mmap64): Likewise.
32384 * manual/math.texi (jn): Use @var{} on parameter names.
32390 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32392 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32394 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32395 (sched_get_priority_max): Likewise.
32396 * manual/signal.texi (sigvec): Add space after comma.
32397 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32399 (if_indextoname): Likewise.
32400 (if_freenameindex): Likewise.
32401 (sendto): Use ',' instead of '.' in prototype.
32402 * manual/startup.texi (syscall): Use @dots{} instead of literal
32404 * manual/stdio.texi (__fpending): Separate initial words of
32405 paragraph from @deftypefun line.
32406 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32408 (vsyslog): Use @var{} on parameter names.
32409 * manual/terminal.texi (stty): Use @var{} on parameter names.
32410 * manual/users.texi (getutmp): Use @var{} on parameter names.
32411 (getutmpx): Likewise.
32413 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32416 * manual/stdio.texi (fopen): Fix typos in description of
32419 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32422 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32423 get clock_id definition.
32425 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32428 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32429 (madvise): Cast every argument to void on its own.
32431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32434 * manual/startup.texi (Exit Status): Fix typo.
32436 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32439 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32440 * manual/examples/argp-ex2.c: Likewise.
32441 * manual/examples/argp-ex3.c: Likewise.
32443 2012-02-16 Richard Henderson <rth@redhat.com>
32445 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32446 * sysdeps/s390/s390-32/initfini.c: Remove.
32447 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32448 * sysdeps/s390/s390-64/initfini.c: Remove.
32450 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32452 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32453 compiler output for sysdeps/generic/initfini.c.
32454 * sysdeps/sh/elf/initfini.c: Remove file.
32456 2012-02-16 David S. Miller <davem@davemloft.net>
32459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32461 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32462 * sysdeps/sparc/crti.S: New file.
32463 * sysdeps/sparc/crtn.S: New file.
32464 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32465 * sysdeps/sparc/sparc64/Makefile: Likewise.
32467 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32470 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32472 2012-02-15 Roland McGrath <roland@hack.frob.com>
32475 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32477 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32478 (write, read, close): Likewise.
32479 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32481 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32483 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32484 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32485 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32486 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32488 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32492 2012-02-14 Marek Polacek <polacek@redhat.com>
32494 * sysdeps/x86_64/crti.S: New file.
32495 * sysdeps/x86_64/crtn.S: New file.
32496 * sysdeps/x86_64/elf/initfini.c: Remove file.
32498 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32500 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32501 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32502 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32503 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32505 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32509 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32511 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32512 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32513 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32514 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32516 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32520 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32522 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32523 __feraiseexcept instead of feraiseexcept.
32525 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32526 nanosleep invocations.
32527 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32528 strings, and add error checking for a nanosleep invocations.
32530 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32532 Replace FSF snail mail address with URLs, as per GNU coding standards.
32533 Most of the snail mail addresses were wrong anyway, and omitting
32534 them makes the source code easier to maintain. Almost all of the
32535 changes are to license notices and to locale LC_IDENTIFICATION
32536 addresses, except for this one:
32537 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32538 not its snail mail address.
32540 2012-02-09 Richard Henderson <rth@twiddle.net>
32542 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32543 of kernel-features.h.
32545 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32547 2012-02-08 Marek Polacek <polacek@redhat.com>
32549 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32550 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32551 * sysdeps/gnu/_G_config.h: Likewise.
32552 * sysdeps/generic/_G_config.h: Likewise.
32554 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32556 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32560 * sysdeps/powerpc/powerpc32/crti.S: New file.
32561 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32562 * sysdeps/powerpc/powerpc64/crti.S: New file.
32563 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32565 * Makeconfig (have-initfini): Don't set.
32566 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32567 * configure.in (nopic_initfini): Don't substitute.
32568 * config.h.in (HAVE_INITFINI): Don't #undef.
32569 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32570 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32572 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32574 Support crti.S and crtn.S provided directly by architectures.
32575 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32576 [crti.S in sysdirs] (omit-deps): Likewise.
32577 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32578 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32579 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32580 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32581 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32582 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32583 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32584 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32585 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32586 compiler output for sysdeps/generic/initfini.c.
32587 * sysdeps/i386/elf/Makefile: Remove file.
32588 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32590 2012-02-07 Marek Polacek <polacek@redhat.com>
32592 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32593 * sysdeps/gnu/_G_config.h: Likewise.
32594 * sysdeps/mach/hurd/_G_config.h: Likewise.
32596 2012-02-07 Marek Polacek <polacek@redhat.com>
32598 * math/Makefile (tests): Add tst-CMPLX2.
32599 * math/tst-CMPLX2.c: New file.
32601 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32603 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32605 * math/libm-test.inc (jn_test): Add missing L suffix.
32607 2012-02-06 Marek Polacek <polacek@redhat.com>
32609 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32610 * sysdeps/i386/fpu/e_powf.S: Likewise.
32611 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32612 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32613 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32614 * sysdeps/i386/fpu/e_pow.S: Likewise.
32615 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32616 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32617 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32618 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32619 * sysdeps/i386/fpu/e_log2.S: Likewise.
32620 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32621 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32622 * sysdeps/i386/fpu/e_powl.S: Likewise.
32623 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32625 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32626 * sysdeps/i386/fpu/e_logl.S: Likewise.
32627 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32628 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32629 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32630 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32631 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32632 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32633 * sysdeps/i386/fpu/e_log.S: Likewise.
32634 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32635 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32636 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32637 * sysdeps/i386/fpu/e_logf.S: Likewise.
32638 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32639 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32640 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32641 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32642 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32643 * sysdeps/i386/fpu/e_log10.S: Likewise.
32644 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32645 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32646 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32647 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32648 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32649 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32650 * sysdeps/i386/asm-syntax.h: Likewise.
32651 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32653 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32654 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32655 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32657 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32658 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32660 * sysdeps/powerpc/sysdep.h: Likewise.
32661 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32662 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32664 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32667 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32669 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32671 * sysdeps/i386/sysdep.h: Include <features.h>.
32672 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32675 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32679 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32682 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32684 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32685 (SETUP_PIC_REG): Use GET_PC_THUNK.
32686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32689 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32691 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32692 for non-PIC compilation.
32693 (SETUP_PIC_REG): Add .p2align directive.
32694 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32695 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32696 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32697 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32698 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32699 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32700 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32702 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32703 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32704 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32705 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32706 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32707 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32708 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32709 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32710 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32711 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32712 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32713 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32714 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32716 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32717 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32718 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32720 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32721 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32722 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32723 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32724 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32726 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32727 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32728 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32729 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32730 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32731 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32732 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32733 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32734 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32736 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32738 * math/tst-CMPLX.c: Include <stdio.h>.
32740 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32742 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32744 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32745 * sysdeps/sparc/bits/mathdef.h: Likewise.
32747 2012-01-31 Marek Polacek <polacek@redhat.com>
32749 * libio/libio.h: Don't define _PARAMS.
32750 * locale/programs/config.h: Don't define PARAMS.
32751 * stdlib/strtol_l.c: Likewise.
32752 (__strtol_l): Remove PARAMS from the prototype.
32754 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32756 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32757 names. Just use the correct names. Remove unnecessary wrapper
32759 * malloc/arena.c: Likewise.
32760 * malloc/hooks.c: Likewise.
32762 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32763 ARENA_TEST says not to. Simplify test for creation of a new arena.
32764 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32766 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32768 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32770 (update_get_addr): New function.
32771 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32772 GET_ADDR_MODULE parameter.
32774 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32776 * crypt/cert.c: Remove __STDC__ conditionals.
32777 * crypt/crypt-entry.c: Likewise.
32778 * crypt/crypt_util.c: Likewise.
32779 * libio/filedoalloc.c: Likewise.
32780 * libio/fileops.c: Likewise.
32781 * libio/genops.c: Likewise.
32782 * libio/iofclose.c: Likewise.
32783 * libio/iofdopen.c: Likewise.
32784 * libio/iofopen.c: Likewise.
32785 * libio/iofopen64.c: Likewise.
32786 * libio/iogetdelim.c: Likewise.
32787 * libio/iopopen.c: Likewise.
32788 * libio/obprintf.c: Likewise.
32789 * libio/oldfileops.c: Likewise.
32790 * libio/oldiofclose.c: Likewise.
32791 * libio/oldiofdopen.c: Likewise.
32792 * libio/oldiofopen.c: Likewise.
32793 * libio/oldiopopen.c: Likewise.
32794 * libio/wfiledoalloc.c: Likewise.
32795 * libio/wgenops.c: Likewise.
32796 * locale/programs/xmalloc.c: Likewise.
32797 * misc/syslog.c: Likewise.
32798 * stdio-common/xbug.c: Likewise.
32799 * string/memchr.c: Likewise.
32800 * string/memcmp.c: Likewise.
32801 * string/memrchr.c: Likewise.
32802 * string/rawmemchr.c: Likewise.
32803 * sysdeps/posix/getcwd.c: Likewise.
32804 * time/strftime_l.c: Likewise.
32806 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32808 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32809 * config.make.in (config-cflags-sse2avx): Define.
32810 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32813 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32815 * scripts/config.guess: Update from upstream config git repository.
32816 * scripts/config.sub: Likewise.
32818 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32820 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32822 (R_TILEPRO_*, R_TILEGX_*): New macros.
32824 * scripts/firstversions.awk: Fix bug in version range handling.
32826 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32828 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32830 * include/sys/epoll.h: New file.
32831 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32834 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32836 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32837 Avoid unnecessary __WORDSIZE == 64 test.
32838 (fmaxf): Use VEX format if possible.
32843 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32844 * math/math_private.h: Remove libc_fegetround* and
32846 * sysdeps/i386/configure.in: Check for -msse2avx.
32847 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32848 also if SSE2AVX is defined.
32849 Remove libc_fegetround* and libc_fesetround*.
32850 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32851 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32860 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32862 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32864 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32866 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32868 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32871 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32873 * Makeconfig (libm): Define.
32874 * elf/Makefile: Add rules to build and run tst-relsort1.
32875 * elf/tst-relsort1.c: New file.
32876 * elf/tst-relsort1mod1.c: New file.
32877 * elf/tst-relsort1mod2.c: New file.
32879 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32881 * math/s_ldexp.c: Remove __STDC__ conditionals.
32882 * math/s_ldexpf.c: Likewise.
32883 * math/s_ldexpl.c: Likewise.
32884 * math/s_nextafter.c: Likewise.
32885 * math/s_nexttowardf.c: Likewise.
32886 * math/s_significand.c: Likewise.
32887 * math/s_significandf.c: Likewise.
32888 * math/s_significandl.c: Likewise.
32889 * math/w_jnl.c: Likewise.
32890 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32891 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32892 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32893 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32894 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32896 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32897 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32898 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32900 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32911 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32912 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32913 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32914 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32915 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32916 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32917 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32918 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32919 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32920 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32921 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32922 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32923 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32924 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32925 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32926 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32927 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32928 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32929 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32930 * sysdeps/ieee754/k_standard.c: Likewise.
32931 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32932 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32933 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32934 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32935 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32936 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32937 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32938 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32939 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32940 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32941 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32943 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32944 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32945 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32947 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32948 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32949 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32950 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32951 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32952 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32953 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32954 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32955 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32956 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32958 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32960 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32961 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32962 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32963 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32964 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32966 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32967 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32968 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32969 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32970 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32971 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32973 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32974 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32975 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32976 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32978 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32979 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32980 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32981 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32982 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32984 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32986 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32987 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32988 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32989 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32991 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32992 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32993 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32995 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32996 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32997 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32998 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32999 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33000 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33002 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33003 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33004 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33005 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33006 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33007 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33008 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33009 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33010 * sysdeps/ieee754/s_matherr.c: Likewise.
33011 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33012 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33016 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33018 * crypt/md5.h: Remove __STDC__ conditionals.
33019 * libio/libioP.h: Likewise.
33020 * locale/programs/config.h: Likewise.
33021 * sysdeps/generic/sysdep.h: Likewise.
33022 * sysdeps/i386/asm-syntax.h: Likewise.
33023 * sysdeps/s390/asm-syntax.h: Likewise.
33024 * sysdeps/unix/sysdep.h: Likewise.
33025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33028 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33030 * libio/libio.h: Remove __STDC__ conditionals.
33031 * malloc/obstack.h: Likewise.
33032 * math/complex.h: Likewise.
33033 * math/math.h: Likewise.
33034 * sysdeps/generic/_G_config.h: Likewise.
33035 * sysdeps/gnu/_G_config.h: Likewise.
33036 * sysdeps/mach/hurd/_G_config.h: Likewise.
33037 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33038 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33039 * sysdeps/sparc/bits/mathdef.h: Likewise.
33041 2012-01-26 Ulrich Drepper <drepper@gmail.com>
33044 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33045 Clean up HAS_* macros.
33046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33047 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33053 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33054 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33057 2012-01-25 Joseph Myers <joseph@codesourcery.com>
33059 * elf/tst-unique3.cc (gets): Remove declaration.
33060 * elf/tst-unique3lib.cc (gets): Likewise.
33061 * elf/tst-unique3lib2.cc (gets): Likewise.
33062 * elf/tst-unique4.cc (gets): Likewise.
33064 2012-01-24 Ulrich Drepper <drepper@gmail.com>
33066 * include/stdio.h: Add C++ protection. Add gets declarations and
33068 * debug/tst-chk1.c: Don't declare gets here.
33069 * stdio-common/tst-gets.c: Likewise.
33071 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33073 * posix/glob: Remove directory.
33075 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33077 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33079 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33081 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33082 of the non-standard EPFNOSUPPORT.
33084 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33086 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33087 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33088 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33090 2012-01-21 Ulrich Drepper <drepper@gmail.com>
33092 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33094 2012-01-20 Ulrich Drepper <drepper@gmail.com>
33096 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33098 * nscd/grpcache.c (cache_addgr): Likewise.
33099 * nscd/hstcache.c (cache_addhst): Likewise.
33100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33101 * nscd/pwdcache.c (cache_addpw): Likewise.
33102 * nscd/servicescache.c (cache_addserv): Likewise.
33104 2012-01-16 Ulrich Drepper <drepper@gmail.com>
33106 * malloc/malloc.c: Various cleanups.
33107 * malloc/hooks.c: Likewise.
33109 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33110 * stdlib/bug-fmtmsg1.c: New file.
33112 * stdlib/fmtmsg.c (init): Add missing unlock.
33113 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33115 2012-01-12 Marek Polacek <polacek@redhat.com>
33117 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33120 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33122 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33123 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33124 macro to ensure uniqueness of label name.
33125 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33126 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33128 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33132 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33133 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33137 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33139 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33141 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33142 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33143 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33145 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33147 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33148 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33149 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33152 * math/bits/math-finite.h: Add ldexp support.
33154 2012-01-10 Marek Polacek <polacek@redhat.com>
33156 * locale/programs/localedef.h (show_archive_content): Add noreturn
33159 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33161 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33163 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33165 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33167 * io/Makefile (headers): Add bits/poll2.h.
33169 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33172 typo #include statement.
33174 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33176 * include/sys/cdefs.h: Define __attribute_alloc_size.
33177 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33178 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33179 * elf/pldd.c: Likewise.
33180 * iconv/iconv_charmap.c: Likewise.
33181 * iconv/iconvconfig.c: Likewise.
33182 * iconv/strtab.c: Likewise.
33183 * locale/programs/locale.c: Likewise.
33184 * locale/programs/localedef.h: Likewise.
33185 * locale/programs/simple-hash.c: Likewise.
33186 * nscd/nscd.h: Likewise.
33187 * nss/makedb.c: Likewise.
33188 * sysdeps/generic/ldconfig.h: Likewise.
33189 * locale/programs/localedef.c: Remove xmalloc prototype.
33190 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33192 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33194 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33197 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33199 * math/Makefile (tests): Add tst-CMPLX.
33200 * math/tst-CMPLX.c: New file.
33202 * math/complex.h (CMPLXL): Fix typo.
33204 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33205 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33207 * debug/tst-chk1.c: Add poll and ppoll tests.
33208 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33209 * include/sys/poll.h: Add hidden proto for ppoll.
33210 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33211 * sysdeps/mach/hurd/ppoll.c: Likewise.
33212 * io/ppoll.c: Likewise.
33213 * debug/poll_chk.c: New file.
33214 * debug/ppoll_chk.c: New file.
33215 * include/bits/poll2.h: New file.
33216 * io/bits/poll2.h: New file.
33219 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33221 * configure.in: static is always set to yes. Remove.
33222 * config.make.in: Don't set build-static.
33223 * Makeconfig: Remove use of build-static.
33224 * dlfcn/Makefile: Likewise.
33225 * elf/Makefile: Likewise.
33226 * math/Makefile: Likewise.
33227 * misc/Makefile: Likewise.
33228 * nptl/Makefile: Likewise.
33229 * sysdeps/mach/hurd/Makefile: Likewise.
33231 * configure.in: PWD_P is not used anymore.
33232 * config.make.in: Remove PWD_P entry.
33234 * configure.in: Remove last remnants of RANLIB.
33235 No need to check for signed size_t anymore.
33236 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33238 Remove __builtin_expect test because we require at least gcc 3.4.
33239 * aclocal.m4: Likewise.
33241 * wcsmbs/mbrtoc16.c: Implement using towc function.
33242 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33243 * wcsmbs/wcsmbsload.c: Likewise.
33244 * iconv/gconv_simple.c: Likewise.
33245 * iconv/gconv_int.h: Likewise.
33246 * iconv/gconv_builtin.h: Likewise.
33247 * iconv/iconv_prog.c: Remove CHAR16 handling.
33249 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33251 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33253 * configure.in: Remove --with-elf and --enable-bounded options.
33254 Dont set base_machine for ia64. More non-ELF conditions removed.
33255 Remove testing and setting of leading underscore information.
33256 * config.make.in (build-bounded): Set to no.
33257 * config.h.in: Remove NO_UNDERSCORES entry.
33258 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33260 * csu/start.c: Remove !NO_UNDERSCORE code.
33261 * locale/localeinfo.h: Likewise.
33262 * sysdeps/generic/machine-gmon.h: Likewise.
33263 * sysdeps/generic/sysdep.h: Likewise.
33264 * sysdeps/i386/sysdep.h: Likewise.
33265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33266 * sysdeps/mach/sysdep.h: Likewise.
33267 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33269 * sysdeps/sh/sysdep.h: Likewise.
33270 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33271 * sysdeps/unix/i386/sysdep.S: Likewise.
33272 * sysdeps/unix/sparc/start.c: Likewise.
33273 * sysdeps/unix/sparc/sysdep.S: Likewise.
33274 * sysdeps/unix/sparc/sysdep.h: Likewise.
33275 * sysdeps/unix/start.c: Likewise.
33276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33277 * sysdeps/x86_64/sysdep.h: Likewise.
33279 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33282 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33284 * argp/argp-fmtstream.h: Use const instead __const.
33285 * argp/argp.h: Likewise.
33286 * assert/assert.h: Likewise.
33287 * bits/fenv.h: Likewise.
33288 * bits/sched.h: Likewise.
33289 * bits/sigset.h: Likewise.
33290 * bits/sigthread.h: Likewise.
33291 * catgets/nl_types.h: Likewise.
33292 * conform/data/pthread.h-data: Likewise.
33293 * crypt/crypt-private.h: Likewise.
33294 * crypt/crypt.h: Likewise.
33295 * crypt/crypt_util.c: Likewise.
33296 * ctype/ctype.h: Likewise.
33297 * debug/execinfo.h: Likewise.
33298 * debug/mbsnrtowcs_chk.c: Likewise.
33299 * debug/mbsrtowcs_chk.c: Likewise.
33300 * debug/wcsnrtombs_chk.c: Likewise.
33301 * debug/wcsrtombs_chk.c: Likewise.
33302 * debug/wcstombs_chk.c: Likewise.
33303 * dirent/dirent.h: Likewise.
33304 * dlfcn/dlfcn.h: Likewise.
33305 * elf/neededtest4.c: Likewise.
33306 * grp/grp.h: Likewise.
33307 * gshadow/gshadow.h: Likewise.
33308 * iconv/gconv.h: Likewise.
33309 * iconv/gconv_int.h: Likewise.
33310 * iconv/gconv_simple.c: Likewise.
33311 * iconv/iconv.h: Likewise.
33312 * iconv/loop.c: Likewise.
33313 * iconv/skeleton.c: Likewise.
33314 * include/aio.h: Likewise.
33315 * include/aliases.h: Likewise.
33316 * include/argz.h: Likewise.
33317 * include/arpa/inet.h: Likewise.
33318 * include/assert.h: Likewise.
33319 * include/dirent.h: Likewise.
33320 * include/dlfcn.h: Likewise.
33321 * include/execinfo.h: Likewise.
33322 * include/fcntl.h: Likewise.
33323 * include/fenv.h: Likewise.
33324 * include/glob.h: Likewise.
33325 * include/grp.h: Likewise.
33326 * include/libintl.h: Likewise.
33327 * include/mntent.h: Likewise.
33328 * include/netdb.h: Likewise.
33329 * include/pwd.h: Likewise.
33330 * include/rpc/netdb.h: Likewise.
33331 * include/sched.h: Likewise.
33332 * include/search.h: Likewise.
33333 * include/shadow.h: Likewise.
33334 * include/signal.h: Likewise.
33335 * include/stdio.h: Likewise.
33336 * include/stdlib.h: Likewise.
33337 * include/string.h: Likewise.
33338 * include/sys/socket.h: Likewise.
33339 * include/sys/stat.h: Likewise.
33340 * include/sys/statfs.h: Likewise.
33341 * include/sys/statvfs.h: Likewise.
33342 * include/sys/syslog.h: Likewise.
33343 * include/sys/time.h: Likewise.
33344 * include/sys/uio.h: Likewise.
33345 * include/time.h: Likewise.
33346 * include/unistd.h: Likewise.
33347 * include/utmp.h: Likewise.
33348 * include/wchar.h: Likewise.
33349 * include/wctype.h: Likewise.
33350 * inet/aliases.h: Likewise.
33351 * inet/arpa/inet.h: Likewise.
33352 * inet/netinet/ether.h: Likewise.
33353 * inet/netinet/in.h: Likewise.
33354 * intl/libintl.h: Likewise.
33355 * io/bits/fcntl2.h: Likewise.
33356 * io/fcntl.h: Likewise.
33357 * io/ftw.h: Likewise.
33358 * io/sys/poll.h: Likewise.
33359 * io/sys/stat.h: Likewise.
33360 * io/sys/statfs.h: Likewise.
33361 * io/sys/statvfs.h: Likewise.
33362 * io/utime.h: Likewise.
33363 * libio/bits/stdio.h: Likewise.
33364 * libio/bits/stdio2.h: Likewise.
33365 * libio/libio.h: Likewise.
33366 * libio/libioP.h: Likewise.
33367 * libio/stdio.h: Likewise.
33368 * locale/lc-ctype.c: Likewise.
33369 * locale/locale.h: Likewise.
33370 * login/utmp.h: Likewise.
33371 * malloc/arena.c: Likewise.
33372 * malloc/malloc.c: Likewise.
33373 * malloc/malloc.h: Likewise.
33374 * malloc/mcheck.c: Likewise.
33375 * malloc/mtrace.c: Likewise.
33376 * math/bits/mathcalls.h: Likewise.
33377 * math/fenv.h: Likewise.
33378 * math/math_private.h: Likewise.
33379 * misc/bits/error.h: Likewise.
33380 * misc/bits/syslog.h: Likewise.
33381 * misc/err.h: Likewise.
33382 * misc/error.h: Likewise.
33383 * misc/fstab.h: Likewise.
33384 * misc/mntent.h: Likewise.
33385 * misc/regexp.h: Likewise.
33386 * misc/search.h: Likewise.
33387 * misc/sgtty.h: Likewise.
33388 * misc/sys/mman.h: Likewise.
33389 * misc/sys/syslog.h: Likewise.
33390 * misc/sys/uio.h: Likewise.
33391 * misc/sys/xattr.h: Likewise.
33392 * misc/ttyent.h: Likewise.
33393 * nis/rpcsvc/ypclnt.h: Likewise.
33394 * nss/nss.h: Likewise.
33395 * posix/bits/unistd.h: Likewise.
33396 * posix/fnmatch.h: Likewise.
33397 * posix/glob.h: Likewise.
33398 * posix/sched.h: Likewise.
33399 * posix/spawn.h: Likewise.
33400 * posix/sys/wait.h: Likewise.
33401 * posix/unistd.h: Likewise.
33402 * posix/wordexp.h: Likewise.
33403 * pwd/pwd.h: Likewise.
33404 * resolv/netdb.h: Likewise.
33405 * resource/sys/resource.h: Likewise.
33406 * rt/aio.h: Likewise.
33407 * rt/bits/mqueue2.h: Likewise.
33408 * rt/mqueue.h: Likewise.
33409 * shadow/shadow.h: Likewise.
33410 * signal/signal.h: Likewise.
33411 * socket/send.c: Likewise.
33412 * socket/sendto.c: Likewise.
33413 * socket/sys/socket.h: Likewise.
33414 * stdio-common/printf.h: Likewise.
33415 * stdlib/bits/stdlib.h: Likewise.
33416 * stdlib/fmtmsg.h: Likewise.
33417 * stdlib/monetary.h: Likewise.
33418 * stdlib/stdlib.h: Likewise.
33419 * stdlib/ucontext.h: Likewise.
33420 * streams/stropts.h: Likewise.
33421 * string/argz.h: Likewise.
33422 * string/bits/string2.h: Likewise.
33423 * string/string.h: Likewise.
33424 * string/strings.h: Likewise.
33425 * sunrpc/rpc/auth.h: Likewise.
33426 * sunrpc/rpc/auth_des.h: Likewise.
33427 * sunrpc/rpc/clnt.h: Likewise.
33428 * sunrpc/rpc/netdb.h: Likewise.
33429 * sunrpc/rpc/pmap_clnt.h: Likewise.
33430 * sunrpc/rpc/xdr.h: Likewise.
33431 * sysdeps/generic/inttypes.h: Likewise.
33432 * sysdeps/generic/net/if.h: Likewise.
33433 * sysdeps/generic/sys/swap.h: Likewise.
33434 * sysdeps/gnu/net/if.h: Likewise.
33435 * sysdeps/gnu/utmpx.h: Likewise.
33436 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33437 * sysdeps/i386/i486/bits/string.h: Likewise.
33438 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33439 * sysdeps/s390/bits/string.h: Likewise.
33440 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33441 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33442 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33443 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33444 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33445 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33446 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33447 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33448 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33449 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33450 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33451 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33452 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33453 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33454 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33455 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33456 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33458 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33461 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33462 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33463 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33464 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33465 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33466 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33467 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33468 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33469 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33470 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33471 * sysvipc/sys/ipc.h: Likewise.
33472 * sysvipc/sys/msg.h: Likewise.
33473 * sysvipc/sys/sem.h: Likewise.
33474 * sysvipc/sys/shm.h: Likewise.
33475 * termios/termios.h: Likewise.
33476 * time/sys/time.h: Likewise.
33477 * time/time.h: Likewise.
33478 * wcsmbs/bits/wchar2.h: Likewise.
33479 * wcsmbs/uchar.h: Likewise.
33480 * wcsmbs/wchar.h: Likewise.
33481 * wctype/wctype.h: Likewise.
33484 * Makeconfig: Remove all but ELF support including AIX support.
33485 * Makerules: Likewise.
33486 * config.h.in: Likewise.
33487 * config.make.in: Likewise.
33488 * configure: Likewise.
33489 * configure.in: Likewise.
33490 * csu/Makefile: Likewise.
33491 * csu/version.c: Likewise.
33492 * debug/Makefile: Likewise.
33493 * dlfcn/Makefile: Likewise.
33494 * elf/Makefile: Likewise.
33495 * extra-lib.mk: Likewise.
33496 * iconv/Makefile: Likewise.
33497 * include/libc-symbols.h: Likewise.
33498 * include/shlib-compat.h: Likewise.
33499 * resolv/Makefile: Likewise.
33500 * resolv/res_libc.c: Likewise.
33501 * rt/Makefile: Likewise.
33502 * sysdeps/i386/asm-syntax.h: Likewise.
33503 * sysdeps/i386/sysdep.h: Likewise.
33504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33505 * sysdeps/mach/sysdep.h: Likewise.
33506 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33507 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33508 * sysdeps/s390/asm-syntax.h: Likewise.
33509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33511 * sysdeps/sh/sysdep.h: Likewise.
33512 * sysdeps/unix/sparc/sysdep.h: Likewise.
33513 * sysdeps/wordsize-32/divdi3.c: Likewise.
33514 * sysdeps/x86_64/sysdep.h: Likewise.
33516 * argp/Versions: Remove _argp_unlock_xxx.
33519 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33520 * abilist/libBrokenLocale.abilist: Likewise.
33521 * abilist/libanl.abilist: Likewise.
33522 * abilist/libc.abilist: Likewise.
33523 * abilist/libcrypt.abilist: Likewise.
33524 * abilist/libdl.abilist: Likewise.
33525 * abilist/libm.abilist: Likewise.
33526 * abilist/libnsl.abilist: Likewise.
33527 * abilist/libpthread.abilist: Likewise.
33528 * abilist/libresolv.abilist: Likewise.
33529 * abilist/librt.abilist: Likewise.
33530 * abilist/libthread_db.abilist: Likewise.
33531 * abilist/libutil.abilist: Likewise.
33532 * abilist/libnss_db.abilist: New file.
33534 * scripts/abilist.awk: Add support for indirect functions.
33536 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33538 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33540 * shlib-versions: Remove entries for ports architectures.
33542 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33544 * elf/stackguard-macros.h: Remove support for IA-64.
33545 * elf/tst-auditmod1.c: Likewise.
33546 * sysdeps/generic/ldsodefs.h: Likewise.
33548 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33549 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33553 * configure.in: Remove --enable-omitfp support.
33555 * config.make.in: Likewise.
33556 * Makeconfig: Likewise.
33557 * manual/install.texi: Likewise.
33559 In case anyone cares, the IA-64 architecture could move to ports.
33560 * sysdeps/ia64/*: Removed.
33561 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33562 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33565 * configure.in: Remove entries for unsupported architectures.
33568 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33569 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33571 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33572 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33573 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33574 fall back to using wcrtomb.
33575 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33576 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33578 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33579 * wcsmbs/tst-c16c32-1.c: New file.
33581 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33584 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33586 * elf/tst-unique3.cc: Add explicit declaration of gets.
33587 * elf/tst-unique3lib.cc: Likewise.
33588 * elf/tst-unique3lib2.cc: Likewise.
33589 * elf/tst-unique4.cc: Likewise.
33591 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33593 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33596 * assert/assert.h (static_assert): Don't define for C++.
33597 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33598 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33600 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33602 * iconv/loop.c (single loop): Fix assertion in storing of
33605 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33607 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33609 * posix/getconf.c: Update copyright year.
33610 * nss/getent.c: Likewise.
33611 * nss/makedb.c: Likewise.
33612 * iconv/iconvconfig.c: Likewise.
33613 * iconv/iconv_prog.c: Likewise.
33614 * elf/ldconfig.c: Likewise.
33615 * elf/pldd.c: Likewise.
33616 * elf/sotruss.ksh: Likewise.
33617 * catgets/gencat.c: Likewise.
33618 * csu/version.c: Likewise.
33619 * elf/ldd.bash.in: Likewise.
33620 * elf/sprof.c (print_version): Likewise.
33621 * locale/programs/locale.c: Likewise.
33622 * locale/programs/localedef.c: Likewise.
33623 * login/programs/pt_chown.c: Likewise.
33624 * nscd/nscd.c (print_version): Likewise.
33625 * debug/xtrace.sh: Likewise.
33626 * malloc/memusage.sh: Likewise.
33627 * malloc/mtrace.pl: Likewise.
33628 * debug/catchsegv.sh: Likewise.
33630 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33632 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33635 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33638 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33639 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33641 * iconv/gconv_int.h: Likewise.
33642 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33643 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33644 from libc for GLIBC_2.16.
33645 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33646 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33647 * wcsmbs/uchar.h: Really define mbstate_t.
33648 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33649 * wcsmbs/c16rtomb.c: New file.
33650 * wcsmbs/mbrtoc16.c: New file.
33651 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33652 for C/POSIX locale.
33653 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33654 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33656 * wcsmbs/wchar.h: Add missing __restrict.
33658 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33661 * time/Makefile (routines): Add timespec_get.
33662 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33663 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33664 timespec for ISO C11.
33665 * time/timespec_get.c: New file.
33666 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33667 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33670 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33671 * stdlib/stdlib.h: Declare aligned_alloc.
33672 * Versions.def: Add GLIBC_2.16 for libc.
33673 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33676 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33679 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33683 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33686 * assert/assert.h (static_assert): Define.
33688 * version.h: Update for 2.16 development version.
33691 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33694 * version.h (RELEASE): Bump for 2.15 release.
33695 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33697 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33698 Patch by Marek Polacek <mpolacek@redhat.com>.
33700 * bits/byteswap.h: Protect long long constants with __extension__.
33701 * sysdeps/i386/bits/byteswap.h: Likewise.
33702 * sysdeps/ia64/bits/byteswap.h: Likewise.
33703 * sysdeps/s390/bits/byteswap.h: Likewise.
33704 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33706 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33710 destination buffer.
33711 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33713 2011-12-23 Marek Polacek <polacek@redhat.com>
33715 * elf/dl-addr.c (determine_info): Add inline keyword.
33716 * elf/tst-auditmod4b.c (check_avx): Likewise.
33717 * elf/tst-auditmod6b.c (check_avx): Likewise.
33718 * elf/tst-auditmod6c.c (check_avx): Likewise.
33719 * elf/tst-auditmod7b.c (check_avx): Likewise.
33721 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33723 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33726 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33729 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33730 processing for last bytes.
33732 2011-08-06 Bruno Haible <bruno@clisp.org>
33735 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33736 U+0385, not to U+1FEE.
33739 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33740 entry for U+00A5 U+0301.
33742 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33745 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33746 buffer for the output is too small.
33748 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33752 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33753 SSE flags if possible.
33755 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33759 processing for last bytes.
33761 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33763 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33764 (syscall-list-default-options, syscall-list-default-condition)
33765 (syscall-list-includes): Define.
33766 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33767 list of ABIs and options and #if conditions for each ABI. Do not
33768 handle common syscalls between ABIs specially.
33769 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33771 (syscall-list-variants, syscall-list-32bit-options)
33772 (syscall-list-32bit-condition, syscall-list-64bit-options)
33773 (syscall-list-64bit-condition): Define.
33774 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33775 (syscall-list-variants, syscall-list-32bit-options)
33776 (syscall-list-32bit-condition, syscall-list-64bit-options)
33777 (syscall-list-64bit-condition): Define.
33778 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33780 (syscall-list-variants, syscall-list-32bit-options)
33781 (syscall-list-32bit-condition, syscall-list-64bit-options)
33782 (syscall-list-64bit-condition): Define.
33783 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33785 (syscall-list-variants, syscall-list-32bit-options)
33786 (syscall-list-32bit-condition, syscall-list-64bit-options)
33787 (syscall-list-64bit-condition): Define.
33789 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33791 * locale/iso-639.def: Add brx entry.
33794 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33795 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33797 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33798 __feraiseexcept_renamed.
33800 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33803 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33804 EPOLLET with unsigned values.
33805 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33808 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33809 to large cancellation.
33810 * math/s_cacoshf.c: Likewise.
33811 * math/s_cacoshl.c: Likewise.
33813 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33817 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33818 * math/s_cacoshf.c: Likewise.
33819 * math/s_cacoshl.c: Likewise.
33821 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33824 * iconv/gconv.h: Define __GCONV_SWAP.
33825 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33826 * iconvdata/utf-16.c: Likewise.
33827 * iconvdata/utf-32.c: Likewise.
33829 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33832 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33833 numerator after shifting it by one limb.
33835 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33837 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33838 under [__USE_EXTERN_INLINES].
33840 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33843 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33845 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33847 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33848 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33850 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33851 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33852 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33853 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33854 for strncasecmp/strncasecmp_l compilation.
33855 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33856 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33858 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33861 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33864 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33867 * time/tzfile.c (__tzfile_read): Check values from file header.
33869 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33871 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33872 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33873 * powerpc/powerpc32/dl-start.S: Likewise.
33874 * powerpc/powerpc32/elf/start.S: Likewise.
33875 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33876 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33877 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33878 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33879 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33880 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33881 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33882 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33883 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33884 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33885 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33886 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33887 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33888 * powerpc/powerpc32/memset.S: Likewise.
33889 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33890 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33891 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33892 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33893 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33894 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33895 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33896 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33897 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33898 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33899 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33900 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33901 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33903 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33905 * math/libm-test.inc: Added more nearbyint tests.
33906 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33911 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33913 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33916 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33918 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33919 Add wcscpy-ssse3 wcscpy-c.
33920 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33921 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33922 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33923 * sysdeps/x86_64/wcschr.S: New file.
33924 * sysdeps/x86_64/wcsrchr.S: New file.
33925 * string/test-strcmp.c: Remove checking of wcscmp function for
33927 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33928 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33929 wcsrchr-sse2 wcsrchr-c.
33930 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33931 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33932 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33933 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33934 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33935 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33936 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33937 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33938 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33939 * wcsmbc/wcschr.c (WCSCHR): New macro.
33941 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33943 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33944 * wcsmbs/test-wcsrchr.c: New file.
33945 * string/test-strrchr.c: Add wcsrchr support.
33947 * wcsmbs/test-wcscpy.c: New file.
33948 * string/test-strcpy.c: Add wcscpy support.
33951 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33953 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33956 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33959 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33961 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33964 Minor optimizations.
33966 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33967 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33968 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33970 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33972 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33973 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33974 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33975 for gcc to avoid warnings.
33976 * inet/Makefile (tests): Add tst-checks.
33977 * inet/tst-checks.c: New file.
33979 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33982 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33985 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33986 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33988 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33990 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33992 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33995 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33997 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33999 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34000 conditional on GCC version.
34001 (__arch_compare_and_exchange_val_8_acq)
34002 (__arch_compare_and_exchange_val_16_acq)
34003 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34004 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34005 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34007 2011-12-02 Joseph Myers <joseph@codesourcery.com>
34009 * sysdeps/sh/backtrace.c: New file.
34011 2011-12-02 Andreas Schwab <schwab@redhat.com>
34013 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34016 2011-12-01 Andreas Schwab <schwab@redhat.com>
34018 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34019 falling back to utime.
34021 2011-11-30 Andreas Schwab <schwab@redhat.com>
34023 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34024 expectations for float.
34026 2011-11-29 Andreas Schwab <schwab@redhat.com>
34028 * locale/weight.h (findidx): Add parameter len.
34029 * locale/weightwc.h (findidx): Likewise.
34030 * posix/fnmatch_loop.c (FCT): Adjust caller.
34031 * posix/regcomp.c (build_equiv_class): Likewise.
34032 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34033 * posix/regexec.c (check_node_accept_bytes): Likewise.
34034 * string/strcoll_l.c (STRCOLL): Likewise.
34035 * string/strxfrm_l.c (STRXFRM): Likewise.
34037 2011-11-17 Ulrich Drepper <drepper@gmail.com>
34039 * Makefile.in: Remove CVSOPT handling.
34040 * configure.in: Remove use of AC_REVISION.
34041 * iconvdata/Makefile (distribute): No need to filter out CVS.
34042 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34045 2011-11-16 Andreas Schwab <schwab@redhat.com>
34047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34048 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34049 [USE_AS_STRNCASECMP_L]: Likewise.
34050 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34051 NO_TLS_DIRECT_SEG_REFS.
34052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34053 Fix argument offsets for non-PIC.
34054 [USE_AS_STRNCASECMP_L]: Likewise.
34055 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34056 NO_TLS_DIRECT_SEG_REFS.
34058 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34060 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34062 * locale/loadlocale.c (_nl_load_locale): Likewise.
34064 2011-11-15 Andreas Schwab <schwab@redhat.com>
34066 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34067 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34068 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34069 (SYSCALL_GETTIME): Set errno on error.
34071 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34072 count references to noai6ai_cached.
34074 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34076 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34078 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34079 FD_CLOEXEC for /proc/self/maps.
34081 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34082 FD_CLOEXEC for /proc/meminfo.
34084 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34087 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34088 FD_CLOEXEC for given file.
34090 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34092 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34093 FD_CLOEXEC for /etc/hosts.
34094 (_gethtent): Likewise.
34096 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34098 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34099 cancellation and set FD_CLOEXEC for /etc/netgroup.
34101 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34102 reading /etc/publickey.
34104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34105 allow cancellation when reading /etc/group.
34107 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34109 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34111 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34112 when using data file.
34114 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34116 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34117 (write_nis_obj): Use "c" and "e" in fopen.
34119 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34121 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34123 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34125 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34127 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34130 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34132 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34134 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34136 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34137 file parsing and set FD_CLOEXEC.
34139 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34141 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34143 2011-11-14 Andreas Schwab <schwab@redhat.com>
34145 * malloc/arena.c (arena_get2): Don't call reused_arena when
34146 _int_new_arena failed.
34148 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34151 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34156 to compile strcasecmp and strncasecmp.
34157 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34158 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34162 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34164 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34165 locale-defines.sym to gen-as-const-headers.
34166 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34167 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34169 to compile strcasecmp and strncasecmp.
34170 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34171 strcasecmp_l and strncasecmp_l.
34172 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34173 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34174 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34175 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34176 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34177 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34178 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34179 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34180 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34181 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34182 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34184 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34186 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34187 result of SYSDEP_GETTIME_CPU to retval.
34188 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34189 parameter list to macro. Remove trailing semicolon. Adjust users.
34191 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34194 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34196 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34199 from unused variable.
34201 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34203 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34206 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34209 * sunrpc/rpc_prot.c (rejected): Fix case value.
34211 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34212 unsigned long long int to avoid warnings in shift.
34214 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34216 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34219 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34220 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34221 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34223 * nis/nis_table.c (nis_list): Use variable of correct type for
34224 result of __follow_path call.
34226 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34228 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34229 of math functions ceil, trunc, floor, round, and sqrt, when
34230 avaliable on the platform.
34231 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34233 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34234 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34235 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34237 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34239 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34242 2011-11-11 Roland McGrath <roland@hack.frob.com>
34244 * include/unistd.h: Fix __readlink return type.
34245 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34247 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34249 * stdlib/ucontext.h: Undo last change for makecontext.
34251 2011-11-11 Andreas Schwab <schwab@redhat.com>
34253 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34255 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34256 * setjmp/setjmp.h: Mark functions as non-leaf.
34257 * setjmp/bits/setjmp2.h: Likewise.
34258 * stdlib/ucontext.h: Likewise.
34260 2011-11-10 Andreas Schwab <schwab@redhat.com>
34262 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34263 (reused_arena): Don't check arena limit.
34264 (arena_get2): Atomically check arena limit.
34266 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34268 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34269 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34274 2011-11-07 Andreas Schwab <schwab@redhat.com>
34276 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34277 handler when locking.
34279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34280 Fix size of allocated buffer.
34282 2011-11-04 Andreas Schwab <schwab@redhat.com>
34285 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34286 declarations for long double functions.
34287 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34289 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34291 2011-11-03 Andreas Schwab <schwab@redhat.com>
34293 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34296 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34299 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34301 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34303 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34305 * include/alloca.h (stackinfo_alloca_round): Define.
34306 (extend_alloca): Use it.
34307 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34308 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34311 * scripts/check-local-headers.sh: Ignore libaudit.h.
34313 * nscd/Makefile (extra-objs): Make recursively expanded.
34315 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34317 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34318 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34320 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34321 * posix/tst-rfc3484-2.c: Likewise.
34322 * posix/tst-rfc3484-3.c: Likewise.
34324 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34326 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34328 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34329 process_vm_writev from libc using GLIBC_2.15 version.
34331 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34333 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34335 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34338 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34341 * nss/getent.c (initgroups_keys): Show error message in case no group
34344 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34345 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34346 __bump_nl_timestamp.
34347 * nscd/connections (nscd_init): When host database is served open
34348 netlink socket and request notification about configuration changes.
34349 (main_loop_poll): Track netlink file descriptor and bump timestamp
34350 in case data becomes available.
34351 (main_loop_epoll): Likewise.
34352 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34353 (database_pers_head): Add extra_data fileds.
34354 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34355 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34356 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34359 in6ai data, call __free_in6ai.
34360 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34361 Add -DHAVE_NETLINK.
34362 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34363 interface information. Reuse previous data if netlink timestamp
34365 (__bump_nl_timestamp): New function.
34366 (__free_in6ai): New function.
34368 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34370 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34371 close_not_cancel_no_status here.
34372 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34374 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34377 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34380 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34381 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34382 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34384 2011-07-03 Andreas Jaeger <aj@suse.de>
34387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34388 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34389 * math/libm-test.inc (sin_test): Add test case.
34391 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34394 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34395 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34397 * elf/chroot_canon.c (chroot_canon): Cleanups.
34399 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34402 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34403 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34405 * string/test-strchr.c: Make usable for strchrnul testing.
34406 * string/test-strchrnul.c: New file.
34407 * string/Makefile (strop-tests): Add strchrnul.
34409 * po/it.po: Update from translation team.
34410 * po/es.po: Likewise.
34412 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34415 the three constants needed as parameters. Drop the others.
34416 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34417 __m128i_strloadu_tolower.
34418 Create and initialize variable zero and use it in all the places
34419 where _mm_setzero_si128 was used.
34421 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34422 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34423 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34424 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34426 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34427 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34428 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34429 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34430 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34431 __mpranred, __mptan.
34432 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34433 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34434 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34435 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34436 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34437 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34439 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34440 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34442 2011-10-28 Andreas Schwab <schwab@redhat.com>
34444 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34445 redefine if SHARED.
34446 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34449 wide char related routines to wcsmbs subdir.
34451 2011-10-27 Andreas Schwab <schwab@redhat.com>
34454 * misc/sys/cdefs.h (__THROWNL): Define.
34455 * posix/unistd.h: Use __THREADNL instead of __THREAD
34456 for memory synchronization functions.
34458 2011-10-26 Roland McGrath <roland@hack.frob.com>
34461 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34463 * manual/stdio.texi (Obstack Streams): Node removed.
34465 2011-10-26 Andreas Schwab <schwab@redhat.com>
34467 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34468 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34469 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34471 * math/math_private.h (math_force_eval): Allow non-addressable
34473 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34475 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34477 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34478 file is not needed.
34480 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34483 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34484 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34487 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34489 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34490 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34491 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34492 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34493 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34494 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34495 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34496 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34497 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34498 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34499 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34500 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34501 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34502 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34503 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34504 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34506 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34507 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34509 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34510 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34512 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34513 place. Use VEX encoding when compiling for AVX.
34515 2011-10-25 Andreas Schwab <schwab@redhat.com>
34517 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34518 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34520 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34522 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34524 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34525 useless if() expression.
34526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34528 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34530 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34532 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34534 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34535 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34536 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34537 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34538 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34540 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34541 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34546 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34548 2011-10-25 Andreas Schwab <schwab@redhat.com>
34550 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34552 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34554 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34556 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34557 .text section. Avoid duplicate constants.
34558 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34566 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34567 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34568 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34569 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34570 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34571 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34572 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34573 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34574 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34575 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34577 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34578 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34579 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34580 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34581 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34582 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34583 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34584 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34585 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34587 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34588 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34589 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34591 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34592 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34593 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34594 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34596 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34597 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34598 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34599 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34600 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34601 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34602 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34604 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34606 * sysdeps/x86_64/dla.h: Move to ...
34607 * sysdeps/x86_64/fpu/dla.h: ...here.
34608 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34609 situations. Use __builtin_fma only for gcc 4.6 and up.
34611 * config.make.in: Add have-mfma4 entry.
34612 * configure.in: Substitute libc_cv_cc_fma4.
34613 * math/Makefile (dbl-only-routines): Add sincostab.
34614 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34615 Use __sincostab not sincos.
34616 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34623 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34624 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34625 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34626 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34628 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34629 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34631 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34632 define aliases when function name is a macro.
34633 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34634 sysdeps/ieee754/dbl-64/sincos.tbl.
34635 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34636 fma4-enabled routines.
34637 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34638 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34639 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34640 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34641 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34642 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34643 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34644 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34645 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34646 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34647 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34649 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34650 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34651 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34652 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34653 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34654 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34655 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34657 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34658 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34659 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34660 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34662 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34668 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34679 2011-10-24 Andreas Schwab <schwab@redhat.com>
34681 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34683 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34687 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34691 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34692 Remove unused variable magic_bits.
34693 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34695 * string/strnlen.c: Define and use STRNLEN macro.
34696 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34697 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34699 * wcsmbs/wcslen.c: Define and use WCSLEN.
34700 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34701 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34702 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34703 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34704 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34705 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34706 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34708 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34711 strnlen-sse2-no-bsf.
34712 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34714 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34715 Add strnlen support.
34716 (USE_AS_STRNLEN): New macro.
34717 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34718 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34719 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34720 * sysdeps/x86_64/wcslen.S: New file.
34722 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34725 XMM-moves are used for copying on small sizes.
34727 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34729 * wcsmbs/Makefile (strop-tests): Add wcschr.
34730 * wcsmbs/test-wcschr.c: New file.
34731 * string/test-strchr.c: Update.
34732 Add wcschr support.
34735 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34737 * wcsmbs/Makefile (strop-tests): Add wcslen.
34738 * wcsmbs/test-wcslen.c: New file.
34739 * string/test-strlen.c: Update.
34740 Add wcslen support.
34743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34745 * po/it.po: Update from translation team.
34747 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34749 * sysdeps/x86_64/wcscmp.S: Update.
34750 Fix wrong comparison semantics.
34751 wcscmp shall use signed comparison not unsigned.
34752 Don't use substraction to avoid overflow bug.
34753 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34754 * wcsmbc/wcscmp.c: Likewise.
34755 * string/test-strcmp.c: Likewise.
34756 Add new tests to check cases with negative values.
34758 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34760 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34761 * sysdeps/x86_64/dla.h: ...here. New file.
34762 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34772 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34775 __ynl_finite aliases.
34777 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34781 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34783 [DLA_FMA] (EMULV): Use DLA_FMA.
34784 [DLA_FMA] (MUL12): Use EMULV.
34785 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34786 that are not needed.
34787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34792 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34795 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34797 * math/s_nan.c: Undef __nan.
34798 * math/s_nanf.c: Undef __nanf.
34799 * math/s_nanl.c: Undef __nanl.
34800 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34803 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34805 * math/s_catan.c: Add branch predictions.
34806 * math/s_catanf.c: Likewise.
34807 * math/s_catanh.c: Likewise.
34808 * math/s_catanhf.c: Likewise.
34809 * math/s_catanhl.c: Likewise.
34810 * math/s_catanl.c: Likewise.
34811 * math/s_cexp.c: Likewise.
34812 * math/s_cexpf.c: Likewise.
34813 * math/s_cexpl.c: Likewise.
34814 * math/s_clog.c: Likewise.
34815 * math/s_clog10.c: Likewise.
34816 * math/s_clog10f.c: Likewise.
34817 * math/s_clog10l.c: Likewise.
34818 * math/s_clogf.c: Likewise.
34819 * math/s_clogl.c: Likewise.
34820 * math/s_csqrt.c: Likewise.
34821 * math/s_csqrtf.c: Likewise.
34822 * math/s_csqrtl.c: Likewise.
34823 * math/s_ctanf.c: Likewise.
34824 * math/s_ctanh.c: Likewise.
34825 * math/s_ctanhf.c: Likewise.
34826 * math/s_ctanhl.c: Likewise.
34827 * math/s_ctanl.c: Likewise.
34829 * math/math_private.h: Define __nan, __nanf, __nanl.
34830 * math/s_cacosh.c: Include <math_private.h>.
34831 * math/s_cacoshl.c: Likewise.
34832 * math/s_casinh.c: Likewise.
34833 * math/s_casinhf.c: Likewise.
34834 * math/s_casinhl.c: Likewise.
34835 * math/s_ccos.c: Rely entire on ccosh.
34836 * math/s_ccosf.c: Rely entire on ccoshf.
34837 * math/s_ccosl.c: Rely entirely on ccoshl.
34838 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34839 Remove tests for FE_INVALID.
34840 * math/s_ccoshf.c: Likewise.
34841 * math/s_ccoshl.c: Likewise.
34842 * math/s_csin.c: Likewise.
34843 * math/s_csinf.c: Likewise.
34844 * math/s_csinh.c Likewise.
34845 * math/s_csinhf.c: Likewise.
34846 * math/s_csinhl.c: Likewise.
34847 * math/s_csinl.c: Likewise.
34848 * math/s_ctan.c: Likewise.
34849 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34850 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34851 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34853 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34856 compilation problems.
34858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34861 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34863 * sysdeps/i386/configure.in: Test for -mfma4 option.
34864 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34865 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34866 COMMON_CPUID_INDEX_80000001.
34867 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34868 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34869 use it if FMA3 is not supported.
34870 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34872 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34873 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34875 2011-10-20 Andreas Schwab <schwab@redhat.com>
34878 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34879 it would create a cycle with a link time dependency.
34881 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34883 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34885 * string/Makefile (strop-tests): Add rawmemchr.
34886 * string/test-rawmemchr.c: New file.
34888 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34890 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34891 when compiling str{,n}casecmp and when AVX is available. Hook up
34892 new optimized code in initializers.
34894 2011-10-19 Andreas Schwab <schwab@redhat.com>
34896 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34897 __feraiseexcept instead of feraiseexcept.
34899 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34901 * math/math_private.h: Define defaults for libc_fetestexcept and
34903 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34904 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34905 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34906 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34907 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34908 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34909 libc_fetestexcept and libc_feupdateenv.
34911 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34912 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34913 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34914 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34915 libc_feholdexcept_setround.
34917 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34918 Add s_nearbyint-c and s_nearbyintf-c.
34919 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34920 nearbyintf inlines.
34921 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34922 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34923 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34924 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34926 * math/math_private.h: Define defaults for libc_fegetround,
34927 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34928 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34929 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34930 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34931 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34932 standard functions.
34933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34934 Remove comments and hacks for old compiler versions.
34935 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34936 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34937 libc_feholdexceptl.
34939 2011-10-18 Andreas Schwab <schwab@redhat.com>
34941 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34942 (__feraiseexcept_renamed): Add __NTH.
34943 (feraiseexcept): Add __NTH. Rename local variables to fix
34944 namespace violations.
34946 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34950 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34952 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34953 recently added interfaces.
34954 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34956 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34957 about macro parameter expansion.
34959 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34960 __NO_MATH_INLINES is defined. Cleanups.
34962 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34963 and __floorf is target has SSE4.1.
34964 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34965 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34966 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34969 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34971 (floorf): Likewise.
34973 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34975 2011-10-17 Andreas Schwab <schwab@redhat.com>
34977 * misc/sys/cdefs.h: Fix last change.
34979 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34982 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34984 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34986 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34987 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34988 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34991 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34993 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34994 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34995 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34996 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34997 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34998 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34999 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35000 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35001 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35002 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35003 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35004 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35005 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35006 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35007 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35009 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35010 ceil, ceilf, floor, floorf.
35012 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35013 Perform IRELATIVE relocations last.
35015 * elf/do-rel.h: Add another parameter nrelative, replacing the
35016 local variable with the same name. Change name of the function
35017 to end in Rel or Rela (uppercase).
35018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35019 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35020 elf_dynamic_do_##reloc function.
35022 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35024 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35025 is sufficient, at least on modern CPUs.
35027 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35029 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35030 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35032 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35034 * math/bits/math-finite.h: Add entries for exp.
35035 * math/e_expl.c: Add __*_finite alias.
35036 * sysdeps/i386/fpu/e_exp.S: Likewise.
35037 * sysdeps/i386/fpu/e_expf.S: Likewise.
35038 * sysdeps/i386/fpu/e_expl.c: Likewise.
35039 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35040 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35043 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35044 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35045 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35047 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35048 is sufficient, at least on modern CPUs.
35050 * ctype/ctype-info.c (__ctype_init): Define.
35051 * include/ctype.h (__ctype_init): Declare.
35052 (__ctype_b_loc): The variable is always initialized.
35053 (__ctype_toupper_loc): Likewise.
35054 (__ctype_tolower_loc): Likewise.
35055 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35056 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35058 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35060 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35062 * configure.in: Also look in $cxxmachine/include for C++ system
35065 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35067 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35068 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35069 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35070 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35072 (USE_AS_WMEMCMP): New macro.
35074 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35075 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35076 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35077 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35079 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35080 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35081 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35082 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35083 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35085 (USE_AS_WMEMCMP): New macro.
35086 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35087 * sysdeps/string/test-memcmp.c: Update.
35088 Fix simple_wmemcmp.
35090 * wcsmbs/wmemcmp.c: Update.
35091 (WMEMCMP): New macro.
35094 2011-10-12 Andreas Jaeger <aj@suse.de>
35097 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35099 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35101 * libio/iofwide.c (do_length): Avoid warning.
35103 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35105 2011-10-14 Ulrich Drepper <drepper@gmail.com>
35107 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35109 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35110 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35111 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35112 * sysdeps/i386/i686/fpu/e_log.S: New file.
35113 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35114 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35116 * ctype/ctype.h: Add support for inlined isXXX functions when
35117 compiling C++ code.
35119 2011-10-14 Andreas Schwab <schwab@redhat.com>
35121 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35123 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35125 2011-10-13 Roland McGrath <roland@hack.frob.com>
35128 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35130 2011-10-13 Andreas Schwab <schwab@redhat.com>
35132 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35133 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35136 * sysdeps/x86_64/memrchr.S: Check for zero size.
35138 * string/stratcliff.c: Add memrchr tests.
35140 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35143 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35144 rawmemchr-sse2 rawmemchr-sse2-bsf.
35145 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35146 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35147 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35148 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35149 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35150 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35151 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35152 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35153 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35154 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35155 * string/memrchr.c (MEMRCHR): New macro.
35157 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35159 Add integration with gcc's -ffinite-math-only and optimize wrapper
35161 * Versions.def: Define GLIBC_2.15 version for libm.
35162 * math/Makefile (headers): Add bits/math-finite.h.
35163 * math/bits/math-finite.h: New file.
35164 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35165 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35166 * math/e_acoshl.c: Add __*_finite alias.
35167 * math/e_acosl.c: Likewise.
35168 * math/e_asinl.c: Likewise.
35169 * math/e_atan2l.c: Likewise.
35170 * math/e_atanhl.c: Likewise.
35171 * math/e_coshl.c: Likewise.
35172 * math/e_exp10.c: Likewise.
35173 * math/e_exp10f.c: Likewise.
35174 * math/e_exp10l.c: Likewise.
35175 * math/e_exp2l.c: Likewise.
35176 * math/e_fmodl.c: Likewise.
35177 * math/e_gammal_r.c: Likewise.
35178 * math/e_hypotl.c: Likewise.
35179 * math/e_j0l.c: Likewise.
35180 * math/e_j1l.c: Likewise.
35181 * math/e_jnl.c: Likewise.
35182 * math/e_lgammal_r.c: Likewise.
35183 * math/e_log10l.c: Likewise.
35184 * math/e_log2l.c: Likewise.
35185 * math/e_logl.c: Likewise.
35186 * math/e_powl.c: Likewise.
35187 * math/e_sinhl.c: Likewise.
35188 * math/e_sqrtl.c: Likewise.
35189 * math/e_scalb.c: Completely rewritten and optimized.
35190 * math/e_scalbf.c: Likewise.
35191 * math/e_scalbl.c: Likewise.
35192 * math/w_acos.c: Likewise.
35193 * math/w_acosf.c: Likewise.
35194 * math/w_acosl.c: Likewise.
35195 * math/w_acosh.c: Likewise.
35196 * math/w_acoshf.c: Likewise.
35197 * math/w_acoshl.c: Likewise.
35198 * math/w_asin.c: Likewise.
35199 * math/w_asinf.c: Likewise.
35200 * math/w_asinl.c: Likewise.
35201 * math/w_atan2.c: Likewise.
35202 * math/w_atan2f.c: Likewise.
35203 * math/w_atan2l.c: Likewise.
35204 * math/w_atanh.c: Likewise.
35205 * math/w_atanhf.c: Likewise.
35206 * math/w_atanhl.c: Likewise.
35207 * math/w_exp10.c: Likewise.
35208 * math/w_exp10f.c: Likewise.
35209 * math/w_exp10l.c: Likewise.
35210 * math/w_fmod.c: Likewise.
35211 * math/w_fmodf.c: Likewise.
35212 * math/w_fmodl.c: Likewise.
35213 * math/w_j0.c: Likewise.
35214 * math/w_j0f.c: Likewise.
35215 * math/w_j0l.c: Likewise.
35216 * math/w_j1.c: Likewise.
35217 * math/w_j1f.c: Likewise.
35218 * math/w_j1l.c: Likewise.
35219 * math/w_jn.c: Likewise.
35220 * math/w_jnf.c: Likewise.
35221 * math/w_log.c: Likewise.
35222 * math/w_logf.c: Likewise.
35223 * math/w_logl.c: Likewise.
35224 * math/w_log10.c: Likewise.
35225 * math/w_log10f.c: Likewise.
35226 * math/w_log10l.c: Likewise.
35227 * math/w_log2.c: Likewise.
35228 * math/w_log2f.c: Likewise.
35229 * math/w_log2l.c: Likewise.
35230 * math/w_pow.c: Likewise.
35231 * math/w_powf.c: Likewise.
35232 * math/w_powl.c: Likewise.
35233 * math/w_remainder.c: Likewise.
35234 * math/w_remainderf.c: Likewise.
35235 * math/w_remainderl.c: Likewise.
35236 * math/w_scalb.c: Likewise.
35237 * math/w_scalbf.c: Likewise.
35238 * math/w_scalbl.c: Likewise.
35239 * math/w_sqrt.c: Likewise.
35240 * math/w_sqrtf.c: Likewise.
35241 * math/w_sqrtl.c: Likewise.
35242 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35243 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35245 * math/math_private.h: Declare __kernel_standard_f.
35246 * math/w_cosh.c: Remove cruft and optimize a bit.
35247 * math/w_coshf.c: Likewise.
35248 * math/w_coshl.c: Likewise.
35249 * math/w_exp2.c: Likewise.
35250 * math/w_exp2f.c: Likewise.
35251 * math/w_exp2l.c: Likewise.
35252 * math/w_hypot.c: Likewise.
35253 * math/w_hypotf.c: Likewise.
35254 * math/w_hypotl.c: Likewise.
35255 * math/w_lgamma.c: Likewise.
35256 * math/w_lgamma_r.c: Likewise.
35257 * math/w_lgammaf.c: Likewise.
35258 * math/w_lgammaf_r.c: Likewise.
35259 * math/w_lgammal.c: Likewise.
35260 * math/w_lgammal_r.c: Likewise.
35261 * math/w_sinh.c: Likewise.
35262 * math/w_sinhf.c: Likewise.
35263 * math/w_sinhl.c: Likewise.
35264 * math/w_tgamma.c: Likewise.
35265 * math/w_tgammaf.c: Likewise.
35266 * math/w_tgammal.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35269 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35270 Minor optimizations. Pretty printing. Remove cruft.
35271 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35272 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35274 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35275 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35276 * sysdeps/i386/fpu/e_asin.S: Likewise.
35277 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35278 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35279 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35280 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35281 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35283 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35284 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35285 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35286 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35287 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35288 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35289 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35290 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35291 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35292 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35293 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35294 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35295 * sysdeps/i386/fpu/e_log.S: Likewise.
35296 * sysdeps/i386/fpu/e_log10.S: Likewise.
35297 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35298 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35299 * sysdeps/i386/fpu/e_log2.S: Likewise.
35300 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35301 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35302 * sysdeps/i386/fpu/e_logf.S: Likewise.
35303 * sysdeps/i386/fpu/e_logl.S: Likewise.
35304 * sysdeps/i386/fpu/e_pow.S: Likewise.
35305 * sysdeps/i386/fpu/e_powf.S: Likewise.
35306 * sysdeps/i386/fpu/e_powl.S: Likewise.
35307 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35308 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35309 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35310 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35311 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35313 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35314 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35315 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35316 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35317 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35319 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35320 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35321 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35322 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35323 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35327 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35332 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35333 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35334 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35337 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35338 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35339 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35340 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35341 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35342 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35343 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35344 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35345 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35346 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35347 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35348 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35349 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35350 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35351 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35352 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35353 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35354 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35356 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35357 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35376 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35377 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35381 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35384 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35387 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35388 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35393 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35394 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35395 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35396 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35398 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35401 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35402 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35404 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35405 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35409 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35411 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35412 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35413 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35414 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35415 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35416 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35417 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35418 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35419 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35420 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35422 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35424 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35425 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35426 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35427 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35428 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35429 (__isnanf): Likewise.
35430 (__isinf_ns): Likewise.
35431 (__isinf_nsf): Likewise.
35432 (__finite): Likewise.
35433 (__finitef): Likewise.
35434 (__ieee754_sqrt): Define as macro.
35435 (__ieee754_sqrtf): Define as macro.
35436 (__ieee754_sqrtl): Define as macro.
35437 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35439 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35440 __FINITE_MATH_ONLY__ consistent.
35441 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35443 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35445 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35448 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35450 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35452 * po/ja.po: Update from translation team.
35454 2011-10-08 Roland McGrath <roland@hack.frob.com>
35456 * locale/programs/locarchive.c (prepare_address_space): New function.
35457 (create_archive, enlarge_archive, open_archive): Use it.
35459 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35460 inside [SHARED], where it is used.
35462 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35464 * nss/getent.c (netgroup_keys): Remove unused variable.
35465 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35467 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35469 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35470 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35472 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35473 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35474 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35475 * math/Makefile (libm-calls): Add s_isinf_ns.
35476 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35477 * math/multc3.c: Likewise.
35478 * math/s_casin.c: Likewise.
35479 * math/s_casinf.c: Likewise.
35480 * math/s_casinl.c: Likewise.
35481 * math/s_ccos.c: Likewise.
35482 * math/s_ccosf.c: Likewise.
35483 * math/s_ccosl.c: Likewise.
35484 * math/s_ctan.c: Likewise.
35485 * math/s_ctanf.c: Likewise.
35486 * math/s_ctanh.c: Likewise.
35487 * math/s_ctanhf.c: Likewise.
35488 * math/s_ctanhl.c: Likewise.
35489 * math/s_ctanl.c: Likewise.
35490 * math/w_fmod.c: Likewise.
35491 * math/w_fmodf.c: Likewise.
35492 * math/w_fmodl.c: Likewise.
35493 * math/w_remainder.c: Likewise.
35494 * math/w_remainderf.c: Likewise.
35495 * math/w_remainderl.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35497 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35498 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35500 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35501 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35502 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35503 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35505 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35507 * stdio-common/printf_fphex.c: Likewise.
35508 * stdio-common/printf_size.c: Likewise.
35510 * math/e_exp10.c: Include math_private.h using <...> not "...".
35511 * math/e_exp10f.c: Likewise.
35512 * math/e_exp10l.c: Likewise.
35513 * math/e_exp2l.c: Likewise.
35514 * math/e_j0l.c: Likewise.
35515 * math/e_j1l.c: Likewise.
35516 * math/e_jnl.c: Likewise.
35517 * math/e_lgammal_r.c: Likewise.
35518 * math/e_rem_pio2l.c: Likewise.
35519 * math/e_scalb.c: Likewise.
35520 * math/e_scalbf.c: Likewise.
35521 * math/e_scalbl.c: Likewise.
35522 * math/k_cosl.c: Likewise.
35523 * math/k_sinl.c: Likewise.
35524 * math/k_tanl.c: Likewise.
35525 * math/s_cacoshf.c: Likewise.
35526 * math/s_catan.c: Likewise.
35527 * math/s_catanf.c: Likewise.
35528 * math/s_catanh.c: Likewise.
35529 * math/s_catanhf.c: Likewise.
35530 * math/s_catanhl.c: Likewise.
35531 * math/s_catanl.c: Likewise.
35532 * math/s_ccosh.c: Likewise.
35533 * math/s_ccoshf.c: Likewise.
35534 * math/s_ccoshl.c: Likewise.
35535 * math/s_cexp.c: Likewise.
35536 * math/s_cexpf.c: Likewise.
35537 * math/s_cexpl.c: Likewise.
35538 * math/s_clog.c: Likewise.
35539 * math/s_clog10.c: Likewise.
35540 * math/s_clog10f.c: Likewise.
35541 * math/s_clog10l.c: Likewise.
35542 * math/s_clogf.c: Likewise.
35543 * math/s_clogl.c: Likewise.
35544 * math/s_csin.c: Likewise.
35545 * math/s_csinf.c: Likewise.
35546 * math/s_csinh.c: Likewise.
35547 * math/s_csinhf.c: Likewise.
35548 * math/s_csinhl.c: Likewise.
35549 * math/s_csinl.c: Likewise.
35550 * math/s_csqrt.c: Likewise.
35551 * math/s_csqrtf.c: Likewise.
35552 * math/s_csqrtl.c: Likewise.
35553 * math/s_ctan.c: Likewise.
35554 * math/s_ctanf.c: Likewise.
35555 * math/s_ctanh.c: Likewise.
35556 * math/s_ctanhf.c: Likewise.
35557 * math/s_ctanhl.c: Likewise.
35558 * math/s_ctanl.c: Likewise.
35559 * math/s_ldexp.c: Likewise.
35560 * math/s_ldexpf.c: Likewise.
35561 * math/s_ldexpl.c: Likewise.
35562 * math/s_significand.c: Likewise.
35563 * math/s_significandf.c: Likewise.
35564 * math/s_significandl.c: Likewise.
35565 * math/w_acos.c: Likewise.
35566 * math/w_acosf.c: Likewise.
35567 * math/w_acosh.c: Likewise.
35568 * math/w_acoshf.c: Likewise.
35569 * math/w_acoshl.c: Likewise.
35570 * math/w_acosl.c: Likewise.
35571 * math/w_asin.c: Likewise.
35572 * math/w_asinf.c: Likewise.
35573 * math/w_asinl.c: Likewise.
35574 * math/w_atan2.c: Likewise.
35575 * math/w_atan2f.c: Likewise.
35576 * math/w_atan2l.c: Likewise.
35577 * math/w_atanh.c: Likewise.
35578 * math/w_atanhf.c: Likewise.
35579 * math/w_atanhl.c: Likewise.
35580 * math/w_cosh.c: Likewise.
35581 * math/w_coshf.c: Likewise.
35582 * math/w_coshl.c: Likewise.
35583 * math/w_dremf.c: Likewise.
35584 * math/w_exp10.c: Likewise.
35585 * math/w_exp10f.c: Likewise.
35586 * math/w_exp10l.c: Likewise.
35587 * math/w_exp2.c: Likewise.
35588 * math/w_exp2f.c: Likewise.
35589 * math/w_fmod.c: Likewise.
35590 * math/w_fmodf.c: Likewise.
35591 * math/w_fmodl.c: Likewise.
35592 * math/w_hypot.c: Likewise.
35593 * math/w_hypotf.c: Likewise.
35594 * math/w_hypotl.c: Likewise.
35595 * math/w_j0.c: Likewise.
35596 * math/w_j0f.c: Likewise.
35597 * math/w_j0l.c: Likewise.
35598 * math/w_j1.c: Likewise.
35599 * math/w_j1f.c: Likewise.
35600 * math/w_j1l.c: Likewise.
35601 * math/w_jn.c: Likewise.
35602 * math/w_jnf.c: Likewise.
35603 * math/w_jnl.c: Likewise.
35604 * math/w_lgamma.c: Likewise.
35605 * math/w_lgamma_r.c: Likewise.
35606 * math/w_lgammaf.c: Likewise.
35607 * math/w_lgammaf_r.c: Likewise.
35608 * math/w_lgammal.c: Likewise.
35609 * math/w_lgammal_r.c: Likewise.
35610 * math/w_log.c: Likewise.
35611 * math/w_log10.c: Likewise.
35612 * math/w_log10f.c: Likewise.
35613 * math/w_log10l.c: Likewise.
35614 * math/w_log2.c: Likewise.
35615 * math/w_log2f.c: Likewise.
35616 * math/w_log2l.c: Likewise.
35617 * math/w_logf.c: Likewise.
35618 * math/w_logl.c: Likewise.
35619 * math/w_pow.c: Likewise.
35620 * math/w_powf.c: Likewise.
35621 * math/w_powl.c: Likewise.
35622 * math/w_remainder.c: Likewise.
35623 * math/w_remainderf.c: Likewise.
35624 * math/w_remainderl.c: Likewise.
35625 * math/w_scalb.c: Likewise.
35626 * math/w_scalbf.c: Likewise.
35627 * math/w_scalbl.c: Likewise.
35628 * math/w_sinh.c: Likewise.
35629 * math/w_sinhf.c: Likewise.
35630 * math/w_sinhl.c: Likewise.
35631 * math/w_sqrt.c: Likewise.
35632 * math/w_sqrtf.c: Likewise.
35633 * math/w_sqrtl.c: Likewise.
35634 * math/w_tgamma.c: Likewise.
35635 * math/w_tgammaf.c: Likewise.
35636 * math/w_tgammal.c: Likewise.
35638 * po/ja.po: Update from translation team.
35640 2011-09-29 Andreas Jaeger <aj@suse.de>
35643 * sunrpc/netname.c (netname2host): Fix logic.
35647 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35649 * math/w_remainder.c (__remainder): Likewise.
35650 * math/w_remainderf.c (__remainderf): Likewise.
35651 * math/libm-test.inc (remainder_test): Add test cases.
35653 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35655 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35658 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35660 * string/test-memcmp.c: Avoid unncessary #defines.
35661 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35663 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35665 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35666 Use new sse2 version for core i3 - i7 as it's faster
35667 than sse42 version.
35668 (bit_Prefer_PMINUB_for_stringop): New.
35669 * sysdeps/x86_64/rawmemchr.S: Update.
35670 Replace with faster SSE2 version.
35671 * sysdeps/x86_64/memrchr.S: New file.
35672 * sysdeps/x86_64/memchr.S: Update.
35673 Replace with faster SSE2 version.
35675 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35677 * elf/dl-load.c (lose): Add cast to avoid warning.
35679 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35681 * po/ca.po: Update from translation team.
35683 * inet/getnetgrent_r.c: Hook up nscd.
35684 * nscd/Makefile (routines): Add nscd_netgroup.
35685 (nscd-modules): Add netgroupcache.
35686 (CFLAGS-netgroupcache.c): Define.
35687 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35688 (cache_search): Add const to second parameter.
35689 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35691 (dbs): Add netgrdb entry.
35692 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35693 (verify_persistent_db): Handle netgrdb.
35694 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35695 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35697 (netgroup_response_header): Define.
35698 (innetgroup_response_header): Define.
35699 (datahead): Add netgroup_response_header and innetgroup_response_header
35701 * nscd/nscd.conf: Add entries for netgroup cache.
35702 * nscd/nscd.h (dbtype): Add netgrdb.
35703 (_PATH_NSCD_NETGROUP_DB): Define.
35704 (netgroup_iov_disabled): Declare.
35705 (xmalloc, xcalloc, xrealloc): Move declarations here.
35706 (cache_search): Adjust prototype.
35707 Add netgroup-related prototypes.
35708 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35709 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35710 (__nscd_innetgr): Declare.
35711 * nscd/selinux.c (perms): Use access_vector_t as element type and
35712 add netgroup-related initializers.
35713 * nscd/netgroupcache.c: New file.
35714 * nscd/nscd_netgroup.c: New file.
35715 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35716 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35717 For four parameters use innetgr.
35718 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35719 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35720 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35721 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35723 * nscd/connections.c (register_traced_file): Don't register file
35724 for disabled databases.
35726 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35728 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35730 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35731 from tree and freeing node.
35733 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35735 * nss/nsswitch.c (__nss_database_lookup): Handle
35736 nss_parse_service_list out of memory case.
35738 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35740 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35741 out of memory case.
35743 2011-10-04 Andreas Schwab <schwab@redhat.com>
35745 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35746 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35748 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35749 elf_machine_rela, elf_machine_lazy_rel.
35750 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35751 (ELF_DYNAMIC_DO_REL): Likewise.
35752 (ELF_DYNAMIC_DO_RELA): Likewise.
35753 (ELF_DYNAMIC_RELOCATE): Likewise.
35754 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35755 to ELF_DYNAMIC_DO_REL.
35756 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35757 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35758 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35760 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35761 skip_ifunc, don't call ifunc function if non-zero.
35762 (elf_machine_rela): Likewise.
35763 (elf_machine_lazy_rel): Likewise.
35764 (elf_machine_lazy_rela): Likewise.
35765 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35766 (elf_machine_lazy_rel): Likewise.
35767 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35769 (elf_machine_lazy_rel): Likewise.
35770 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35772 (elf_machine_lazy_rel): Likewise.
35773 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35774 (elf_machine_lazy_rel): Likewise.
35775 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35776 (elf_machine_lazy_rel): Likewise.
35777 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35778 (elf_machine_lazy_rel): Likewise.
35779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35780 (elf_machine_lazy_rel): Likewise.
35781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35782 (elf_machine_lazy_rel): Likewise.
35783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35784 (elf_machine_lazy_rel): Likewise.
35786 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35788 * nss/nss_files/files-init.c (_nss_files_init): Use static
35789 initialization for all the *_traced_file variables.
35791 2011-09-28 Andreas Schwab <schwab@redhat.com>
35793 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35795 2011-09-27 Roland McGrath <roland@hack.frob.com>
35798 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35800 2011-09-27 Andreas Schwab <schwab@redhat.com>
35802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35803 Reread the line before reparsing it.
35805 2011-09-26 Andreas Schwab <schwab@redhat.com>
35807 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35809 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35810 Maxim Kuvyrkov <maxim@codesourcery.com>
35811 Joseph Myers <joseph@codesourcery.com>
35813 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35814 if needed for __stack_chk_guard.
35816 2011-09-19 Roland McGrath <roland@hack.frob.com>
35818 * sysdeps/posix/spawni.c (script_execute): Always define it.
35819 It will be optimized away if unused.
35820 (maybe_script_execute): New function.
35821 (__spawni): Call it.
35823 * Makerules: Don't include tls.make.
35824 (config-tls): Always set to thread.
35825 * tls.make.c: File removed.
35827 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35829 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35830 * config.make.in (CPPFLAGS-config): New substituted variable.
35832 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35834 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35837 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35838 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35840 2011-09-15 Roland McGrath <roland@hack.frob.com>
35842 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35843 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35844 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35845 (CALL_FAIL): Likewise.
35846 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35847 (CALL_FAIL): Macro removed.
35848 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35850 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35852 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35853 for __FINITE_MATH_ONLY__ == 1.
35855 2011-09-15 Andreas Schwab <schwab@redhat.com>
35857 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35858 __ieee754_sqrt instead of sqrt.
35859 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35860 __ieee754_sqrtf instead of sqrtf.
35861 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35862 __floorf instead of floorf.
35863 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35864 __floorf, __truncf instead of floorf, truncf.
35866 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35868 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35870 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35871 __extern_always_inline.
35872 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35875 2011-09-14 Andreas Schwab <schwab@redhat.com>
35877 * elf/rtld.c (dl_main): Also relocate in dependency order when
35878 doing symbol dependency testing.
35880 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35883 Always define `refsym'.
35885 2011-09-13 Andreas Schwab <schwab@redhat.com>
35887 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35888 (__FD_ELT): Renamed from __FDELT.
35889 * misc/bits/select2.h (__FD_ELT): Likewise.
35890 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35891 __FD_MASK instead of __FDELT, __FDMASK.
35892 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35894 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35897 * elf/Makefile (gen-ldd): Fix pattern.
35899 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35900 (init_tls): Likewise.
35902 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35904 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35906 2011-09-12 Andreas Schwab <schwab@redhat.com>
35908 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35909 `struct cmsghdr *' instead of `void *'.
35910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35913 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35915 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35917 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35918 ldd_rewrite_script.
35920 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35922 * configure.in: Remove --with-tls option.
35923 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35924 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35925 out in case it is missing.
35926 * sysdeps/ia64/elf/configure.in: Likewise.
35927 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35928 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35929 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35930 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35931 * sysdeps/sh/elf/configure.in: Likewise.
35932 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35933 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35934 * sysdeps/x86_64/elf/configure.in: Likewise.
35935 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35936 * sysdeps/mach/hurd/tls.h: Likewise.
35939 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35942 * configure.in: Fix use of AC_INIT.
35944 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35946 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35948 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35950 * malloc/hooks.c: Likewise.
35953 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35954 variables statically.
35955 (narenas): Initialize.
35956 (list_lock): Initialize.
35957 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35958 initializtion of main_arena and list_lock. Small cleanups.
35959 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35960 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35961 Add initializers to main_arena and mp_.
35962 (malloc_state): Remove pagesize member. Change all users to use
35965 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35966 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35967 is always initialized.
35969 * malloc/malloc.c: Removed unused configurations and dead code.
35970 * malloc/arena.c: Likewise.
35971 * malloc/hooks.c: Likewise.
35972 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35974 * include/tls.h: Removed. USE___THREAD must always be defined.
35975 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35976 * elf/dl-libc.c: Likewise.
35977 * elf/dl-tsd.c: Likewise.
35978 * include/errno.h: Likewise.
35979 * include/netdb.h: Likewise.
35980 * include/resolv.h: Likewise.
35981 * inet/herrno-loc.c: Likewise.
35982 * inet/herrno.c: Likewise.
35983 * malloc/arena.c: Likewise.
35984 * malloc/hooks.c: Likewise.
35985 * malloc/malloc.c: Likewise.
35986 * resolv/res-state.c: Likewise.
35987 * resolv/res_libc.c: Likewise.
35988 * sysdeps/i386/dl-machine.h: Likewise.
35989 * sysdeps/ia64/dl-machine.h: Likewise.
35990 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35991 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35992 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35993 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35994 * sysdeps/sh/dl-machine.h: Likewise.
35995 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35996 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35997 * sysdeps/unix/i386/sysdep.S: Likewise.
35998 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35999 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36004 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36008 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36009 * sysdeps/x86_64/dl-machine.h: Likewise.
36010 * tls.make.c: Likewise.
36012 * configure.in: Remove --with-__thread option. Make tests for
36013 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36014 tls_model attribute fail if no support is available. Remove
36016 * Makeconfig: Adjust for dropped configure option. All features are
36018 * Makerules: Likewise.
36019 * Versions.def: Likewise.
36020 * argp/argp-fmtstream.c: Likewise.
36021 * argp/argp-fmtstream.h: Likewise.
36022 * argp/argp-help.c: Likewise.
36023 * assert/assert.c: Likewise.
36024 * config.h.in: Likewise.
36025 * config.make.in: Likewise.
36026 * configure: Likewise.
36027 * configure.in: Likewise.
36028 * csu/Versions: Likewise.
36029 * csu/init.c: Likewise.
36030 * elf/tst-audit2.c: Likewise.
36031 * elf/tst-tls10.c: Likewise.
36032 * elf/tst-tls10.h: Likewise.
36033 * elf/tst-tls11.c: Likewise.
36034 * elf/tst-tls12.c: Likewise.
36035 * elf/tst-tls14.c: Likewise.
36036 * elf/tst-tlsmod11.c: Likewise.
36037 * elf/tst-tlsmod12.c: Likewise.
36038 * elf/tst-tlsmod13.c: Likewise.
36039 * elf/tst-tlsmod13a.c: Likewise.
36040 * elf/tst-tlsmod14a.c: Likewise.
36041 * elf/tst-tlsmod15b.c: Likewise.
36042 * elf/tst-tlsmod16a.c: Likewise.
36043 * elf/tst-tlsmod16b.c: Likewise.
36044 * elf/tst-tlsmod7.c: Likewise.
36045 * elf/tst-tlsmod8.c: Likewise.
36046 * elf/tst-tlsmod9.c: Likewise.
36047 * gmon/gmon.c: Likewise.
36048 * grp/fgetgrent_r.c: Likewise.
36049 * grp/putgrent.c: Likewise.
36050 * hurd/fopenport.c: Likewise.
36051 * include/libc-symbols.h: Likewise.
36052 * include/tls.h: Likewise.
36053 * intl/gettextP.h: Likewise.
36054 * intl/loadinfo.h: Likewise.
36055 * locale/global-locale.c: Likewise.
36056 * locale/localeinfo.h: Likewise.
36057 * mach/devstream.c: Likewise.
36058 * malloc/arena.c: Likewise.
36059 * malloc/set-freeres.c: Likewise.
36060 * misc/err.c: Likewise.
36061 * misc/getttyent.c: Likewise.
36062 * misc/mntent_r.c: Likewise.
36063 * posix/getopt.c: Likewise.
36064 * posix/wordexp.c: Likewise.
36065 * pwd/fgetpwent_r.c: Likewise.
36066 * resolv/Versions: Likewise.
36067 * resolv/res_hconf.c: Likewise.
36068 * shadow/fgetspent_r.c: Likewise.
36069 * shadow/putspent.c: Likewise.
36070 * stdio-common/printf_fphex.c: Likewise.
36071 * stdio-common/tmpfile.c: Likewise.
36072 * stdlib/abort.c: Likewise.
36073 * stdlib/fmtmsg.c: Likewise.
36074 * sunrpc/auth_unix.c: Likewise.
36075 * sunrpc/clnt_perr.c: Likewise.
36076 * sunrpc/clnt_tcp.c: Likewise.
36077 * sunrpc/clnt_udp.c: Likewise.
36078 * sunrpc/clnt_unix.c: Likewise.
36079 * sunrpc/openchild.c: Likewise.
36080 * sunrpc/svc_simple.c: Likewise.
36081 * sunrpc/svc_tcp.c: Likewise.
36082 * sunrpc/svc_udp.c: Likewise.
36083 * sunrpc/svc_unix.c: Likewise.
36084 * sunrpc/xdr.c: Likewise.
36085 * sunrpc/xdr_array.c: Likewise.
36086 * sunrpc/xdr_rec.c: Likewise.
36087 * sunrpc/xdr_ref.c: Likewise.
36088 * sunrpc/xdr_stdio.c: Likewise.
36090 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36092 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36094 2011-07-03 Andreas Jaeger <aj@suse.de>
36096 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36097 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36098 regenerate with gen-libm-tests.pl.
36100 2010-05-12 Petr Baudis <pasky@suse.cz>
36103 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36104 around j0() zero points by switching to j1().
36105 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36108 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36110 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36112 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36114 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36117 Patch in part by Pavel Roskin <proski@gnu.org>.
36120 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36122 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36123 Free memory block if necessary.
36126 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36127 be NULL. Don't lock in this case.
36129 2011-09-09 Roland McGrath <roland@hack.frob.com>
36131 * elf/elf.h (ELFOSABI_GNU): New macro.
36132 (ELFOSABI_LINUX): Define to that.
36134 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36136 * string/strncat.c (strncat): Undef the symbol in case it has been
36137 defined in bits/string.h.
36139 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36141 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36143 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36146 2011-08-17 Andreas Jaeger <aj@suse.de>
36148 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36150 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36151 Ian Lance Taylor <iant@google.com>
36153 * math/libm-test.inc (lround_test): New testcase.
36154 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36156 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36158 * Makefile: Remove support for automatic cvs check-ins.
36159 * Makerules: Likewise.
36160 * config.make.in: Likewise.
36161 * configure.in: Likewise.
36162 * intl/Makefile: Likewise.
36163 * locale/Makefile: Likewise.
36164 * po/Makefile: Likewise.
36165 * posix/Makefile: Likewise.
36166 * sysdeps/gnu/Makefile: Likewise.
36167 * sysdeps/mach/hurd/Makefile: Likewise.
36168 * sysdeps/sparc/sparc32/Makefile: Likewise.
36171 * posix/Makefile (bug-regex32-ENV): Define.
36172 Patch by John Stanley <jpsinthemix@verizon.net>.
36174 * misc/Makefile (headers): Add bits/select2.h.
36175 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36176 * misc/bits/select2.h: New file.
36177 * include/bits/select2.h: New file.
36178 * debug/Makefile (routines): Add fdelt_chk.
36179 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36180 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36182 * debug/fdelt_chk.c: New file.
36184 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36185 * wcsmbs/test-wmemcmp.c: Likewise.
36186 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36187 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36189 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36191 * string/Makefile (strop-tests): Add memcmp.
36192 * string/test-wmemcmp.c: New file.
36193 * string/test-memcmp.c: Add wmemcmp support.
36195 2011-09-08 Roland McGrath <roland@hack.frob.com>
36198 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36201 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36202 garbage value in a __mach_port_mod_refs call in the cases of the
36203 task-self and thread-self ports.
36205 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36207 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36209 2011-09-08 Andreas Schwab <schwab@redhat.com>
36211 * elf/dl-load.c (lose): Check for non-null L.
36213 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36215 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36217 * elf/dl-libc.c (dlerror_run): Pass back error code from
36221 * elf/dl-load.c (lose): Free l_origin if it is valid.
36223 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36225 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36230 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36232 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36234 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36235 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36236 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36237 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36238 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36239 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36240 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36241 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36242 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36243 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36245 2011-08-15 Alan Modra <amodra@gmail.com>
36248 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36249 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36250 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36251 ppc_mcount to static-only-routines.
36252 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36254 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36255 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36257 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36260 for finite and infinity parameters.
36262 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36264 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36265 and add nop instructions for throughput optimization.
36266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36268 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36270 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36271 aligned copy for power7 with vector-scalar instructions.
36272 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36274 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36279 2011-09-07 Andreas Schwab <schwab@redhat.com>
36282 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36285 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36287 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36288 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36289 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36290 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36293 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36295 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36296 Forgot to demangle the pointer.
36298 * sysdeps/i386/sysdep.h: Define atom_text_section.
36299 * sysdeps/x86_64/sysdep.h: Likewise.
36300 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36301 section with atom_text_section.
36302 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36304 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36306 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36308 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36309 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36310 already be defined. Change to take two parameters and don't assign
36311 result to variable. Adjust all users.
36312 Define INTERNAL_GETTIME if not already defined.
36313 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36316 HAVE_CLOCK_GETTIME_VSYSCALL.
36317 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36319 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36320 gettimeofday vsyscall, just use time.
36322 2011-09-06 Andreas Schwab <schwab@redhat.com>
36324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36327 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36329 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36333 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36334 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36335 syscall if possible.
36337 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36339 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36340 e_ident. Don't pass to find_mapsXX.
36341 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36343 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36346 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36347 * sysdeps/x86_64/multiarch/strchr.S: Update.
36348 Check bit_slow_BSF bit.
36349 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36350 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36351 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36353 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36356 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36358 (tryshell): Define.
36359 (__spawni): Change last parameter to be flag. Test
36360 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36361 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36362 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36363 * posix/spawni.c: Likewise.
36364 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36365 * posix/spawnp.c: Likewise. Change normal version to use
36366 SPAWN_XFLAGS_USE_PATH.
36367 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36368 SPAWN_XFLAGS_TRY_SHELL.
36371 * posix/glob.h: Remove gcc 1.x support.
36374 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36376 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36379 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36381 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36382 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36383 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36384 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36385 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36386 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36388 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36390 * sysdeps/x86_64/wcscmp.S: New file.
36392 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36393 wcscmp-c wcscmp-sse2
36394 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36395 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36396 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36397 * wcsmbs/wcscmp.c: Allow renaming.
36399 2011-09-05 David S. Miller <davem@davemloft.net>
36401 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36402 stack slot, rather than the struct return pointer slot.
36403 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36404 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36406 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36408 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36410 * po/ja.po: Update from translation team.
36413 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36414 kernel in 64-bit binaries.
36416 2011-09-01 David S. Miller <davem@davemloft.net>
36418 * elf/elf.h (HWCAP_SPARC_*): Move to..
36419 * sysdeps/sparc/sysdep.h: this new file and add new values.
36420 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36421 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36422 _DL_HWCAP_COUNT to 24.
36423 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36425 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36426 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36427 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36429 instead of magic constants.
36430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36432 2011-08-31 David S. Miller <davem@davemloft.net>
36434 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36436 Reimplement to do errno handling inline.
36437 (SYSCALL_ERROR_HANDLER): New macro.
36438 (__SYSCALL_STRING): Do not do errno handling in asm.
36439 (__CLONE_SYSCALL_STRING): Delete.
36440 (__INTERNAL_SYSCALL_STRING): Delete.
36441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36442 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36443 (PSEUDO): Reimplement to do errno handling inline.
36444 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36445 (SYSCALL_ERROR_HANDLER): New macro.
36446 (__SYSCALL_STRING): Do not do errno handling in asm.
36447 (__CLONE_SYSCALL_STRING): Delete.
36448 (__INTERNAL_SYSCALL_STRING): Delete.
36449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36450 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36452 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36453 (inline_syscall*): Add 'err' argument.
36454 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36455 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36456 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36457 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36459 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36460 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36462 2011-08-30 Andreas Schwab <schwab@redhat.com>
36464 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36466 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36468 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36471 2011-08-24 David S. Miller <davem@davemloft.net>
36473 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36475 2011-08-24 Andreas Schwab <schwab@redhat.com>
36477 * elf/Makefile: Add rules to build and run unload8 test.
36478 * elf/unload8.c: New file.
36479 * elf/unload8mod1.c: New file.
36480 * elf/unload8mod1x.c: New file.
36481 * elf/unload8mod2.c: New file.
36482 * elf/unload8mod3.c: New file.
36484 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36487 2011-08-23 David S. Miller <davem@davemloft.net>
36489 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36490 subtract stack bias.
36491 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36492 %sp not %fp in calculations.
36493 (_JMPBUF_UNWINDS_ADJ): Likewise.
36495 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36496 (aio_suspend): Call it to force an exception region around the
36497 AIO_MISC_WAIT() invocation.
36499 2011-08-23 Andreas Schwab <schwab@redhat.com>
36501 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36504 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36506 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36508 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36509 and <dl-machine.h>.
36510 (Elf64_FuncDesc): Remove.
36512 2011-08-22 David S. Miller <davem@davemloft.net>
36514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36515 sigaltstack check, add missing cfi directives.
36516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36517 missing cfi directives, and sigaltstack handling.
36519 2011-08-16 Andreas Schwab <schwab@redhat.com>
36522 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36523 object is seen twice.
36524 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36526 * elf/Makefile (distribute): Add tst-initorder2.c.
36527 (tests): Add tst-initorder2.
36528 (modules-names): Add tst-initorder2a tst-initorder2b
36529 tst-initorder2c tst-initorder2d. Add rules to build them.
36530 ($(objpfx)tst-initorder2.out): New rule.
36531 * elf/tst-initorder2.c: New file.
36532 * elf/tst-initorder2.exp: New file.
36534 2011-08-22 Andreas Schwab <schwab@redhat.com>
36536 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36538 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36539 dependencies back to end of function.
36541 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36542 $(elfobjdir)/ld.so.
36544 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36546 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36547 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36548 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36549 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36550 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36551 of __vdso_gettimeofday.
36552 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36553 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36555 (_libc_vdso_platform_setup): Remove initialization of
36556 __vdso_gettimeofday and __vdso_time.
36558 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36560 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36561 and fgetc_unlocked.
36562 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36565 * elf/dl-open.c (add_to_global): Report additions to the global scope
36566 for LD_DEBUG=scopes.
36567 (dl_open_worker): Also print scope of newly loaded dependencies.
36568 (_dl_show_scope): Indicate if there is no scope.
36571 * stdio-common/Makefile (tests): Add bug24.
36572 * stdio-common/bug24.c: New file.
36574 2011-08-19 Andreas Jaeger <aj@suse.de>
36577 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36578 non-existant file when using close-on-exec mode.
36580 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36583 the very first instruction.
36585 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36586 the CFI state in the end.
36587 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36588 inclusion of dl-trampoline.h.
36589 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36591 2011-08-19 Andreas Schwab <schwab@redhat.com>
36593 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36594 expectations for long double.
36596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36597 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36599 2011-08-14 David S. Miller <davem@davemloft.net>
36601 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36602 artificual limit depends upon the system page size.
36604 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36606 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36607 * resolv/Makefile: Define CFLAGS-libresolv.
36609 2011-08-17 Andreas Schwab <schwab@redhat.com>
36611 * nss/makedb.c (compute_tables): Make variables used in nested
36614 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36616 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36617 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36618 if buffer was too small.
36620 * elf/pldd.c (main): Attach to all threads in the process.
36621 Rewrite /proc handling to use *at functions.
36623 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36625 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36626 specifies first scope to show.
36627 (dl_open_worker): Update callers. Move printing scope of new
36628 object to before the relocation.
36629 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36630 * sysdeps/generic/ldsodefs.h: Update declaration.
36632 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36633 string for the scope number.
36635 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36637 * nscd/servicescache.c (cache_addserv): Make sure written is always
36640 2011-08-14 Roland McGrath <roland@hack.frob.com>
36642 * sysdeps/i386/i486/bits/atomic.h
36643 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36644 statement expression, so as to suppress "set but not used" warning.
36645 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36647 * string/strncat.c (STRNCAT): Use prototype definition.
36649 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36650 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36652 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36653 (localedef-modules): Add localedef.
36654 (locale-modules): Add locale.
36656 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36657 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36658 to avoid a warning.
36660 2011-08-14 David S. Miller <davem@davemloft.net>
36662 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36663 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36665 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36667 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36668 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36669 * elf/rtld.c (dl_main): Set l_name of vDSO.
36670 Call _dl_show_scope when DL_DEBUG_SCOPES.
36671 (process_dl_debug): Recognize scopes flag and also set it for all.
36672 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36673 Declare _dl_show_scope.
36675 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36676 (do_dlopen): Pass caller_dlopen to dl_open.
36677 (__libc_dlopen_mode): Initialize caller_dlopen.
36679 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36680 of libc. Make tolower call locale-independent. Optimize a bit by
36681 using isdigit instead of isalnum.
36682 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36684 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36686 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36687 was a dependency or dynamically loaded.
36689 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36691 * intl/l10nflist.c: Allow architecture-specific pop function.
36692 * sysdeps/x86_64/l10nflist.c: New file.
36694 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36697 2011-08-10 Andreas Schwab <schwab@redhat.com>
36699 * include/dirent.h: Add libc_hidden_proto for scandirat and
36700 scandirat64. Don't declare __scandirat64.
36701 * dirent/scandirat.c: Add libc_hidden_def.
36702 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36703 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36705 2011-08-10 David S. Miller <davem@davemloft.net>
36707 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36713 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36715 * Versions.def [libc]: Add GLIBC_2.15.
36716 * dirent/Makefile (routines): Add scandirat and scandirat64.
36717 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36719 * dirent/dirent.h: Declare scandirat and scandirat64.
36720 * dirent/scandirat.c: New file.
36721 * dirent/scandirat64.c: New file.
36722 * sysdeps/wordsize-64/scandirat.c: New file.
36723 * sysdeps/wordsize-64/scandirat64.c: New file.
36724 * dirent/opendir.c: Define opendirat.
36725 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36727 * dirent/scandir64.c: Adjust for scandir.c change.
36728 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36729 __scandirat64, and __scandir_cancel_handler.
36730 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36731 additional parameter and use openat instead of open (outside of ld.so).
36732 Add new __opendir as wrapper around __opendirat.
36733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36734 here without requiring old scandirat implementation.
36736 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36738 * dirent/scandir.c (cancel_handler): Renamed to
36739 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36740 defined. Adjust users.
36741 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36742 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36744 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36746 * string/test-string.h (IMPL): Use __STRING to expand name and then
36749 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36752 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36754 * string/Makefile: Update.
36755 (strop-tests): Append strncat.
36756 * string/test-wcscmp.c: New file.
36757 New comprehensive test for wcscmp.
36758 * string/test-strcmp.c: Update.
36759 (WIDE): New define.
36761 2011-07-22 Andreas Schwab <schwab@redhat.com>
36763 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36766 2011-07-26 Andreas Schwab <schwab@redhat.com>
36768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36769 encoding to ACE if AI_IDN.
36771 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36773 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36774 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36776 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36778 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36779 Fix overflow bug in strncat.
36780 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36782 * string/test-strncat.c: Update.
36783 Add new tests for checking overflow bugs.
36785 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36788 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36789 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36790 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36791 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36792 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36793 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36794 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36795 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36798 (USE_AS_STRCAT): Define.
36799 Add strcat and strncat support.
36800 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36802 2011-07-25 Andreas Schwab <schwab@redhat.com>
36804 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36805 __n bigger than INT_MAX+1.
36806 (__strncmp_g): Likewise.
36808 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36810 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36811 * libio/stido.h: Likewise.
36813 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36818 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36820 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36821 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36825 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36830 (_dl_x86_64_save_sse): Likewise.
36832 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36836 (_dl_x86_64_save_sse): Likewise.
36838 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36840 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36842 2011-07-21 Andreas Schwab <schwab@redhat.com>
36844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36846 (_dl_x86_64_save_sse): Use correct AVX check.
36848 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36851 bug in strncpy/strncat.
36852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36854 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36856 * string/tester.c (test_strcat): Add tests for different alignments
36857 of source and destination.
36858 (test_strncat): Likewise.
36860 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36863 * posix/glob.c (glob): Check passed in values before using them in
36864 expressions to avoid some overflows.
36865 (glob_in_dir): Likewise.
36868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36869 check for AVX enablement so that we don't crash with old kernels and
36871 * elf/tst-audit4.c: Add same checks here.
36872 * elf/tst-audit6.c: Likewise.
36874 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36876 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36878 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36880 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36882 * po/cs.po: Update from translation team.
36883 * po/bg.po: Likewise.
36885 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36887 * misc/sys/cdefs.h: Add support for const attribute.
36888 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36889 to gnu_dev_{major,minor,makedev} functions.
36891 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36893 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36895 2011-07-20 Andreas Schwab <schwab@redhat.com>
36897 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36900 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36903 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36904 register in order to avoid conflicts with the soft frame pointer
36905 being held in r11 when necessary.
36906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36907 (INTERNAL_VSYSCALL_NCS): Likewise.
36909 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36911 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36912 * elf/dl-fini.c (_dl_fini): Adjust caller.
36913 * elf/dl-close.c (_dl_close_worker): Likewise.
36914 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36916 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36918 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36919 "aux_cache->nlibs < 0".
36921 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36922 in the reload-count case.
36924 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36927 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36928 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36929 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36930 * sysdeps/x86_64/multiarch/strcat.S: New file.
36931 * sysdeps/x86_64/multiarch/strncat.S: New file.
36932 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36933 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36934 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36935 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36936 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36937 (USE_AS_STRCAT): Define.
36938 Add strcat and strncat support.
36939 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36940 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36941 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36942 * string/strncat.c: Update.
36943 (USE_AS_STRNCAT): Define.
36944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36945 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36947 * sysdeps/x86_64/multiarch/init-arch.h
36948 (bit_Prefer_PMINUB_for_stringop): New.
36949 (index_Prefer_PMINUB_for_stringop): Likewise.
36950 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36951 bit_Prefer_PMINUB_for_stringop.
36953 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36955 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36957 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36958 of casting of buffer.
36959 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36960 buffer32 and buffer64.
36961 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36962 writes instead of casting of buffer.
36963 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36965 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36968 2011-07-19 Andreas Schwab <schwab@redhat.com>
36970 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36972 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36974 * nscd/nscd.c (termination_handler): Don't do anything for a database
36975 if it has not yet been initialized.
36977 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36979 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36981 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36983 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36985 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36987 * po/nl.po: Update from translation team.
36988 * po/sv.po: Likewise.
36990 2011-07-16 Roland McGrath <roland@hack.frob.com>
36992 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36993 now disallowed by GCC.
36995 * configure.in (use-default-link): Default to yes if a test -shared
36996 link meets our qualifications.
36997 * configure: Regenerated.
36999 * config.make.in (output-format): New variable.
37000 * configure.in: Check for ld --print-output-format support.
37001 * configure: Regenerated.
37002 * Makerules ($(common-objpfx)format.lds)
37003 [$(output-format) != unknown]: Just use $(output-format),
37004 instead of the linker-script munging.
37006 2011-07-14 Roland McGrath <roland@hack.frob.com>
37008 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37009 of $(common-objpfx)shlib.lds.
37010 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37012 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37013 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37015 * configure.in (-z relro check): Adjust test code to add a large
37016 writable data section after it.
37017 * configure: Regenerated.
37019 2011-07-11 Roland McGrath <roland@hack.frob.com>
37021 * configure.in (-z relro check): Fix test code to make the variable
37023 * configure: Regenerated.
37025 2011-07-11 Ulrich Drepper <drepper@gmail.com>
37027 * nscd/nscd.h (struct traced_file): Define.
37028 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37029 elements. Add traced_files.
37030 (inotify_fd): Declare.
37031 (register_traced_file): Declare.
37032 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37033 (inotify_fd): Export.
37034 (resolv_conf_descr): Remove.
37035 (nscd_init): Move inotify descriptor creation to main.
37036 Don't register files for notification here.
37037 (register_traced_file): New function.
37038 (invalidate_cache): Don't use reset_res to determine whether to call
37039 res_init, go through the list of registered files.
37040 (main_loop_poll): The inotify descriptors are now stored in the
37041 structures for the traced files.
37042 (main_loop_epoll): Likewise
37043 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37044 to __nss_disable_nscd.
37045 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37046 for a database anymore. Check the records for all the registered
37048 * nss/Makefile (libnss_files-routines): Add files-init.
37049 (libnss_db-routines): Add db-init.
37050 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37051 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37052 * nss/nss_db/db-init.c: New file.
37053 * nss/nss_files/files-init.c: New file.
37054 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37055 __nss_lookup_function.
37056 (__nss_lookup_function): Call nss_load_library.
37057 (nss_load_all_libraries): New function.
37058 (__nss_disable_nscd): Take parameter with callback function for files
37059 to register. Set is_nscd. Load all the DSOs for the NSS modules
37060 used for the cached services.
37061 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37062 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37063 options for features to all the files in nscd.
37065 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37067 2011-07-10 Roland McGrath <roland@hack.frob.com>
37069 * csu/elf-init.c (__libc_csu_init): Comment typo.
37071 2011-07-09 Ulrich Drepper <drepper@gmail.com>
37073 * po/pl.po: Update from translation team.
37074 * po/ja.po: Likewise.
37075 * po/ru.po: Likewise.
37076 * po/ko.po: Likewise.
37077 * po/fr.po: Likewise.
37079 2011-07-09 Roland McGrath <roland@hack.frob.com>
37081 * configure.in (.ctors/.dtors header and trailer check):
37082 Use an empirical test on a built program.
37083 * configure: Regenerated.
37085 * configure.in (-z relro check): Use an empirical test on a built DSO.
37086 Detect, but do not require, on ia64.
37087 * configure: Regenerated.
37089 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37090 Update tests that use readelf to use $READELF instead.
37091 * configure: Regenerated.
37093 2011-07-08 Ulrich Drepper <drepper@gmail.com>
37095 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37096 if the result is not used.
37098 2011-07-05 Andreas Jaeger <aj@suse.de>
37101 * stdlib/tst-strtod.c: Add testcase.
37103 2011-07-07 Ulrich Drepper <drepper@gmail.com>
37105 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37106 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37107 The latter has a higher limit. Take additional parameter to pass to
37109 (__pathconf): Pass file to __statfs_link_max.
37110 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37112 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37116 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37117 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37120 (__statfs_filesize_max): Likewise.
37121 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37123 2011-07-05 Andreas Jaeger <aj@suse.de>
37125 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37127 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37129 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37131 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37134 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37136 * Makefile (strop-tests): Add strncat.
37137 * string/test-strncat.c: New file.
37139 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37141 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37143 2011-06-21 Andreas Jaeger <aj@suse.de>
37145 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37146 Copy rule from iconvdata/Makefile.
37148 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37151 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37152 but no long options are defined, just return 'W'.
37154 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37157 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37159 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37161 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37163 (innetgr): Likewise.
37165 2011-07-05 Roland McGrath <roland@hack.frob.com>
37167 * config.make.in (install_root): Default to $(DESTDIR).
37169 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37171 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37173 2011-07-02 Roland McGrath <roland@hack.frob.com>
37175 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37177 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37178 containing directory rather than embedding absolute directory names.
37180 * scripts/check-local-headers.sh: Rewritten using awk.
37181 Match by word, not by line. Print error messages for matches.
37182 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37184 * Makerules [shlib-lds-flags empty]:
37185 ($(common-objpfx)libc_pic.opts): New target.
37186 ($(common-objpfx)libc_pic.os.clean): New target.
37187 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37189 * config.make.in (OBJCOPY): New variable.
37190 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37191 * configure: Regenerated.
37193 * config.make.in (use-default-link): New variable.
37194 * configure.in (use_default_link): Grok --with-default-link to set it.
37195 * configure: Regenerated.
37196 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37197 (shlib-lds, shlib-lds-flags): Define to empty.
37199 * Makerules (shlib-lds): New variable.
37200 (shlib-lds-flags): New variable.
37201 (build-shlib, build-moduile, build-module-asneeded): Use it.
37202 ($(common-objpfx)libc.so): Use $(shlib-lds).
37203 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37204 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37206 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37207 DT_FLAGS/DT_FLAGS_1 with zero flags.
37209 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37210 linker script munging.
37212 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37214 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37216 * crypt/sha512.c (sha512_process_block): Perform total addition using
37217 128-bit if possible.
37218 (__sha512_finish_ctx): Likewise.
37219 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37221 * crypt/sha256.c (SWAP64): Define.
37222 (sha256_process_block): Perform total addition using 64-bit if
37224 (__sha256_finish_ctx): Likewise.
37226 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37228 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37230 * nscd/hstcache.c (cache_addhst): Likewise.
37231 * nscd/grpcache.c (cache_addgr): Likewise.
37232 * nscd/aicache.c (addhstaiX): Likewise
37233 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37235 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37237 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37239 * nscd/hstcache.c (cache_addhst): Likewise.
37240 * nscd/grpcache.c (cache_addgr): Likewise.
37241 * nscd/aicache.c (addhstaiX): Likewise
37243 2011-07-01 Andreas Schwab <schwab@redhat.com>
37245 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37246 domain only when needed.
37248 2011-06-30 Andreas Schwab <schwab@redhat.com>
37250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37251 is always restored.
37253 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37255 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37256 are re-adding the entry.
37257 * nscd/servicescache.c (cache_addserv): Likewise.
37259 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37261 * sysdeps/generic/dl-irel.h: fix protection against multiple
37263 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37265 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37268 * malloc/memusage.sh: Fix quoting in message.
37269 * debug/xtrace.sh: Likewise.
37271 * configure.in: Remove support for --experimental-malloc option, make
37273 * config.make.in: Likewise.
37274 * malloc/Makefile: Likewise.
37276 2011-06-27 Andreas Schwab <schwab@redhat.com>
37278 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37279 two-byte characters.
37281 2011-06-27 Roland McGrath <roland@hack.frob.com>
37283 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37284 AC_CACHE_CHECK invocation.
37285 * configure: Regenerated.
37287 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37289 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37292 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37293 bit from old_res_options.
37295 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37297 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37298 value type for setfct.
37300 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37303 __gettimeofday instead of gettimeofday.
37305 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37307 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37309 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37313 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37316 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37319 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37320 strcpy-sse2-unaligned strncpy-sse2-unaligned
37321 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37322 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37323 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37324 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37325 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37328 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37329 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37330 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37331 (STRCPY): Support SSE2 and SSSE3 versions.
37333 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37336 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37337 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37338 kernels which artificially limit size of requests.
37340 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37343 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37344 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37345 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37346 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37347 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37348 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37349 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37350 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37352 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37353 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37354 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37355 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37356 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37358 Enable unaligned load optimization for Intel Core i3, i5 and i7
37360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37362 (index_Fast_Unaligned_Load): Define.
37363 (HAS_FAST_UNALIGNED_LOAD): Define.
37365 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37367 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37369 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37373 until it is clear that the information is realy needed.
37374 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37376 2011-06-22 Andreas Schwab <schwab@redhat.com>
37378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37380 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37383 /sys/devices/system/cpu/online if it is usable.
37385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37386 reading the information from the /proc filesystem to once a second.
37388 2011-06-21 Andreas Jaeger <aj@suse.de>
37390 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37391 NULL after inclusion of kernel headers.
37393 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37395 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37396 calls to internal_setent.
37399 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37400 addresses using gethostbyname4_r ignore IPv4 addresses.
37402 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37403 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37405 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37407 2011-06-20 David S. Miller <davem@davemloft.net>
37409 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37411 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37413 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37414 (elf_irel): Use it.
37415 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37416 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37417 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37418 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37419 * sysdeps/x86_64/dl-irel.h: Likewise.
37421 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37422 * elf/dl-sym.c: Likewise.
37424 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37426 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37427 need to dereference resplen2.
37429 2011-06-14 Andreas Schwab <schwab@redhat.com>
37431 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37433 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37435 * Makeconfig: Define vardbdir and inst_vardbdir.
37436 * nss/Makefile: Add rules to install db-Makefile.
37438 * nss/nss_db/db-XXX.c: Cleanup.
37440 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37441 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37443 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37444 * nss/makedb.c: Implement -g option to specify that value strings
37445 are generated and should not be added to table iterated over for
37447 * nss/nss_db/db-initgroups.c: New file.
37449 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37452 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37453 (internal_getgrouplist): Adjust to name change.
37454 Update use_initgroups_entry if this is not the first call.
37455 * nss/databases.def: Add initgroups entry.
37457 * nss/makedb.c (compute_tables): Check result of multiple hash table
37458 sizes to minimize maximum chain length.
37460 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37462 * Versions.def: Add entry for libnss_db.
37463 * shlib-versions: Likewise.
37464 * nss/Makefile: Add rules to build libnss_db.
37465 * nss/Versions: Add libnss_db information. Organize libnss_files
37467 * nss/db-Makefile: Add gshadow support. Change rules for the new
37468 makedb progra. Some minor improvements to generate smaller files.
37469 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37471 * nss/makedb.c: ...here.
37472 Improve database format to be smaller and require less memory at
37474 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37476 * nss/nss_db/db-netgrp.c: Likewise.
37477 * nss/nss_db/db-open.c: Likewise.
37478 * nss/nss_files/flies-XXX.x: Adjust comments.
37479 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37480 * nss/nss_files/files-grp.c: Likewise.
37481 * nss/nss_files/files-hosts.c: Likewise.
37482 * nss/nss_files/files-network.c: Likewise.
37483 * nss/nss_files/files-proto.c: Likewise.
37484 * nss/nss_files/files-pwd.c: Likewise.
37485 * nss/nss_files/files-rpc.c: Likewise.
37486 * nss/nss_files/files-service.c: Likewise.
37487 * nss/nss_files/files-sgrp.c: Likewise.
37488 * nss/nss_files/files-spwd.c: Likewise.
37489 * nss/nss_db/db-alias.c: Removed.
37490 * nss/nss_db/dummy-db.h: Removed.
37492 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37494 * nss/makedb.c: Rewritten to not use database library.
37495 * nss/Makefile: Update to build new makedb program.
37497 2011-06-14 Andreas Jaeger <aj@suse.de>
37499 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37500 memset declaration.
37502 2011-06-10 Andreas Schwab <schwab@redhat.com>
37504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37507 2011-06-10 Roland McGrath <roland@hack.frob.com>
37509 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37510 * elf/Makefile ($(objpfx)ld.so): Likewise.
37512 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37513 Don't list ld.so twice in dependencies.
37515 * posix/bug-regex31.c: Include <stdlib.h>.
37517 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37519 * nis/nss_compat/compat-spwd.c
37520 (getspent_next_nss_netgr): Remove unused variable.
37521 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37523 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37524 nonmembers" output to use the right array.
37526 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37528 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37530 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37531 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37532 * catgets/gencat.c (read_input_file): Likewise.
37533 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37535 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37536 variable definition inside #if's controlling its use.
37538 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37540 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37542 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37544 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37547 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37549 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37550 * configure: Regenerated.
37552 * Makerules: Revert last change.
37553 * elf/Makefile: Likewise.
37555 2011-06-09 Roland McGrath <roland@hack.frob.com>
37557 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37558 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37559 (reloc-link): Likewise.
37561 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37563 * elf/Makefile: Add rules to build pldd.
37564 * elf/pldd.c: New file.
37565 * elf/pldd-xx.c: New file.
37567 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37569 * version.h: Update for 2.15 development version.
37571 2011-06-07 David S. Miller <davem@davemloft.net>
37573 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37576 elf_machine_lazy_rel): Likewise.
37577 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37578 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37579 elf_machine_lazy_rel): Likewise.
37580 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37581 dl_hwcap via passed in argument.
37582 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37585 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37587 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37589 2011-06-06 Roland McGrath <roland@hack.frob.com>
37592 * manual/fdl-1.1.texi: New file, verbatim from:
37593 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37594 * manual/lgpl-2.1.texi: New file, verbatim from:
37595 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37596 * manual/Makefile (licenses): New variable, list those new file names.
37598 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37600 * manual/fdl.texi: File removed.
37601 * manual/lesser.texi: File removed.
37602 * manual/libc.texinfo (Copying, Documentation License):
37603 Use new @include file names, put @appendix directive before @include.
37605 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37608 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37609 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37610 (mq_open): Add __NTH.
37612 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37615 Assume Intel Core i3/i5/i7 processor if AVX is available.
37617 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37619 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37622 2011-05-31 Andreas Schwab <schwab@redhat.com>
37624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37625 memory. Use alloca_account. Fix memory leak when retrying.
37627 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37629 * version.h (RELEASE): Bump for 2.14 release.
37630 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37632 * config.make.in (RANLIB): Remove entry.
37634 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37636 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37637 (libc.pot): Work around missing support for .ksh extension in xgettext.
37640 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37641 if both request failed.
37642 (send_dg): In case of server errors clear resplen or *resplen2.
37645 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37646 when there are multiple maps.
37647 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37648 (_dl_fini): Remove test here.
37650 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37652 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37655 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37656 bit from old_res_options.
37657 (gaih_inet): Likewise.
37660 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37663 * resolv/res_init.c (res_setoptions): Make the code more compact.
37666 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37670 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37672 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37675 * malloc/malloc.h: Declare malloc hook variables as volatile.
37677 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37681 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37682 raise in the comment.
37683 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37685 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37687 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37690 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37691 grow the buffers more if it already has to be sufficient.
37692 (build_wcs_upper_buffer): Likewise.
37693 * posix/regexec.c (check_matching): Likewise.
37694 (clean_state_log_if_needed): Likewise.
37695 (extend_buffers): Don't enlarge buffers beyond size of the input
37697 Patches mostly by Emil Wojak <emil@wojak.eu>.
37698 * posix/bug-regex32.c: New file.
37699 * posix/Makefile (tests): Add bug-regex32.
37701 * locale/findlocale.c (_nl_find_locale): Return right away if
37702 _nl_explode_name failed.
37703 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37705 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37707 * debug/xtrace.sh: Unify messages.
37708 * malloc/memusage.sh: Likewise.
37711 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37712 time symbol from vDSO. Substitute with vsyscall if not available.
37713 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37716 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37717 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37718 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37719 Add sendmmsg and internal_sendmmsg.
37720 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37721 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37724 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37725 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37728 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37731 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37732 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37738 * iconvdata/Makefile (tests): Add bug-iconv9.
37739 * iconvdata/bug-iconv9.c: New file.
37741 2011-05-27 Andreas Schwab <schwab@redhat.com>
37744 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37746 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37749 (struct user_regs_struct): Change intcs field back to cs.
37751 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37753 * po/ja.po: Update from translation team.
37755 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37758 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37759 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37761 2011-05-20 Andreas Schwab <schwab@redhat.com>
37763 * stdlib/longlong.h: Update from GCC.
37765 2011-05-23 Andreas Schwab <schwab@redhat.com>
37767 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37769 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37770 Add parameter name.
37771 (__sysconf): Pass it down.
37773 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37776 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37779 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37780 add in in __libc_use_alloca calls. Adjust callers.
37781 (glob): Use malloc in some situations.
37783 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37784 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37787 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37789 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37790 and CLOCK_BOOTTIME_ALARM.
37793 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37796 * string/_strerror.c (__strerror_r): Print negative errors as signed
37800 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37801 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37802 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37804 * configure.in: Fix typo in redirection and correct removal of test
37805 files in two cases.
37808 * locale/setlocale.c (new_composite_name): Fix test to check for
37809 identical name of all categories.
37812 * libio/filedoalloc.c (local_isatty): New function.
37813 (_IO_file_doallocate): Use local_isatty.
37814 * stdio-common/perror.c (perror): In case a new stream is used
37815 forward the stream error.
37816 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37819 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37824 * include/alloca.h (extend_alloca_account): Define.
37827 * posix/regex.h: Fix comments with documentation of user-accessible
37828 fields after compilation and describe correct free'ing of pattern
37829 after re_compile_pattern.
37830 Patch by Reuben Thomas <rrt@sc3d.org>.
37832 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37834 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37835 and -mno-altivec to prevent the compiler from using Altivec and/or
37836 VSX instructions when the corresponding registers are not available.
37838 2011-05-19 Andreas Schwab <schwab@redhat.com>
37840 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37842 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37844 * libio/freopen.c (freopen): Use __dup2, not dup2.
37845 * libio/freopen64.c (freopen64): Likewise.
37847 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37850 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37851 * math/Makefile (tests): Add test-powl.
37852 (CFLAGS-test-powl.c): Define.
37853 * math/test-powl.c: New file.
37855 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37857 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37859 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37862 * iconvdata/gb18030.c: Update to GB18020-2005.
37864 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37866 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37867 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37868 Patch by Aharon Robbins <arnold@skeeve.com>.
37871 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37875 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37876 through underflows.
37879 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37880 point to strings before performing equality test for error_one_per_line
37884 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37888 (struct user_fpregs_struct): Avoid __uint*_t types.
37891 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37892 symbol info. Use it instead of calling _dl_addr locally.
37893 (lock_and_info): New function.
37894 (tr_freehook): Call lock_and_info and pass symbol info as additional
37895 parameter to tr_where.
37896 (tr_mallochook): Likewise.
37897 (tr_reallochook): Likewise.
37898 (tr_memalignhook): Likewise.
37900 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37901 used and couldn't be at all thread-safe.
37903 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37905 * libio/freopen.c (freopen): Don't close old file descriptor
37906 before the new one is opened. Instead dup the new file descriptor
37907 to the old one after the new stream is created.
37908 * libio/freopen64.c (freopen64): Likewise.
37909 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37910 * libio/fileops.c (_IO_new_file_close_it): Handle new
37911 _IO_FLAGS2_NOCLOSE flag.
37912 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37913 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37914 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37915 _IO_FLAGS2_NOCLOSE flag.
37916 * include/unistd.h: Add hidden_proto for dup3.
37917 Define __have_dup3.
37918 * io/dup3.c: Define hidden symbol.
37919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37922 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37923 when an incomplete long option is used.
37924 * posix/tst-getopt_long1.c: New file.
37925 * posix/Makefile (tests): Add tst-getopt_long1.
37928 * scripts/config.guess: Update from autoconf-2.68.
37929 * scripts/config.sub: Likewise.
37932 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37934 (has_cpuclock): ...this. New function.
37935 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37936 macro here based on has_cpuclock code.
37939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37940 First byte (not low byte) is now always NUL.
37941 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37944 Use non-cancelable interfaces.
37947 * locale/iso-639.def: Add entry for Sorani.
37950 * include/stdlib.h: Move include protection to the right place.
37951 Define abort_msg_s. Declare __abort_msg with it.
37952 * stdlib/abort.c (__abort_msg): Adjust type.
37953 * assert/assert.c (__assert_fail_base): New function. Majority
37954 of code from __assert_fail. Allocate memory for __abort_msg with
37956 (__assert_fail): Now call __assert_fail_base.
37957 * assert/assert-perr.c: Remove bulk of implementation. Use
37958 __assert_fail_base.
37959 * include/assert.hL Declare __assert_fail_base.
37960 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37962 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37964 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37968 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37969 until all modules are registered in the DTV.
37970 * elf/Makefile: Add rules to build and run tst-tls19.
37971 * elf/tst-tls19.c: New file.
37972 * elf/tst-tls19mod1.c: New file.
37973 * elf/tst-tls19mod2.c: New file.
37974 * elf/tst-tls19mod3.c: New file.
37975 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37978 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37982 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37983 two-byte sequence errors.
37984 * iconvdata/Makefile (tests): Add bug-iconv8.
37985 * iconvdata/bug-iconv8.c: New file.
37988 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37991 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37994 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37995 (dummy_getcfa): New function.
37996 (init): Get _Unwind_GetCFA address, use dummy if not found.
37997 (backtrace_helper): In recursion check, also check whether CFA changes.
37998 (__backtrace): Completely initialize arg.
38000 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38001 storing incomplete byte sequence in state object. Avoid testing for
38002 guaranteed too small input if we know there is enough data available.
38004 2011-05-11 Andreas Schwab <schwab@redhat.com>
38006 * Makeconfig (+link-pie): Indent.
38007 * Rules (binaries-pie): Define if $(have-fpie) and
38009 (binaries-shared): Also filter out $(binaries-pie).
38010 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38011 * nscd/Makefile (others-pie): Add nscd.
38012 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38013 ($(objpfx)nscd): Remove command override.
38014 * login/Makefile (others-pie): Add pt_chown.
38015 ($(objpfx)pt_chown): Remove command override.
38016 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38017 remove command overrides.
38019 2011-05-13 Ulrich Drepper <drepper@gmail.com>
38021 * libio/tst_putwc.c: Fix error messages.
38024 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38025 currently writing and seek to current position when not.
38026 * libio/Makefile (tests): Add bug-fclose1.
38027 * libio/bug-fclose1.c: New file.
38029 2011-05-12 Ulrich Drepper <drepper@gmail.com>
38032 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38033 don't set DF_1_NODELETE here.
38034 (do_lookup_x): When entering new entry test for copy relocation
38035 and if necessary set DF_1_NODELETE flag.
38036 * elf/tst-unique4.cc: New file.
38037 * elf/tst-unique4.h: New file.
38038 * elf/tst-unique4lib.cc: New file.
38039 * elf/Makefile: Add rules to build and run tst-unique4.
38040 Patch by Piotr Bury <pbury@goahead.com>.
38042 2011-05-11 Ulrich Drepper <drepper@gmail.com>
38045 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38048 * misc/mntent_r.c (addmntent): Flush the stream after the output
38051 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38052 (is_trusted_path_normalize): Skip initial colon. Append slash
38053 to empty buffer. Duplicate is_trusted_path code but allow
38054 constructed patch to be prefix.
38055 (is_dst): Allow $ORIGIN followed by /.
38056 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38057 Correct testing of result of is_trusted_path_normalize
38058 (decompose_rpath): Fix warning.
38060 2011-05-10 Ulrich Drepper <drepper@gmail.com>
38063 * grp/initgroups.c (internal_getgrouplist): When we found the service
38064 list through the initgroups entry in nsswitch.conf do not always
38065 continue on a successful lookup. Don't always use the
38066 __nss_group_database value if it is set.
38067 * nss/nsswitch.conf (initgroups): Change action for successful db
38068 lookup to continue for compatibility.
38070 2011-05-09 Ulrich Drepper <drepper@gmail.com>
38073 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38075 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38077 * iconvdata/tst-tables.sh: Likewise.
38078 * iconvdata/cp770.c: New file.
38079 * iconvdata/cp771.c: New file.
38080 * iconvdata/cp772.c: New file.
38081 * iconvdata/cp773.c: New file.
38082 * iconvdata/cp774.c: New file.
38083 * iconvdata/testdata/CP770: New file.
38084 * iconvdata/testdata/CP770..UTF8: New file.
38085 * iconvdata/testdata/CP771: New file.
38086 * iconvdata/testdata/CP771..UTF8: New file.
38087 * iconvdata/testdata/CP772: New file.
38088 * iconvdata/testdata/CP772..UTF8: New file.
38089 * iconvdata/testdata/CP773: New file.
38090 * iconvdata/testdata/CP773..UTF8: New file.
38091 * iconvdata/testdata/CP774: New file.
38092 * iconvdata/testdata/CP774..UTF8: New file.
38094 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38096 * iconvdata/gen-8bit-gap.sh: Likewise.
38097 * iconvdata/gen-8bit.sh: Likewise.
38099 * locale/iso-639.def: Add ary entry.
38102 * locale/C-translit.h.in: Add U20A1 transliteration.
38105 * locale/iso-639.def: Add wae entry.
38106 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38109 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38113 * locale/C-translit.h.in: Add entry for U20B9.
38114 Patch by pravin.d.s@gmail.com.
38116 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38119 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38120 ENAMETOOLONG use generic getcwd.
38121 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38122 in rtld. Use *stat64.
38123 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38124 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38125 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38126 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38127 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38128 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38129 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38130 __fstatat64 macros.
38131 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38132 * dirent/rewinddir.c: Add libc_hidden_def.
38133 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38134 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38136 * include/dirent.h (__alloc_dir): Add flags parameter.
38137 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38138 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38140 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38141 from fdopendir if O_CLOEXEC is already set.
38143 2011-03-15 Alan Modra <amodra@gmail.com>
38145 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38146 l_tls_firstbyte_offset non-zero. Save padding offset in
38147 l_tls_firstbyte_offset for later use.
38148 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38149 freeing static tls block.
38151 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38153 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38154 where #ifdef was intended. The intent is to prevent ARG_MAX from
38155 being defined by the kernel headers.
38157 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38160 * resolv/resolv.h: Define RES_NOTLDQUERY.
38161 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38162 no-tld-query and set RES_NOTLDQUERY.
38163 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38164 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38165 modern BIND to search name as TLD unless forbidden.
38167 2011-05-07 Petr Baudis <pasky@suse.cz>
38168 Ulrich Drepper <drepper@gmail.com>
38171 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38172 (is_trusted_path): ...to here.
38173 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38174 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38175 using is_trusted_path_normalize() in setuid scripts.
38177 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38180 __BEGIN/__END_DECLS.
38182 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38185 NSS_STATUS_NOTFOUND if no record was found.
38187 2011-05-05 Andreas Schwab <schwab@redhat.com>
38189 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38190 (headers-not-in-tirpc): Remove rpc/netdb.h
38191 * resolv/netdb.h: Revert last change.
38193 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38195 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38196 circular dependency between libgcc.a and libc.a.
38198 2011-05-05 Andreas Schwab <schwab@redhat.com>
38200 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38201 * nis/Makefile: Don't install rpcsvc/*.
38202 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38203 instead of <rpc/types.h>.
38204 (MAXHOSTNAMELEN): Define.
38206 2011-05-03 Andreas Schwab <schwab@redhat.com>
38208 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38210 2011-04-28 Maciej Babinski <mbabinski@google.com>
38213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38214 gethostbyname4_r when IPv6 results are possible.
38216 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38219 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38220 _PC_PIPE_BUF handling.
38222 2011-04-30 Bruno Haible <bruno@clisp.org>
38225 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38226 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38228 * inet/getnameinfo.c (getnameinfo): Likewise.
38230 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38232 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38233 to groups setting in database lookup.
38234 * nss/nsswitch.conf: Add initgroups entry.
38236 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38239 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38241 Patch by Eric Blake <eblake@redhat.com>.
38243 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38245 * sunrpc/Makefile (need-export-routines): Add svc_run.
38246 (routines): Remove svc_run.
38247 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38248 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38249 * sunrpc/svc_run.c (svc_run): Likewise.
38250 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38252 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38255 problem in reallocation in last patch.
38257 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38259 * sunrpc/Makefile: Move inclusion of Rules.
38261 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38263 * nss/nss_files/files-initgroups.c: New file.
38264 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38265 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38266 _nss_files_initgroups_dyn.
38268 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38270 * elf/elf.h (R_ARM_IRELATIVE): Define.
38272 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38274 * po/ru.po: Update from translation team.
38276 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38278 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38281 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38284 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38285 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38286 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38288 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38290 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38292 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38294 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38296 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38298 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38301 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38303 * stdlib/bug-getcontext.c: New file.
38304 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38306 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38308 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38309 instructions into .machine "z9-109".
38310 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38311 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38313 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38315 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38316 between environment variables and auxiliary vector.
38318 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38320 * Makefile: Add rules to build linkobj/libc.so.
38321 * include/libc-symbols.h: Define libc_hidden_nolink.
38322 * include/rpc/auth.h: Mark functions which are to be hidden.
38323 * include/rpc/auth_des.h: Likewise.
38324 * include/rpc/auth_unix.h: Likewise.
38325 * include/rpc/clnt.h: Likewise.
38326 * include/rpc/des_crypt.h: Likewise.
38327 * include/rpc/key_prot.h: Likewise.
38328 * include/rpc/pmap_clnt.h: Likewise.
38329 * include/rpc/pmap_prot.h: Likewise.
38330 * include/rpc/pmap_rmt.h: Likewise.
38331 * include/rpc/rpc_msg.h: Likewise.
38332 * include/rpc/svc.h: Likewise.
38333 * include/rpc/svc_auth.h: Likewise.
38334 * include/rpc/xdr.h: Likewise.
38335 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38336 * nss/Makefile: Likewise.
38337 * sunrpc/Makefile: Don't install headers. Build library with normal
38338 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38339 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38340 for the compat linking library. Remove use of INTDEF/INTUSE.
38341 * sunrpc/auth_none.c: Likewise.
38342 * sunrpc/auth_unix.c: Likewise.
38343 * sunrpc/authdes_prot.c: Likewise.
38344 * sunrpc/authuxprot.c: Likewise.
38345 * sunrpc/clnt_gen.c: Likewise.
38346 * sunrpc/clnt_perr.c: Likewise.
38347 * sunrpc/clnt_raw.c: Likewise.
38348 * sunrpc/clnt_simp.c: Likewise.
38349 * sunrpc/clnt_tcp.c: Likewise.
38350 * sunrpc/clnt_udp.c: Likewise.
38351 * sunrpc/clnt_unix.c: Likewise.
38352 * sunrpc/des_crypt.c: Likewise.
38353 * sunrpc/des_soft.c: Likewise.
38354 * sunrpc/get_myaddr.c: Likewise.
38355 * sunrpc/key_call.c: Likewise.
38356 * sunrpc/key_prot.c: Likewise.
38357 * sunrpc/netname.c: Likewise.
38358 * sunrpc/pm_getmaps.c: Likewise.
38359 * sunrpc/pm_getport.c: Likewise.
38360 * sunrpc/pmap_clnt.c: Likewise.
38361 * sunrpc/pmap_prot.c: Likewise.
38362 * sunrpc/pmap_prot2.c: Likewise.
38363 * sunrpc/pmap_rmt.c: Likewise.
38364 * sunrpc/publickey.c: Likewise.
38365 * sunrpc/rpc_cmsg.c: Likewise.
38366 * sunrpc/rpc_common.c: Likewise.
38367 * sunrpc/rpc_dtable.c: Likewise.
38368 * sunrpc/rpc_prot.c: Likewise.
38369 * sunrpc/rpc_thread.c: Likewise.
38370 * sunrpc/rtime.c: Likewise.
38371 * sunrpc/svc.c: Likewise.
38372 * sunrpc/svc_auth.c: Likewise.
38373 * sunrpc/svc_authux.c: Likewise.
38374 * sunrpc/svc_raw.c: Likewise.
38375 * sunrpc/svc_run.c: Likewise.
38376 * sunrpc/svc_simple.c: Likewise.
38377 * sunrpc/svc_tcp.c: Likewise.
38378 * sunrpc/svc_udp.c: Likewise.
38379 * sunrpc/svc_unix.c: Likewise.
38380 * sunrpc/svcauth_des.c: Likewise.
38381 * sunrpc/xcrypt.c: Likewise.
38382 * sunrpc/xdr.c: Likewise.
38383 * sunrpc/xdr_array.c: Likewise.
38384 * sunrpc/xdr_float.c: Likewise.
38385 * sunrpc/xdr_intXX_t.c: Likewise.
38386 * sunrpc/xdr_mem.c: Likewise.
38387 * sunrpc/xdr_rec.c: Likewise.
38388 * sunrpc/xdr_ref.c: Likewise.
38389 * sunrpc/xdr_sizeof.c: Likewise.
38390 * sunrpc/xdr_stdio.c: Likewise.
38392 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38395 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38396 * sysdeps/ia64/dl-tls.h: Likewise.
38397 * sysdeps/powerpc/dl-tls.h: Likewise.
38398 * sysdeps/s390/dl-tls.h: Likewise.
38399 * sysdeps/sh/dl-tls.h: Likewise.
38400 * sysdeps/sparc/dl-tls.h: Likewise.
38401 * sysdeps/x86_64/dl-tls.h: Likewise.
38402 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38404 2011-03-14 Andreas Schwab <schwab@redhat.com>
38406 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38407 rpath element also skip the following colon.
38408 (expand_dynamic_string_token): Add is_path parameter and pass
38409 down to DL_DST_REQUIRED and _dl_dst_substitute.
38410 (decompose_rpath): Call expand_dynamic_string_token with
38411 non-zero is_path. Ignore empty rpaths.
38412 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38415 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38420 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38423 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38424 Patch by Filipe David Manana <fdmanana@apache.org>.
38426 2011-04-07 Andreas Schwab <schwab@redhat.com>
38428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38429 Maintain aligned stack.
38430 (CHECK_RSP): Remove unused macro.
38432 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38434 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38435 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38437 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38439 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38441 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38443 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38446 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38447 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38448 * sysdeps/x86_64/memmove.c: New file.
38449 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38450 (memcpy): Renamed to ...
38451 (__new_memcpy): This.
38452 (memcpy): Provide GLIBC_2_14 memcpy.
38453 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38454 (memcpy): Provide GLIBC_2_2_5 memcpy.
38456 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38459 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38461 2011-03-30 Andreas Schwab <schwab@redhat.com>
38463 * misc/syncfs.c: New file.
38464 * misc/Makefile (routines): Add syncfs.
38465 * posix/unistd.h: Declare syncfs.
38466 * sysdeps/unix/syscalls.list: Add syncfs.
38468 2011-04-01 Andreas Schwab <schwab@redhat.com>
38470 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38477 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38480 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38484 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38490 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38491 sync_file_range.c with -fexceptions.
38492 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38493 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38494 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38495 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38496 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38497 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38499 sync_file_range as cancellation point
38500 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38501 now a wrapper around __call_sync_file_range with cancellation handling.
38502 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38503 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38504 function name to __call_sync_file_range.
38505 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38506 Add call_sync_file_range.
38508 2011-04-01 Andreas Schwab <schwab@redhat.com>
38510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38513 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38515 * iconv/iconv.h: Fix typo in comment.
38516 * io/fcntl.h: Likewise.
38517 * libio/stdio.h: Likewise.
38518 * posix/spawn.h: Likewise.
38519 * posix/unistd.h: Likewise.
38520 * stdlib/stdlib.h: Likewise.
38521 * time/time.h: Likewise.
38522 * wcsmbs/wchar.h: Likewise.
38524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38525 open_by_handle): Add.
38526 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38527 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38528 Augment a few comments.
38529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38534 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38537 * io/fcntl.h (AT_EMPTY_PATH): Define.
38539 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38541 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38542 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38543 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38545 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38546 * Versions.def: Add GLIBC_2.14.
38547 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38550 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38552 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38554 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38556 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38559 * string/test-strncmp.c (do_page_test): New function.
38560 (check2): Likewise.
38561 (test_main): Call check2.
38562 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38564 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38567 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38568 Handle cache information in CPU leaf 4.
38569 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38571 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38574 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38575 character representation.
38576 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38578 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38580 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38581 END(__isnan) to END(__isnanf) to match function entry point/label
38582 EALIGN(__isnanf,...).
38584 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38586 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38588 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38591 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38592 copy from the symbol referenced in the relocation to initialize the
38594 Patch by Piotr Bury <pbury@goahead.com>.
38595 * elf/Makefile: Add rules to build and tst-unique3.
38596 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38597 * elf/tst-unique3.cc: New file.
38598 * elf/tst-unique3.h: New file.
38599 * elf/tst-unique3lib.cc: New file.
38600 * elf/tst-unique3lib2.cc: New file.
38602 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38604 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38606 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38607 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38610 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38612 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38613 to-be-loaded object along a path to loader is ld.so.
38615 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38616 Ulrich Drepper <drepper@gmail.com>
38618 * sysdeps/x86_64/memset.S: After aligning destination, code
38619 branches to different locations depending on the value of
38620 misalignment, when multiarch is enabled. Fix this.
38622 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38624 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38625 Set _x86_64_preferred_memory_instruction for AMD processsors.
38626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38627 Set bit_Prefer_SSE_for_memop for AMD processors.
38629 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38631 * libio/fmemopen.c (fmemopen): Optimize a bit.
38633 2011-03-03 Andreas Schwab <schwab@redhat.com>
38635 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38637 2011-03-03 Roland McGrath <roland@redhat.com>
38639 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38641 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38643 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38644 __bzero_ultra1 instead of __memset_ultra1.
38646 2011-02-23 Andreas Schwab <schwab@redhat.com>
38647 Ulrich Drepper <drepper@gmail.com>
38650 * include/link.h (struct link_map): Add l_orig_initfini.
38651 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38652 returning unsuccessfully.
38653 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38654 close of a file loaded at startup, restore the original l_initfini
38656 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38657 list, store the pointer.
38658 * elf/Makefile ($(objpfx)noload-mem): New rule.
38659 (noload-ENV): Define.
38660 (tests): Add $(objpfx)noload-mem.
38661 * elf/noload.c: Include <memcheck.h>.
38662 (main): Call mtrace. Close all opened handles.
38664 2011-02-17 Andreas Schwab <schwab@redhat.com>
38667 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38668 dependencies are missing.
38670 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38672 Fix __if_freereq crash: Unlike the generic version which uses free,
38674 * sysdeps/mach/hurd/ifreq.h: New file.
38676 2011-01-27 Petr Baudis <pasky@suse.cz>
38677 Ulrich Drepper <drepper@gmail.com>
38680 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38681 to extend_alloca().
38682 * stdio-common/bug23.c: New file.
38683 * stdio-common/Makefile (tests): Add bug23.
38685 2010-09-28 Andreas Schwab <schwab@redhat.com>
38686 Ulrich Drepper <drepper@gmail.com>
38689 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38690 before performing relro protection. At old place add assertion
38691 to make sure nothing changed.
38693 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38694 Glauber de Oliveira Costa <glommer@gmail.com>
38696 * elf/elf.h: Add new ARM TLS relocs.
38698 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38701 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38703 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38705 * sysdeps/wordsize-64/tst-writev.c: New file.
38707 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38709 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38710 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38711 insns in _dl_start to prevent a TOC reference before relocs are
38714 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38717 * Makeconfig: Remove RANLIB definition.
38718 * Makerules: Don't use RANLIB.
38719 * aclocal.m4: Remove ranlib test.
38720 * configure.in: No need to check for ranlib.
38721 * elf/rtld-Rules: Don't use RANLIB.
38723 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38725 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38727 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38728 inclusion protection macro.
38730 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38731 SIGRTMIN and SIGRTMAX and print information in that case only when
38732 SIGRTMIN is defined.
38734 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38736 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38737 arginfo fn returning -1.
38739 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38740 and thousands string is zero terminated.
38742 2011-02-03 Andreas Schwab <schwab@redhat.com>
38744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38745 sysdeps/unix/sysv/linux/bits/socket.h.
38747 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38749 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38750 (__CPU_COUNT): Remove old macros.
38751 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38752 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38753 (__CPU_ALLOC, __CPU_FREE): Add macros.
38754 (__sched_cpualloc, __sched_cpufree): Add declarations.
38756 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38758 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38759 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38760 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38761 (readdhstai): Return value of addhstaiX call.
38762 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38763 (addgrbyX): Return value returned by cache_addgr.
38764 (readdgrbyname): Return value returned by addgrbyX.
38765 (readdgrbygid): Likewise.
38766 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38767 (addpwbyX): Return value returned by cache_addpw.
38768 (readdpwbyname): Return value returned by addhstbyX.
38769 (readdpwbyuid): Likewise.
38770 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38771 (addservbyX): Return value returned by cache_addserv.
38772 (readdservbyname): Return value returned by addservbyX:
38773 (readdservbyport): Likewise.
38774 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38775 (addhstbyX): Return value returned by cache_addhst.
38776 (readdhstbyname): Return value returned by addhstbyX.
38777 (readdhstbyaddr): Likewise.
38778 (readdhstbynamev6): Likewise.
38779 (readdhstbyaddrv6): Likewise.
38780 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38781 (readdinitgroups): Return value returned by addinitgroupsX.
38782 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38783 (prune_cache): Keep track of timeout value of re-added entries.
38784 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38785 * nscd/nscd.h: Adjust prototypes of readd* functions.
38787 2011-02-04 Roland McGrath <roland@redhat.com>
38789 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38790 (nis_stats): Likewise.
38791 * nis/nis_modify.c (nis_modify): Likewise.
38792 * nis/nis_remove.c (nis_remove): Likewise.
38793 * nis/nis_add.c (nis_add): Likewise.
38795 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38797 * posix/fnmatch_loop.c: Add some consts.
38799 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38801 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38804 * config.make.in (config-cflags-novzeroupper): Define.
38805 * configure.in: Substitute libc_cv_cc_novzeroupper.
38806 * elf/Makefile (AVX-CFLAGS): Define.
38807 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38808 (CFLAGS-tst-auditmod4a.c): Likewise.
38809 (CFLAGS-tst-auditmod4b.c): Likewise.
38810 (CFLAGS-tst-auditmod6b.c): Likewise.
38811 (CFLAGS-tst-auditmod6c.c): Likewise.
38812 (CFLAGS-tst-auditmod7b.c): Likewise.
38813 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38815 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38817 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38818 function to the callback.
38819 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38821 2011-02-02 Andreas Schwab <schwab@redhat.com>
38823 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38826 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38829 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38831 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38833 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38836 * elf/Makefile: Add rules to build and run new test.
38837 * elf/tst-initorder.c: New file.
38838 * elf/tst-initorder.exp: New file.
38839 * elf/tst-initordera1.c: New file.
38840 * elf/tst-initordera2.c: New file.
38841 * elf/tst-initordera3.c: New file.
38842 * elf/tst-initordera4.c: New file.
38843 * elf/tst-initorderb1.c: New file.
38844 * elf/tst-initorderb2.c: New file.
38845 * elf/tst-order-a1.c: New file.
38846 * elf/tst-order-a2.c: New file.
38847 * elf/tst-order-a3.c: New file.
38848 * elf/tst-order-a4.c: New file.
38849 * elf/tst-order-b1.c: New file.
38850 * elf/tst-order-b2.c: New file.
38851 * elf/tst-order-main.c: New file.
38852 New test case by George Gensure <werkt0@gmail.com>.
38854 2010-10-01 Andreas Schwab <schwab@redhat.com>
38856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38857 decoding ACE if AI_CANONIDN.
38859 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38861 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38863 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38865 * version.h (RELEASE): Bump for 2.13 release.
38866 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38868 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38870 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38872 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38873 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38874 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38875 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38877 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38879 * posix/getconf.c: Update copyright year.
38880 * catgets/gencat.c: Likewise.
38881 * csu/version.c: Likewise.
38882 * debug/catchsegv.sh: Likewise.
38883 * debug/xtrace.sh: Likewise.
38884 * elf/ldconfig.c: Likewise.
38885 * elf/ldd.bash.in: Likewise.
38886 * elf/sprof.c (print_version): Likewise.
38887 * iconv/iconv_prog.c: Likewise.
38888 * iconv/iconvconfig.c: Likewise.
38889 * locale/programs/locale.c: Likewise.
38890 * locale/programs/localedef.c: Likewise.
38891 * malloc/memusage.sh: Likewise.
38892 * malloc/mtrace.pl: Likewise.
38893 * nscd/nscd.c (print_version): Likewise.
38894 * nss/getent.c: Likewise.
38896 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38897 PF_CAIF, and PF_ALG.
38898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38900 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38902 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38903 (modules-names): Use them.
38904 (ifunc-test-modules, ifunc-pie-tests): Define.
38905 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38906 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38907 (test-extras): Likewise.
38908 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38909 $(compile-command.c).
38910 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38911 (all-built-dso): Define.
38912 (check-textrel.out, check-execstack.out): Depend on it.
38914 * configure.in: Don't override --enable-multi-arch.
38916 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38919 * nscd/hstcache.c (tryagain): Define.
38920 (cache_addhst): Return tryagain not notfound for temporary errors.
38921 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38924 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38927 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38928 to make the syscall.
38929 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38932 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38933 and fall back to matching as normal character if the string ends before
38934 the matching ']' is found. This is what POSIX requires.
38935 * posix/testfnm.c: Adjust test result.
38936 * posix/globtest.sh: Adjust test result. Add new test.
38937 * posix/tst-fnmatch.input: Likewise.
38938 * posix/tst-fnmatch2.c: Add new test.
38940 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38942 * elf/Makefile (check-execstack): Revert last change. Depend on
38944 (check-execstack.h): New target.
38945 (generated): Add check-execstack.h.
38946 * elf/check-execstack.c: Include "check-execstack.h".
38947 (main): Revert last change.
38948 (handle_file): Return zero if GNU_STACK is absent and
38949 DEFAULT_STACK_PERMS doesn't include PF_X.
38951 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38953 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38954 in child fails because the descriptor is already closed.
38955 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38956 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38957 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38960 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38964 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38965 temporary buffer used to handle multi lookups locally.
38966 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38968 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38970 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38973 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38975 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38976 alignment for SSE2.
38978 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38981 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38982 characters. When rounding increased number of integer digits recompute
38984 * stdio-common/tst-grouping.c: New file.
38985 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38987 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38989 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38990 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38992 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38994 * bits/select.h: Likewise.
38996 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38998 * po/ja.po: Update from translation team.
39000 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
39003 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39004 implementation just like for lxstat, fxstatat, et al.
39006 2010-12-27 Jim Meyering <meyering@redhat.com>
39009 * posix/regexec.c (build_trtable): Return failure indication upon
39010 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39012 2010-12-25 Ulrich Drepper <drepper@gmail.com>
39015 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39016 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39018 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39021 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39024 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39025 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39027 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39029 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39030 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39031 script has SORT_BY_INIT_PRIORITY.
39032 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39033 NO_CTORS_DTORS_SECTIONS is defined.
39034 * elf/soinit.c: Likewise.
39035 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39036 NO_CTORS_DTORS_SECTIONS is defined.
39037 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39038 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39039 * sysdeps/sh/init-first.c: Likewise.
39040 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39042 2010-12-24 Ulrich Drepper <drepper@gmail.com>
39044 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39045 always use the slow path.
39047 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39049 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39050 similar rule which adds the sysdep directories to the header search in
39051 order to pick up the correct platform stackinfo.h.
39052 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39053 perform test if it is, otherwise return successfully without testing.
39054 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39055 DEFAULT_STACK_PERMS define in stackinfo.h.
39056 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39057 defined in stackinfo.h.
39058 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39059 DEFAULT_STACK_PERMS defined in stackinfo.h.
39060 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39061 * sysdeps/ia64/stackinfo.h: Likewise.
39062 * sysdeps/s390/stackinfo.h: Likewise.
39063 * sysdeps/sh/stackinfo.h: Likewise.
39064 * sysdeps/sparc/stackinfo.h: Likewise.
39065 * sysdeps/x86_64/stackinfo.h: Likewise.
39066 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39067 PF_X for powerpc64. Retain PF_X for powerpc32.
39069 2010-12-19 Ulrich Drepper <drepper@gmail.com>
39071 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39073 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39074 GETDENTS_64BIT_ALIGNED.
39076 2010-12-14 Ulrich Drepper <dreper@gmail.com>
39078 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39080 2010-12-10 Andreas Schwab <schwab@redhat.com>
39082 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39085 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39086 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39088 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39089 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39091 2010-12-09 Ulrich Drepper <drepper@gmail.com>
39094 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39097 2010-12-09 Jakub Jelinek <jakub@redhat.com>
39099 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39101 2010-12-03 Ulrich Drepper <drepper@gmail.com>
39103 * po/it.po: Update from translation team.
39105 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39110 2010-11-30 Ulrich Drepper <drepper@gmail.com>
39112 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39114 2010-11-24 Andreas Schwab <schwab@redhat.com>
39116 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39118 (gaih_getanswer_slice): Likewise.
39120 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39124 2010-05-31 Petr Baudis <pasky@suse.cz>
39127 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39128 silently even in the chroot mode.
39130 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39132 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39133 last patch a bit. Pretty printing
39135 2010-05-31 Petr Baudis <pasky@suse.cz>
39138 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39139 initialization of skip_initgroups_dyn.
39141 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39143 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39146 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39148 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39150 2010-11-11 Andreas Schwab <schwab@redhat.com>
39152 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39153 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39154 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39155 ($(objpfx)tst-fnmatch-mem): New rule.
39156 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39157 * posix/tst-fnmatch.c (main): Call mtrace.
39159 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39162 Support Intel processor model 6 and model 0x2c.
39164 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39166 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39169 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39172 * string/test-strncasecmp.c (check_result): New function.
39173 (do_one_test): Use it.
39174 (check1): New function.
39175 (test_main): Use it.
39176 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39177 Support strcasecmp and strncasecmp.
39179 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39182 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39185 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39187 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39191 * sysdeps/x86_64/multiarch/bzero.S: New file.
39192 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39193 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39194 * sysdeps/x86_64/multiarch/memset.S: New file.
39195 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39197 Set bit_Prefer_SSE_for_memop for Intel processors.
39198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39200 (index_Prefer_SSE_for_memop): Define.
39201 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39203 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39205 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39206 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39208 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39211 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39212 (__x86_64_raw_data_cache_size_half): Likewise.
39213 (__x86_64_raw_shared_cache_size): Likewise.
39214 (__x86_64_raw_shared_cache_size_half): Likewise.
39216 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39217 (__x86_64_raw_data_cache_size_half): Likewise.
39218 (__x86_64_raw_shared_cache_size): Likewise.
39219 (__x86_64_raw_shared_cache_size_half): Likewise.
39220 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39221 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39222 and __x86_64_raw_shared_cache_size_half. Round
39223 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39224 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39225 to multiple of 256 bytes.
39227 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39231 of inacessible symlinks. Verify result of symlink before returning it.
39232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39233 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39235 2010-10-28 Erich Ritz <erichritz@gmail.com>
39237 * math/math.h (isinf): Fix typo in comment.
39239 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39241 * po/da.po: Update from translation team.
39243 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39245 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39246 is added to the list.
39248 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39249 Ulrich Drepper <drepper@gmail.com>
39251 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39252 the global list here. Move code to...
39253 (_dl_add_to_namespace_list): ...here. New function.
39254 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39255 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39256 * elf/dl-load.c (lose): Don't remove the element from the list.
39257 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39258 (_dl_map_object): Likewise.
39260 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39263 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39264 into all bytes of SSE register.
39265 Patch by Richard Li <richardpku@gmail.com>.
39267 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39270 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39273 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39275 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39276 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39277 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39278 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39283 2010-10-22 Andreas Schwab <schwab@redhat.com>
39285 * include/dlfcn.h (__RTLD_SECURE): Define.
39286 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39287 mode & __RTLD_SECURE instead.
39288 (open_path): Rename preloaded parameter to secure.
39289 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39290 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39291 * elf/dl-deps.c (openaux): Likewise.
39292 * elf/rtld.c (struct map_args): Remove is_preloaded.
39293 (map_doit): Don't use it.
39294 (dl_main): Likewise.
39295 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39296 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39298 2010-09-09 Andreas Schwab <schwab@redhat.com>
39300 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39301 (sysd-rules-targets): Remove duplicates.
39302 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39303 rtld-%.$o dependency.
39305 2010-10-18 Andreas Schwab <schwab@redhat.com>
39307 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39308 _dl_map_object do it.
39310 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39312 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39313 fast fma builtins, define the macros in the C99 standard.
39314 (FP_FAST_FMAF): Likewise.
39315 (FP_FAST_FMAL): Likewise.
39316 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39318 * bits/mathdef.h: Update copyright year.
39319 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39321 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39323 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39324 builtins, define the macros in the C99 standard.
39325 (FP_FAST_FMAF): Likewise.
39326 (FP_FAST_FMAL): Likewise.
39327 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39329 (FP_FAST_FMAF): Likewise.
39331 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39334 * math/libm-test.inc (fma_test): Some new testcases.
39335 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39337 y and infinite z. Do multiplication by C already in long double.
39338 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39340 y and infinite z. Do bitwise or of inexact bit into u.d.
39341 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39342 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39343 * sysdeps/i386/fpu/s_fma.S: Removed.
39344 * sysdeps/i386/fpu/s_fmal.S: Removed.
39346 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39349 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39351 computation is not scheduled after fetestexcept. Fix value
39352 of minimum denormal long double.
39354 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39357 * math/libm-test.inc (fma_test): Add some more tests.
39358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39361 2010-10-15 Andreas Schwab <schwab@redhat.com>
39363 * scripts/data/localplt-s390-linux-gnu.data: New file.
39364 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39366 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39369 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39370 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39372 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39374 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39376 if one of x and y is very large and the other is subnormal.
39377 * sysdeps/s390/fpu/s_fmaf.c: New file.
39378 * sysdeps/s390/fpu/s_fma.c: New file.
39379 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39380 * sysdeps/powerpc/fpu/s_fma.S: New file.
39381 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39382 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39383 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39385 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39388 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39390 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39391 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39392 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39393 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39394 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39395 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39396 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39398 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39401 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39402 * posix/bug-regex31.input: Add test case.
39404 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39406 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39407 * posix/bug-regex31.input: New file.
39410 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39411 (parse_sub_exp): Fix last change, use postorder.
39413 * posix/bug-regex31.c: New file.
39414 * posix/Makefile: Add rules to build and run bug-regex31.
39416 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39419 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39422 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39423 to have entries in sys_siglist.
39426 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39429 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39432 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39433 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39434 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39435 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39436 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39437 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39438 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39439 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39440 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39441 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39442 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39443 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39444 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39445 * math/ftestexcept.c (fetestexcept): Likewise.
39446 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39447 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39448 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39449 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39450 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39451 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39452 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39454 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39457 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39460 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39462 * string/bug-strstr1.c: New file.
39463 * string/Makefile: Add rules to build and run bug-strstr1.
39465 2010-10-05 Eric Blake <eblake@redhat.com>
39468 * string/str-two-way.h (two_way_long_needle): Always clear memory
39469 when skipping input due to the shift table.
39471 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39474 * malloc/mcheck.c: Handle large requests.
39477 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39478 for strncmp and strncasecmp.
39479 * string/stratcliff.c: Add tests for strcmp and strncmp.
39480 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39482 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39484 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39487 2010-09-30 Andreas Jaeger <aj@suse.de>
39489 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39490 (CGROUP_SUPER_MAGIC): Define.
39491 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39492 Handle btrfs and cgroup file systems.
39493 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39496 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39498 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39499 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39501 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39504 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39505 trying to locate the ELF header.
39507 2010-09-27 Andreas Schwab <schwab@redhat.com>
39510 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39511 Mask out sign-bit copies when constructing f_fsid.
39513 2010-09-24 Petr Baudis <pasky@suse.cz>
39515 * debug/stack_chk_fail_local.c: Add missing licence exception.
39516 * debug/warning-nop.c: Likewise.
39518 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39520 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39521 implementing getdents64 using getdents syscall, set d_type if
39522 __ASSUME_GETDENTS32_D_TYPE.
39524 2010-09-16 Andreas Schwab <schwab@redhat.com>
39526 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39527 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39529 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39532 * posix/unistd.h: Undo change of feature selection for ftruncate from
39535 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39537 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39540 2010-09-20 Andreas Schwab <schwab@redhat.com>
39542 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39544 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39546 2010-09-14 Andreas Schwab <schwab@redhat.com>
39548 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39549 variables after CHECK_SP call.
39550 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39552 2010-09-13 Andreas Schwab <schwab@redhat.com>
39553 Ulrich Drepper <drepper@redhat.com>
39555 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39556 re-relocationg ld.so.
39557 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39558 _dl_init_paths call.
39559 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39562 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39564 * resolv/res_init.c (__res_vinit): Count the default server we added.
39566 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39567 Ulrich Drepper <drepper@redhat.com>
39570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39571 (____longjmp_chk): Use %ebx for saving value across system call.
39574 2010-09-06 Andreas Schwab <schwab@redhat.com>
39576 * manual/Makefile: Don't mix pattern rules with normal rules.
39578 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39580 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39582 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39583 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39584 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39585 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39589 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39592 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39593 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39595 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39597 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39598 * sysdeps/x86_64/addmul_1.S: Likewise.
39599 * sysdeps/x86_64/lshift.S: Likewise.
39600 * sysdeps/x86_64/mul_1.S: Likewise.
39601 * sysdeps/x86_64/rshift.S: Likewise.
39602 * sysdeps/x86_64/sub_n.S: Likewise.
39603 * sysdeps/x86_64/submul_1.S: Likewise.
39605 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39607 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39608 Define __sched_param instead of SCHED_* and sched_param when
39609 <bits/sched.h> is included with __need_schedparam defined.
39610 * bits/sched.h [__need_schedparam]
39611 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39612 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39613 (__defined_schedparam): Define to 1.
39614 (__sched_param): New structure, identical to sched_param.
39615 (__need_schedparam): Undefine.
39617 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39620 (epoll_create1): Declare.
39622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39624 2010-08-31 Andreas Schwab <schwab@redhat.com>
39627 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39628 shifting retval into place.
39630 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39632 * nis/rpcsvc/nis.h: Update copyright notice.
39633 * nis/rpcsvc/nis.x: Likewise.
39634 * nis/rpcsvc/nis_callback.h: Likewise.
39635 * nis/rpcsvc/nis_callback.x: Likewise.
39636 * nis/rpcsvc/nis_object.x: Likewise.
39637 * nis/rpcsvc/nis_tags.h: Likewise.
39638 * nis/rpcsvc/yp.h: Likewise.
39639 * nis/rpcsvc/yp.x: Likewise.
39640 * nis/rpcsvc/ypupd.h: Likewise.
39641 * nis/yp_xdr.c: Likewise.
39642 * nis/ypupdate_xdr.c: Likewise.
39644 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39645 mainly the body of pmap_getport. Add parameters to specify timeouts.
39646 (pmap_getport): Use __libc_rpc_getport.
39647 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39648 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39649 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39651 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39656 2010-08-27 Roland McGrath <roland@redhat.com>
39658 * sysdeps/i386/i686/multiarch/Makefile
39659 (CFLAGS-varshift.c): New variable.
39661 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39663 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39664 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39668 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39670 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39672 * sysdeps/x86_64/strlen.S: Unroll the loop.
39673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39674 strlen-sse2 strlen-sse2-bsf.
39675 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39676 __strlen_no_bsf if bit_Slow_BSF is set.
39677 (__strlen_sse42): Removed.
39678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39679 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39681 2010-08-25 Roland McGrath <roland@redhat.com>
39683 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39684 * sysdeps/x86_64/multiarch/varshift.c: New file.
39685 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39686 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39687 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39688 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39690 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39693 strlen-sse2 strlen-sse2-bsf.
39694 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39695 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39696 (__strlen_sse2): Removed.
39697 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39700 bit_Slow_BSF for Atom.
39701 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39702 (index_Slow_BSF): Define.
39703 (HAS_SLOW_BSF): Define.
39705 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39708 * resolv/res_init.c (__res_vinit): When no server address at all
39709 is given default to loopback.
39711 2010-08-24 Roland McGrath <roland@redhat.com>
39713 * configure.in: Remove config-name.h generation.
39714 * configure: Regenerated.
39715 * config-name.in: File removed.
39716 * scripts/config-uname.sh: New file.
39717 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39718 ($(objdir)config-name.h): New target.
39720 * sunrpc/rpc_parse.h: Avoid nested comment.
39722 2010-08-24 Richard Henderson <rth@redhat.com>
39723 Ulrich Drepper <drepper@redhat.com>
39724 H.J. Lu <hongjiu.lu@intel.com>
39726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39728 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39729 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39730 _mm_alignr_epi8 with _mm_loadu_si128.
39731 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39732 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39733 (__m128i_shift_right): Removed.
39734 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39735 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39736 * sysdeps/x86_64/multiarch/varshift.h: New file.
39737 * sysdeps/x86_64/multiarch/varshift.S: New file.
39739 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39741 * configure.in: Move assembler checks to before sysdep dir checking.
39743 2010-08-20 Petr Baudis <pasky@suse.cz>
39745 * LICENSES: Sync the sunrpc license.
39747 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39749 * sunrpc/auth_des.c: Update copyright notice once again.
39750 * sunrpc/auth_none.c: Likewise.
39751 * sunrpc/auth_unix.c: Likewise.
39752 * sunrpc/authdes_prot.c: Likewise.
39753 * sunrpc/authuxprot.c: Likewise.
39754 * sunrpc/bindrsvprt.c: Likewise.
39755 * sunrpc/clnt_gen.c: Likewise.
39756 * sunrpc/clnt_perr.c: Likewise.
39757 * sunrpc/clnt_raw.c: Likewise.
39758 * sunrpc/clnt_simp.c: Likewise.
39759 * sunrpc/clnt_tcp.c: Likewise.
39760 * sunrpc/clnt_udp.c: Likewise.
39761 * sunrpc/clnt_unix.c: Likewise.
39762 * sunrpc/des_crypt.c: Likewise.
39763 * sunrpc/des_soft.c: Likewise.
39764 * sunrpc/get_myaddr.c: Likewise.
39765 * sunrpc/getrpcport.c: Likewise.
39766 * sunrpc/key_call.c: Likewise.
39767 * sunrpc/key_prot.c: Likewise.
39768 * sunrpc/openchild.c: Likewise.
39769 * sunrpc/pm_getmaps.c: Likewise.
39770 * sunrpc/pm_getport.c: Likewise.
39771 * sunrpc/pmap_clnt.c: Likewise.
39772 * sunrpc/pmap_prot.c: Likewise.
39773 * sunrpc/pmap_prot2.c: Likewise.
39774 * sunrpc/pmap_rmt.c: Likewise.
39775 * sunrpc/rpc/auth.h: Likewise.
39776 * sunrpc/rpc/auth_unix.h: Likewise.
39777 * sunrpc/rpc/clnt.h: Likewise.
39778 * sunrpc/rpc/des_crypt.h: Likewise.
39779 * sunrpc/rpc/key_prot.h: Likewise.
39780 * sunrpc/rpc/netdb.h: Likewise.
39781 * sunrpc/rpc/pmap_clnt.h: Likewise.
39782 * sunrpc/rpc/pmap_prot.h: Likewise.
39783 * sunrpc/rpc/pmap_rmt.h: Likewise.
39784 * sunrpc/rpc/rpc.h: Likewise.
39785 * sunrpc/rpc/rpc_des.h: Likewise.
39786 * sunrpc/rpc/rpc_msg.h: Likewise.
39787 * sunrpc/rpc/svc.h: Likewise.
39788 * sunrpc/rpc/svc_auth.h: Likewise.
39789 * sunrpc/rpc/types.h: Likewise.
39790 * sunrpc/rpc/xdr.h: Likewise.
39791 * sunrpc/rpc_clntout.c: Likewise.
39792 * sunrpc/rpc_cmsg.c: Likewise.
39793 * sunrpc/rpc_common.c: Likewise.
39794 * sunrpc/rpc_cout.c: Likewise.
39795 * sunrpc/rpc_dtable.c: Likewise.
39796 * sunrpc/rpc_hout.c: Likewise.
39797 * sunrpc/rpc_main.c: Likewise.
39798 * sunrpc/rpc_parse.c: Likewise.
39799 * sunrpc/rpc_parse.h: Likewise.
39800 * sunrpc/rpc_prot.c: Likewise.
39801 * sunrpc/rpc_sample.c: Likewise.
39802 * sunrpc/rpc_scan.c: Likewise.
39803 * sunrpc/rpc_scan.h: Likewise.
39804 * sunrpc/rpc_svcout.c: Likewise.
39805 * sunrpc/rpc_tblout.c: Likewise.
39806 * sunrpc/rpc_util.c: Likewise.
39807 * sunrpc/rpc_util.h: Likewise.
39808 * sunrpc/rpcinfo.c: Likewise.
39809 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39810 * sunrpc/rpcsvc/key_prot.x: Likewise.
39811 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39812 * sunrpc/rpcsvc/mount.x: Likewise.
39813 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39814 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39815 * sunrpc/rpcsvc/rex.x: Likewise.
39816 * sunrpc/rpcsvc/rstat.x: Likewise.
39817 * sunrpc/rpcsvc/rusers.x: Likewise.
39818 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39819 * sunrpc/rpcsvc/spray.x: Likewise.
39820 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39821 * sunrpc/rtime.c: Likewise.
39822 * sunrpc/svc.c: Likewise.
39823 * sunrpc/svc_auth.c: Likewise.
39824 * sunrpc/svc_authux.c: Likewise.
39825 * sunrpc/svc_raw.c: Likewise.
39826 * sunrpc/svc_run.c: Likewise.
39827 * sunrpc/svc_simple.c: Likewise.
39828 * sunrpc/svc_tcp.c: Likewise.
39829 * sunrpc/svc_udp.c: Likewise.
39830 * sunrpc/svc_unix.c: Likewise.
39831 * sunrpc/svcauth_des.c: Likewise.
39832 * sunrpc/xcrypt.c: Likewise.
39833 * sunrpc/xdr.c: Likewise.
39834 * sunrpc/xdr_array.c: Likewise.
39835 * sunrpc/xdr_float.c: Likewise.
39836 * sunrpc/xdr_mem.c: Likewise.
39837 * sunrpc/xdr_rec.c: Likewise.
39838 * sunrpc/xdr_ref.c: Likewise.
39839 * sunrpc/xdr_sizeof.c: Likewise.
39840 * sunrpc/xdr_stdio.c: Likewise.
39842 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39845 2010-08-19 Andreas Schwab <schwab@redhat.com>
39847 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39849 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39851 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39852 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39853 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39854 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39855 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39856 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39857 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39858 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39860 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39861 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39862 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39863 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39864 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39866 2010-07-26 Anton Blanchard <anton@samba.org>
39868 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39869 * malloc/arena.c (heap_trim): Likewise.
39871 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39873 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39876 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39878 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39880 * sysdeps/i386/elf/Makefile: New file.
39882 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39884 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39885 from fanotify_init.
39886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39889 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39891 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39893 * sysdeps/multiarch/strcmp.S: Likewise.
39895 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39897 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39898 strncase_l-nonascii.
39899 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39900 Add strncase_l-ssse3.
39901 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39902 * sysdeps/x86_64/strcmp.S: Likewise.
39903 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39904 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39905 * sysdeps/x86_64/strncase.S: New file.
39906 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39907 * sysdeps/x86_64/strncase_l.S: New file.
39908 * string/Makefile (strop-tests): Add strncasecmp.
39909 * string/test-strncasecmp.c: New file.
39911 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39914 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39915 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39917 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39919 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39921 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39923 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39924 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39927 2010-05-01 Alan Modra <amodra@gmail.com>
39929 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39930 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39931 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39932 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39933 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39934 tidying. Don't tail-call __sigjmp_save for static lib.
39935 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39937 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39938 (CALL_MCOUNT): Add eh info, and nop after bl.
39939 (TAIL_CALL_SYSCALL_ERROR): New macro.
39940 (PSEUDO_RET): Use it.
39941 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39942 Correct save location of integer regs and cr.
39943 (_dl_profile_resolve): Correct cr save location. Delete nops
39944 after bl when SHARED. Reduce cfi size a little by better
39945 placement of cfi directives.
39946 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39947 make a stack frame. Instead use parm save area as a temp.
39948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39949 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39951 Don't make a stack frame for parent, use parm save area.
39952 Increase child stack frame to 112 bytes. Don't save unused reg,
39953 and adjust reg usage. Set up cfi on error recovery and
39954 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39956 (__makecontext): Add dummy nop after jump to exit.
39957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39958 Use correct parm save area and cr save, reduce stack frame.
39959 Correct cfi for possible PSEUDO_RET frame setup.
39960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39961 Branch to local label emitted by PSEUDO_RET rather than
39964 2010-08-12 Andreas Schwab <schwab@redhat.com>
39967 * locale/programs/locale.c (print_assignment): New function.
39968 (show_locale_vars): Use it.
39970 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39972 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39974 (struct statfs64): Likewise.
39975 (_STATFS_F_FLAGS): Define.
39976 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39977 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39978 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39979 (ST_VALID): Define locally.
39980 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39981 __statvfs_getflags, use the provided value.
39982 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39983 __ASSUME_STATFS_F_FLAGS.
39985 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39987 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39988 Add sys/fanotify.h.
39989 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39990 fanotify_mask for GLIBC_2.13.
39991 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39992 fanotify_init and fanotify_mark.
39993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39994 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39996 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39998 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39999 prlimit64 for GLIBC_2.13.
40000 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40006 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40007 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40008 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40010 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40013 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40014 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40016 * nss/Makefile: Add rules to build and run tst-nss-test1.
40017 * shlib-versions: Add entry for libnss_test1.
40018 * nss/nss_test1.c: New file.
40019 * nss/tst-nss-test1.c: New file.
40021 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40022 (__nss_configure_lookup): Set appropriate entry in
40023 __nss_configure_lookup to true.
40024 * nss/nsswitch.h: Define enum with indeces of databases in
40025 databases and __nss_database_custom arrays. Declare
40026 __nss_database_custom.
40027 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40028 to avoid using nscd when custom rules are installed.
40029 * nss/getXXbyYY_r.c: Likewise.
40030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40032 * nss/nss_files/files-parse.c: Whitespace fixes.
40034 2010-08-09 Ulrich Drepper <drepper@redhat.com>
40037 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40038 * posix/fnmatch_loop.c: Likewise.
40040 2010-07-17 Andi Kleen <ak@linux.intel.com>
40042 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40043 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40044 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40045 * Versions.def [GLIBC_2.13]: Add.
40047 2010-08-06 Ulrich Drepper <drepper@redhat.com>
40049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40050 Also fail if tpwd after pwuid call is NULL.
40052 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40054 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40055 when converting to ms.
40057 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40059 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40060 EOPNOTSUPP errors with ENOTTY.
40061 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40062 EOPNOTSUPP errors with ENOTTY.
40064 2010-07-31 Ulrich Drepper <drepper@redhat.com>
40066 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40067 Add strcasecmp_l-ssse3.
40068 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40070 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40071 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40072 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40074 2010-07-30 Ulrich Drepper <drepper@redhat.com>
40076 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40078 * string/Makefile (strop-tests): Add strcasecmp.
40079 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40080 strcasecmp_l-nonascii.
40081 (gen-as-const-headers): Add locale-defines.sym.
40082 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40083 * sysdeps/x86_64/strcasecmp.S: New file.
40084 * sysdeps/x86_64/strcasecmp_l.S: New file.
40085 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40086 * sysdeps/x86_64/locale-defines.sym: New file.
40087 * string/test-strcasecmp.c: New file.
40089 * string/test-strcasestr.c: Test both ends of the range of characters.
40090 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40092 2010-07-29 Roland McGrath <roland@redhat.com>
40095 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40097 2010-07-27 Ulrich Drepper <drepper@redhat.com>
40099 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40102 2010-07-27 Andreas Schwab <schwab@redhat.com>
40104 * manual/memory.texi (Malloc Tunable Parameters): Document
40107 2010-07-26 Roland McGrath <roland@redhat.com>
40110 * configure.in (-fgnu89-inline check): Set and substitute
40111 gnu89_inline, not libc_cv_gnu89_inline.
40112 * configure: Regenerated.
40113 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40115 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40117 * string/test-strnlen.c: New file.
40118 * string/Makefile (strop-tests): Add strnlen.
40119 * string/tester.c (test_strnlen): Add a few more test cases.
40120 * string/tst-strlen.c: Better error reporting.
40122 * sysdeps/x86_64/strnlen.S: New file.
40124 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40126 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40127 lower-latency instructions.
40129 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40131 * string/test-strcasestr.c: New file.
40132 * string/test-strstr.c: New file.
40133 * string/Makefile (strop-tests): Add strstr and strcasestr.
40134 * string/str-two-way.h: Don't undefine MAX.
40135 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40137 2010-07-21 Andreas Schwab <schwab@redhat.com>
40139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40140 strcasestr-nonascii.
40141 (CFLAGS-strcasestr-nonascii.c): Define.
40142 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40144 Remove unused attribute.
40146 2010-07-20 Roland McGrath <roland@redhat.com>
40148 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40149 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40150 ld.so.cache was broken. With it, there is no way to disable dsocaps
40151 like LD_HWCAP_MASK can disable hwcaps.
40153 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40155 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40157 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40159 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40160 call in strcasestr.
40161 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40162 __strcasestr_sse42_nonascii.
40163 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40164 strcasestr-nonascii.c.
40165 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40167 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40169 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40170 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40171 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40174 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40176 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40179 2010-07-06 Andreas Schwab <schwab@redhat.com>
40182 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40185 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40188 _PC_PIPE_BUF using F_GETPIPE_SZ.
40190 2010-07-05 Roland McGrath <roland@redhat.com>
40192 * manual/arith.texi (Rounding Functions): Fix rint description
40193 implicit in round description.
40195 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40197 * elf/Makefile: Fix linking for a few tests to make recent linker
40200 2010-06-30 Andreas Schwab <schwab@redhat.com>
40202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40203 $(common-objpfx)libc_nonshared.a.
40205 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40207 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40208 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40209 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40210 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40211 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40212 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40213 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40214 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40229 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40230 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40231 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40232 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40233 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40234 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40235 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40236 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40237 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40238 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40239 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40240 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40256 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40258 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40259 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40260 * string/memmove.c (memmove): Renamed to ...
40261 (MEMMOVE): ...this. Default to memmove.
40262 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40263 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40266 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40267 mempcpy-ssse3-back memmove-ssse3-back.
40268 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40269 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40270 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40271 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40272 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40273 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40274 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40275 * sysdeps/x86_64/multiarch/memmove.c: New file.
40276 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40277 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40278 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40279 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40280 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40283 (index_Fast_Copy_Backward): Define.
40284 (HAS_ARCH_FEATURE): Define.
40285 (HAS_FAST_REP_STRING): Define.
40286 (HAS_FAST_COPY_BACKWARD): Define.
40288 2010-06-21 Andreas Schwab <schwab@redhat.com>
40290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40291 Restore proper fallback handling.
40293 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40296 * posix/group_member.c (__group_member): Correct checking loop.
40298 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40299 OOM in getpwuid_r correctly. Return error number when the caller
40300 should return, otherwise -1.
40301 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40302 call returning > 0 value.
40303 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40305 2010-06-07 Andreas Schwab <schwab@redhat.com>
40307 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40308 libc_nonshared.a from targets in modules-names.
40310 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40312 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40315 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40317 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40318 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40319 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40320 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40322 2010-06-02 Andreas Schwab <schwab@redhat.com>
40324 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40326 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40328 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40335 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40337 2010-06-14 Roland McGrath <roland@redhat.com>
40339 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40341 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40343 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40344 __REDIRECT followed by __THROW.
40345 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40346 * posix/getopt.h (getopt): Likewise.
40348 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40350 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40351 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40352 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40354 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40355 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40357 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40359 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40361 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40365 Properly check family and model.
40367 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40369 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40371 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40373 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40375 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40377 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40380 2010-05-19 Andreas Schwab <schwab@redhat.com>
40382 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40385 2010-05-21 Andreas Schwab <schwab@redhat.com>
40387 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40388 and internal_recvmmsg.
40389 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40390 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40391 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40392 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40394 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40395 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40396 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40398 2010-05-20 Andreas Schwab <schwab@redhat.com>
40400 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40402 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40404 POWER7 optimizations.
40405 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40406 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40408 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40410 * version.h: Update for 2.13 development version.
40412 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40414 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40415 exceptions. Return 0.
40417 2010-05-07 Roland McGrath <roland@redhat.com>
40419 * elf/ldconfig.c (main): Add a const.
40421 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40423 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40424 (args_options): Add no-idn option.
40425 (ahosts_keys_int): Add idn_flags to ai_flags.
40426 (parse_option): Handle 'i' option to clear idn_flags.
40428 * malloc/malloc.c (_int_free): Possible race in the most recently
40429 added check. Only act on the data if no current modification
40432 See ChangeLog.17 for earlier changes.